Failed
com.sun.ts.tests.jaxrpc.ee.w2j.rpc.encoded.marshalltest.Client.MarshallSequenceStructsTest_from_ejb (from jaxrpc)
Error Message
test result: Failed. An error occurred during the Deployment phase for tests in this directory.
Stacktrace
test result: Failed. An error occurred during the Deployment phase for tests in this directory.
Standard Output
#Test Results (version 2) #Fri Jul 03 08:13:13 UTC 2020 #-----testdescription----- $file=/root/jakartaeetck/src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/Client.java $root=/root/jakartaeetck/src assertion_ids=JAXRPC\:SPEC\:59 The mapping of an XML struct using xsd\:complexType with both sequence of elements for simple types.\nJAXRPC\:SPEC\:60 The mapping of an XML struct using xsd\:complexType with both sequence of elements for complex types.\nJAXRPC\:SPEC\:63 In all cases; attribute uses specified using either the xsd\:attribute or xsd\:attributeGroup elements are suppor ted. An XML struct maps to a JavaBeans class with the same name as the type of the XML struct. The mapped JavaBeans class provides both a getter/setter method for each property mapped from the member elements of the XML struct. The identifier and Java type of a property in the JavaBeans class is mapped from the name and type of the corresponding member element in the XML struct.\nThe instances of the mapped JavaBeans class must be capable of marshaling to and from the corresponding XML struct representation. An element in a complex type with the maxOccurs attribute set to a non-negative integer or unbounded is mapped to a Java array with a pair of setter and getter methods in the JavaBeans class. The Java type of the array is mapped from the type attribute of the XML element.\nJAXRPC\:SPEC\:124 A WSDL to Java mapping tool is required to generate a service interface based on the mapping of a wsdl\:service element in the WSDL document. The name ServiceName of the generated service interface is mapped from the name attribute of the corresponding wsdl\:service definition. Required get Name_of_wsdl\:port method that takes no parameters and returns an instance of the stub class that implements the ServiceDefInterface interface. Optional get Name_of_wsdl\:port methods that include parameters specific to the endpoint (or port) configuration. All get Name_of_wsdl\:port methods are required to throw the JAXRPCException.\nJAXRPC\:SPEC\:517 xsd\:sequence\nWS4EE\:SPEC\:35 See assertion html documents.\nWS4EE\:SPEC\:36 See assertion html documents.\nWS4EE\:SPEC\:70 See assertion html documents.\nWS4EE\:SPEC\:137 See assertion html documents. classname=com.sun.ts.tests.jaxrpc.ee.w2j.rpc.encoded.marshalltest.Client direction=forward finder=cts id=MarshallSequenceStructsTest_from_ejb keywords=all jaxrpc webservices javaee_optional MarshallSequenceStructsTest ejb_vehicle forward service_eetest=yes testArgs=-ap jaxrpc-url-props.dat testName=MarshallSequenceStructsTest testProps=\ webServerHost webServerPort platform.mode test_directory=com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest #-----environment----- EJBServer1TxInteropEnabled=true EJBServer2TxInteropEnabled=true deployManagerJarFile.1=${javaee.home}/lib/deployment/sun-as-jsr88-dm.jar deployManagerJarFile.2=${javaee.home.ri}/lib/deployment/sun-as-jsr88-dm.jar deployManagerpasswd.1=${s1as.admin.passwd} deployManagerpasswd.2=${ri.admin.passwd} deployManageruname.1=${s1as.admin.user} deployManageruname.2=${ri.admin.user} deployManageruri.1=deployer\:Sun\:AppServer\:\:${deployment_host.1}\:${s1as.admin.port} deployManageruri.2=deployer\:Sun\:AppServer\:\:${deployment_host.2}\:${ri.admin.port} deployment_host.1=${orb.host} deployment_host.2=${orb.host.ri} deployment_port.1=${impl.vi.port} deployment_port.2=${impl.ri.port} derby.dbName=derbyDB derby.driver=org.apache.derby.jdbc.ClientDriver derby.passwd=cts1 derby.port=1527 derby.server=${orb.host} derby.url=jdbc\:derby\://${derby.server}\:${derby.port}/${derby.dbName};create\=true derby.user=cts1 harness.executeMode=0 harness.log.delayseconds=1 harness.log.port=2000 harness.log.traceflag=false harness.socket.retry.count=10 harness.temp.directory=${ts.home}/tmp http.server.supports.endpoint.publish=false http.server.supports.endpoint.publish.2=false impl.ri.port=${ri.admin.port} impl.vi.port=${s1as.admin.port} javaee.home=/root/vi/glassfish5/glassfish javaee.home.ri=/root/ri/glassfish5/glassfish javaee.level=full jaxr jaxrpc javaeedeploy javax.persistence.jdbc.driver=${derby.driver} javax.persistence.jdbc.password=${derby.passwd} javax.persistence.jdbc.url=${derby.url} javax.persistence.jdbc.user=${derby.user} javax.persistence.provider=org.eclipse.persistence.jpa.PersistenceProvider jpa.provider.implementation.specific.properties=eclipselink.logging.level\=OFF namingServiceHost1=${orb.host} namingServiceHost2=${orb.host.ri} namingServicePort1=${orb.port} namingServicePort2=${orb.port.ri} orb.host=localhost orb.host.ri=localhost orb.port=3699 orb.port.ri=3701 password1=${derby.passwd} password2=${derby.passwd} persistence.second.level.caching.supported=true persistence.unit.name=CTS-EM persistence.unit.name.2=JPATCK2 platform.mode=javaEE porting.ts.HttpsURLConnection.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection porting.ts.HttpsURLConnection.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection porting.ts.deploy.class.1=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment porting.ts.deploy.class.2=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeploymentSeparateVM porting.ts.deploy2.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIDeployment2 porting.ts.deploy2.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIDeployment2 porting.ts.jms.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin porting.ts.jms.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin porting.ts.login.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext porting.ts.login.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL porting.ts.url.class.2=com.sun.ts.lib.implementation.sun.common.SunRIURL ri.admin.passwd=adminadmin ri.admin.port=5858 ri.admin.user=admin s1as.admin.passwd=adminadmin s1as.admin.port=4848 s1as.admin.user=admin securedWebServicePort=1044 securedWebServicePort.2=1045 ts.home=/root/jakartaeetck/bin/xml/../.. user1=${derby.user} user2=${derby.user} variable.mapper=com.sun.el.lang.VariableMapperImpl vi.admin.passwd= vi.admin.user=admin webServerHost=${orb.host} webServerHost.2=${orb.host.ri} webServerPort=8001 webServerPort.2=8002 wsdlRepository1=${harness.temp.directory}/wsdlRepository1 wsdlRepository2=${harness.temp.directory}/wsdlRepository2 #-----testresult----- description=file\:/root/jakartaeetck/src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/Client.java\#MarshallSequenceStructsTest_from_ejb end=Fri Jul 03 08\:13\:13 UTC 2020 environment=ts_unix execStatus=Failed. An error occurred during the Deployment phase for tests in this directory. harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1062.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages Deployment TestRun start=Fri Jul 03 08\:13\:12 UTC 2020 test=com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/Client.java\#MarshallSequenceStructsTest_from_ejb timeoutSeconds=1200 totalTime=318 work=/root/jakartaeetck-work/jaxrpc/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest #section:script_messages ----------messages:(0/0)---------- #section:Deployment ----------messages:(0/0)---------- ----------log:(78/7178)---------- Undeploying apps... AutoDeployment.isDeployed() AutoDeployment.isDeployed() AutoDeployment.isDeployed() AutoDeployment.isDeployed() AutoDeployment.isDeployed() Search for s1as runtime files match:`W2JREMarshallTest_ejb_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/W2JREMarshallTest_ejb_vehicle_client.jar.sun-application-client.xml /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/W2JREMarshallTest_ejb_vehicle_ejb.jar.sun-ejb-jar.xml Search for s1as runtime files match:`W2JREMarshallTest_jsp_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/W2JREMarshallTest_jsp_vehicle_web.war.sun-web.xml Search for s1as runtime files match:`W2JREMarshallTest_servlet_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/W2JREMarshallTest_servlet_vehicle_web.war.sun-web.xml Search for s1as runtime files match:`W2JREMarshallTest_appclient_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/W2JREMarshallTest_appclient_vehicle_client.jar.sun-application-client.xml Search for s1as runtime files match:`W2JREMarshallTest.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest/W2JREMarshallTest_web.war.sun-web.xml Deploying apps for forward rebuildable... Search for s1as runtime files match:`W2JREMarshallTest.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../tmp/W2JREMarshallTest_web.war.sun-web.xml Deployment of app(s) from: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest failed! harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jaxrpc/ee/w2j/rpc/encoded/marshalltest. Thus, all other tests in this directory will fail with the same error. result: Passed. Deployment phase completed. However, check the output above to see if actual deployment passed or failed. #section:TestRun ----------messages:(0/0)---------- ----------log:(221/19481)---------- com.sun.ts.lib.porting.TSDeploymentException: The following error occurred while executing this line: /root/jakartaeetck/bin/xml/impl/glassfish/deploy.xml:142: The following error occurred while executing this line: /root/jakartaeetck/bin/xml/impl/glassfish/deploy.xml:202: Deployment Failed for one or more archives. Check the server log to see which failed. ************************************************ GLASSFISH SERVER LOG CONTENTS: Last 200 lines/root/vi/glassfish5/glassfish/domains/domain1/logs/server.log ************************************************ 21389: at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86) 21390: at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823) 21391: at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140) 21392: at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573) 21393: at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460) 21394: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388) 21395: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379) 21396: at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209) 21397: at java.util.TimerThread.mainLoop(Timer.java:555) 21398: at java.util.TimerThread.run(Timer.java:505) 21399: Caused by: java.lang.RuntimeException 21400: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:161) 21401: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 21402: at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:285) 21403: at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:64) 21404: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131) 21405: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:128) 21406: at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:208) 21407: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:217) 21408: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:246) 21409: at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:128) 21410: ... 25 more 21411: Caused by: java.lang.RuntimeException 21412: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:314) 21413: at com.sun.enterprise.deployment.util.ModuleContentLinker.accept(ModuleContentLinker.java:67) 21414: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:833) 21415: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 21416: at org.glassfish.web.deployment.descriptor.WebBundleDescriptorImpl.visit(WebBundleDescriptorImpl.java:2009) 21417: at org.glassfish.web.deployment.descriptor.WebBundleDescriptorImpl.visit(WebBundleDescriptorImpl.java:1999) 21418: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:825) 21419: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 21420: at org.glassfish.webservices.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:136) 21421: at org.glassfish.webservices.JAXRPCCodeGenFacadeImpl.run(JAXRPCCodeGenFacadeImpl.java:36) 21422: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:147) 21423: ... 34 more 21424: Caused by: java.lang.NullPointerException 21425: at com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType.sizeOfElement(BaseType.java:424) 21426: at com.sun.xml.rpc.processor.modeler.j2ee.xml.javaWsdlMappingType.getPackageMappingCount(javaWsdlMappingType.java:41) 21427: at com.sun.xml.rpc.processor.modeler.j2ee.JaxRpcMappingXml.getNSToPkgMapping(JaxRpcMappingXml.java:68) 21428: at com.sun.xml.rpc.processor.config.J2EEModelInfo.setJaxRcpMappingXml(J2EEModelInfo.java:85) 21429: at com.sun.xml.rpc.processor.config.J2EEModelInfo.<init>(J2EEModelInfo.java:77) 21430: at com.sun.xml.rpc.tools.wscompile.J2EEToolPlugin.createModelInfo(J2EEToolPlugin.java:75) 21431: at com.sun.xml.rpc.util.JaxRpcObjectFactoryImpl.createJ2EEModelInfo(JaxRpcObjectFactoryImpl.java:75) 21432: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:500) 21433: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:485) 21434: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createModelInfo(JaxRpcRICodegen.java:440) 21435: at org.glassfish.webservices.codegen.JaxRpcRICodegen.jaxrpcWebService(JaxRpcRICodegen.java:782) 21436: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:311) 21437: ... 44 more 21438: ]] 21439: 21440: [2020-07-03T08:13:02.205+0000] [glassfish 5.1] [SEVERE] [] [] [tid: _ThreadID=87 _ThreadName=Thread-9] [timeMillis: 1593763982205] [levelValue: 1000] [[ 21441: [Error] MarshallTest.xml:24:17: cvc-elt.1: Cannot find the declaration of element 'java-wsdl-mapping'. 21442: ]] 21443: 21444: [2020-07-03T08:13:02.210+0000] [glassfish 5.1] [SEVERE] [] [] [tid: _ThreadID=87 _ThreadName=Thread-9] [timeMillis: 1593763982210] [levelValue: 1000] [[ 21445: org.glassfish.deployment.common.DeploymentException 21446: at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:158) 21447: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 21448: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) 21449: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195) 21450: at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467) 21451: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516) 21452: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512) 21453: at java.security.AccessController.doPrivileged(Native Method) 21454: at javax.security.auth.Subject.doAs(Subject.java:360) 21455: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511) 21456: at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542) 21457: at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534) 21458: at java.security.AccessController.doPrivileged(Native Method) 21459: at javax.security.auth.Subject.doAs(Subject.java:360) 21460: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533) 21461: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441) 21462: at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86) 21463: at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823) 21464: at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140) 21465: at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573) 21466: at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460) 21467: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388) 21468: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379) 21469: at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209) 21470: at java.util.TimerThread.mainLoop(Timer.java:555) 21471: at java.util.TimerThread.run(Timer.java:505) 21472: Caused by: java.lang.RuntimeException 21473: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:161) 21474: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 21475: at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:285) 21476: at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:64) 21477: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131) 21478: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:128) 21479: at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:208) 21480: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:217) 21481: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:246) 21482: at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:128) 21483: ... 25 more 21484: Caused by: java.lang.RuntimeException 21485: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:314) 21486: at com.sun.enterprise.deployment.util.ModuleContentLinker.accept(ModuleContentLinker.java:67) 21487: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:833) 21488: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 21489: at org.glassfish.web.deployment.descriptor.WebBundleDescriptorImpl.visit(WebBundleDescriptorImpl.java:2009) 21490: at org.glassfish.web.deployment.descriptor.WebBundleDescriptorImpl.visit(WebBundleDescriptorImpl.java:1999) 21491: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:825) 21492: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 21493: at org.glassfish.webservices.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:136) 21494: at org.glassfish.webservices.JAXRPCCodeGenFacadeImpl.run(JAXRPCCodeGenFacadeImpl.java:36) 21495: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:147) 21496: ... 34 more 21497: Caused by: java.lang.NullPointerException 21498: at com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType.sizeOfElement(BaseType.java:424) 21499: at com.sun.xml.rpc.processor.modeler.j2ee.xml.javaWsdlMappingType.getPackageMappingCount(javaWsdlMappingType.java:41) 21500: at com.sun.xml.rpc.processor.modeler.j2ee.JaxRpcMappingXml.getNSToPkgMapping(JaxRpcMappingXml.java:68) 21501: at com.sun.xml.rpc.processor.config.J2EEModelInfo.setJaxRcpMappingXml(J2EEModelInfo.java:85) 21502: at com.sun.xml.rpc.processor.config.J2EEModelInfo.<init>(J2EEModelInfo.java:77) 21503: at com.sun.xml.rpc.tools.wscompile.J2EEToolPlugin.createModelInfo(J2EEToolPlugin.java:75) 21504: at com.sun.xml.rpc.util.JaxRpcObjectFactoryImpl.createJ2EEModelInfo(JaxRpcObjectFactoryImpl.java:75) 21505: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:500) 21506: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:485) 21507: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createModelInfo(JaxRpcRICodegen.java:440) 21508: at org.glassfish.webservices.codegen.JaxRpcRICodegen.jaxrpcWebService(JaxRpcRICodegen.java:782) 21509: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:311) 21510: ... 44 more 21511: ]] 21512: 21513: [2020-07-03T08:13:02.252+0000] [glassfish 5.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=87 _ThreadName=AutoDeployer] [timeMillis: 1593763982252] [levelValue: 1000] [[ 21514: Exception while preparing the app 21515: java.lang.RuntimeException 21516: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:161) 21517: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 21518: at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:285) 21519: at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:64) 21520: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131) 21521: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:128) 21522: at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:208) 21523: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:217) 21524: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:246) 21525: at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:128) 21526: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 21527: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) 21528: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195) 21529: at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467) 21530: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516) 21531: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512) 21532: at java.security.AccessController.doPrivileged(Native Method) 21533: at javax.security.auth.Subject.doAs(Subject.java:360) 21534: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511) 21535: at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542) 21536: at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534) 21537: at java.security.AccessController.doPrivileged(Native Method) 21538: at javax.security.auth.Subject.doAs(Subject.java:360) 21539: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533) 21540: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441) 21541: at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86) 21542: at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823) 21543: at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140) 21544: at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573) 21545: at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460) 21546: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388) 21547: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379) 21548: at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209) 21549: at java.util.TimerThread.mainLoop(Timer.java:555) 21550: at java.util.TimerThread.run(Timer.java:505) 21551: Caused by: java.lang.RuntimeException 21552: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:314) 21553: at com.sun.enterprise.deployment.util.ModuleContentLinker.accept(ModuleContentLinker.java:67) 21554: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:833) 21555: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 21556: at org.glassfish.web.deployment.descriptor.WebBundleDescriptorImpl.visit(WebBundleDescriptorImpl.java:2009) 21557: at org.glassfish.web.deployment.descriptor.WebBundleDescriptorImpl.visit(WebBundleDescriptorImpl.java:1999) 21558: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:825) 21559: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 21560: at org.glassfish.webservices.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:136) 21561: at org.glassfish.webservices.JAXRPCCodeGenFacadeImpl.run(JAXRPCCodeGenFacadeImpl.java:36) 21562: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:147) 21563: ... 34 more 21564: Caused by: java.lang.NullPointerException 21565: at com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType.sizeOfElement(BaseType.java:424) 21566: at com.sun.xml.rpc.processor.modeler.j2ee.xml.javaWsdlMappingType.getPackageMappingCount(javaWsdlMappingType.java:41) 21567: at com.sun.xml.rpc.processor.modeler.j2ee.JaxRpcMappingXml.getNSToPkgMapping(JaxRpcMappingXml.java:68) 21568: at com.sun.xml.rpc.processor.config.J2EEModelInfo.setJaxRcpMappingXml(J2EEModelInfo.java:85) 21569: at com.sun.xml.rpc.processor.config.J2EEModelInfo.<init>(J2EEModelInfo.java:77) 21570: at com.sun.xml.rpc.tools.wscompile.J2EEToolPlugin.createModelInfo(J2EEToolPlugin.java:75) 21571: at com.sun.xml.rpc.util.JaxRpcObjectFactoryImpl.createJ2EEModelInfo(JaxRpcObjectFactoryImpl.java:75) 21572: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:500) 21573: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:485) 21574: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createModelInfo(JaxRpcRICodegen.java:440) 21575: at org.glassfish.webservices.codegen.JaxRpcRICodegen.jaxrpcWebService(JaxRpcRICodegen.java:782) 21576: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:311) 21577: ... 44 more 21578: ]] 21579: 21580: [2020-07-03T08:13:02.263+0000] [glassfish 5.1] [WARNING] [NCLS-DEPLOYMENT-02036] [javax.enterprise.system.tools.deployment.autodeploy] [tid: _ThreadID=87 _ThreadName=AutoDeployer] [timeMillis: 1593763982263] [levelValue: 900] [[ 21581: Error occurred during deployment: Exception while preparing the app. Please see server.log for more details.]] 21582: 21583: [2020-07-03T08:13:02.263+0000] [glassfish 5.1] [WARNING] [NCLS-DEPLOYMENT-02036] [javax.enterprise.system.tools.deployment.autodeploy] [tid: _ThreadID=87 _ThreadName=AutoDeployer] [timeMillis: 1593763982263] [levelValue: 900] [[ 21584: [AutoDeploy] Autodeploy failed : /root/vi/glassfish5/glassfish/domains/domain1/autodeploy/W2JREMarshallTest.ear.]] 21585: 21586: [2020-07-03T08:13:02.264+0000] [glassfish 5.1] [WARNING] [NCLS-DEPLOYMENT-02041] [javax.enterprise.system.tools.deployment.autodeploy] [tid: _ThreadID=87 _ThreadName=AutoDeployer] [timeMillis: 1593763982264] [levelValue: 900] [[ 21587: Attempt to create file /root/vi/glassfish5/glassfish/domains/domain1/autodeploy/.autodeploystatus/W2JREMarshallTest.ear failed; no further information.]] 21588: ************************************************ END OF GLASSFISH SERVER LOG CONTENTS/root/vi/glassfish5/glassfish/domains/domain1/logs/server.log ************************************************ at com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment.deploy(AutoDeployment.java:208) at com.sun.ts.lib.harness.SuiteSynchronizer.continueToDeployApps(SuiteSynchronizer.java:1104) at com.sun.ts.lib.harness.SuiteSynchronizer.deployApps(SuiteSynchronizer.java:716) at com.sun.ts.lib.harness.SuiteSynchronizer.doDeployment(SuiteSynchronizer.java:387) at com.sun.ts.lib.harness.TSHarnessObserver.startingTest(TSHarnessObserver.java:367) at com.sun.javatest.Harness$Notifier.startingTest(Harness.java:995) at com.sun.javatest.TestRunner.notifyStartingTest(TestRunner.java:212) at com.sun.javatest.DefaultTestRunner.runTest(DefaultTestRunner.java:167) at com.sun.javatest.DefaultTestRunner.access$100(DefaultTestRunner.java:43) at com.sun.javatest.DefaultTestRunner$1.run(DefaultTestRunner.java:66) result: Not run. Test running... test result: Failed. An error occurred during the Deployment phase for tests in this directory.