Focal Point
[SOLVED]FOC(1522) CPJAVA error

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

April 15, 2013, 03:35 PM
eric.woerle
[SOLVED]FOC(1522) CPJAVA error
I am having an issue where I have created a compound PDF report with Graphs. In development I have no issues, but when I run these same reports in my other environments I am receiving the following error:

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


Has anyone received this error in the past or know if there is some sort of configuration setting I should be looking at?

Below is an example with the CAR file

 GRAPH FILE CAR
SUM CAR.BODY.RETAIL_COST 
ACROSS CAR.ORIGIN.COUNTRY 
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
$
ENDSTYLE
END 


I have noticed that I can use ON GRAPH PCHOLD FORMAT PDF in my Development environment, but it does not seem to like it in my other environments.


Thanks!
Eric

This message has been edited. Last edited by: eric.woerle,


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
April 15, 2013, 06:03 PM
Waz
I assume that graphs work in your prod environment ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

April 15, 2013, 06:10 PM
eric.woerle
I can run graphs. I can't run them into PDF. I have not tested the graphs in PCHOLD FORMAT PDF yet for production.

I'm looking at what was configured for Dev VS Stage and I see that for the Java Service, there is no JDK listed. I'm thinking this is where my issue lies. I'm working on getting a JDK loaded ATM.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
April 16, 2013, 12:46 PM
eric.woerle
I was able to resolve this by updating my JDK_HOME variable to the Java folder.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2