dev@glassfish.java.net

more NoSuchMethodError's

From: Sameer Tyagi <Sameer.Tyagi_at_Sun.COM>
Date: Tue, 11 Apr 2006 14:14:16 -0400

I m trying to deploy a simple JAX-WS webservice using glassfish and keep
getting Nosuchmethod errors.
The web service was built using only the JAR's from G/F and with
compiled with Mustang.

My guess is that during compilation its using the JAX-WS from Mustang
(b79) rather than G/F resulting in this error
when the app is first loaded by the server (trace below is from server.log)
Any ideas on the workaround ?

Also what are the versions of Jax-ws in Mustang, GF and Java.net and
when are they synched ?

/s




java.lang.NoSuchMethodError:
com.sun.xml.ws.server.RuntimeEndpointInfo.verifyImplementorClass()V
    at
com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parseEndpoints(RuntimeEndpointInfoParser.java:98)
    at
com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parse(RuntimeEndpointInfoParser.java:66)
    at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:110)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:659)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1468)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1133)
    at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:171)
    at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:275)
    at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:954)
    at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:941)
    at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:448)
    at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
    at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:296)
    at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:203)
    at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
    at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
    at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:541)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:585)
    at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:719)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:589)
    at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
    at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
    at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
    at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)