[rules-users] Guvnor 5.2 and Designer 1.0.0.054 "connection refused"

Tihomir Surdilovic tsurdilo at redhat.com
Fri Aug 19 09:41:28 EDT 2011


** ERROR [JbpmPreprocessingUnit] http://10.0.16.53:48080//rest/packages/
     this is where Designer tries to query Guvnor to get all existing 
workitem definition configurations. Not sure why it wants to pull from 
10.0.16.53. Can you try to see if you can in your browser hit for 
example: 
http://10.0.16.53:48080/rest/packages/<packageName>/assets/<assetName>/source/
and substitute <packageName> and <assetName> with some concrete values 
you have?

** at 
org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.serialize(BPMN2ProcessHandler.java:149)
    Unfortunately Guvnor has a hard-coded value here when it tries to 
talk to Designer it expects it to be hosted at:
   http://localhost:8080/designer/uuidRepository?profile=jbpm.....
   It's something we should really fix, can you open a JBPM Jira and 
assign to me please?

Thanks.



On 8/19/11 9:12 AM, dhartford wrote:
> I've changed the jbpm.xml to include the admin user/pwd again:
>
> <externalloadurl protocol="http" host="mypc.domain.com:48080"
> subdomain="guvnor/org.drools.guvnor.Guvnor/oryxeditor" usr="admin"
> pwd="admin"/>
>
> This is the default install of guvnor and designer without any
> permission/role changes.  When you go into gunvor, you are auto-logged in as
> 'guest'.  I'm still getting the "connection refused" problem.
>
> I enabled debug on "org.drools.guvnor" but didn't see anything special, here
> is what in the logs:
>
> =========================
> 09:08:43,278 INFO  [EditorHandler] The diagram editor is running in
> development mode. Javascript will be served uncompressed
> 09:08:43,281 INFO  [EditorHandler] Performing diagram information
> pre-processing steps.
>
> 09:08:43,304 ERROR [JbpmPreprocessingUnit]
> http://10.0.16.53:48080//rest/packages/
>
> 09:08:43,955 INFO  [JbpmPreprocessingUnit] Successfully deleted file
> :/home/dhartford/containers/jboss/jboss-5.1.0.GA/server/default48080/tmp/3j001-2byi2f-grj6awg9-1-grj6cd5e-9s/designer.war/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json
> 09:08:44,040 INFO  [JbpmPreprocessingUnit] Created
> file:/home/dhartford/containers/jboss/jboss-5.1.0.GA/server/default48080/tmp/3j001-2byi2f-grj6awg9-1-grj6cd5e-9s/designer.war/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json
> 09:08:44,839 INFO  [STDOUT] INFO  19-08 09:08:44,838
> (NilAuthenticator.java:authenticate:35) 	 All users are guests.
> 09:08:44,921 INFO  [STDOUT] (null: -1, -1): Premature end of file.
> 09:08:58,314 INFO  [STDOUT] INFO  19-08 09:08:58,313
> (LoggingHelper.java:info:50) 	 USER:guest CHECKING IN asset: [ssss] UUID:
> [7a00a7fa-d2c6-4e62-8966-b833c2261c1e]
>
> 09:08:58,353 INFO  [STDOUT] ERROR 19-08 09:08:58,351
> (LoggingHelper.java:error:69) 	 Connection refused
> java.net.ConnectException: Connection refused
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
> 	at
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
> 	at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
> 	at java.net.Socket.connect(Socket.java:546)
> 	at java.net.Socket.connect(Socket.java:495)
> 	at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
> 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
> 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
> 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:240)
> 	at sun.net.www.http.HttpClient.New(HttpClient.java:321)
> 	at sun.net.www.http.HttpClient.New(HttpClient.java:338)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)
> 	at
> sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:979)
> 	at
> org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.serialize(BPMN2ProcessHandler.java:149)
> 	at
> org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:120)
> 	at
> org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:125)
> 	at
> org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:226)
> .....
>
> =================
>
>
> -Darren
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Guvnor-5-2-and-Designer-1-0-0-054-connection-refused-tp3266163p3268007.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>




More information about the rules-users mailing list