Open glassfishrobot opened 16 years ago
Reported by jbenoit@java.net
jbenoit@java.net said: this is a regression in the test code somehow, even though the test code didn't change, so lowering priority, since Jitu says this is a test issue and not a regression in the RI code.
snajper said: Sreekanth, is this issue still valid?
Was assigned to msreekanth
This issue was imported from java.net JIRA WSIT-1038
see wsit issue 1025. (https://wsit.dev.java.net/issues/show_bug.cgi?id=1025) essentially same Timeout exception is occurring, this time it's in jax-wsa interop-109 tests instead of just jax-wsa interop tests.
i.e. still seeing timeout exception, this time in 109 tests, (non-109 tests now work)
see http://eas-v240-12.india.sun.com:8080/test4u-users/metro/results/20080922020021/sacada/
tango_qe-tests_jax-wsa_interop-109.log shows:
generate-client-from-indigo-endpoint: [wsimport] Consider using/ so that wsimport won't do
unnecessary compilation
[wsimport] command line: wsimport /space/jdks/jdk1.6.0_05/jre/bin/java
-Dhttp.proxyHost=webcache.eng.sun.com -Dhttp.proxyPort=8080
-Dhttp.nonProxyHosts=localhost|.india.sun.com|.east.sun.com -classpath
/space/sjsas/stage/glassfish/lib/activation.jar:/space/sjsas/stage/glassfish/lib/endorsed/webservices-api.jar:/space/sjsas/stage/glassfish/lib/webservices-rt.jar:/space/sjsas/stage/glassfish/lib/webservices-tools.jar:/space/sjsas/stage/glassfish/lib/javaee.jar:/space/jdks/jdk1.6.0_05/lib/tools.jar:/space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop-109/lib/junit.jar:/space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop-109/lib/jaxws-testutil.jar
com.sun.tools.ws.WsImport -d
/space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop-109/build/classes -g
-s /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop-109/build/src
-verbose
http://yinyang.india.sun.com/WSAddressingCR_Client_WCF/WSAddressing10Client.svc?wsdl
-p xwsinterop.interoprt
[wsimport] parsing WSDL...
[wsimport] [ERROR] Connection timed out
[wsimport] Failed to read the WSDL document: http://yinyang.india.sun.com/WSAddressingCR_Client_WCF/WSAddressing10Client.svc?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not.
[wsimport] [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
[wsimport] At least one WSDL with at least one service definition needs to be provided.
[wsimport] Failed to parse the WSDL.
BUILD FAILED /space/test4u2/xtests/netbeans-trunk/lib/harness.xml:223: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build.xml:49: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/lib/module_harness.xml:384: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build-interop-109.xml:119: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop-109/config/common-targets.xml:249: wsimport failed
GF's domain1 server.log shows this :
[#|2008-09-22T05:27:55.126+0200|WARNING|sun-appserver9.1|com.sun.xml.ws.transport.http.servlet.ServletAdapter|_ThreadID=14;_ThreadName=Timer-7;_RequestID=42bd5e4d-3273-4e46-8689-dc4881940233;|Container com.sun.enterprise.webservice.JAXWSContainer@5b99ed doesn't support class com.sun.xml.ws.api.server.Module|#]
[#|2008-09-22T05:27:55.139+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=14;_ThreadName=Timer-7;_RequestID=42bd5e4d-3273-4e46-8689-dc4881940233;|Cannot initialize endpoint : error is : Not a primary WSDL=file:/space/sjsas/stage/glassfish/domains/domain1/applications/j2ee-modules/jaxws-wsacrs11/META-INF/wsdl/wsaTestService.wsdl since it doesn't have Service wsaTestService1|#]
[#|2008-09-22T05:27:55.143+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=14;_ThreadName=Timer-7;_RequestID=42bd5e4d-3273-4e46-8689-dc4881940233;|javax.xml.ws.WebServiceException: Not a primary WSDL=file:/space/sjsas/stage/glassfish/domains/domain1/applications/j2ee-modules/jaxws-wsacrs11/META-INF/wsdl/wsaTestService.wsdl since it doesn't have Service wsaTestService1 at com.sun.xml.ws.server.EndpointFactory.verifyPrimaryWSDL(EndpointFactory.java:456) at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:156) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:510) at com.sun.enterprise.webservice.EjbRuntimeEndpointInfo.prepareInvocation(EjbRuntimeEndpointInfo.java:299) at com.sun.enterprise.webservice.EjbRuntimeEndpointInfo.initRuntimeInfo(EjbRuntimeEndpointInfo.java:342) at com.sun.enterprise.webservice.WebServiceEjbEndpointRegistry.registerEjbWebServiceEndpoint(WebServiceEjbEndpointRegistry.java:122) at com.sun.ejb.containers.StatelessSessionContainer.initializeHome(StatelessSessionContainer.java:329) at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:345) at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:536) at com.sun.enterprise.server.EJBModuleLoader.doLoad(EJBModuleLoader.java:171) at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:244) at com.sun.enterprise.server.StandAloneEJBModulesManager.moduleDeployed(StandAloneEJBModulesManager.java:232) at com.sun.enterprise.server.StandAloneEJBModulesManager.moduleDeployed(StandAloneEJBModulesManager.java:187) at com.sun.enterprise.server.StandAloneEJBModulesManager.moduleDeployed(StandAloneEJBModulesManager.java:419) at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974) at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961) at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464) at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176) at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308) at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226) at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298) at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:276) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294) at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:555) 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:597) at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375) at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358) at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90) at $Proxy1.invoke(Unknown Source) at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304) at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174) at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:564) at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545) at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492) at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:267) at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
| #] |
see "attachment (id=787)" from wsit issue 1025 to look at GF domain1 server.log file
see "attachment (id=788)" from wsit issue 1025 to look at jax-wsa_interop-109.log test4u log file
see "attachment (id=789)" from wsit issue 1025 to look at jax-wsa_interop-ejb.log test4u log file
Jitu states:
"
This is a test configuration issue for 109 deployment. Looks like the service name is not properly configured. You need to use @WebService(serviceName="...", targetNamespace="..", portName="...") or you need to use webservices.xml. In the standalone deployment, they can be specified in sun-jaxws.xml or via annotations. "
I don't know how this test could have passed previously, since this test code has not changed? I thought the metro bits needed to be backwards compatible, so that if something worked previously, it should still work as the metro bits moved forward, so long as the test was properly written for previous release.
I've opened this other bug in the test category and closed the 1025 bug, since the original reported error "WSA Interop M->S metro 1.4, 3.5 endpoints TimeoutException" is no longer occurring, but instead it's occurring in the 109 variant of these tests, which Jitu states is some test configuration issue.
Environment
Operating System: All Platform: Sun
Affected Versions
[1.4]