You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Mark Roder <mr...@wamnet.com> on 2001/10/04 03:35:46 UTC
Issue - client-config.xml - created on first usage, always rewrit
ten, exception if read only.
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