1 Reply Latest reply on May 15, 2003 4:56 AM by Keisuke Kumakura

    firebird-ds.xml deployment in error

    Keisuke Kumakura Newbie

      I am using JBoss 3.2.0, Firebird 1.5.0 RC2, and Jaybird 1.0.0.
      JBoss can successfully deploy firebird-ds.xml which comes with JBoss 3.2.0.
      However. JBoss gets error if I add the following line to firebird-ds.xml:
      <config-property name="Encoding">EUCJ_0208</config-property>
      (telling that database character fields are encoded in EUC).

      The error is:
      18:30:13,168 INFO [TxConnectionManager] Created
      18:30:13,194 INFO [RARDeployment] Starting
      18:30:13,856 ERROR [RARDeployment] Starting failed
      java.lang.StringIndexOutOfBoundsException: String index out of range: 0
      at java.lang.String.charAt(String.java:460)
      at org.jboss.mx.loading.ClassLoaderUtils.getPackageName(ClassLoaderUtil\
      s.java:141)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.getPackageClassLoaders\
      (UnifiedLoaderRepository3.java:155)
      at org.jboss.mx.loading.LoadMgr.beginLoadTask(LoadMgr.java:130)
      at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoade\
      r3.java:175)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at org.jboss.resource.connectionmanager.RARDeployment.setMcfProperties(\
      RARDeployment.java:707)
      at org.jboss.resource.connectionmanager.RARDeployment.startService(RARD\
      eployment.java:547)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:\
      192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl\
      .java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce\
      ssorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBe\
      anDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceContro\
      ller.java:966)
      at $Proxy11.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:392)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)