users@glassfish.java.net

Re: [Fwd: iiop over http] JAXBContext security restriction problem

From: Vijay Ramachandran <Vijay.Ramachandran_at_Sun.COM>
Date: Thu, 01 Mar 2007 08:21:59 -0800

dev_at_jaxws.dev.java.net

David Harrigan wrote:
> Hi,
>
> What's the alias so I can follow the thread?
>
> -=david=-
>
>
> Vijay Ramachandran wrote:
>
>> FWDing to JAXWS alias
>>
>> David Harrigan wrote:
>>
>>> Hi,
>>>
>>> Glassfish v2 B37
>>>
>>> Trying to deploy a webmethod. It takes 3 parameters:
>>>
>>> public Result search(final Type type, final int sequence, final
>>> QueryOptions
>>> options)
>>>
>>> Type and QueryOptions are concrete classes that implement several
>>> interfaces. When I try to deploy, I get this stack:
>>>
>>> [#|2007-03-01T15:59:46.596+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Timer-4;_RequestID=c90825f1-0a62-44e4-84eb-9cbf50281c52;|Exception
>>> occured in J2EEC Phase
>>> com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment
>>> Error -- 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:1817)
>>> at
>>> com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2116)
>>> 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:174)
>>>
>>> Reading the JAXB docs, I believe I can't use interfaces - which I believe
>>> I'm not, as Type and QueryOptions are concreate classes....
>>>
>>> Help!
>>>
>>> -=david=-
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>>
>
>