Focal Point
[CLOSED] Anyone Else get Problems running Graphs under Caster?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8801044082

April 14, 2008, 02:26 PM
hammo1j
[CLOSED] Anyone Else get Problems running Graphs under Caster?
I want to pre-run a report because it will take too long to load for a dashboard.

However it fails with error

GRAPH FILE SPICPI 
   SUM 
   WK50 AS 50 
   WK51 AS 51 
   WK52 AS 52 
   WK01 AS 01 
   WK02 AS 02 
   ACROSS SPI AS SPI(?) 
   ON GRAPH HOLD AS GRAPH5 FORMAT SVG 
   ON GRAPH SET LOOKGRAPH SCATTERS 
   ON GRAPH SET GRAPHEDIT OFF 
   ON GRAPH SET BARNUMB OFF 
   ON GRAPH SET 3D OFF 
   ON GRAPH SET VZERO OFF 
   ON GRAPH SET HMIN .90 
   ON GRAPH SET HMAX 1.10 
   ON GRAPH SET VMIN .75 
   ON GRAPH SET VMAX 1.25 
   ON GRAPH SET GRID OFF 
   ON GRAPH SET VAXIS 6 
   ON GRAPH SET HAXIS 12 
   ON GRAPH SET GRAPHSTYLE * 
   setX1ScaleMin( .90); 
   setX1ScaleMinAuto(false); 
   setX1ScaleMax( 1.10); 
   setX1ScaleMaxAuto(false); 
   setY1ScaleMin( .75); 
   setY1ScaleMinAuto(false); 
   setY1ScaleMax( 1.25); 
   setY1ScaleMaxAuto(false); 
   setY1TitleString("CPI(h)"); 
   setDisplay(getY1Title(),true); 
   setMarkerShape(getSeries(0),2); 
   setMarkerShape(getSeries(1),2); 
   setMarkerShape(getSeries(2),2); 
   setMarkerShape(getSeries(3),2); 
   setMarkerShape(getSeries(4),2); 
   setMarkerShape(getSeries(5),2); 
   setMarkerShape(getSeries(6),2); 
   setMarkerShape(getSeries(7),2); 
   setMarkerShape(getSeries(8),2); 
   setMarkerShape(getSeries(9),2); 
   setMarkerShape(getSeries(10),2); 
   setMarkerShape(getSeries(11),2); 
   setMarkerShape(getSeries(12),2); 
   setMarkerShape(getSeries(13),2); 
   setMarkerShape(getSeries(14),2); 
   setTextFormatPattern(getX1Label(),"#.##"); 
   setX1MajorGridStepAuto(false); 
   setX1MajorGridStep(0.05); 
   setReferenceLine(getX1Axis(),0, 1); 
   setLineWidth(getReferenceLine(getX1Axis(),0),5); 
   setFillColor(getReferenceLine(getX1Axis(),0), new Color(0,0,0)); 
   setTextFormatPattern(getY1Label(),"#.##"); 
   setY1MajorGridStepAuto(false); 
   setY1MajorGridStep(0.1); 
   setReferenceLine(getY1Axis(),1, 1); 
   setLineWidth(getReferenceLine(getY1Axis(),1),5); 
   setFillColor(getReferenceLine(getY1Axis(),1), new Color(0,0,0)); 
   setMarkerDisplay(false); 
   setUseSeriesShapes(true); 
   setConnectLineMarkers(false); 
   setConnectScatterMarkers(false); 
   setX1LabelDisplay(true); 
   setX1AxisSide(0); 
   setFillMissingData(0); 
   setX1MajorGridDisplay(true); 
   setX1MajorGridStyle(0); 
   setX1MinorGridDisplay(false); 
   setX1MinorGridStyle(0); 
   setAxisAssignment(0,0); 
   setAxisAssignment(1,0); 
   setAxisAssignment(2,0); 
   setAxisAssignment(3,0); 
   setAxisAssignment(4,0); 
   setY1LabelDisplay(true); 
   setY1AxisSide(0); 
   setY1AxisLineDisplay(true); 
   setY1MajorGridDisplay(true); 
   setY1MajorGridStyle(0); 
   setY1MinorGridDisplay(false); 
   setY1MinorGridStyle(0); 
   setTextFormatPreset(getY1Label(),-1); 
   setTextFormatPattern(getY1Label(),"#.##"); 
   setPieFeelerTextDisplay(1); 
   setPieLabelDisplay(0); 
   setTextFormatPreset(getPieSliceLabel(),1); 
   setLegendDisplay(true); 
   setFontSizeAbsolute(getLegendText(),true); 
   setFontSizeAbsolute(getY1Title(),true); 
   setFontSizeAbsolute(getY1Label(),true); 
   setFontSizeAbsolute(getY2Title(),true); 
   setFontSizeAbsolute(getY2Label(),true); 
   setFontSizeAbsolute(getX1Title(),true); 
   setPlace(true); 
   ENDSTYLE 
   ON GRAPH SET STYLE * 
   PAGESIZE= A4 , LEFTMARGIN=0.250000, RIGHTMARGIN=0.250000, TOPMARGIN=0.250000, BOTTOMMARGIN=0.250000, 
   SQUEEZE=ON, ORIENTATION=PORTRAIT, $ 
   TYPE=REPORT, GRID=OFF, FONT= TIMES NEW ROMAN , SIZE=10, BACKCOLOR= NONE , STYLE=NORMAL, $ 
   ENDSTYLE 
   END 
   0 NUMBER OF RECORDS IN GRAPH= 5 PLOT POINTS= 4 
   CPJAVA: Error in processing INIT command for Class 
   ibi.jsgraph.IBIRunJSCOMGraph 
   SVG FILE SAVED ... 



