0 Replies Latest reply on Aug 12, 2005 1:41 AM by sirajm

    jboss-4.0.2 start fails with DB2

    sirajm

      Hi All,

      Getting following error when starting jboss with DB2


      20:48:13,193 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined

      20:48:21,884 ERROR [HiLoKeyGeneratorFactory] Starting failed jboss:service=KeyGeneratorFactory,type=HiLo

      com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -7, SQLSTATE: 42601, SQLERRMC:

      ;able HILOSEQUENCES (

      at com.ibm.db2.jcc.c.zc.e(zc.java:1606)

      at com.ibm.db2.jcc.c.zc.b(zc.java:1174)

      at com.ibm.db2.jcc.a.eb.i(eb.java:234)

      at com.ibm.db2.jcc.a.eb.b(eb.java:50)

      at com.ibm.db2.jcc.a.r.b(r.java:36)

      at com.ibm.db2.jcc.a.tb.f(tb.java:141)

      at com.ibm.db2.jcc.c.zc.m(zc.java:1171)

      at com.ibm.db2.jcc.c.zc.a(zc.java:1890)

      at com.ibm.db2.jcc.c.zc.c(zc.java:540)

      at com.ibm.db2.jcc.c.zc.executeUpdate(zc.java:525)

      It seems it tries to create a table but fails. It is a new service which is not available in the 3.2.x. For a workaround, I removed uuid-key-generator.sar file from deploy folder then I dont see any errors.

      Any thought?

      Thanks,
      Siraj