tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Wallace <chiefwarpa...@gmail.com>
Subject Re: Exclusions.list not working
Date Wed, 15 Jun 2016 22:02:38 GMT
Romain -
Thanks for the response.

I just downloaded the Zip, extracted it, manually copy my EAR into
TOMEE/apps, start TOMEE via 'catalina.bat start' in TOMEE/bin

I went into TOMEE/conf/context.xml and I don't have anything configured in
there.

The class that is getting picked up is an EJB.  It lives inside of that
'calculation-svc' JAR

I will look into activating debug logs and see what I can find.


On Wed, Jun 15, 2016 at 4:18 PM, Romain Manni-Bucau <rmannibucau@gmail.com>
wrote:

> Hi
>
> Le 15 juin 2016 21:49, "Jeff Wallace" <chiefwarpaint@gmail.com> a écrit :
> >
> > I am using Apache Tomcat Version 7.0.55.
> >
>
> How do you setup tomee? Manually?
>
> > I am trying to get TOMEE to completely ignore a specific JAR of mine when
> > it loads up.
> >
> > To do this, I created {TOMEE}/conf/exclusions.list
> > and this is the entire contents of the that file ::
> >
> > default-list
> > calculation-svc-0.0.1-SNAPSHOT
> >
>
> Looks good - you can skip the version too.
>
> > For some reason though, after restarting TOMEE it still continues to pick
> > up classes from within that JAR.
> >
>
> Maybe activate debug logs. Also ensure your war doesnt use a custom tomcat
> scanner in context.xml. finally can you say us which kind of class it picks
> up? Servlet/jaxrs/....
>
> > Am I missing something?
> >
> > I can see from the catalina log, that it looks like TOMEE is trying to
> pull
> > in exclusions, but it's not finding any.  Plus, it appears to be doing it
> > twice.  Not sure if that's normal or not.  Below is the log output ::
>
> Can be ok it does it is logged twice for old versions.
>
> > Jun 15, 2016 2:32:22 PM org.apache.openejb.config.NewLoaderLogic
> > getExclusions
> > INFO: Loaded classpath exclusions from:
> > C:\Applications\tomee\conf\exclusions.list
> > Jun 15, 2016 2:32:22 PM org.apache.openejb.config.NewLoaderLogic
> > getExclusions
> > INFO: Loaded classpath exclusions from:
> > C:\Applications\tomee\conf\exclusions.list
> >
> >
> > For additional resources, I also have a discussion about this issue on
> > Stack Overflow at ::
> > http://stackoverflow.com/questions/37798824/tomee-exclude-a-jar
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message