Jump to content
Software FX Community

Newbie Install / Config Question


User (Legacy)

Recommended Posts

Hi:

I'm trying to get the JSP chart generation in the CE installed and working.

I have all the directories setup, etc, and am running on Tomcat 5.0.28 on

WinXP. When a load a sample.jsp (in this case, template.jsp), I get:

java.io.FileNotFoundException: \chartfx6\temp\CFT0114_10203928FBA.png (The

system cannot find the path specified)

at java.io.RandomAccessFile.open(Native Method)

at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)

at java.io.RandomAccessFile.<init>(RandomAccessFile.java:94)

at SoftwareFX.ChartFX.Internal.zvzw.<init>(Unknown Source)

at SoftwareFX.ChartFX.Internal.xyx.Y$v(Unknown Source)

And I can see that the temp dir is still empty, and that the file hasn't

been created.

Any ideas?

Thx,

Adam

Link to comment
Share on other sites

Hi Adam, can you please check the version of the jar file, by doing 

java -jar chartfx.jar -version

and le me know? That way I will be able to identify the

"SoftwareFX.ChartFX.Internal.xyx.Y$v" line.

Thanks.

GA

Software FX

"Adam G" <info@fastbusy.com> wrote in message

news:8WBUxam%23EHA.1116@webserver3.softwarefx.com...

> Hi:

>

> I'm trying to get the JSP chart generation in the CE installed and

> working.

>

> I have all the directories setup, etc, and am running on Tomcat 5.0.28 on

> WinXP. When a load a sample.jsp (in this case, template.jsp), I get:

>

> java.io.FileNotFoundException: \chartfx6\temp\CFT0114_10203928FBA.png (The

> system cannot find the path specified)

>

> at java.io.RandomAccessFile.open(Native Method)

>

> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)

>

> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:94)

>

> at SoftwareFX.ChartFX.Internal.zvzw.<init>(Unknown Source)

>

> at SoftwareFX.ChartFX.Internal.xyx.Y$v(Unknown Source)

>

> And I can see that the temp dir is still empty, and that the file hasn't

> been created.

>

> Any ideas?

>

> Thx,

>

> Adam

>

>

>

Link to comment
Share on other sites

Version : 6.0.1605.22277

..I'm guessing its a config error. I checked the ChartFX.Internet.config,

but there was nothing obvious to me..

thx,

Adam

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:NlTxCzn%23EHA.1120@webserver3.softwarefx.com...

> Hi Adam, can you please check the version of the jar file, by doing

> java -jar chartfx.jar -version

> and le me know? That way I will be able to identify the

> "SoftwareFX.ChartFX.Internal.xyx.Y$v" line.

>

> Thanks.

> GA

> Software FX

>

>

> "Adam G" <info@fastbusy.com> wrote in message

> news:8WBUxam%23EHA.1116@webserver3.softwarefx.com...

>> Hi:

>>

>> I'm trying to get the JSP chart generation in the CE installed and

>> working.

>>

>> I have all the directories setup, etc, and am running on Tomcat 5.0.28 on

>> WinXP. When a load a sample.jsp (in this case, template.jsp), I get:

>>

>> java.io.FileNotFoundException: \chartfx6\temp\CFT0114_10203928FBA.png

>> (The system cannot find the path specified)

>>

>> at java.io.RandomAccessFile.open(Native Method)

>>

>> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)

>>

>> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:94)

>>

>> at SoftwareFX.ChartFX.Internal.zvzw.<init>(Unknown Source)

>>

>> at SoftwareFX.ChartFX.Internal.xyx.Y$v(Unknown Source)

>>

>> And I can see that the temp dir is still empty, and that the file hasn't

>> been created.

>>

>> Any ideas?

>>

>> Thx,

>>

>> Adam

>>

>>

>>

>

>

Link to comment
Share on other sites

I don't know what the problem was, but its working now. :)

Thx,

