Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 15th, 2005, 09:32 AM
Authorized User
Points: 251, Level: 5
Points: 251, Level: 5 Points: 251, Level: 5 Points: 251, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Canada.
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rushman
Default JWS Axis Tomcat (posted to Apache Tomcat too)

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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Axis and Tomcat using swa sample crazycomputers Apache Tomcat 0 July 20th, 2006 03:55 PM
Tomcat 5 and Axis: erratic behavior rushman BOOK: Professional Apache Tomcat 1 June 8th, 2006 04:33 AM
Apache Tomcat atul.kumar@drydentech.com Apache Tomcat 3 April 19th, 2006 07:24 AM
Tomcat 5 and Axis: erratic behavior rushman Apache Tomcat 0 April 27th, 2005 09:35 AM
Tomcat 5 and Axis: JWS problem rushman Apache Tomcat 0 April 15th, 2005 09:30 AM



All times are GMT -4. The time now is 01:11 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.