1 Reply Latest reply on May 14, 2008 8:42 AM by Mauricio Salatino

    jbpm-console  - Login failed.  Invalid user name or password

    shoba rani Newbie

      Hi All,
      I m working on jbpm 3.2.2 from 3 weeks. I could deploy the jbpm-console in tomcat with the help of this link:
      http://blogs.dfwikilabs.org/pigui/2007/11/23/installing-jboss-jbpm-332-on-apache-tomcat-55-and-mysql/
      But in login Page when i enter user/user as username and password it is giving
      Error:
      Login failed. Invalid user name or password.

      In Log file the following erro is shown:

      java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect

      ** BEGIN NESTED EXCEPTION **

      java.net.ConnectException
      MESSAGE: Connection refused: connect

      STACKTRACE:

      java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:121)
      at com.mysql.jdbc.MysqlIO.(MysqlIO.java:220)
      at com.mysql.jdbc.Connection.createNewIO(Connection.java:1768)
      at com.mysql.jdbc.Connection.(Connection.java:440)
      at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:400)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:66)
      at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:76)
      at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:66)
      at com.mchange.v2.resourcepool.BasicResourcePool.assimilateResource(BasicResourcePool.java:787)
      at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:548)
      at com.mchange.v2.resourcepool.BasicResourcePool.access$000(BasicResourcePool.java:35)
      at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:972)
      at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:148)


      ** END NESTED EXCEPTION **


      Where is the problem?