<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Exception launching JUnit test nuxeo-opencmis-tests org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317424#M4425</link>
    <description>&lt;P&gt;The use of embedded Tomcat 7 in tests is not a reflection of the ability of the whole platform to run under Tomcat.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2012 15:22:16 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2012-06-11T15:22:16Z</dc:date>
    <item>
      <title>Exception launching JUnit test nuxeo-opencmis-tests org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317420#M4421</link>
      <description>&lt;P&gt;I receive the following error when I attempt to launch JUnit test org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse. The tests run fine from Maven command-line so I suspect this is a "Tomcat running within Eclipse" anomaly. Any suggestions?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DatabaseHelper: Database used for VCS tests: org.nuxeo.ecm.core.storage.sql.DatabaseH2
Unknown JNDI Context class: null
Jun 5, 2012 6:43:39 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-17488"]
Jun 5, 2012 6:43:40 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Jun 5, 2012 6:43:40 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
Jun 5, 2012 6:43:40 AM org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_2.xsd
Jun 5, 2012 6:43:40 AM org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_2_1.xsd
Jun 5, 2012 6:43:40 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-17488"]
Jun 5, 2012 6:44:03 AM org.apache.coyote.http11.AbstractHttp11Processor process
SEVERE: Error processing request
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getEffectiveSessionTrackingModes()Ljava/util/Set;
at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:674)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:402)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Jun 2012 13:05:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317420#M4421</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-06-05T13:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Exception launching JUnit test nuxeo-opencmis-tests org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317421#M4422</link>
      <description>&lt;P&gt;We don't quite support Tomcat 7 at the moment. It requires Servlet 3 but Nuxeo only has Servlet 2.5.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2012 17:51:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317421#M4422</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-06-07T17:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Exception launching JUnit test nuxeo-opencmis-tests org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317422#M4423</link>
      <description>&lt;P&gt;I see that the nuxeo-opencmis-tests pom.xml includes the following tomcat 7 dependencies&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 11:49:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317422#M4423</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-06-11T11:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exception launching JUnit test nuxeo-opencmis-tests org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317423#M4424</link>
      <description>&lt;P&gt;I went ahead and reconfigured NuxeoSessionClientServerTestCase to use Jetty instead of Tomcat to workaround the problem and as expected, the Servlet 3 problem disappeared. However, now I receive the following error, again when running within Eclipse. Any thoughts?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 13:00:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317423#M4424</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-06-11T13:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exception launching JUnit test nuxeo-opencmis-tests org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317424#M4425</link>
      <description>&lt;P&gt;The use of embedded Tomcat 7 in tests is not a reflection of the ability of the whole platform to run under Tomcat.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 15:22:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317424#M4425</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-06-11T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exception launching JUnit test nuxeo-opencmis-tests org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317425#M4426</link>
      <description>&lt;P&gt;The stacktrace I listed above with the JVM_Bind was a Red Herring. The real stacktrace that occurs when I run a TestNuxeoSessionAtomPub test in Eclipse with the test reconfigured for Jetty (USE_TOMCAT=false) is listed at the bottom of this comment.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2012 08:26:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317425#M4426</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-06-15T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exception launching JUnit test nuxeo-opencmis-tests org/nuxeo/ecm/core/opencmis/impl/TestNuxeoSessionAtomPub.java from Eclipse</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317426#M4427</link>
      <description>&lt;P&gt;Not sure why it runs via maven indeed...&lt;/P&gt;
&lt;P&gt;Yes &lt;CODE&gt;HttpUtils.splitPath&lt;/CODE&gt; is a bit strange. &lt;A href="https://jira.nuxeo.com/browse/NXP-9550"&gt;NXP-9550&lt;/A&gt; includes a fix for this.&lt;/P&gt;
&lt;P&gt;Note that when running the CMIS tests from Eclipse you must make sure that the classpath has &lt;CODE&gt;tomcat-embed-core&lt;/CODE&gt; early in the list of dependencies as it includes a version of &lt;CODE&gt;servlet-api&lt;/CODE&gt; 3.0 which, if later in the classpath, could be overridden by the standard &lt;CODE&gt;servlet-api&lt;/CODE&gt; 2.5 dependency of the rest of Nuxeo.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 18:36:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/exception-launching-junit-test-nuxeo-opencmis-tests-org-nuxeo/m-p/317426#M4427</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-06-20T18:36:40Z</dc:date>
    </item>
  </channel>
</rss>

