<?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: Deploy Activiti-Rest-war on jBoss AS 5.1 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49377#M28438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got it almost to work. The problem was a class loading issue between jBoss and activiti. What I did to make it work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Downloaded a the newest activiti-rest release (in my case 5.7) and extracted it somewhere&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Went to the activiti-5.7/setup directory and execute the ant target "demo.isntall"&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Copied the webapps "activiti-rest" and "activiti-explorer" from the activiti-5.7/apps/tomcat/webapps to jboss directory jboss/server/default/deploy (before that I added .war suffix activiti webapps folders - I don't know if it is necessary)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Now I had to delete the jars xerces and xml-api from the activiti-rest/WEB-INF/lib folder (Here was the class loading conflict)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Started the jBoss and now any error appeared while jBoss deployed the web apps&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;But what happens now is that when I try to access the webapp "&lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-explorer" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-explorer&lt;/A&gt;&lt;SPAN&gt;" the following error appears:&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;java.lang.IllegalArgumentException: Request is not an HttpServletRequest: org.apache.catalina.connector.RequestFacade@5b65381c&lt;BR /&gt; org.springframework.web.context.request.RequestContextListener.requestInitialized(RequestContextListener.java:54)&lt;BR /&gt; org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)&lt;BR /&gt; org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)&lt;BR /&gt; org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)&lt;BR /&gt; org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)&lt;BR /&gt; org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;BR /&gt; org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)&lt;BR /&gt; org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)&lt;BR /&gt; org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)&lt;BR /&gt; org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)&lt;BR /&gt; org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&lt;BR /&gt; java.lang.Thread.run(Thread.java:662)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I couldn't find any forum thread regarding this problem. Does someone has a clue how I can solve this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerardo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 00:17:38 GMT</pubDate>
    <dc:creator>gnsuarez</dc:creator>
    <dc:date>2011-09-09T00:17:38Z</dc:date>
    <item>
      <title>Deploy Activiti-Rest-war on jBoss AS 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49376#M28437</link>
      <description>Hi Guys,I have a clean installed jBoss AS 5.1 and I want to deploy the two activiti wars on it. I downloaded Activiti-5.7 from the home page and went to the setup folder and executed the command "ant internal.build.webapps". Afterwards I took the web apps from the setup/build folder and moved it to</description>
      <pubDate>Thu, 08 Sep 2011 06:09:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49376#M28437</guid>
      <dc:creator>gnsuarez</dc:creator>
      <dc:date>2011-09-08T06:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Activiti-Rest-war on jBoss AS 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49377#M28438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got it almost to work. The problem was a class loading issue between jBoss and activiti. What I did to make it work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Downloaded a the newest activiti-rest release (in my case 5.7) and extracted it somewhere&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Went to the activiti-5.7/setup directory and execute the ant target "demo.isntall"&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Copied the webapps "activiti-rest" and "activiti-explorer" from the activiti-5.7/apps/tomcat/webapps to jboss directory jboss/server/default/deploy (before that I added .war suffix activiti webapps folders - I don't know if it is necessary)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Now I had to delete the jars xerces and xml-api from the activiti-rest/WEB-INF/lib folder (Here was the class loading conflict)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Started the jBoss and now any error appeared while jBoss deployed the web apps&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;But what happens now is that when I try to access the webapp "&lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-explorer" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-explorer&lt;/A&gt;&lt;SPAN&gt;" the following error appears:&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;java.lang.IllegalArgumentException: Request is not an HttpServletRequest: org.apache.catalina.connector.RequestFacade@5b65381c&lt;BR /&gt; org.springframework.web.context.request.RequestContextListener.requestInitialized(RequestContextListener.java:54)&lt;BR /&gt; org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)&lt;BR /&gt; org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)&lt;BR /&gt; org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)&lt;BR /&gt; org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)&lt;BR /&gt; org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;BR /&gt; org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)&lt;BR /&gt; org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)&lt;BR /&gt; org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)&lt;BR /&gt; org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)&lt;BR /&gt; org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&lt;BR /&gt; java.lang.Thread.run(Thread.java:662)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I couldn't find any forum thread regarding this problem. Does someone has a clue how I can solve this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerardo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 00:17:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49377#M28438</guid>
      <dc:creator>gnsuarez</dc:creator>
      <dc:date>2011-09-09T00:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Activiti-Rest-war on jBoss AS 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49378#M28439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the full stacktrace? BTW you are running a pretty old version of JBoss.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There could be a Servlet API version problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 09:23:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49378#M28439</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-09-09T09:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Activiti-Rest-war on jBoss AS 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49379#M28440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gerardo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever find a solution to this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adrian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 19:59:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49379#M28440</guid>
      <dc:creator>aapthorp</dc:creator>
      <dc:date>2012-05-01T19:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Activiti-Rest-war on jBoss AS 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49380#M28441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I solved this problem by removing the servlet-api-2.5.jar from the rest-api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the servlet api should be provided by the servlet container (jboss, tomcat, …) an not be delivered within an war file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 09:41:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-activiti-rest-war-on-jboss-as-5-1/m-p/49380#M28441</guid>
      <dc:creator>qnerd</dc:creator>
      <dc:date>2012-05-21T09:41:35Z</dc:date>
    </item>
  </channel>
</rss>

