2 Replies Latest reply on Mar 29, 2004 8:11 AM by csmanohar

    Unable to start the server

    csmanohar

      I have installed JBoss 3.2.3/Tomcat 4.1/Eclipse 2.1. I have then imported a project I have inherited from someone for maintenance. I build the package, deploy it to the server and start the server. After a few moments I get the following error as a popup message.

      "Javaw.exe has generated errors and will be closed by windows. You will need to restart the program"



      This is followed by the following error in the console.




      16:52:24,718 INFO [Engine] StandardManager[/ants]: Seeding of random number generator has been completed
      16:52:28,733 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection:
      java.lang.NoSuchFieldError: batchReturn
      at COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native Method)
      at COM.ibm.db2.jdbc.app.DB2Driver.(DB2Driver.java:244)
      at COM.ibm.db2.jdbc.app.DB2Driver.(DB2Driver.java:129)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:217)
      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:265)
      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:149)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:477)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:213)
      at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:496)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:425)
      at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:318)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:477)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
      at com.sia.ants.util.DataBaseManager.getDBConnection(DataBaseManager.java:38)
      at com.sia.ants.ejb.session.SupplierManagerBean.query(SupplierManagerBean.java:92)




      Since I am fast approaching a deadline, please help me identify and fix teh problem. I am not sure if the problem is related to JBoss or even eclipse.
      -- M