users@glassfish.java.net

java.lang.NoSuchMethodError: com.sun.xml.ws.binding.BindingImpl.create

From: <glassfish_at_javadesktop.org>
Date: Wed, 26 Sep 2007 08:33:56 PDT

System Application Server 9.1 (build b58g-fcs)
Java HotSpot(TM) Client VM Vendor: Apple Computer, Inc. Version: 1.6.0-b88-17-release

Hello, I've recently installed glassfish on a mac. When trying to run any of the webservices sample an exception is thrown.
Any suggestions as to why this exception is being thrown would be much appreciated.

[code]
Exception report

description
The server encountered an internal error () that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: javax.servlet.ServletException

root cause
javax.servlet.ServletException

root cause
java.lang.NoSuchMethodError: com.sun.xml.ws.binding.BindingImpl.create(Lcom/sun/xml/ws/api/BindingID;)Lcom/sun/xml/ws/binding/BindingImpl;
[/code]

[code]
timestamp
Sep 26, 2007 15:20:20.484
Log Level
WARNING
Logger
javax.enterprise.system.stream.err
Name-Value Pairs
_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=5df66968-9f9f-4a4f-b429-2f8458f5b09b;
Record Number
161
Message ID
java.lang.NoSuchMethodError
Complete Message
com.sun.xml.ws.binding.BindingImpl.create(Lcom/sun/xml/ws/api/BindingID;)Lcom/sun/xml/ws/binding/BindingImpl; at com.sun.xml.ws.api.BindingID.createBinding(BindingID.java:107) at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:379) at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:252) at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:113) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1178) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:832) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:361) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
[/code]

[code]
timestamp
Sep 26, 2007 15:20:20.486
Log Level
SEVERE
Logger
javax.enterprise.system.container.web
Name-Value Pairs
_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=5df66968-9f9f-4a4f-b429-2f8458f5b09b;
Record Number
162
Message ID
StandardWrapperValve[Hello]
Complete Message
PWC1382: Allocate exception for servlet Hello javax.servlet.ServletException at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:260) at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:113) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1178) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:832) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:361) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: java.lang.NoSuchMethodError: com.sun.xml.ws.binding.BindingImpl.create(Lcom/sun/xml/ws/api/BindingID;)Lcom/sun/xml/ws/binding/BindingImpl; at com.sun.xml.ws.api.BindingID.createBinding(BindingID.java:107) at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:379) at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:252) ... 29 more
[/code]
[Message sent by forum member 'ewan55' (ewan55)]

http://forums.java.net/jive/thread.jspa?messageID=237181