Location of jar bean so it's seen by CDI

2013-05-09 Thread Caroline
Hi, I have a Maven Java EE webapp Injecting some Instances of a certain interface, and a regular Maven Java project with some implementations of this interface. This last project I am building into a .jar. I want my CDI enabled webapp to look through the .jar for implementations of said interface.

Re: Location of jar bean so it's seen by CDI

2013-05-09 Thread Romain Manni-Bucau
Hi Cdi context exists by app so basically no but you can use (on trunk) the virtual webapp loader of tomcat to do so (or our new jars.txt) Le 10 mai 2013 02:32, "Caroline" a écrit : > Hi, > > I have a Maven Java EE webapp Injecting some Instances of a certain > interface, and a regular Maven Jav

Re: Location of jar bean so it's seen by CDI

2013-05-10 Thread Caroline
Thanks Romain, It seems that using jars.text, I have to know the names of the .jars in advance too? I'm trying to get my .jar I have in "/Library/TomEEplus/Aree-components/" to load, but I can't get it to work using: - I might be specifying my path wrong. I have tried a dozen configurati

Re: Location of jar bean so it's seen by CDI

2013-05-10 Thread Romain Manni-Bucau
With both solutions you can use /path/to/folder/*.jar Le 10 mai 2013 14:12, "Caroline" a écrit : > Thanks Romain, > > It seems that using jars.text, I have to know the names of the .jars in > advance too? > > I'm trying to get my .jar I have in "/Library/TomEEplus/Aree-components/" > to > load, b

Re: Location of jar bean so it's seen by CDI

2013-05-10 Thread Caroline
t: > > http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662790.html > > Sent from the OpenEJB User mailing list archive at Nabble.com > > (http://Nabble.com). > > > > > If you reply to this email, your message will be a

Re: Location of jar bean so it's seen by CDI

2013-05-10 Thread Romain Manni-Bucau
; (execute-jaxrs-installer) > > > on project apache-tomee: java.lang.NoClassDefFoundError: > > > org/apache/openejb/jpa/integration/MakeTxLookup > > > > > > > > > > > > -- > > > View this message in context: > > > > htt

Re: Location of jar bean so it's seen by CDI

2013-05-11 Thread Caroline
Hi, I'm sorry but I'd like some more help. a1) virtualwebapploader I don't get what you mean by 'your own path'. I was looking for someone who can help me to the exact path I have to provide to VirtualWebappLoader. My *.jar files are in (root of my mac ->) /Library/TomEE/Aree-components/, my Tom

Re: Location of jar bean so it's seen by CDI

2013-05-11 Thread Romain Manni-Bucau
The plugin needs apache snapshot repo as plugin repo. About the syntax: /Library/.../*.jar should be fine Le 11 mai 2013 16:28, "Caroline" a écrit : > Hi, > > > I'm sorry but I'd like some more help. > > a1) virtualwebapploader > I don't get what you mean by 'your own path'. I was looking for so

Re: Location of jar bean so it's seen by CDI

2013-05-11 Thread Caroline
gt; > > > > > > > > > > > -- > > View this message in context: > > http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662824.html > > Sent from the OpenEJB User mailing list archive at Nabble.c

Re: Location of jar bean so it's seen by CDI

2013-05-11 Thread Romain Manni-Bucau
> > > org.apache.openejb.maven:jarstxt-maven-plugin:4.6.0-SNAPSHOT. > > > > > > Thank you for your time. > > > > > > > > > > > > > > > > > > -- > > > View this message in context: > > > > http://

Re: Location of jar bean so it's seen by CDI

2013-05-12 Thread Caroline
> > > > > and has > > > > no functional impact. > > > > java.lang.IllegalStateException > > > > at > > > > > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)" > > &

Re: Location of jar bean so it's seen by CDI

2013-05-12 Thread Romain Manni-Bucau
> stack trace is caused by an error thrown for debugging purposes as > > > > > > > > > > well as > > > > > to attempt to terminate the thread which caused the illegal access, > > >

Re: Location of jar bean so it's seen by CDI

2013-05-12 Thread Caroline
.jar files are in (root of my mac ->) > > > > > > > > > > > > > > > > > /Library/TomEE/Aree-components/, my > > > > > > TomEE install is in /Library/TomEE/ > > > > > > > > > > >

Re: Location of jar bean so it's seen by CDI

2013-05-12 Thread Romain Manni-Bucau
> > > > > > > > (/user/SendEmail.jtp?type=node&node=4662825&i=0)> a > > > > > > écrit : > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > >

Re: Location of jar bean so it's seen by CDI

2013-05-12 Thread Caroline
ars.txt, > > > > should > > > > > > I get it working? > > > > > > mvn:/usr/local/apache-tomee-plus-1.5.2/Aree-components/*.jar > > > > > > ? > > > > > > > > > > > > > > > &

Re: Location of jar bean so it's seen by CDI

2013-05-12 Thread Romain Manni-Bucau
older with wildcard as said previously) > > > > > > * url (mvn, http,...) > > > > > > Le 11 mai 2013 18:34, "Caroline" <[hidden email] > > > > > > > > > > &

Re: Location of jar bean so it's seen by CDI

2013-05-13 Thread Caroline
flect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > > > at > > > > > > > >

Re: Location of jar bean so it's seen by CDI

2013-05-13 Thread Romain Manni-Bucau
> > > > > > > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > org.apache.

Re: Location of jar bean so it's seen by CDI

2013-05-13 Thread Caroline
> > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > > > > > > > > > > at > > > > > > >

Re: Location of jar bean so it's seen by CDI

2013-05-13 Thread Romain Manni-Bucau
; javax.servlet.http.HttpServlet.service(HttpServlet.java:728) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > >