Hmm,

Wonder if classifier are well handled...

Can you share a project to reproduce it please?
Le 12 mai 2013 11:45, "Caroline" <caroline.van.den.ha...@gmail.com> a
écrit :

> Thanks Romain for the clear instructions. I am another big step closer to
> using this in my master thesis.
>
> Is there a known issue with
>
> WARNING: Exception in handleFault on interceptor
> org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor@1c9598c0
> org.apache.cxf.interceptor.Fault: net/sf/json/JSONObject
> at
> org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
>
>
>
> Caused by: java.lang.ClassNotFoundException: net.sf.json.JSONObject
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
> at
> org.apache.tomee.catalina.LazyStopWebappClassLoader.loadClass(LazyStopWebappClassLoader.java:98)
> ... 36 more
>
>
>
> ?
>
> I have an import net.sf.json.JSONObject; and
> mvn:net.sf.json-lib/json-lib/2.4 in my jars.txt, as generated by your
> plugin from my pom.xml:
> <dependency>
> <groupId>net.sf.json-lib</groupId>
> <artifactId>json-lib</artifactId>
> <version>2.4</version>
> <classifier>jdk15</classifier>
> </dependency>
>
>
>
>
> Full stack trace:
>
> Server received request: {"id":1,"data":"select identifier from molecules"}
> May 12, 2013 11:44:06 AM org.apache.cxf.phase.PhaseInterceptorChain
> doDefaultLogging
> WARNING: Application {
> http://communication.aree.cvandenhauwe.be/}NewConfigurationResource has
> thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: net/sf/json/JSONObject
> at
> org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
> at
> org.apache.openejb.server.cxf.rs.AutoJAXRSInvoker.invoke(AutoJAXRSInvoker.java:66)
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
> at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
> at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
> at
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:132)
> at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.NoClassDefFoundError: net/sf/json/JSONObject
> at
> be.cvandenhauwe.aree.communication.RequestResource.postJson(RequestResource.java:68)
> at
> be.cvandenhauwe.aree.communication.RequestResource$$OwbNormalScopeProxy0.postJson(be/cvandenhauwe/aree/communication/RequestResource.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
> ... 28 more
> May 12, 2013 11:44:06 AM org.apache.cxf.phase.PhaseInterceptorChain unwind
> WARNING: Exception in handleFault on interceptor
> org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor@1c9598c0
> org.apache.cxf.interceptor.Fault: net/sf/json/JSONObject
> at
> org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
> at
> org.apache.openejb.server.cxf.rs.AutoJAXRSInvoker.invoke(AutoJAXRSInvoker.java:66)
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
> at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
> at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
> at
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:132)
> at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.NoClassDefFoundError: net/sf/json/JSONObject
> at
> be.cvandenhauwe.aree.communication.RequestResource.postJson(RequestResource.java:68)
> at
> be.cvandenhauwe.aree.communication.RequestResource$$OwbNormalScopeProxy0.postJson(be/cvandenhauwe/aree/communication/RequestResource.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
> ... 28 more
> May 12, 2013 11:44:06 AM
> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver onMessage
> SEVERE: Error occurred during error handling, give up!
> org.apache.cxf.interceptor.Fault: net/sf/json/JSONObject
> at
> org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
> at
> org.apache.openejb.server.cxf.rs.AutoJAXRSInvoker.invoke(AutoJAXRSInvoker.java:66)
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
> at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
> at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
> at
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:132)
> at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.NoClassDefFoundError: net/sf/json/JSONObject
> at
> be.cvandenhauwe.aree.communication.RequestResource.postJson(RequestResource.java:68)
> at
> be.cvandenhauwe.aree.communication.RequestResource$$OwbNormalScopeProxy0.postJson(be/cvandenhauwe/aree/communication/RequestResource.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
> ... 28 more
>
>
>
>
>
> On Saturday 11 May 2013 at 19:43, Romain Manni-Bucau [via OpenEJB] wrote:
>
> > It is a tomee 1.6.0-Snapshot feature.
> >
> > File is read by line and support:
> > * file path (or folder with wildcard as said previously)
> > * url (mvn, http,...)
> > Le 11 mai 2013 18:34, "Caroline" <[hidden email]
> (/user/SendEmail.jtp?type=node&node=4662827&i=0)> a
> > écrit :
> >
> > > Ok, I can now get the jarstxt-maven-plugin.
> > >
> > > Although it doesn't seem to work.
> > > I tried adding an empty WEB-INF/jars.txt
> > > I tried adding one with a reference to one of my own jars.
> > > Everytime jars.txt remains untouched and I can't run because he can't
> find
> > > one of my own jars I have in my pom.xml
> > >
> > > /Library/TomEE/Aree-components/*.jar (a link) doesn't work,
> > > but /usr/local/apache-tomee-plus-1.5.2/Aree-components/*.jar neither.
> > >
> > > Furthermore, what is the syntax for adding the folder to jars.txt,
> should
> > > I get it working?
> > > mvn:/usr/local/apache-tomee-plus-1.5.2/Aree-components/*.jar
> > > ?
> > >
> > >
> > >
> > > Op zaterdag 11 mei 2013, om 16:38 heeft Romain Manni-Bucau [via
> OpenEJB]
> > > het volgende geschreven:
> > >
> > > > The plugin needs apache snapshot repo as plugin repo.
> > > >
> > > > About the syntax: /Library/.../*.jar should be fine
> > > > Le 11 mai 2013 16:28, "Caroline" <[hidden email]
> > >
> > > (/user/SendEmail.jtp?type=node&node=4662825&i=0)> 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
> > > >
> > >
> > > 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
> > > > > TomEE install is in /Library/TomEE/
> > > > >
> > > > > b1) jars.txt
> > > > > I found two blogposts of Romain about the jars.txt file, but only
> > > >
> > >
> > > typical
> > > > > domain examples are given, not how I can add my
> > > > > /Library/TomEE/Aree-components/ dir to the file.
> > > > > Furthermore, I'm not able to add jarstxt-maven-plugin to my
> > > >
> > >
> > > application:
> > > > > "Plugin
> org.apache.openejb.maven:jarstxt-maven-plugin:4.6.0-SNAPSHOT
> > > >
> > >
> > > or one
> > > > > of its dependencies could not be resolved: Failed to read artifact
> > > > > descriptor for
> > > > > org.apache.openejb.maven:jarstxt-maven-plugin:jar:4.6.0-SNAPSHOT:
> > > >
> > >
> > > Could not
> > > > > find artifact
> > > > > org.apache.openejb.maven:jarstxt-maven-plugin:pom:4.6.0-SNAPSHOT ->
> > > >
> > >
> > > [Help
> > > > > 1]"
> > > > >
> > > > > a2)
> > > > > I found a ticket stating "fix VirtualWebappLoader", resolved in
> version
> > > > > 1.6.0. So I downloaded the latest 1.6.0-SNAPSHOT and tried more
> stuff
> > > >
> > >
> > > to no
> > > > > avail:
> > > > > "INFO: Illegal access: this web application instance has been
> stopped
> > > > > already. Could not load org.apache.log4j.Category. The eventual
> > > >
> > >
> > > following
> > > > > 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,
> > > >
> > >
> > > and has
> > > > > no functional impact.
> > > > > java.lang.IllegalStateException
> > > > > at
> > > >
> > >
> > >
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)"
> > > > >
> > > > > b2)
> > > > > On 1.6.0, I still can't add
> > > > > org.apache.openejb.maven:jarstxt-maven-plugin:4.6.0-SNAPSHOT.
> > > > >
> > > > > Thank you for your time.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > 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.com (
> http://Nabble.com) (
> > > >
> > >
> > > http://Nabble.com).
> > > >
> > > >
> > > >
> > > > If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662825.html
> > > > To unsubscribe from Location of jar bean so it's seen by CDI, click
> here
> > >
> > > (
> > > ).
> > > > NAML (
> > >
> > >
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > > )
> > >
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662826.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 added to the discussion
> below:
> http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662827.html
> > To unsubscribe from Location of jar bean so it's seen by CDI, click here
> (
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4662777&code=Y2Fyb2xpbmUudmFuLmRlbi5oYXV3ZUBnbWFpbC5jb218NDY2Mjc3N3wxNzgxOTg5MTAw
> ).
> > NAML (
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> )
>
>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Location-of-jar-bean-so-it-s-seen-by-CDI-tp4662777p4662841.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to