users@jersey.java.net

Re: [Jersey] java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonParser + Glassfish v3 b62

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Mon, 14 Sep 2009 16:47:21 +0200

On Mon, Sep 14, 2009 at 03:54:05PM +0200, Jordi Domingo wrote:
>
> Thanks Hakub, that was what i was searching.
> Unfortunately, i'm still facing GRAVE: [failed to localize] error.jaxb.ri.2.1.10.missing()
> This time using JDK1.6.16 + GFv3b63 + Jersey 1.1.3-ea-SNAPSHOT
> I made a simple test (just adding natural notation with JSONJAXBContext). I attach it.

Jordi, i do not see any attachment, could you please resend?

Thanks,

~Jakub

> Thanks,
> Jordi
>
> > Date: Mon, 14 Sep 2009 14:25:49 +0200
> > From: Jakub.Podlesak_at_Sun.COM
> > To: users_at_jersey.dev.java.net
> > Subject: Re: [Jersey] java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonParser + Glassfish v3 b62
> >
> >
> > Hi Jordi,
> >
> > I presume you are looking for Jersey related modules corresponding
> > to the main trunk.
> > These modules could be found in the archive at [1].
> >
> > ~Jakub
> >
> >
> > [1]http://download.java.net/maven/2/com/sun/jersey/glassfish/v3/jersey-gfv3-core/1.1.3-ea-SNAPSHOT/jersey-gfv3-core-1.1.3-ea-SNAPSHOT-project.zip
> >
> > On Mon, Sep 14, 2009 at 11:18:31AM +0200, Jordi Domingo wrote:
> > >
> > > Hi,
> > > I encountered this problem wich i cant understand. I checked modules/jackson-core-asl.jar and there is the class. Maybe its a version problem, but i dont know where i can find the jar for GF as osgi bundle.
> > >
> > > GRAVE: ContainerBase.addChild: start: LifecycleException: java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonParser at org.apache.catalina.core.StandardContext.start(StandardContext.java:5365) at com.sun.enterprise.web.WebModule.start(WebModule.java:506) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1813) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1502) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:93) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:223) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:224) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:311) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:174) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:403) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:332) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:184) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:215) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:752) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:660) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:911) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:164) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360) at java.lang.Thread.run(Thread.java:619)
> > > ADVERTENCIA: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonParserjava.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonParser at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1813) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1502) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:93) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:223) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:224) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:311) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:174) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:403) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:332) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:184) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:215) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:752) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:660) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:911) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:164) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360) at java.lang.Thread.run(Thread.java:619)
> > >
> > > Thanks for your help,
> > > Jordi
> > > _________________________________________________________________
> > > Messenger cumple 10 años ¡Descárgate ya los nuevos emoticonos!
> > > http://www.vivelive.com/felicidades
> >
> > --
> > Jakub Podlešák, Software Engineer
> > Web Services and Technologies, SUN Microsystems
> > http://blogs.sun.com/japod
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> > For additional commands, e-mail: users-help_at_jersey.dev.java.net
> >
>
> _________________________________________________________________
> Messenger cumple 10 años ¡Descárgate ya los nuevos emoticonos!
> http://www.vivelive.com/felicidades
> The attachment(s) "TestNatural.rar" has been removed from this email because it contained a type of attachment known to carry viruses and other harmful software. The attachment has been removed for your protection, as well as that of Sun's network.
>
> If you know the sender and were expecting the attachment, please contact the sender and have them re-send the file using the .zip format. If the sender is unknown or if the email looks unusual or is unexpected, please delete it now.
>
> Additional information: http://antivirus.central.sun.com/

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net


-- 
Jakub Podlešák, Software Engineer                                                             
Web Services and Technologies, SUN Microsystems                                               
http://blogs.sun.com/japod