File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes JAX-WS webservices error on IBM portal server deployment. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "JAX-WS webservices error on IBM portal server deployment." Watch "JAX-WS webservices error on IBM portal server deployment." New topic
Author

JAX-WS webservices error on IBM portal server deployment.

vij guy
Greenhorn

Joined: Oct 14, 2009
Posts: 8
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?

-------------------------------------
 
GeeCON Prague 2014
 
subject: JAX-WS webservices error on IBM portal server deployment.