[jboss-user] [Beginners Corner] - Re: Jboss 5.0.1-GA Startup problem - Is there a way to solve

patricklee do-not-reply at jboss.com
Wed Mar 25 06:22:06 EDT 2009


oh, thanks jaikiran for the Run All info. 

Ya, I know all those Debug / Exception may not affect the AS to run as normal, just that I wonder is there a way to run it in a pretty clean way. 
Or is it every one out there running the Jboss 5.x version and having those annoying no harm "problem" and tends to ignore it?

I want something like what jaikiran suggest, run the "all" server config, to have the Corba enabled (so no more "CorbaORB is not registered Exception"). 

It it quite obvious that an existing record with the same constraint is exist, just that I dont know where to fix it. (That's why for e.g. I need some solution to avoid the attempt to INSERT a duplicate record, perhaps change of sql query or Java code to make a check before Insert)


  | 2009-03-25 16:20:20,608 DEBUG [org.jboss.jms.server.plugin.JDBCJMSUserManager] (main) Failed to exec
  | ute INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('subscriber','john')
  | java.sql.SQLException: Violation of unique constraint SYS_PK_49: duplicate value(s) for column(s) $$
  | 
  | 	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
  | 	at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
  | 	at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
  | 	at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:249)
  | 	at org.jboss.jms.server.plugin.JDBCJMSUserManager.insertUserRoleData(JDBCJMSUserManager.java:198)
  | 	at org.jboss.jms.server.plugin.JDBCJMSUserManager.start(JDBCJMSUserManager.java:100)
  | 	at org.jboss.jms.server.plugin.JDBCJMSUserManagerService.startService(JDBCJMSUserManagerService.jav
  | a:78)
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220848#4220848

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220848



More information about the jboss-user mailing list