aspose file tools
The moose likes Web Services and the fly likes location of the simpleaxisserver's configuration file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "location of the simpleaxisserver Watch "location of the simpleaxisserver New topic
Author

location of the simpleaxisserver's configuration file

Olivier Daguenet
Greenhorn

Joined: Dec 27, 2005
Posts: 6
Hi all,
I've a java class which start a SimpleAxisServer server.
Thanks to a Windows service, I can execute this Java class.
The SimpleAxisServer server allows me to reach in Web Services. These Web Services are defined in a configuration file named "server-config.wsdd" This configuration file must be placed where we start the SimpleAxisServer server.

To be more clear, this exemple show how to start SimpleAxisServer thanks to a .bat file :

cd toto
set CLASSPATH=my classpath...

java -cp %CLASSPATH% org.apache.axis.transport.http.SimpleAxisServer -p 8080

In this case, the configuration file must be in the directory toto. Otherwise, SimpleAxisServer'll not find it.

In my case, SimpleAxisServer is started by a Windows Service. So I must place the configuration file at c:\winnt\system32 : where the Windows Services console is...

I don't want to have this configuration file in c:\winnt\system32.
So my question is : is there a way to define the location of the configuration file ?

I work with Windows XP.

I hope to have been clear, thanks in advance for your answers...
Olivier
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35241
    
    7
I'm not familiar with the SimpleAxisServer, but Axis in its general form does not let you configure where the WSDD file goes, so I doubt that a simpler version of it can do that.


Android appsImageJ pluginsJava web charts
Olivier Daguenet
Greenhorn

Joined: Dec 27, 2005
Posts: 6
It seems to be true, but it's a pity...
I keep on searching for a way...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: location of the simpleaxisserver's configuration file
 
Similar Threads
compile error using ant in eclipse
Java application crashes because of ODBC
An unexpected error has been detected by HotSpot Virtual Machine
WS 4 in Window NT Problem
unexpected exception has been detected in native code