1 Reply Latest reply on Aug 17, 2009 2:01 AM by Dinesh agarwal

    Error while deploying code in production

    Dinesh agarwal Newbie

      Hi,

      my application is running good in development and testing environment but it is giving error in production domain. on some anonymous site I found that this can occur because of some file getting corrupted. i am not sure what file it is.

      2009-08-17 00:47:04,593 INFO [org.jboss.resource.RARMetaData] Loading JBoss Resource Adapter for JDBC 2 XA drivers
      2009-08-17 00:47:04,594 INFO [org.jboss.resource.RARMetaData] Required license terms present. See deployment descriptor.
      2009-08-17 00:47:07,763 ERROR [org.jboss.jdbc.HypersonicDatabase] Starting failed jboss:service=Hypersonic,database=localDB
      java.sql.SQLException: General error: java.lang.StringIndexOutOfBoundsException: String index out of range: -4
      at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)
      at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
      at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
      at org.hsqldb.jdbcDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:525)
      at java.sql.DriverManager.getConnection(DriverManager.java:171)
      at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:815)
      at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:626)
      at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:596)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)