Failed
com.sun.ts.tests.webservices.handlerEjb.HandlerSec.Client.UnAuthorizedTest_from_ejb (from webservices)
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 07:54:50 UTC 2020 #-----testdescription----- $file=/root/jakartaeetck/src/com/sun/ts/tests/webservices/handlerEjb/HandlerSec/Client.java $root=/root/jakartaeetck/src assertion_ids=WS4EE\:SPEC\:161 See assertion html documents. classname=com.sun.ts.tests.webservices.handlerEjb.HandlerSec.Client direction=forward finder=cts id=UnAuthorizedTest_from_ejb keywords=all webservices javaee_optional UnAuthorizedTest ejb_vehicle forward service_eetest=yes testArgs=-ap jaxrpc-url-props.dat testName=UnAuthorizedTest testProps=\ webServerHost webServerPort test_directory=com/sun/ts/tests/webservices/handlerEjb/HandlerSec #-----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/webservices/handlerEjb/HandlerSec/Client.java\#UnAuthorizedTest_from_ejb end=Fri Jul 03 07\:54\:50 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 07\:54\:50 UTC 2020 test=com/sun/ts/tests/webservices/handlerEjb/HandlerSec/Client.java\#UnAuthorizedTest_from_ejb timeoutSeconds=1200 totalTime=352 work=/root/jakartaeetck-work/webservices/com/sun/ts/tests/webservices/handlerEjb/HandlerSec #section:script_messages ----------messages:(0/0)---------- #section:Deployment ----------messages:(0/0)---------- ----------log:(128/11975)---------- Undeploying apps... AutoDeployment.isDeployed() AutoDeployment.isDeployed() AutoDeployment.isDeployed() AutoDeployment.isDeployed() AutoDeployment.isDeployed() Search for s1as runtime files match:`HSTest_servlet_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/webservices/handlerEjb/HandlerSec/HSTest_servlet_vehicle_web.war.sun-web.xml Search for s1as runtime files match:`HSTest_appclient_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/webservices/handlerEjb/HandlerSec/HSTest_appclient_vehicle_client.jar.sun-application-client.xml Search for s1as runtime files match:`HSTest_jsp_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/webservices/handlerEjb/HandlerSec/HSTest_jsp_vehicle_web.war.sun-web.xml Search for s1as runtime files match:`HSTest_ejb_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/webservices/handlerEjb/HandlerSec/HSTest_ejb_vehicle_client.jar.sun-application-client.xml /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/webservices/handlerEjb/HandlerSec/HSTest_ejb_vehicle_ejb.jar.sun-ejb-jar.xml Search for s1as runtime files match:`HSTest.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/webservices/handlerEjb/HandlerSec/HSTest.ear.sun-application.xml /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/webservices/handlerEjb/HandlerSec/HSTest_ejb.jar.sun-ejb-jar.xml Deploying apps for forward rebuildable... Search for s1as runtime files match:`HSTest.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../tmp/HSTest.ear.sun-application.xml /root/jakartaeetck/bin/xml/../../tmp/HSTest_ejb.jar.sun-ejb-jar.xml Deployment of app(s) from: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/webservices/handlerEjb/HandlerSec 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/webservices/handlerEjb/HandlerSec. 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/19115)---------- 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 ************************************************ 901: at javax.security.auth.Subject.doAs(Subject.java:360) 902: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533) 903: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441) 904: at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86) 905: at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823) 906: at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140) 907: at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573) 908: at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460) 909: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388) 910: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379) 911: at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209) 912: at java.util.TimerThread.mainLoop(Timer.java:555) 913: at java.util.TimerThread.run(Timer.java:505) 914: Caused by: java.lang.RuntimeException 915: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:161) 916: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 917: at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:285) 918: at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:64) 919: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131) 920: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:128) 921: at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:208) 922: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:217) 923: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:243) 924: at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:128) 925: ... 25 more 926: Caused by: java.lang.RuntimeException 927: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:314) 928: at com.sun.enterprise.deployment.util.ModuleContentLinker.accept(ModuleContentLinker.java:67) 929: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:833) 930: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 931: at org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl.visit(EjbBundleDescriptorImpl.java:733) 932: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:820) 933: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 934: at org.glassfish.webservices.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:136) 935: at org.glassfish.webservices.JAXRPCCodeGenFacadeImpl.run(JAXRPCCodeGenFacadeImpl.java:36) 936: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:147) 937: ... 34 more 938: Caused by: java.lang.NullPointerException 939: at com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType.sizeOfElement(BaseType.java:424) 940: at com.sun.xml.rpc.processor.modeler.j2ee.xml.javaWsdlMappingType.getPackageMappingCount(javaWsdlMappingType.java:41) 941: at com.sun.xml.rpc.processor.modeler.j2ee.JaxRpcMappingXml.getNSToPkgMapping(JaxRpcMappingXml.java:68) 942: at com.sun.xml.rpc.processor.config.J2EEModelInfo.setJaxRcpMappingXml(J2EEModelInfo.java:85) 943: at com.sun.xml.rpc.processor.config.J2EEModelInfo.<init>(J2EEModelInfo.java:77) 944: at com.sun.xml.rpc.tools.wscompile.J2EEToolPlugin.createModelInfo(J2EEToolPlugin.java:75) 945: at com.sun.xml.rpc.util.JaxRpcObjectFactoryImpl.createJ2EEModelInfo(JaxRpcObjectFactoryImpl.java:75) 946: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:500) 947: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:485) 948: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createModelInfo(JaxRpcRICodegen.java:440) 949: at org.glassfish.webservices.codegen.JaxRpcRICodegen.jaxrpcWebService(JaxRpcRICodegen.java:782) 950: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:311) 951: ... 43 more 952: ]] 953: 954: [2020-07-03T07:54:27.941+0000] [glassfish 5.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=108 _ThreadName=AutoDeployer] [timeMillis: 1593762867941] [levelValue: 1000] [[ 955: Exception while preparing the app]] 956: 957: [2020-07-03T07:54:27.941+0000] [glassfish 5.1] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=108 _ThreadName=AutoDeployer] [timeMillis: 1593762867941] [levelValue: 1000] [[ 958: Exception during lifecycle processing 959: org.glassfish.deployment.common.DeploymentException 960: at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:158) 961: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 962: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) 963: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195) 964: at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467) 965: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516) 966: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512) 967: at java.security.AccessController.doPrivileged(Native Method) 968: at javax.security.auth.Subject.doAs(Subject.java:360) 969: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511) 970: at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542) 971: at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534) 972: at java.security.AccessController.doPrivileged(Native Method) 973: at javax.security.auth.Subject.doAs(Subject.java:360) 974: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533) 975: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441) 976: at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86) 977: at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823) 978: at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140) 979: at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573) 980: at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460) 981: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388) 982: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379) 983: at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209) 984: at java.util.TimerThread.mainLoop(Timer.java:555) 985: at java.util.TimerThread.run(Timer.java:505) 986: Caused by: java.lang.RuntimeException 987: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:161) 988: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 989: at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:285) 990: at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:64) 991: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131) 992: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:128) 993: at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:208) 994: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:217) 995: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:243) 996: at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:128) 997: ... 25 more 998: Caused by: java.lang.RuntimeException 999: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:314) 1000: at com.sun.enterprise.deployment.util.ModuleContentLinker.accept(ModuleContentLinker.java:67) 1001: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:833) 1002: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 1003: at org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl.visit(EjbBundleDescriptorImpl.java:733) 1004: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:820) 1005: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 1006: at org.glassfish.webservices.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:136) 1007: at org.glassfish.webservices.JAXRPCCodeGenFacadeImpl.run(JAXRPCCodeGenFacadeImpl.java:36) 1008: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:147) 1009: ... 34 more 1010: Caused by: java.lang.NullPointerException 1011: at com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType.sizeOfElement(BaseType.java:424) 1012: at com.sun.xml.rpc.processor.modeler.j2ee.xml.javaWsdlMappingType.getPackageMappingCount(javaWsdlMappingType.java:41) 1013: at com.sun.xml.rpc.processor.modeler.j2ee.JaxRpcMappingXml.getNSToPkgMapping(JaxRpcMappingXml.java:68) 1014: at com.sun.xml.rpc.processor.config.J2EEModelInfo.setJaxRcpMappingXml(J2EEModelInfo.java:85) 1015: at com.sun.xml.rpc.processor.config.J2EEModelInfo.<init>(J2EEModelInfo.java:77) 1016: at com.sun.xml.rpc.tools.wscompile.J2EEToolPlugin.createModelInfo(J2EEToolPlugin.java:75) 1017: at com.sun.xml.rpc.util.JaxRpcObjectFactoryImpl.createJ2EEModelInfo(JaxRpcObjectFactoryImpl.java:75) 1018: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:500) 1019: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:485) 1020: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createModelInfo(JaxRpcRICodegen.java:440) 1021: at org.glassfish.webservices.codegen.JaxRpcRICodegen.jaxrpcWebService(JaxRpcRICodegen.java:782) 1022: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:311) 1023: ... 43 more 1024: ]] 1025: 1026: [2020-07-03T07:54:27.981+0000] [glassfish 5.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=108 _ThreadName=AutoDeployer] [timeMillis: 1593762867981] [levelValue: 1000] [[ 1027: Exception while preparing the app 1028: java.lang.RuntimeException 1029: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:161) 1030: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 1031: at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:285) 1032: at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:64) 1033: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131) 1034: at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:128) 1035: at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:208) 1036: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:217) 1037: at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:243) 1038: at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:128) 1039: at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:901) 1040: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) 1041: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195) 1042: at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467) 1043: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516) 1044: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512) 1045: at java.security.AccessController.doPrivileged(Native Method) 1046: at javax.security.auth.Subject.doAs(Subject.java:360) 1047: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511) 1048: at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542) 1049: at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534) 1050: at java.security.AccessController.doPrivileged(Native Method) 1051: at javax.security.auth.Subject.doAs(Subject.java:360) 1052: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533) 1053: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441) 1054: at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86) 1055: at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823) 1056: at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140) 1057: at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573) 1058: at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460) 1059: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388) 1060: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379) 1061: at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209) 1062: at java.util.TimerThread.mainLoop(Timer.java:555) 1063: at java.util.TimerThread.run(Timer.java:505) 1064: Caused by: java.lang.RuntimeException 1065: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:314) 1066: at com.sun.enterprise.deployment.util.ModuleContentLinker.accept(ModuleContentLinker.java:67) 1067: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:833) 1068: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 1069: at org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl.visit(EjbBundleDescriptorImpl.java:733) 1070: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:820) 1071: at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617) 1072: at org.glassfish.webservices.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:136) 1073: at org.glassfish.webservices.JAXRPCCodeGenFacadeImpl.run(JAXRPCCodeGenFacadeImpl.java:36) 1074: at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:147) 1075: ... 34 more 1076: Caused by: java.lang.NullPointerException 1077: at com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType.sizeOfElement(BaseType.java:424) 1078: at com.sun.xml.rpc.processor.modeler.j2ee.xml.javaWsdlMappingType.getPackageMappingCount(javaWsdlMappingType.java:41) 1079: at com.sun.xml.rpc.processor.modeler.j2ee.JaxRpcMappingXml.getNSToPkgMapping(JaxRpcMappingXml.java:68) 1080: at com.sun.xml.rpc.processor.config.J2EEModelInfo.setJaxRcpMappingXml(J2EEModelInfo.java:85) 1081: at com.sun.xml.rpc.processor.config.J2EEModelInfo.<init>(J2EEModelInfo.java:77) 1082: at com.sun.xml.rpc.tools.wscompile.J2EEToolPlugin.createModelInfo(J2EEToolPlugin.java:75) 1083: at com.sun.xml.rpc.util.JaxRpcObjectFactoryImpl.createJ2EEModelInfo(JaxRpcObjectFactoryImpl.java:75) 1084: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:500) 1085: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createFullMappingModelInfo(JaxRpcRICodegen.java:485) 1086: at org.glassfish.webservices.codegen.JaxRpcRICodegen.createModelInfo(JaxRpcRICodegen.java:440) 1087: at org.glassfish.webservices.codegen.JaxRpcRICodegen.jaxrpcWebService(JaxRpcRICodegen.java:782) 1088: at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:311) 1089: ... 43 more 1090: ]] 1091: 1092: [2020-07-03T07:54:27.986+0000] [glassfish 5.1] [WARNING] [NCLS-DEPLOYMENT-02036] [javax.enterprise.system.tools.deployment.autodeploy] [tid: _ThreadID=108 _ThreadName=AutoDeployer] [timeMillis: 1593762867986] [levelValue: 900] [[ 1093: Error occurred during deployment: Exception while preparing the app. Please see server.log for more details.]] 1094: 1095: [2020-07-03T07:54:27.986+0000] [glassfish 5.1] [WARNING] [NCLS-DEPLOYMENT-02036] [javax.enterprise.system.tools.deployment.autodeploy] [tid: _ThreadID=108 _ThreadName=AutoDeployer] [timeMillis: 1593762867986] [levelValue: 900] [[ 1096: [AutoDeploy] Autodeploy failed : /root/vi/glassfish5/glassfish/domains/domain1/autodeploy/HSTest.ear.]] 1097: 1098: [2020-07-03T07:54:27.987+0000] [glassfish 5.1] [WARNING] [NCLS-DEPLOYMENT-02041] [javax.enterprise.system.tools.deployment.autodeploy] [tid: _ThreadID=108 _ThreadName=AutoDeployer] [timeMillis: 1593762867987] [levelValue: 900] [[ 1099: Attempt to create file /root/vi/glassfish5/glassfish/domains/domain1/autodeploy/.autodeploystatus/HSTest.ear failed; no further information.]] 1100: ************************************************ 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.