we had this exact same problem.  we ended up putting both web services in a single war 
for the sake of moving on.  but i would also really like to understand the problem.

steve

-----Original Message-----
From: Matt Valerio [mailto:[EMAIL PROTECTED]
Sent: Friday, September 24, 2004 11:02 AM
To: Axis-User (E-mail)
Subject: two axis-ized services in one servlet container


I have configured two axis enabled webservices in one servlet container (tomcat 5.0) 
and I'm having some problems.  I'm using Axis 1.1 and have created these two services 
as specified in the "Advanced Installation" section of the Axis installation 
instructions.  For the sake of explaining my problem say I have two services 
configured in on servlet container - Service1 and Service2.  I can browse to the 
services context of Service1 and it works but then I browse the services context of 
Service2 and it doesn't work.  I then restart tomcat and browse to Service2 first and 
it works but then Service 1 doesn't work.  I checked the tomcat logs and found the 
error attached below.  I'm relatively new to axis so hopefully it is some bonehead 
newby problem.  Any help with this issue would be greatly appreciated.  

2004-09-24 08:46:08 StandardWrapperValve[AxisServlet]: Servlet.service() for servlet 
AxisServlet threw exception
java.lang.LinkageError: loader constraints violated when linking 
javax/xml/namespace/QName class
        at 
org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegistryImpl.java:180)
        at 
org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:510)
        at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:104)
        at 
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209)
        at org.apache.axis.AxisEngine.init(AxisEngine.java:187)
        at org.apache.axis.AxisEngine.<init>(AxisEngine.java:172)
        at org.apache.axis.server.AxisServer.<init>(AxisServer.java:126)
        at 
org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:148)
        at 
org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:112)
        at org.apache.axis.server.AxisServer.getServer(AxisServer.java:111)
        at 
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:221)
        at 
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:187)
        at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:224)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
        at java.lang.Thread.run(Thread.java:534)
  
Learn more about Paymentech's payment processing services at www.paymentech.com
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary 
and confidential information intended only for the use of the recipient(s) named 
above.  If you are not the intended recipient, you may not print, distribute, or copy 
this message or any attachments.  If you have received this communication in error, 
please notify the sender by return e-mail and delete this message and any attachments 
from your computer.
..

Reply via email to