我試圖部署一個NetBeans WAR web服務到Glassfish的幾次工作,但它返回此錯誤:Netbeans的戰爭不會在GlassFish服務器3.1
Error occurred during deployment: Exception while loading the app :
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException:
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.
Please see server.log for more details.
無論WAR我在Eclipse工作在產生Glassfish,但我嘗試從Netbeans這個項目導入,並沒有奏效。 Glassfish也會返回這個相同的錯誤。日誌不會擴展可能問題的信息。
順便說一句,在嵌入式Glassfish的針對NetBeans,web服務的工作原理就像一個魅力,但在GlassFish服務器(這是另一臺計算機)
任何建議導入此,導致一個錯誤? Glassfish服務器中是否需要更改任何配置?
謝謝大家的意見和解決方案。
克里斯蒂娜
從提取服務器.LOG
[#|2012-05-31T10:16:59.951-
0430|INFO|glassfish3.1|com.sun.xml.ws.wstx|_ThreadID=40;_ThreadName=Thread-1;|[failed
to localize] HOST_AND_PORT_LOOKUP_FAILURE_2015(https://192.168.2.43:8080)
java.lang.ClassNotFoundException: com.sun.enterprise.webservice.WsTxUtils
[#|2012-05-31T10:16:59.990-
0430|SEVERE|glassfish3.1|com.sun.xml.ws.wspolicy.jaxws.PolicyWSDLParserExtension|_ThreadID= 40;_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)
Caused by: 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)
[#|2012-05-31T10:16:59.990- 0430|FINE|glassfish3.1|javax.enterprise.system.container.web.org.glassfish.web.loader|_Thre adID=143;_ThreadName=Thread- 1;ClassName=org.glassfish.web.loader.WebappClassLoader;MethodName=clearReferences;|Could not set field tm to null in class com.sun.xml.ws.tx.at.ATCoordinator
java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.tx.at.ATCoordinator
[#|2012-05-31T10:16:59.990- 0430|FINE|glassfish3.1|javax.enterprise.system.container.web.org.glassfish.web.loader|_Thre adID=143;_ThreadName=Thread- 1;ClassName=org.glassfish.web.loader.WebappClassLoader;MethodName=clearReferences;|Could not set field wsatCoordinatorService to null in class com.sun.xml.ws.tx.at.ATCoordinator
java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.tx.at.ATCoordinator
[#| 2012-05-31T10:16:59.990- 0430 | FINE | glassfish3.1 | javax.enterprise.system.container。 web.org.glassfish.web.loader | _Thre adID = 143; _ThreadName = Thread-1; ClassName = org.glassfish.web.loader.WebappClassLoader; MethodName = clearReferences; |無法在com.sun類中將字段wsatCoordinatorService設置爲null .xml.ws.tx.at.ATCoordinator java.lang.NoClassDefFoundError:無法初始化類com.sun.xml.ws.tx.at.ATCoordinator
server.log是什麼意思? –
這是Server.Log的一些摘錄 –
您是安裝了完整的Glassfish還是隻安裝了Web配置文件? –