You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mcclain Looney <mc...@looneys.net> on 2002/07/04 23:23:37 UTC

cannot write server-config.wsdd

Hello,

pardon if this has been covered, but with tomcat 4.04 and axis beta2, when i 
try to deploy with an wsdd file (below), i get an exception (also below) 
complaining about server-config.wsdd being unable to be written.  

I'm aware that the default wsdd is in the axis.jar, but where is axis trying 
to write the new one?

interestingly, the "list" command for the admin client works until i try to 
deploy a service via wsdd, after which it fails with the same error below.


Regards,

-mcclain


<stack-trace>
- Processing file cat.wsdd
- Could not write engine config!

org.apache.axis.ConfigurationException: Engine configuration is not present or 
not WSDD!
        at 
org.apache.axis.configuration.FileProvider.writeEngineConfig(FileProvider.java:239)
        at org.apache.axis.AxisEngine.saveConfiguration(AxisEngine.java:207)
        at org.apache.axis.AxisEngine.setAdminPassword(AxisEngine.java:226)
        at org.apache.axis.AxisEngine.normaliseOptions(AxisEngine.java:361)
        at 
org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:373)
        at org.apache.axis.utils.Admin.processWSDD(Admin.java:229)
        at org.apache.axis.utils.Admin.process(Admin.java:300)
        at org.apache.axis.utils.Admin.AdminService(Admin.java:176)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.java:142)
        at 
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:262)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
</stack-trace>

<wsdd-file>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="CatalogService" provider="java:RPC">
  <beanMapping qname="ns:node" xmlns:ns="Catalog" 
languageSpecificType="java:net.looneys.catalog.model.Node"/>
  <beanMapping qname="ns:sellable" xmlns:ns="Catalog" 
languageSpecificType="java:net.looneys.catalog.model.SellableNode"/>
  <parameter name="scope" value="application"/>
  <parameter name="className" value="net.looneys.catalog.Catalog"/>
  <parameter name="allowedMethods" value="*"/>
</service>
</deployment>

</wsdd-file>