It says the SVG is saved but later says the file is corrupt.

Found this on advanced help so I guess the condition is fatal.

Anyone know a way round this?

quote:

Description:


Resource Analyzer / Governor graph reports do not work on PDS Unified Server.
A FOC1522 error is encountered when switching from a RARG report to RARG graph
or when running a graph report:

(FOC1522) CPJAVA: Error in processing INIT command for Class
(FOC1522) ibi.jsgraph.IBIRunJSCOMGraph

Workaround:

There is no workaround; this is a known issue. Graph is not supported from
the web console on the PDS server as it does not support Java which
GRAPH FILE uses to product graphs.

Graph functions are being removed from the PDS server web console for
Resource Management until they are supported under the PDS server.

This message has been edited. Last edited by: Kerry,



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
April 14, 2008, 03:26 PM
GinnyJakes
John,

I haven't seen that error but all of our graph focexecs that run under RC have to have this line in them:
SET GRAPHSERVURL=http://yourservername/ibi_apps/IBIGraphServlet
  

I am on AIX using an Xserver implementation.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
April 14, 2008, 03:46 PM
Darin Lee
or you can set it in the server profile (edasprof). There is also the issue of using a "headless" option for creating graphs, as documented in the server install guide. All environment values for java must be set properly, but this seemed to eliminate several issues for as (and also eliminated the requirement for Xserver on Linux)


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
April 15, 2008, 05:26 AM
hammo1j
Who needs HOTtracks or the Helpdesk when you guys are around?

You most totally sorted my ReportCrasher problem dudes!

Seriously folks: Ginny and Darin. Thank you very much for getting me out of a tight spot!



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
October 10, 2008, 11:16 AM
SaravananS
Let me know how did you resolve this issue. I am getting the similar message when try to execute the CARGRAPH procedure.

I set the GraphServURL also.

Regards
Saran


7.6.11
Windows 2003 64-bit
HTML, Excel and PDF
December 12, 2011, 11:41 AM
John_Edwards
This corrected my I-Way overnight run as well. Thank you both.

J.