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):
>
> CODEBASE="../../lib/ext/">
>
> VALUE="org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl">
> VALUE="jdbc:HypersonicSQL:hsql://localhost:1521">
>
>
>
>
>
> VALUE="GCEnabled=true;ShrinkingEnabled=true;GCMinIdleTime=3;GCInterval=1
> ;ShrinkMinIdleTime=3">
>
>
> 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.(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