Hi, I'm trying to use SQLServer 2000 with the i-net OPTA 2000 driver.
I've added the following lines to jboss.jcml: -


  <mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
     <attribute
name="Drivers">com.inet.tds.TdsDriver,org.hsql.jdbcDriver,...other
drivers....</attribute>
  </mbean>



<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=driveDS">
   <attribute
name="DataSourceClass">com.inet.tds.XDataSource</attribute> 
   <attribute name="PoolName">driveDS</attribute>
   <attribute name="Properties" host=192.168.1.12:1433; database=drive
/attribute>
   <!-- attribute name="URL" jdbc:inetdae7:192.168.1.12:1433 /attribute
-->
   <attribute name="JDBCUser">drive</attribute>
   <attribute name="Password">drive</attribute>
   <attribute name="MinSize">0</attribute>
   <attribute name="MaxSize">10</attribute>
   <attribute name="GCEnabled">false</attribute>
   <attribute name="GCMinIdleTime">1200000</attribute>
   <attribute name="GCInterval">120000</attribute>
   <attribute name="InvalidateOnError">false</attribute>
   <attribute name="TimestampUsed">false</attribute>
   <attribute name="Blocking">true</attribute>
   <attribute name="LoggingEnabled">true</attribute>
   <attribute name="IdleTimeoutEnabled">false</attribute>
   <attribute name="IdleTimeout">1800000</attribute>
   <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
</mbean> 
 

and when I run JBoss, I get the following stack: -


[driveDS] Starting
[driveDS] Stopped
[driveDS] java.lang.NoSuchMethodException
[driveDS]       at java.lang.Class.getMethod0(Native Method)
[driveDS]       at java.lang.Class.getMethod(Unknown Source)
[driveDS]       at
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLo
ader.java:277)
[driveDS]       at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:93)
[driveDS]       at java.lang.reflect.Method.invoke(Native Method)
[driveDS]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[driveDS]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[driveDS]       at
org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[driveDS]       at java.lang.reflect.Method.invoke(Native Method)
[driveDS]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[driveDS]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[driveDS]       at org.jboss.Main.<init>(Main.java:190)
[driveDS]       at org.jboss.Main$1.run(Main.java:94)
[driveDS]       at java.security.AccessController.doPrivileged(Native
Method)
[driveDS]       at org.jboss.Main.main(Main.java:90)
[Service Control] Could not start
DefaultDomain:service=XADataSource,name=driveD
S

Does anyone have any idea where I've gone wrong ?
Thanks in anticipation...
Dave



Dave Horner

Symularity Limited
Leeds Innovation Centre
103 Clarendon Road
Leeds, LS2 9DF

Tel: 0113 384 5723
Fax: 0113 384 5701
Mob: 07973 325881

The information contained in this e-mail is intended for the named
recipients only. It may contain privileged and confidential information.
If you are not the addressee or the person responsible for delivering
this to the addressee, you may not copy, distribute or take action in
reliance on it. If you have received this e-mail in error, please notify
us immediately by returning the original message to the sender by
e-mail.




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to