axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Roder <mro...@wamnet.com>
Subject Issue - client-config.xml - created on first usage, always rewrit ten, exception if read only.
Date Thu, 04 Oct 2001 01:35:46 GMT

I am writing a soap client application using axis. 

My application will end up on a server type machine.  The server machine
will have security tools in place to inform admin staff of possible
break-ins, unauthorized config changes, etc.  The current issues dealing
with client-config.xml would cause me much heartburn. 

Issues:
	Everytime I run my application, client-config.xml is created if it
is not there already.  Since I am doing "basic" items and do not need a
client-config.xml, it should not create one.
	Everytime I run my application, client-config.xml is written back to
disk.  It should not replace a existing config file with a new version.
	If the client-config.xml is read only, a stack trace is dumped to
stdout or stderr.
Coudn't write engine config!
java.io.FileNotFoundException: .\client-config.xml (Access is denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
	at
org.apache.axis.configuration.FileProvider.writeEngineConfig(FileProvider.ja
va:124)
	at org.apache.axis.AxisEngine.saveConfiguration(AxisEngine.java:213)
	at org.apache.axis.utils.Admin.processEngineConfig(Admin.java:199)
	at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java
:116)
	at org.apache.axis.AxisEngine.init(AxisEngine.java:155)
	at org.apache.axis.AxisEngine.<init>(AxisEngine.java:143)
	at org.apache.axis.client.AxisClient.<init>(AxisClient.java:84)
	at
org.apache.axis.client.ServiceClient.<init>(ServiceClient.java:241)


I am not sure how to correct this issue.  

Thanks

Mark

Mime
View raw message