Tomcat 5 and Axis: JWS problem
Hi!
I have a small application that start a process using Runtime.getRuntime().exec("MyCommandsHere"). This process writes an XML file into the filesystem, which I parse later and return it as a String.
My problem is that, when I run it as a standalone application, everything works fine. But when I try to deploy it as a JWS file in the AXIS 1.2 webapp directory, under Tomcat 5.0, it seems that the process can't write the file to disk, causing my app to exit since it can't find the result file to parse.
I don't know if this is a case of bad Tomcat configuration, permission settings or the like but I really wish someone could help me with this.
And while I'm at it, how can you get the relative location of the webapp directory where the JWS is running?
Any help greatly appreciated,
Rushman
Dijkstra's law on Programming and Inertia:
If you don't know what your program is supposed to do, don't try to write it.
__________________
Dijkstra's law on Programming and Inertia:
If you don't know what your program is supposed to do, don't try to write it.
|