0 Replies Latest reply on Jul 31, 2013 5:34 AM by kornilovs

    Guvnor without subdomain + designer problem

    kornilovs

      Hi all.

       

      I try to use guvnor without subdomain "drools-guvnor"

       

      1. add file jboss-web.xml to drools-guvnor.war/WEB-INF/

      <?xml version="1.0" encoding="UTF-8"?>

      <jboss-web>

      <context-root>/</context-root>

      </jboss-web>

       

      2. Change in file designer.war/profiles/jbpm.xml

      <externalloadurl protocol="http" host="127.0.0.1" subdomain="org.drools.guvnor.Guvnor/oryxeditor" usr="admin" pwd="admin" />

       

      It works, but i have error

       

      10:03:58,770 INFO  [stdout] (http--0.0.0.0-8180-3) check connection response code: 404

      10:03:58,784 INFO  [stdout] (http--0.0.0.0-8180-3) create themes connection response code: 404

      10:03:58,814 INFO  [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--0.0.0.0-8180-3) check connection response code: 404

      10:03:58,823 INFO  [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--0.0.0.0-8180-3) create custom editors connection response code: 404

      10:03:58,834 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--0.0.0.0-8180-3) http://127.0.0.1/org.drools.guvnor.Guvnor/rest/packages/

      10:03:58,843 ERROR [org.jbpm.designer.web.server.ServletUtil] (http--0.0.0.0-8180-3) http://127.0.0.1/org.drools.guvnor.Guvnor/rest/packages/

       

      Designer try get packages from url: http://127.0.0.1/org.drools.guvnor.Guvnor/rest/packages/, but it available  by  url without subdomain: http://127.0.0.1/rest/packages/

       

      How I can exclude subdomain from url for REST?