Discussion:
[jboss-user] [jBPM] - Guvnor without subdomain + designer problem
Sergey Kornilov
2013-07-31 09:34:36 UTC
Permalink
Sergey Kornilov [https://community.jboss.org/people/kornilovs] created the discussion

"Guvnor without subdomain + designer problem"

To view the discussion, visit: https://community.jboss.org/message/830675#830675

--------------------------------------------------------------
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/ 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/ 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/ 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/ http://127.0.0.1/rest/packages/

How I can exclude subdomain from url for REST?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/830675#830675]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...