wood burning stoves 2.0*
The moose likes Web Services 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
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?
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Each time I see a NoClassDefFoundError, I go straight to JAR finder and make sure that the JAR is on my class path.
In your case, you may want to take a look at this link: http://www.jarfinder.com/index.php/java/info/org.apache.axis2.jaxws.spi.ServiceDelegate
Best wishes!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS webservices error on IBM portal server deployment
 
Similar Threads
Could not find factory : javax.faces.lifecycle.LifecycleFactory
Exception in running Portlet program
JAX-WS webservices error on IBM portal server deployment.
WSRP - Runtime Exception
NamingException on call from WPS 6.1 Portlet to Remote EJB 3.0 on separate Machine