[seam-dev] glassfish and Seam Faces error.
Brian Leathem
bleathem at gmail.com
Fri Feb 18 21:23:33 EST 2011
Hi Sebastian,
Beta3 works for me, I'm curious to find out why you are having trouble.
Could you please file a jira, and include your pom.xml?
Thanks,
Brian Leathem
On 02/18/2011 06:20 AM, Sebastian E. Ovide wrote:
>
> Hi Brian,
>
> I've added
>
> <dependency>
> <groupId>org.jboss.seam.faces</groupId>
> <artifactId>seam-faces</artifactId>
> <version>3.0.0.Beta3</version>
> </dependency>
> <dependency>
> <groupId>joda-time</groupId>
> <artifactId>joda-time</artifactId>
> <version>1.6.2</version>
> </dependency>
>
> and now I'm getting other errors... so, rolling back to Alpha3...
>
> INFO: WELD-000900 1.0.1 (SP3)
> INFO: Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> INFO: 2011-02-18 14:13:56,066 INFO [org.jboss.seam.solder.Version] -
> Seam Solder 3.0.0.Beta4 (build id: 3.0.0.Beta4)
>
> SEVERE: Exception while loading the app
> org.glassfish.deployment.common.DeploymentException:
> java.lang.NoClassDefFoundError:
> Lorg/jboss/seam/persistence/transaction/SeamTransaction;
> at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:167)
> at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:125)
> at
> org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:224)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
> 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:245)
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
> 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.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
> at java.lang.Thread.run(Thread.java:636)
> Caused by: com.google.common.collect.ComputationException:
> java.lang.NoClassDefFoundError:
> Lorg/jboss/seam/persistence/transaction/SeamTransaction;
> at
> com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:602)
> at
> com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:462)
> at
> com.google.common.collect.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2045)
> at
> org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:164)
> at
> org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:61)
> at
> org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:88)
> at
> org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:134)
> at
> org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:377)
> at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:165)
> ... 30 more
> Caused by: java.lang.NoClassDefFoundError:
> Lorg/jboss/seam/persistence/transaction/SeamTransaction;
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308)
> at java.lang.Class.getDeclaredFields(Class.java:1760)
> at
> org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:115)
> at
> org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:111)
> at
> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> at
> org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:67)
> at
> org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:110)
> at
> org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:177)
> at
> org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:140)
> at
> org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:50)
> at
> org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:38)
> at
> com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:592)
> ... 38 more
> Caused by: java.lang.ClassNotFoundException:
> org.jboss.seam.persistence.transaction.SeamTransaction
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at
> org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:959)
> at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1430)
> ... 51 more
>
> SEVERE: log4j:ERROR log4j called after unloading, see
> http://logging.apache.org/log4j/1.2/faq.html#unload.
> SEVERE: java.lang.IllegalStateException: Class invariant violation
> at
> org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:199)
> at org.apache.log4j.LogManager.getLogger(LogManager.java:228)
> at org.apache.log4j.Logger.getLogger(Logger.java:104)
> at org.jboss.logging.Log4jLogger.<init>(Log4jLogger.java:35)
> at
> org.jboss.logging.Log4jLoggerProvider.getLogger(Log4jLoggerProvider.java:33)
> at org.jboss.logging.Logger.getLogger(Logger.java:2166)
> at org.jboss.logging.Logger.getLogger(Logger.java:2191)
> at
> org.jboss.seam.faces.status.MessagesAdapter.<clinit>(MessagesAdapter.java:53)
> at sun.misc.Unsafe.ensureClassInitialized(Native Method)
> at
> sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
> at
> sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
> at java.lang.reflect.Field.acquireFieldAccessor(Field.java:936)
> at java.lang.reflect.Field.getFieldAccessor(Field.java:917)
> at java.lang.reflect.Field.get(Field.java:376)
> at
> org.glassfish.web.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1851)
> at
> org.glassfish.web.loader.WebappClassLoader.stop(WebappClassLoader.java:1680)
> at
> org.glassfish.web.loader.WebappClassLoader.preDestroy(WebappClassLoader.java:1649)
> at
> org.glassfish.deployment.common.DeploymentContextImpl.preDestroy(DeploymentContextImpl.java:129)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:216)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:342)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
> 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:245)
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
> 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.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
> at java.lang.Thread.run(Thread.java:636)
>
>
> On Thu, Feb 17, 2011 at 11:47 PM, Brian Leathem <bleathem at gmail.com
> <mailto:bleathem at gmail.com>> wrote:
>
> Hi Sebastien,
>
> If you include the joda time jar with your application, I assume
> it deploys fine? If that is the case, please file a jira issue,
> as we shouldn't have such an external dependency requirement.
>
> Thanks,
> Brian Leathem
>
>
> On 02/17/2011 07:36 AM, Sebastian E. Ovide wrote:
>
> Hi All,
>
> I'm testing the 3.0.0.Beta3 version and still getting this
> error while deploying in Glassfish (just clicking run un
> Netbeans):
>
> WARNING: Exception while starting bundle
> com.sun.enterprise.osgi-adapter [195]
> org.osgi.framework.BundleException: Activator start error in
> bundle com.sun.enterprise.osgi-adapter [195].
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
> at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
> at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> at
> org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
> at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
> at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> at java.lang.Thread.run(Thread.java:636)
> Caused by: java.lang.NoClassDefFoundError:
> org/joda/time/DateTimeZone
>
>
>
>
>
> --
> Sebastian E. Ovide
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110218/7a5957c2/attachment-0001.html
More information about the seam-dev
mailing list