Hi,

            I have seen a couple of older messages mentioning this problem with deploying Apache-Axis apps on the Resin platform but haven’t seen any replies.

I initially developed a webservice using Axis 1.2.1 and deployed it on Tomcat 5.0 without any problems. I used the Axis AdminClient interface and deploy.wsdd to deploy this webservice. Next, I tried to deploy the same webservice using the same deploy.wsdd file on Resin 2.1.16. Whenever I used the AdminClient, I got this axisFault, and the deployment failed.

                        org.w3c.dom.DOMException: `null' prefix expects a namespace uri

 

            >From the Resin FAQ (http://www.caucho.com/quercus/faq/question.xtp?question_id=295), I gathered that this might be due to a conflict between resin and xerces XML APIs, so I copied xercesImpl.jar and xalan.jar to $RESIN_HOME/lib, added the “system-property” stanzas in resin.conf and restarted. Now I get a NoClassDefFoundError:

 

java.lang.NoClassDefFoundError

        at org.apache.axis.configuration.FileProvider.configureEngine(FileProvid

er.java:179)

        at org.apache.axis.AxisEngine.init(AxisEngine.java:172)

        at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)

        at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)

        at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultA

xisServerFactory.java:109)

        at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxis

ServerFactory.java:73)

        at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)

        at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletB

ase.java:185)

 

I even added bootclasspath option to the JVM ags so that xercesImpl.jar gets loaded, but this error still persists. Anybody had a similar problem, please let me know if/how it wass resolved.

 

Thanks in advance,

Sudheer

 

Reply via email to