Hello,

I tried to run some Axis sample with BEA WL 6.1 : samples\userguide\example2\Calculator

I wrote a deploy.xml file

<m:deploy xmlns:m="AdminService">

<service name="Calculator" pivot="RPCDispatcher">

<option name="className" value="samples.userguide.example2.Calculator"/>

<option name="methodName" value="add"/>

</service>

</m:deploy>

but when I use the AdminClient as following :
$java org.apache.axis.client.AdminClient -p7001 deploy.xml

it displays :
Processing file deploy_calc.xml
<Admin>Done processing</Admin>

but the BEA WL console complains about server-config.wsdd :

I'm aware this file is located within the axis.jar. So I extracted to the AXIS_HOME directory.

I also configured BEA by following http://xml.apache.org/soap/faq/faq-for-WL6.1beta.html

 

any clues ?

 

Could not write engine config!
java.io.FileNotFoundException: null\server-config.wsdd (The system cannot find t
he path specified)
        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(FileProv
ider.java:146)
        at org.apache.axis.AxisEngine.saveConfiguration(AxisEngine.java:195)
        at org.apache.axis.utils.Admin.process(Admin.java:488)
        at org.apache.axis.utils.Admin.AdminService(Admin.java:178)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider
.java:179)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:
242)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:253
)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:48
5)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2495)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2204)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

 




 

*********************************
Herve Attia
Cell (650) 922-1973
Home (650) 992-3997
http://www.chez.com/attia/resume/


MSN Photos is the easiest way to share and print your photos: Click Here

Reply via email to