> > >
> > > you can inject ejbs into servlets so it is a bit linked to openejb.
> > >
> > >
> > Hmmm, not sure I understand. This class does call (indirectly, through
> some
> > other classes) an EJB, but it is really a servlet.
> >
> >
> >
> you can inject using @EJB an EJB into your servlet so openejb needs to load
> it.
>

OK, I understand. It is not the case here.


>
>
> >  > do you deliver your logger library in your ear?
> > >
> >
> > As far as I can tell, yes. I have in WEB-INF/lib of my war :
> >
> >   - our own logging library (that acts as a façade on log4j) - called
> >   itm-log.jar;
> >   - log4j.jar;
> >   - the jar containing the class in the exception stacktrace;
> >
> > Do you have any advice on how to get a more explicit error message or
> more
> > detailled information on the error ?
> >
>
> you don't have any logs/*.log (in particular openejb.log)?
>
>
logs/openejb.log contains only INFO messages. Nothing related to the error.
Any way to get debugging or trace messages ?
No other log files under /logs contain useful information about the error.

I saw we are using our own implementation of a Log4j "RepositorySelector"
that messes with / relies on class loaders. Could that be related to the
problem ? Is there any specific assumptions made by OpenEJB regarging class
loading ? something specific to know ?

Thanks again
Thomas


>
> >
> > Thanks
> >
> >
> >
> > >
> > > - Romain
> > >
> > > 2011/5/20 Thomas FRANCART <[email protected]>
> > >
> > > > Hi all
> > > >
> > > > I was asked to port our application under Tomcat + Open EJB. I am
> using
> > > > tomee 6.0.29.314. I am packaging my application in a so-called
> > > > "collapsed-ear". I am new both to Tomcat and OpenEJB. I get this
> > > exception
> > > > in catalina.out when deploying my war :
> > > >
> > > > GRAVE: Erreur lors du déploiement de l'archive
> > > > ITM-collapsed-ear-6.5.1-SNAPSHOT.war de l'application web
> > > > java.lang.NoClassDefFoundError: Could not fully load class:
> > > > com.mondeca.portal.workingcontext.server.WorkingContextServiceImpl
> > > >  due to:LLogger;
> > > >  in classLoader:
> > > > org.apache.openejb.core.TempClassLoader@18b8315
> > > >    at
> org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:161)
> > > >    at
> > > >
> > > >
> > >
> >
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.createInheritedClassFinder(AnnotationDeployer.java:3240)
> > > >    at
> > > >
> > > >
> > >
> >
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1028)
> > > >    at
> > > >
> > > >
> > >
> >
> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:206)
> > > >    at
> > > >
> > > >
> > >
> >
> org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.createWebModule(TomcatWebAppBuilder.java:662)
> > > >    at
> > > >
> > > >
> > >
> >
> org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:541)
> > > >    at
> > > >
> > > >
> > >
> >
> org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.start(TomcatWebAppBuilder.java:242)
> > > >    at
> > > >
> > > >
> > >
> >
> org.apache.openejb.tomcat.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:58)
> > > >    at
> > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > >    at
> > > >
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4540)
> > > >
> > > > The class listed in the exception is a servlet class, it has nothing
> to
> > > do
> > > > (as far as a I can tell) with EJBs, and does not contain any special
> > > > annotations.
> > > > What does the error mean ? In particular, what does "due to:LLogger;"
> > > mean
> > > > ?
> > > > How can I get, or where can I find more detailled information on the
> > > error
> > > > (activate some logging, debugging, etc.) ?
> > > >
> > > > Thanks for your help
> > > > Thomas
> > > >
> > > > --
> > > > *Thomas Francart*
> > > > *CTO** - Mondeca*
> > > > 3, cité Nollez 75018 Paris France
> > > > Tel. +33 (0)1 44 92 35 04 - fax +33 (0)1 44 92 02 59
> > > > Web: www.mondeca.com
> > > > Blog : Leçons de choses <http://mondeca.wordpress.com>
> > > >
> > >
> >
> >
> >
> > --
> > *Thomas Francart*
> > *CTO** - Mondeca*
> > 3, cité Nollez 75018 Paris France
> > Tel. +33 (0)1 44 92 35 04 - fax +33 (0)1 44 92 02 59
> > Web: www.mondeca.com
> > Blog : Leçons de choses <http://mondeca.wordpress.com>
> >
>



-- 
*Thomas Francart*
*CTO** - Mondeca*
3, cité Nollez 75018 Paris France
Tel. +33 (0)1 44 92 35 04 - fax +33 (0)1 44 92 02 59
Web: www.mondeca.com
Blog : Leçons de choses <http://mondeca.wordpress.com>

Reply via email to