This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Websphere and the fly likes Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server  ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server  ?" Watch "Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server  ?" New topic
Author

Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server ?

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

I am not using WebSphere 4.0 or WebSphere 5.0 provided web services soap engine but the axis soap engine that I download from Apache website.

I am trying deploy AXIS 1.1 RC2 (I need to work only with AXIS 1.1 RC2 but not AXIS 1.2 RC2 due to some project constraints) as a web application inside WSAD 5.1.2 WebSphere 4.0 Test Environment.


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/22/05 14:41:00:429 IST] 5f847c1a WebGroup I SRVE0091I: [Servlet LOG]: AxisServlet: init
[1/22/05 14:41:03:835 IST] 5f847c1a WebGroup X Servlet Error: javax.wsdl.Definition: method getBinding(Ljavax/xml/namespace/QName;)Ljavax/wsdl/Binding; not found: java.lang.NoSuchMethodError: javax.wsdl.Definition: method getBinding(Ljavax/xml/namespace/QName Ljavax/wsdl/Binding; not found
at org.apache.axis.wsdl.fromJava.Emitter.writeBinding(Emitter.java:708)
at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:382)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:262)
at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:491)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:374)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:484)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:721)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:374)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:118)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:151)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:317)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:477)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:351)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:144)

[1/22/05 14:41:53:274 IST] 5f847c1a WebGroup X Servlet Error: javax.wsdl.Definition: method getBinding(Ljavax/xml/namespace/QName;)Ljavax/wsdl/Binding; not found: java.lang.NoSuchMethodError: javax.wsdl.Definition: method getBinding(Ljavax/xml/namespace/QName Ljavax/wsdl/Binding; not found
at org.apache.axis.wsdl.fromJava.Emitter.writeBinding(Emitter.java:708)
at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:382)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:262)
at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:491)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:374)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:484)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:721)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:374)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:118)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:151)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:317)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:477)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:341)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:144)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



When I type http://localhost:8080/Axis11RC2Web/services/Version?wsdl in browsre I am getting below exception. However when I run AXIS 1.1 RC2 on WSAD 5.1.2 WebSphere 5.1 Test Environment as then everthing works fine.

Can't we run AXIS 1.1 RC2 as web application inside WebSphere 4.0 ?

Please help me friends ...




Thanks & Regards,
Kumar.


RR Kumaran
SCJP 1.4
prasannakumar Reddy
Greenhorn

Joined: Feb 22, 2010
Posts: 5
Hi,

I Have a similar query regarding the apache axis 1.2RC2..
Currently I am running my apache axis 1.2RC2 in JRUN4 server..
can I use the same axis version with jboss4.0.3

Regards,
Prasanna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot run AXIS 1.1 RC2 inside J2EE 1.2 complaint application server ?