<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Sebastian,<br>
<br>
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?<br>
<br>
Thanks,<br>
Brian Leathem<br>
<br>
On 02/18/2011 06:20 AM, Sebastian E. Ovide wrote:
<blockquote
cite="mid:AANLkTiktG5g83sbOvU5RHnWspgpoEMGDokv4dD8LPJC+@mail.gmail.com"
type="cite"><br>
Hi Brian,<br>
<br>
I've added<br>
<br>
<dependency><br>
<groupId>org.jboss.seam.faces</groupId><br>
<artifactId>seam-faces</artifactId><br>
<version>3.0.0.Beta3</version><br>
</dependency><br>
<dependency><br>
<groupId>joda-time</groupId><br>
<artifactId>joda-time</artifactId><br>
<version>1.6.2</version><br>
</dependency><br>
<br>
and now I'm getting other errors... so, rolling back to Alpha3...<br>
<br>
INFO: WELD-000900 1.0.1 (SP3)<br>
INFO: Instantiated an instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.<br>
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) <br>
<br>
SEVERE: Exception while loading the app<br>
org.glassfish.deployment.common.DeploymentException:
java.lang.NoClassDefFoundError:
Lorg/jboss/seam/persistence/transaction/SeamTransaction;<br>
at
org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:167)<br>
at
org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:125)<br>
at
org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:224)<br>
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)<br>
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)<br>
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)<br>
at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)<br>
at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)<br>
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)<br>
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)<br>
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)<br>
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)<br>
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)<br>
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)<br>
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)<br>
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)<br>
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)<br>
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)<br>
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)<br>
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)<br>
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)<br>
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)<br>
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)<br>
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)<br>
at java.lang.Thread.run(Thread.java:636)<br>
Caused by: com.google.common.collect.ComputationException:
java.lang.NoClassDefFoundError:
Lorg/jboss/seam/persistence/transaction/SeamTransaction;<br>
at
com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:602)<br>
at
com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:462)<br>
at
com.google.common.collect.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2045)<br>
at
org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:164)<br>
at
org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:61)<br>
at
org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:88)<br>
at
org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:134)<br>
at
org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:377)<br>
at
org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:165)<br>
... 30 more<br>
Caused by: java.lang.NoClassDefFoundError:
Lorg/jboss/seam/persistence/transaction/SeamTransaction;<br>
at java.lang.Class.getDeclaredFields0(Native Method)<br>
at
java.lang.Class.privateGetDeclaredFields(Class.java:2308)<br>
at java.lang.Class.getDeclaredFields(Class.java:1760)<br>
at
org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:115)<br>
at
org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:111)<br>
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)<br>
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:67)<br>
at
org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:110)<br>
at
org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:177)<br>
at
org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:140)<br>
at
org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:50)<br>
at
org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:38)<br>
at
com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:592)<br>
... 38 more<br>
Caused by: java.lang.ClassNotFoundException:
org.jboss.seam.persistence.transaction.SeamTransaction<br>
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)<br>
at java.security.AccessController.doPrivileged(Native
Method)<br>
at
java.net.URLClassLoader.findClass(URLClassLoader.java:205)<br>
at
org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:959)<br>
at
org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1430)<br>
... 51 more<br>
<br>
SEVERE: log4j:ERROR log4j called after unloading, see <a
moz-do-not-send="true"
href="http://logging.apache.org/log4j/1.2/faq.html#unload">http://logging.apache.org/log4j/1.2/faq.html#unload</a>.<br>
SEVERE: java.lang.IllegalStateException: Class invariant violation<br>
at
org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:199)<br>
at
org.apache.log4j.LogManager.getLogger(LogManager.java:228)<br>
at org.apache.log4j.Logger.getLogger(Logger.java:104)<br>
at
org.jboss.logging.Log4jLogger.<init>(Log4jLogger.java:35)<br>
at
org.jboss.logging.Log4jLoggerProvider.getLogger(Log4jLoggerProvider.java:33)<br>
at org.jboss.logging.Logger.getLogger(Logger.java:2166)<br>
at org.jboss.logging.Logger.getLogger(Logger.java:2191)<br>
at
org.jboss.seam.faces.status.MessagesAdapter.<clinit>(MessagesAdapter.java:53)<br>
at sun.misc.Unsafe.ensureClassInitialized(Native Method)<br>
at
sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)<br>
at
sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)<br>
at
java.lang.reflect.Field.acquireFieldAccessor(Field.java:936)<br>
at
java.lang.reflect.Field.getFieldAccessor(Field.java:917)<br>
at java.lang.reflect.Field.get(Field.java:376)<br>
at
org.glassfish.web.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1851)<br>
at
org.glassfish.web.loader.WebappClassLoader.stop(WebappClassLoader.java:1680)<br>
at
org.glassfish.web.loader.WebappClassLoader.preDestroy(WebappClassLoader.java:1649)<br>
at
org.glassfish.deployment.common.DeploymentContextImpl.preDestroy(DeploymentContextImpl.java:129)<br>
at
com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:216)<br>
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:342)<br>
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)<br>
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)<br>
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)<br>
at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)<br>
at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)<br>
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)<br>
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)<br>
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)<br>
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)<br>
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)<br>
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)<br>
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)<br>
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)<br>
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)<br>
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)<br>
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)<br>
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)<br>
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)<br>
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)<br>
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)<br>
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)<br>
at java.lang.Thread.run(Thread.java:636)<br>
<br>
<br>
<div class="gmail_quote">On Thu, Feb 17, 2011 at 11:47 PM, Brian
Leathem <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:bleathem@gmail.com">bleathem@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi Sebastien,<br>
<br>
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.<br>
<br>
Thanks,<br>
<font color="#888888">
Brian Leathem</font>
<div>
<div class="h5"><br>
<br>
On 02/17/2011 07:36 AM, Sebastian E. Ovide wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Hi All,<br>
<br>
I'm testing the 3.0.0.Beta3 version and still getting
this error while deploying in Glassfish (just clicking
run un Netbeans):<br>
<br>
WARNING: Exception while starting bundle
com.sun.enterprise.osgi-adapter [195]<br>
org.osgi.framework.BundleException: Activator start
error in bundle com.sun.enterprise.osgi-adapter [195].<br>
at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)<br>
at
org.apache.felix.framework.Felix.startBundle(Felix.java:1622)<br>
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)<br>
at
org.jvnet.hk2.osgimain.Main.start(Main.java:140)<br>
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)<br>
at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)<br>
at
org.apache.felix.framework.Felix.startBundle(Felix.java:1622)<br>
at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)<br>
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)<br>
at java.lang.Thread.run(Thread.java:636)<br>
Caused by: java.lang.NoClassDefFoundError:
org/joda/time/DateTimeZone<br>
</blockquote>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Sebastian E. Ovide<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>