mrc Documentation
michaels, ross & cole, ltd.
http://www.mrc-productivity.com/

 


Web/Servlet “Report With Graph” Setup

 

mrc introduces the “Report With Graph” Web/Servlet template.  This application type works like the original report template, but it also includes the ability to graph any values from any level of a report. By default, it graphs all of the numeric grand total values, but it is easy to change the graphed values and levels. 

 

Salesman Name

Region

Salesman #

Period 1

Period 2

Period 3

Period 4

AGNES OMALEY

60

10

50,000.00

50,500.00

67,689.00

89,000.00

BUGS BUNNY

10

10

13,212.00

45,451.00

57,878.00

21,212.00

CARLOTTA CHRISTIAN

90

10

20,000.00

23,400.00

19,900.00

17,800.00

WILLIAM GONDA

30

20

21,111.00

80,555.00

54,545.00

35,454.00

Grand Total

 

 

104,323.00

199,906.00

200,012.00

163,466.00

 

 

 

To get started using the “Report With Graph” Web/Servlet template you need to do the following:

 

1.      Install an MRCCH dated after 05/02/2005

2.      Install IBM AS/400 PASE (Portable App Solutions Environment) software to execute this logic on the iSeries.  This licensed program is part of the 5722SS1 group (option 33) and should be found on your IBM software installation CD’s.

3.      If you’re using the Stand-Alone MRCTOMCAT application server you don’t need to do this step.  But, if your using MRCTOMCAT as your application sever you will need to use Notepad.exe to modify file "/mrctomcat/bin/catalina400.sh" by adding the two entries listed below. mPower users will need to edit the start_tomcat400.sh file located in /m-power directory. NOTE: You'll find the line at the end of the catalina400.sh file. You will need to add the two entries listed to that last line.

 

-Djava.awt.headless=true

-Dos400.awt.native=true

 

Before:

 

java -ms64m -Duser.dir="$CATALINA_BASE" -Dcatalina.base="$CATALINA_BASE"

-Dcatalina.home="$CATALINA_HOME" org.apache.catalina.startup.Bootstrap "$@" start

 

After:

 

java -ms64m -Duser.dir="$CATALINA_BASE" -Dcatalina.base="$CATALINA_BASE"

-Dcatalina.home="$CATALINA_HOME" -Djava.awt.headless=true

-Dos400.awt.native=true org.apache.catalina.startup.Bootstrap "$@" start

 

4.   And that’s it!  You’re now ready to create a Web/Servlet “Report With Graph”.