Adam

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:NlTxCzn%23EHA.1120@webserver3.softwarefx.com...

> Hi Adam, can you please check the version of the jar file, by doing

> java -jar chartfx.jar -version

> and le me know? That way I will be able to identify the

> "SoftwareFX.ChartFX.Internal.xyx.Y$v" line.

>

> Thanks.

> GA

> Software FX

>

>

> "Adam G" <info@fastbusy.com> wrote in message

> news:8WBUxam%23EHA.1116@webserver3.softwarefx.com...

>> Hi:

>>

>> I'm trying to get the JSP chart generation in the CE installed and

>> working.

>>

>> I have all the directories setup, etc, and am running on Tomcat 5.0.28 on

>> WinXP. When a load a sample.jsp (in this case, template.jsp), I get:

>>

>> java.io.FileNotFoundException: \chartfx6\temp\CFT0114_10203928FBA.png

>> (The system cannot find the path specified)

>>

>> at java.io.RandomAccessFile.open(Native Method)

>>

>> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)

>>

>> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:94)

>>

>> at SoftwareFX.ChartFX.Internal.zvzw.<init>(Unknown Source)

>>

>> at SoftwareFX.ChartFX.Internal.xyx.Y$v(Unknown Source)

>>

>> And I can see that the temp dir is still empty, and that the file hasn't

>> been created.

>>

>> Any ideas?

>>

>> Thx,

>>

>> Adam

>>

>>

>>

>

>

Link to comment
Share on other sites

  • 2 years later...

Hi,

I am neebie too and am getting the same error:

java.io.FileNotFoundException: /chartfx62/temp\CFT0903_0400510AF41.png: The system cannot find the path specified at jrockit.io.FileNativeIO.open0(Ljava.lang.String;I)I(Unknown Source) at jrockit.io.FileNativeIO.open(Ljava.lang.String;I)Ljava.io.FileDescriptor;(Unknown Source) at java.io.RandomAccessFile.(Ljava.lang.String;Ljava.lang.String;)V(Unknown Source) at SfxNET.System.IO.wzvx.(Ljava.lang.String;II)V(Unknown Source) at SfxNET.System.IO.wzvx.(Ljava.lang.String;I)V(Unknown Source) at SfxNET.System.IO.ywxw.XYwW(Ljava.lang.String;I)LSfxNET.System.IO.wzvx;(Unknown Source) at SoftwareFX.internal.ChartFX.Internet.Server.Chart.y$ww(LSoftwareFX.internal.ChartFX.Internet.Server.yxv;)LSfxNET.System.IO.Stream;(Unknown Source) at SoftwareFX.internal.ChartFX.Internet.Server.Chart.zZYw .

The version of ChartFX I am using is:

Specification-Version: 6.5.2733.30307

Implementation-Version: 6.5.0000

Software: Weblogic 8.1 SP4 on JDK 142_08.

I used the following code snippet in my JSP:

<tms:ajaxComponent id="DailyTrackerChart"><%@page import="SoftwareFX.ChartFX.*"%><% ChartServer.setConfigPath("C://Temp"); ChartServer chart1 = new ChartServer(application,request,response); java.util.Random r = new java.util.Random(1); chart1.setGallery(Gallery.LINES);chart1.setMarkerSize((short) 4);chart1.setLineWidth((short) 1); //Populating the chart with random datachart1.openData(COD.VALUES, 3, 10);for (int j = 0;j<10;j++)   { chart1.getValue().setItem(0, j, r.nextDouble()  * 50); chart1.getValue().setItem(1, j, (r.nextDouble()  * 80) + 50); chart1.getValue().setItem(2, j, (r.nextDouble()  * 100) + 100);   }chart1.closeData(COD.VALUES); %> <%=chart1.getHtmlTag("450","280","PNG")%></tms:ajaxComponent> 

 

Any help is appreciated. Thanks in advance!

Regards,Sandeep 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...