Jump to content
Software FX Community

problem on setting temp directory on linux


Recommended Posts

I used ChartFx Server for Java 7 on my current project.

we changed the charfx temp directory in ChartFX.WebForms.config file.

On windows XP / tomcat 6  the config file modified like the following:

 <CfxIESettings>   <Absolute>D:/project/xxx/workdir</Absolute>  <AxCompat>True</AxCompat>  <RequiredRoot>/webtemp</RequiredRoot>  <DefaultHandler>ChartFX.WebForms.Internal.OutputFileHandler,ChartFX.WebForms</DefaultHandler></CfxIESettings>


It works fine. Chartfx created temp files on D:/project/xxx/workdir/webtemp/chartfx70/temp directory.

  But when we run our application on Linux server after modified <Absolute> to a linux directory:

<CfxIESettings>   <Absolute>/service/workdir</Absolute>   <AxCompat>True</AxCompat>   <RequiredRoot>/webtemp</RequiredRoot>   <DefaultHandler>ChartFX.WebForms.Internal.OutputFileHandler,ChartFX.WebForms</DefaultHandler></CfxIESettings>

ChartFX tried to create temp files on /opt/jboss/tomcat/webapps/xxx/webtemp/chartfx70/temp/ directory,

/opt/jboss/tomcat/ is  tomcat installation directory and we put our web application war file in tomcat's

webapps folder.

 So how can I set <Absolute> path  for a linux directory? Is there any differences between Windows and linux

 enviroment on parsing  ChartFX.WebForms.config.


Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...