dev@glassfish.java.net

QL test (appserv-tests/sqetests/security/wss/servletjaxws) failing in JDK 6 mode

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Wed, 10 Jan 2007 12:40:20 +0530

When I use JDK 6 (FCS version),
appserv-tests/sqetests/security/wss/servletjaxws is failing with the
following message:

deploy-war-commonpe:
     [exec] deploy --port 4848 --passwordfile
/home/ss141213/ROOT/WS/gf/glassfish/appserv-tests//config/adminpassword.txt
--precompilejsp=true --contextroot wss-tax-web --host localhost --target
server --user admin --echo=true --upload=true --terse=true
/home/ss141213/ROOT/WS/gf/glassfish/appserv-tests//build/module/archive/wss-tax-web.war
     [exec] *CLI171 Command deploy failed : Deploying application in
domain failed; Could not initialize class
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder*
     [exec] Result: 1

Server.log has the following message:
[#|2007-01-10T12:30:59.299+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Thread-27;_RequestID=a9948371-a883-4aae-9037-1b9b8d34eb06;|Exception
occured in J2EEC Phase
java.lang.NoClassDefFoundError: Could not initialize class
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:389)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:253)
        at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:84)
        at
com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:86)
at
com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:126)
        at
com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:125)
        at java.security.AccessController.doPrivileged(Native Method)
        at
com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:124)
        at
com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:63)
        at
com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
        at
com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:152)
        at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:86)
        at
com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:47)
        at
com.sun.tools.ws.spi.WSToolsObjectFactory.wsgen(WSToolsObjectFactory.java:93)
        at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1812)
        at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2110)
        at
com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:406)
        at
com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:144)
        at
com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:163)
        at
com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:171)
        at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:892)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:761)
        at
com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
        at
com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
|#]

The test passes under JDK 1.5. I have done a bootstrap-all build 2 hours
back and build env uses JDK 1.5. Has anyone else seen this kind of failure?

Thanks,
Sahoo