hello everyone,
I am developing web service as a web application in NetBeans 7 and it's
running fine in tomcat 7. But now I am shifting this web service to GlassFish
server 3.1. As I deploy, error occurs:
<code>
[#|2011-07-08T16:45:04.078+0545|INFO|oracle-glassfish3.1|com.sun.xml.ws.wstx|_ThreadID=22;_ThreadName=Thread-1;|[failed
to localize] HOST_AND_PORT_LOOKUP_FAILURE_2015(
https://localhost:8080)
java.lang.ClassNotFoundException: com.sun.enterprise.webservice.WsTxUtils
at
org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1518)
at
org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1368)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
com.sun.xml.ws.tx.common.HostAndPortLookup.getDefaultVirtualServerHostAndPort(HostAndPortLookup.java:58)
at
com.sun.xml.ws.tx.common.AddressManager.callGetDefaultVirtualServerHostAndPort(AddressManager.java:154)
......
[#|2011-07-08T16:45:12.140+0545|SEVERE|oracle-glassfish3.1|com.sun.xml.ws.wspolicy.sourcemodel.PolicyModelTranslator|_ThreadID=22;_ThreadName=Thread-1;|[failed
to localize]
WSP_0071_ERROR_MULTIPLE_ASSERTION_CREATORS_FOR_NAMESPACE(
http://schemas.xmlsoap.org/ws/2004/08/addressing,
com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator,
com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator)|#]
[#|2011-07-08T16:45:12.140+0545|WARNING|oracle-glassfish3.1|com.sun.xml.ws.wspolicy.com.sun.xml.ws.api.policy.ModelTranslator|_ThreadID=22;_ThreadName=Thread-1;|WSM1007:
Failed to create a ModelTranslator instance.
com.sun.xml.ws.policy.PolicyException: [failed to localize]
WSP_0071_ERROR_MULTIPLE_ASSERTION_CREATORS_FOR_NAMESPACE(
http://schemas.xmlsoap.org/ws/2004/08/addressing,
com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator,
com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator)
at
com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator.<init>(PolicyModelTranslator.java:188)
at
com.sun.xml.ws.api.policy.ModelTranslator.<init>(ModelTranslator.java:85)
at
com.sun.xml.ws.api.policy.ModelTranslator.<clinit>(ModelTranslator.java:74)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:102)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:110)
...
[#|2011-07-08T16:45:12.140+0545|SEVERE|oracle-glassfish3.1|com.sun.xml.ws.wspolicy.com.sun.xml.ws.api.policy.ModelTranslator|_ThreadID=22;_ThreadName=Thread-1;|[failed
to localize]
WSP_0071_ERROR_MULTIPLE_ASSERTION_CREATORS_FOR_NAMESPACE(
http://schemas.xmlsoap.org/ws/2004/08/addressing,
com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator,
com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator)|#]
[#|2011-07-08T16:45:12.312+0545|SEVERE|oracle-glassfish3.1|com.sun.xml.ws.wspolicy.jaxws.PolicyWSDLParserExtension|_ThreadID=22;_ThreadName=Thread-1;|[failed
to localize]
WSP_0071_ERROR_MULTIPLE_ASSERTION_CREATORS_FOR_NAMESPACE(
http://schemas.xmlsoap.org/ws/2004/08/addressing,
com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator,
com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator)|#]
[#|2011-07-08T16:45:12.312+0545|SEVERE|oracle-glassfish3.1|com.sun.xml.ws.wspolicy.jaxws.PolicyWSDLParserExtension|_ThreadID=22;_ThreadName=Thread-1;|WSP1007:
Policy exception occured when finishing WSDL parsing.
com.sun.xml.ws.policy.PolicyException: [failed to localize]
WSP_0071_ERROR_MULTIPLE_ASSERTION_CREATORS_FOR_NAMESPACE(
http://schemas.xmlsoap.org/ws/2004/08/addressing,
com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator,
com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator)
at
com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator.<init>(PolicyModelTranslator.java:188)
at
com.sun.xml.ws.api.policy.ModelTranslator.<init>(ModelTranslator.java:85)
at
com.sun.xml.ws.api.policy.ModelTranslator.<clinit>(ModelTranslator.java:74)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:102)
....
[#|2011-07-08T16:45:21.921+0545|INFO|oracle-glassfish3.1|com.sun.xml.ws.monitoring|_ThreadID=22;_ThreadName=Thread-1;|Metro
monitoring rootname successfully set to:
amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/WebServiceNTC-SOAPService-WebServices|#]
[#|2011-07-08T16:45:27.437+0545|SEVERE|oracle-glassfish3.1|com.sun.xml.ws.server.http|_ThreadID=22;_ThreadName=Thread-1;|WSSERVLET11:
failed to parse runtime descriptor: java.lang.RuntimeException: MASM0015:
Class [ com.sun.xml.ws.tx.runtime.TxTubeFactory ] does not implement [
com.sun.xml.ws.assembler.dev.TubeFactory ] interface
java.lang.RuntimeException: MASM0015: Class [
com.sun.xml.ws.tx.runtime.TxTubeFactory ] does not implement [
com.sun.xml.ws.assembler.dev.TubeFactory ] interface
at com.sun.xml.ws.assembler.TubeCreator.<init>(TubeCreator.java:71)
at
com.sun.xml.ws.assembler.TubelineAssemblyController.initializeTubeCreators(TubelineAssemblyController.java:124)
at
com.sun.xml.ws.assembler.TubelineAssemblyController.getTubeCreators(TubelineAssemblyController.java:116)
at
com.sun.xml.ws.assembler.TubelineAssemblerFactoryImpl$MetroTubelineAssembler.createServer(TubelineAssemblerFactoryImpl.java:164)
...
[#|2011-07-08T16:45:27.453+0545|SEVERE|oracle-glassfish3.1|org.apache.catalina.core.StandardContext|_ThreadID=22;_ThreadName=Thread-1;|PWC1420:
Error invoking ServletContainerInitializer
com.sun.xml.ws.transport.http.servlet.WSServletContainerInitializer
javax.servlet.ServletException:
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed
to parse runtime descriptor: java.lang.RuntimeException: MASM0015: Class [
com.sun.xml.ws.tx.runtime.TxTubeFactory ] does not implement [
com.sun.xml.ws.assembler.dev.TubeFactory ] interface
at
com.sun.xml.ws.transport.http.servlet.WSServletContainerInitializer.onStartup(WSServletContainerInitializer.java:70)
at
org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5405)
at
com.sun.enterprise.web.WebModule.callServletContainerInitializers(WebModule.java:558)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5302)
at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
....
<\code>
Can anyone suggest me what the problem is? I am using JDK 1.6. The web
service was developed on NetBeans 7 IDE.
Is the process of developing web service different in glassfish ?
Thank you in advance.
--
[Message sent by forum member 'nicenepal']
View Post: http://forums.java.net/node/819984