2 Replies Latest reply on Apr 7, 2011 10:05 AM by Thang Pham

    Seam-faces 3 Final + GF3.1:Exception while loading the app

    Thang Pham Newbie

      I have seam-faces 3 final jar files inside my CLASSPATH, and when I deploy my app to GF 3.1, I got this error



      |Exception while loading the app : org/joda/time/DateTimeZone
      java.lang.ClassNotFoundException: org.joda.time.DateTimeZone
              at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:808)
              at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:696)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
              at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:756)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
              at org.glassfish.weld.BeanDeploymentArchiveImpl.handleEntry(BeanDeploymentArchiveImpl.java:482)
              at org.glassfish.weld.BeanDeploymentArchiveImpl.collectJarInfo(BeanDeploymentArchiveImpl.java:473)
              at org.glassfish.weld.BeanDeploymentArchiveImpl.populate(BeanDeploymentArchiveImpl.java:413)
              at org.glassfish.weld.BeanDeploymentArchiveImpl.<init>(BeanDeploymentArchiveImpl.java:148)
              at org.glassfish.weld.DeploymentImpl.scanForLibJars(DeploymentImpl.java:440)
              at org.glassfish.weld.DeploymentImpl.<init>(DeploymentImpl.java:114)
              at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:334)
              at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:99)
              at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
              at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:241)
              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 com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
              at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
              at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
              at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
              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)