Looks like the howto is very old. What version of JBoss are you using?
Your configuration data is incorrect for any recent version.
If you are running JBoss 2.0 Final you want something like the following in
jboss.conf
<MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="OraclePool">
<ARG TYPE="java.lang.String"
VALUE="org.jboss.minerva.xa.XADataSourceImpl">
</MLET>
And something like the following in jboss.jcml
<mbean name="DefaultDomain:service=XADataSource,name=OraclePool">
<attribute
name="URL">jdbc:oracle:thin:@localhost:1521:ORCL</attribute>
<attribute name="JDBCUser">jay</attribute>
<attribute name="Password">jay</attribute>
</mbean>
Cheers
Jay Walters
-----Original Message-----
From: NESTORS Andris (AC-Creation) [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 12:45 PM
To: '[EMAIL PROTECTED]'
Subject: [jBoss-User] CMP with Oracle
Please can someone point me in the right direction ? I have followed the
Oracle CMP How-To document but I am having trouble getting it working.
> Specifically when I deploy my beans I get the error:
>
> org.jboss.ejb.DeploymentException: xa.MyConnectionPool not bound
>
When I added the relevent section to the jboss.properties file I get the
following message:
[JDBC] Loaded JDBC-driver:oracle.jdbc.driver.OracleDriver
But when I added in the relevent section to the jboss.conf for the Oracle
datasource I get the following error in on startup:
> javax.management.ReflectionException
> at
> com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerImp
> l.java:2207)
> at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:76
> 1)
> 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:119)
> at org.jboss.Main$1.run(Main.java:87)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.jboss.Main.main(Main.java:83)
>
> The MLET that I added is as follows:
>
> <MLET CODE="org.jboss.jdbc.XADataSourceLoader"
> ARCHIVE="jboss.jar,minerva-0.99.jar,classes12_01.zip"
> CODEBASE="../../lib/ext/">
> <ARG TYPE="java.lang.String" VALUE="MyConnectionPool">
> <ARG TYPE="java.lang.String"
> VALUE="org.jboss.minerva.xa.XADataSourceImpl">
> <ARG TYPE="java.lang.String"
> VALUE="jdbc:oracle:thin:@gherkin.fssc.co.uk:1521:SC_DEV_1">
> <ARG TYPE="java.lang.String" VALUE="my_scott">
> <ARG TYPE="java.lang.String" VALUE="my_tiger">
> <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
> =10000;ShrinkMinIdleTime=30000">
> </MLET>
>
> Any advice would be much appreciated. I'm running on Solaris 2.6 with
> JDK1.3.0, Oracle 8.1.6.2 and classes12_01.zip.
>
> Cheers
> Andris
>
> --
> Andris Nestors
> Denning House, London
> Tel. +44 20 7878 8159
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]