Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS webservices error on IBM portal server deployment.

 
vij guy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While accessing JAX-WS application on Portal server, the following error creeps up :


--------------------------------------------------------------------------------

Caused by: javax.portlet.PortletException: org.apache.axis2.jaxws.spi.ServiceDelegate (initialization failure)
at com.ibm.faces.portlet.FacesPortlet.doRender(FacesPortlet.java:382)
at com.ibm.faces.portlet.FacesPortlet.doView(FacesPortlet.java:411)
at com.MyPackage.apt.portal.amc.portlet.PrintTempMemberCardPortlet.doView(PrintTempMemberCardPortlet.java:28)
at com.ibm.faces.portlet.FacesPortlet.doDispatch(FacesPortlet.java:299)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
at com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:183)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doRender(PortletServletCollaborator.java:69)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doRender(RRDServerPortletServletCollaborator.java:123)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
at com.ibm.ws.portletcontainer.cache.CacheCollaborator.doRender(CacheCollaborator.java:92)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCollaboratorImpl.doRender(PortletServletCollaboratorImpl.java:156)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:273)
... 193 more
Caused by: java.lang.NoClassDefFoundError: org.apache.axis2.jaxws.spi.ServiceDelegate (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:59)
at javax.xml.ws.Service.<init>(Service.java:67)


--------------------------------------------------------------------------------

I've created the WSDL java bean skeleton and generated the web services client using IBM RAD 7.5.4. The webservice works on WAS 7.0 server, but when trying to access the same from a portlet on WPS 6.1 on WAS 7.0, it throws the above error.

Any suggestions?

-------------------------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic