0 Replies Latest reply on Jun 13, 2012 8:00 AM by Sachin Jaiswal

    Connection refuse error during http://localhost/designer/editor start in JBoss AS-7

    Sachin Jaiswal Newbie

      Hi...

       

      I  have used  JBPM mostaly using ant start.demo command. I trying to start jbpm-console, Drools-guvnor and designer on Jboss AS-7 with Port 80 and make JBoss As7 as windows service.

      I have done all things and i am successfull in starting all these application on  port 80 and Jboss as a windows service. jbpm-console, Drools-guvnor  are working fine but

      designer is not working properly and showing message 'Unable to retrive process from database.  Please Wait'. Design editor is not working and error is logged as bellow.

       

      Currently i am using Jboss AS 7 embeded  H2 database.  and I also attaching My standalone.xml.

      In standalone.xml i have tried out connection url as

      jdbc:h2:file:/standalone/data/h2/H2DS.h2.db

      jdbc:h2:mem:test;DB_CLOSE_DELAY=-1

       

      But still error is coming. Pls Help me.

       

      ==============err msg===============

       

       

      16:22:28,727 INFO  [solder-servlet] (MSC service thread 1-3) Catch Integration for Servlets enabled

      16:22:28,736 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /drools-guvnor

      16:22:28,737 INFO  [org.jboss.as] (MSC service thread 1-3) JBoss AS 7.0.2.Final "Arc" started in 189050ms - Started 498 of 567 services (69 services are passive or on-demand)

      16:22:29,001 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "mysql-connector-java-5.1.18.jar"

      16:22:29,002 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-human-task-war.war"

      16:22:29,003 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console.war"

      16:22:29,003 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console-server.war"

      16:22:29,004 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-form-builder.war"

      16:22:29,004 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "drools-guvnor.war"

      16:22:29,005 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "designer.war"

      16:24:31,407 INFO  [org.jbpm.designer.server.EditorHandler] (http--127.0.0.1-80-1) The diagram editor is running in production mode. Javascript will be served compressed

      16:24:43,930 INFO  [org.jbpm.designer.server.EditorHandler] (http--127.0.0.1-80-1) Performing diagram information pre-processing steps.

      16:24:45,589 SEVERE [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--127.0.0.1-80-1) Connection refused: connect

      16:24:46,601 SEVERE [org.jbpm.designer.web.server.ServletUtil] (http--127.0.0.1-80-1) Connection refused: connect

      16:24:47,603 SEVERE [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--127.0.0.1-80-1) Connection refused: connect

      16:24:47,604 INFO  [stdout] (http--127.0.0.1-80-1) Setting up default icons

       

       

      16:24:48,604 ERROR [stderr] (http--127.0.0.1-80-1) java.net.ConnectException: Connection refused: connect

       

       

      16:24:48,605 ERROR [stderr] (http--127.0.0.1-80-1)           at java.net.PlainSocketImpl.socketConnect(Native Method)

       

       

      16:24:48,605 ERROR [stderr] (http--127.0.0.1-80-1)           at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)

       

       

      16:24:48,605 ERROR [stderr] (http--127.0.0.1-80-1)           at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)

       

       

      16:24:48,605 ERROR [stderr] (http--127.0.0.1-80-1)           at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)

       

       

      16:24:48,606 ERROR [stderr] (http--127.0.0.1-80-1)           at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

       

       

      16:24:48,606 ERROR [stderr] (http--127.0.0.1-80-1)           at java.net.Socket.connect(Socket.java:529)

       

       

      16:24:48,606 ERROR [stderr] (http--127.0.0.1-80-1)           at java.net.Socket.connect(Socket.java:478)

       

       

      16:24:48,606 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.NetworkClient.doConnect(NetworkClient.java:163)

       

       

      16:24:48,607 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)

       

       

      16:24:48,607 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)

       

       

      16:24:48,607 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)

       

       

      16:24:48,608 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.www.http.HttpClient.New(HttpClient.java:306)

       

       

      16:24:48,608 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.www.http.HttpClient.New(HttpClient.java:323)

       

       

      16:24:48,608 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)

       

       

      16:24:48,609 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)

       

       

      16:24:48,609 ERROR [stderr] (http--127.0.0.1-80-1)           at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)

       

       

      16:24:48,609 ERROR [stderr] (http--127.0.0.1-80-1)           at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.setupDefaultIcons(JbpmPreprocessingUnit.java:416)

       

       

      16:24:48,610 ERROR [stderr] (http--127.0.0.1-80-1)           at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.preprocess(JbpmPreprocessingUnit.java:111)

       

       

      16:24:48,610 ERROR [stderr] (http--127.0.0.1-80-1)           at org.jbpm.designer.server.EditorHandler.doGet(EditorHandler.java:326)

       

       

      16:24:48,610 ERROR [stderr] (http--127.0.0.1-80-1)           at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

       

       

      16:24:48,611 ERROR [stderr] (http--127.0.0.1-80-1)           at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

       

       

      16:24:48,611 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

       

       

      16:24:48,611 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

       

       

      16:24:48,612 ERROR [stderr] (http--127.0.0.1-80-1)           at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)

       

       

      16:24:48,612 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

       

       

      16:24:48,613 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

       

       

      16:24:48,613 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

       

       

      16:24:48,613 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

       

       

      16:24:48,614 ERROR [stderr] (http--127.0.0.1-80-1)           at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)

       

       

      16:24:48,614 ERROR [stderr] (http--127.0.0.1-80-1)           at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)

       

       

      16:24:48,614 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)

       

       

      16:24:48,615 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

       

       

      16:24:48,615 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

       

       

      16:24:48,615 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)

       

       

      16:24:48,616 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

       

       

      16:24:48,616 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)

       

       

      16:24:48,617 ERROR [stderr] (http--127.0.0.1-80-1)           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)

       

       

      16:24:48,617 ERROR [stderr] (http--127.0.0.1-80-1)           at java.lang.Thread.run(Thread.java:662)

       

       

      16:24:48,617 INFO  [stdout] (http--127.0.0.1-80-1) End setting up default icons

       

       

      16:24:48,618 INFO  [stdout] (http--127.0.0.1-80-1) Setting up default workitem configuration

       

       

      16:24:48,618 INFO  [stdout] (http--127.0.0.1-80-1) End setting up default workitem configuration

       

       

      ======

       

      Thanks In advance.

      Sachin