Just updating mailing list as well..
Phill upgraded jersey in GlassFish and it worked well for him. (we don't
really know what exactly was causing that, but it might be because of
some module versions not working properly together..)
On 4/26/11 4:41 PM, Pavel Bucek wrote:
> Uf, ugly one.
>
> Can you please share minimal testcase? You can send it privately..
> or.. what exactly are you bundling into your war file? (unzil -l could
> help).
>
> Thanks,
> Pavel
>
> On 4/26/11 6:30 AM, Phill wrote:
>> I've followed the instructions in the user guide to override jersey
>> with war files in GF 3.1 but I now get the following exception on
>> deployment:
>>
>> [#|2011-04-26T06:17:52.300+0200|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=61;_ThreadName=Thread-5;|Exception
>> while loading the app :
>> org.jboss.weldx.transaction.org$jboss$weld$bean-lsk-Built-in-UserTransaction_$$_WeldProxy
>> cannot be cast to javassist.util.proxy.ProxyObject
>> java.lang.ClassCastException:
>> org.jboss.weldx.transaction.org$jboss$weld$bean-lsk-Built-in-UserTransaction_$$_WeldProxy
>> cannot be cast to javassist.util.proxy.ProxyObject
>> at
>> org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:250)
>> at
>> org.jboss.weld.bean.builtin.ee.AbstractEEBean.<init>(AbstractEEBean.java:46)
>> at
>> org.jboss.weld.bean.builtin.ee.UserTransactionBean.<init>(UserTransactionBean.java:60)
>> at
>> org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:199)
>> at
>> org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:364)
>> at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:170)
>> at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
>> at
>> org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:262)
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
>> at
>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>> at
>> org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:143)
>> at
>> org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:406)
>> at
>> org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:100)
>> at
>> org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:76)
>> at
>> org.glassfish.admingui.common.handlers.DeploymentHandler.deploy(DeploymentHandler.java:191)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
>> at
>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
>> at
>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
>> at
>> com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:150)
>> at
>> com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:98)
>> at
>> javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
>> at
>> javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)
>> at javax.faces.component.UICommand.broadcast(UICommand.java:300)
>> at
>> com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:166)
>> at
>> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
>> at
>> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
>> at
>> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
>> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
>> at
>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
>> at
>> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
>> at
>> com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:223)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
>> at
>> org.apache.catalina.core.StandardWrapperValve.__invoke(StandardWrapperValve.java:279)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>> at
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>> at
>> org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
>> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
>> at
>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
>> at
>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228)
>> at
>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
>> at
>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
>> at
>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
>> at
>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>> at
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>> at
>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>> at
>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>> at
>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>> at
>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>> at
>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>> at java.lang.Thread.run(Thread.java:680)
>>
>>
>
>