users@glassfish.java.net

Re: JAXBContext security restriction

From: <glassfish_at_javadesktop.org>
Date: Fri, 16 Mar 2007 07:54:06 PST

Hi Bhatki,

can it be that even build 39 doesn't solve the problem? I'm using JDK 1.6.0.

To make sure, below is my stacktrace:
Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Unable to
create JAXBContext due to the security restriction
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:131)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:63)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:229)
at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:199)
at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:102)
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:1822)
at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2121)
at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:346)
at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:280)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:194)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:135)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:174)
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)

What is particularly funny, wsgen from the command line works without any errors.

Regards
Oleg
[Message sent by forum member 'omec' (omec)]

http://forums.java.net/jive/thread.jspa?messageID=208437