-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Eception when deploying webapp to Glassfish3.1.2
PostPosted: Fri Aug 09, 2013 5:37 pm 
Newbie

Joined: Fri Aug 09, 2013 4:39 pm
Posts: 1
This maybe a WELD-Glassfish issue but I started seeing it when I added seam-validation to my project to support injecting CDI beans into ConstraintValidators. Glassfish 3.1.2 which implements EE6 uses Bean Validation 1.0 (Hibernate Validator 4.3.0 Final) which does not out of the bo support this. So to make the magic happen I added seam-validation 3.0.0 Final with the bundled seam-solder.jar. That all works great, however, on deployment I am seeing the following eception (see below).

Thoughts?

-Noah

Code:
[#|2013-08-09T16:51:03.752-0400|INFO|glassfish3.1.2|org.jboss.weld.ClassLoading|_ThreadID=43;_ThreadName=Thread-2;|WELD-000119 Not generating any bean definitions from org.jboss.logging.JBossLogManagerLogger because of underlying class loading error|#]

[#|2013-08-09T16:51:03.752-0400|INFO|glassfish3.1.2|org.jboss.weld.ClassLoading|_ThreadID=43;_ThreadName=Thread-2;|catching
org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class org.jboss.logging.JBossLogManagerLogger
   at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:152)
   at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)
   at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)
   at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:171)
   at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:336)
   at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:179)
   at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
   at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:277)
   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:389)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
   at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
   at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
   at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
   at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
   at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
   at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
   at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
   at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
   at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
   at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
   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:724)
Caused by: java.lang.NoClassDefFoundError: org/jboss/logmanager/Level
   at java.lang.Class.getDeclaredFields0(Native Method)
   at java.lang.Class.privateGetDeclaredFields(Class.java:2387)
   at java.lang.Class.getDeclaredFields(Class.java:1796)
   at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102)
   at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:99)
   at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
   at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63)
   at org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:99)
   at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:153)
   at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:118)
   at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:49)
   at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:40)
   at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:206)
   at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100)
   at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515)
   at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:149)
   ... 36 more
Caused by: java.lang.ClassNotFoundException: org.jboss.logmanager.Level
   at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509)
   at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
   ... 52 more
|#]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.