Ok, jboss.conf is no longer used to set up datasources. Use jboss.jcml instead. Look 
here: http://www.jboss.org/documentation/HTML/ch03s05.html

/Lennart
----- Original Message ----- 
From: Taylor, Richard <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 05, 2001 2:47 PM
Subject: [JBoss-user] CMP Config Problem


> 
> SORRY ABOUT THE LAST POST.
> 
> Hi,
> 
> Just a quick question! [jboss2.1, jdk1.3, NT]
> 
> I am attempting to get CMP working with hsql.
> 
> I have added the following lines to my jboss.conf file (as per the guide):
> 
> <MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
> CODEBASE="../../lib/ext/">
>    <ARG TYPE="java.lang.String" VALUE="hsqlDB">
>    <ARG TYPE="java.lang.String"
> VALUE="org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl">
>    <ARG TYPE="java.lang.String"
> VALUE="jdbc:HypersonicSQL:hsql://localhost:1521">
>    <ARG TYPE="java.lang.String" VALUE="sa">
>    <ARG TYPE="java.lang.String" VALUE="">
>    <ARG TYPE="java.lang.String" VALUE="">
>    <ARG TYPE="java.lang.Integer" VALUE="2">
>    <ARG TYPE="java.lang.Integer" VALUE="5">
>    <ARG TYPE="java.lang.String"
> VALUE="GCEnabled=true;ShrinkingEnabled=true;GCMinIdleTime=30000;GCInterval=1
> 0000;ShrinkMinIdleTime=30000">
> </MLET>
> 
> but get the folloing error on startup:
> 
> [Service Control] Registered with server
> java.lang.NoSuchMethodException: No such constructor
>         at
> com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerImpl.
> java:2207)
>         at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:761)
>         at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
>         at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
>         at org.jboss.Main.<init>(Main.java:173)
>         at org.jboss.Main$1.run(Main.java:107)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.jboss.Main.main(Main.java:103)
> 
> 
> Is this something obvious to you guys?
> 
> Thanks,
> 
> Richard
> 
> 
> **********************************************************************
> Information in this email is confidential and may be privileged. 
> It is intended for the addressee only. If you have received it in error,
> please notify the sender immediately and delete it from your system. 
> You should not otherwise copy it, retransmit it or use or disclose its
> contents to anyone. 
> Thank you for your co-operation.
> **********************************************************************
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


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

Reply via email to