Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 15th, 2005, 09:30 AM
Authorized User
Join Date: Jun 2003
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rushman
Default Tomcat 5 and Axis: JWS problem


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,


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.

Similar Threads
Thread Thread Starter Forum Replies Last Post
axis problem asap XSLT 3 July 31st, 2006 02:26 AM
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
Tomcat 5 and Axis: erratic behavior rushman Apache Tomcat 0 April 27th, 2005 09:35 AM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.