0 Replies Latest reply on Jul 9, 2002 12:07 AM by Ken Fook Liong Fah

    JBoss and using JDatastore driver

    Ken Fook Liong Fah Newbie

      Hi,
      I am having problems to configure JBoss work to use the JDatastore driver from JBuilder.
      I use this configuration in jboss.jcml


      com.borland.datastore.jdbc.DataStoreDriver



      DatastoreDS
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:borland:dslocal:C:\JBuilder6\bin\moe_test.jds
      1200000
      nobody
      10

      false
      false
      false
      true
      120000
      1800000
      false
      false
      1.0
      0



      I get this error when trying to run Jbuilder...

      [ERROR,ConfigurationService] Unexpected error
      java.lang.NoClassDefFoundError: com/borland/dx/dataset/DataSetException
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
      at java.lang.Class.getConstructor0(Class.java:1748)
      at java.lang.Class.newInstance0(Class.java:266)
      at java.lang.Class.newInstance(Class.java:249)
      at com.borland.datastore.jdbc.DataStoreDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:512)
      at java.sql.DriverManager.getConnection(DriverManager.java:171)
      at org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl.getXAConnection(Unknown Source)
      at org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl.getXAConnection(Unknown Source)
      at org.jboss.pool.jdbc.xa.XAConnectionFactory.createObject(Unknown Source)
      at org.jboss.pool.ObjectPool.createNewObject(Unknown Source)
      at org.jboss.pool.ObjectPool.getObject(Unknown Source)
      at org.jboss.pool.ObjectPool.getObject(Unknown Source)
      at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(Unknown Source)
      at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:412)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)


      Any help is greatly appreciated. Thanks.