From: Jim B. <ba...@ne...> - 2014-03-26 16:08:38
|
This didn't fix the issue for me, but for the time being I have copied jetty-proxy-9.1.3.v20140225.jar to WEB-INF/lib and it seems to be working. Thank you, Jim On Mar 26, 2014, at 10:48 AM, Bryan Thompson <br...@sy...> wrote: > Try again. There was a jetty import in > com.bigdata.rdf.sail.webapp.BigdataRDFServletContextListener that was > causing a failure. > > Committed revision r8017. > > > bryan > > > On 3/26/14 8:42 AM, "Jim Balhoff" <ba...@ne...> wrote: > >> That line is commented out in my web.xml. From tomcat 7 I have this in >> the log: >> >> SEVERE: Exception sending context initialized event to listener instance >> of class com.bigdata.rdf.sail.webapp.BigdataRDFServletContextListener >> java.lang.NoClassDefFoundError: org/eclipse/jetty/proxy/ProxyServlet >> at java.lang.ClassLoader.defineClass1(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:800) >> at >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) >> at >> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClass >> Loader.java:2888) >> at >> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.j >> ava:1172) >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.j >> ava:1680) >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.j >> ava:1558) >> at >> com.bigdata.rdf.sail.webapp.BigdataServlet.<clinit>(BigdataServlet.java:80 >> ) >> at >> com.bigdata.rdf.sail.webapp.BigdataRDFServletContextListener.contextInitia >> lized(BigdataRDFServletContextListener.java:411) >> at >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.jav >> a:4797) >> at >> org.apache.catalina.core.StandardContext.startInternal(StandardContext.jav >> a:5291) >> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java >> :901) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) >> at >> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:111 >> 4) >> at >> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java >> :1673) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: >> 1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java >> :615) >> at java.lang.Thread.run(Thread.java:744) >> Caused by: java.lang.ClassNotFoundException: >> org.eclipse.jetty.proxy.ProxyServlet >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.j >> ava:1713) >> at >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.j >> ava:1558) >> ... 22 more >> >> >> On Mar 26, 2014, at 10:32 AM, Bryan Thompson <br...@sy...> wrote: >> >>> If you uncomment this line in web.xml then it will attempt to resolve >>> the >>> HALoadBalancerServlet and that would drag in the ProxyServlet. >>> >>> >>> >>> <servlet-class>com.bigdata.rdf.sail.webapp.HALoadBalancerServlet</servlet >>> -c >>> lass> >>> >>> >>> >>> Bryan >>> >>> On 3/26/14 8:30 AM, "Bryan Thompson" <br...@sy...> wrote: >>> >>>> There are several new jars for jetty 9. One of them includes this >>>> servlet >>>> (jetty-proxy). Make sure that these are in place when using jetty. >>>> >>>> These jars should not be required for the tomcat war. Can you send the >>>> full exception? I'd like to see where the exception is being thrown >>>> from. >>>> >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-rewrite-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-proxy-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-webapp-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/servlet-api-3.1.0.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-xml-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-io-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-continuation-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-util-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-client-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-security-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-http-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-servlet-9.1.3.v20140225.jar >>>> >>>> file://localhost/Users/bryan/Documents/workspace/RDR_NEW_SVN/bigdata/lib >>>> /j >>>> e >>>> tty/jetty-server-9.1.3.v20140225.jar >>>> >>>> >>>> >>>> Bryan >>>> >>>> On 3/26/14 8:26 AM, "Jim Balhoff" <ba...@ne...> wrote: >>>> >>>>> I am having trouble running the RDR branch bigdata.war in both tomcat >>>>> and >>>>> jetty. I get the error: >>>>> >>>>> java.lang.ClassNotFoundException: org.eclipse.jetty.proxy.ProxyServlet >>>>> >>>>> Is this something I need to add to my web app container? >>>>> >>>>> Thank you, >>>>> Jim >>>>> >>>>> On Mar 12, 2014, at 6:52 AM, Bryan Thompson <br...@sy...> wrote: >>>>> >>>>>> I've fixed the builds in this branch. The problems all go back to >>>>>> the >>>>>> changes to support configuration of jetty using jetty.xml and >>>>>> web.xml. >>>>>> >>>>>> I am still looking at eliminating the manual configuration of the NSS >>>>>> and making code paths rely on web.xml, even for embedded use. I think >>>>>> that is will work out and allowing override of the jetty.xml file >>>>>> location will provide an option for complete customization. You will >>>>>> also be able to override properties in jetty.xml using environment >>>>>> variables and init parameters in web.xml using the NSS command line >>>>>> options. >>>>>> >>>>>> Hopefully this will put an end to this aspect of the jetty >>>>>> refactoring. >>>>>> >>>>>> I have added a dependency on the jetty rewrite jar in preparation for >>>>>> introducing load balancing into the HA cluster. It looks like we >>>>>> can do >>>>>> this using the ProxyServlet in jetty. I will also be changing the >>>>>> dependencies to jetty 9.1. >>>>>> >>>>>> Bryan >>>>>> >>>>>> >>>>>> ---------------------------------------------------------------------- >>>>>> -- >>>>>> - >>>>>> ----- >>>>>> Learn Graph Databases - Download FREE O'Reilly Book >>>>>> "Graph Databases" is the definitive new guide to graph databases and >>>>>> their >>>>>> applications. Written by three acclaimed leaders in the field, >>>>>> this first edition is now available. Download your free book today! >>>>>> http://p.sf.net/sfu/13534_NeoTech >>>>>> _______________________________________________ >>>>>> Bigdata-developers mailing list >>>>>> Big...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/bigdata-developers >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> -- >>>> ---- >>>> Learn Graph Databases - Download FREE O'Reilly Book >>>> "Graph Databases" is the definitive new guide to graph databases and >>>> their >>>> applications. Written by three acclaimed leaders in the field, >>>> this first edition is now available. Download your free book today! >>>> http://p.sf.net/sfu/13534_NeoTech >>>> _______________________________________________ >>>> Bigdata-developers mailing list >>>> Big...@li... >>>> https://lists.sourceforge.net/lists/listinfo/bigdata-developers >>> >> > |