samfisher

problem on setting temp directory on linux

2 posts in this topic

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.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now