They recently took the simple DataSourceImpl code out of the project (I
think), so you'll need to convert over to using the Minerva connection pool
code.  Change jboss.conf to configure your pool something like...  Note the
only thing in here you need to change/configure is the pool name on the
second line, I am using "OraclePool". n 

<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>

Then add into the jboss.jcml something like this...

<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>

After it's all run once there will be a whole list of other attributes for
the pool which you can tune, but you don't need to type them all in to
start, or at least you didn't have to in the past.

Cheers
     

-----Original Message-----
From: Marcel Ruff [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 10:10 AM
To: jBoss
Subject: [jBoss-User] Oracle 8i and JBoss


Hi,

i have some problems getting jboss configured
with Oracle 8.1.6 on Linux.
I am using the new Oracle thin JDBC driver
classes12_01.jar and the jboss from today (using cvs).

I followed the hints in bugzilla etc.:

- cp classes12_01.jar to JBOSS_HOME\lib\ext

<MLET CODE="org.jboss.jdbc.DataSourceImpl"
ARCHIVE="jboss.jar,jdbc2_0-stdext.jar,classes12_01.jar"
CODEBASE="../lib/ext/">
 <ARG TYPE="java.lang.String"
VALUE="jdbc:oracle:thin:@localhost:1521:Marcel">
 <ARG TYPE="java.lang.String" VALUE="Oracle">
 <ARG TYPE="java.lang.String" VALUE="oracle.jdbc.driver.OracleDriver">
 <ARG TYPE="java.lang.String" VALUE="Marcel">
 <ARG TYPE="java.lang.String" VALUE="Marcel">
</MLET>

added
jdbc.drivers=org.hsql.jdbcDriver,jdbc.idbDriver,oracle.jdbc.driver.OracleDri
ver


When starting jboss i get the following error:

...
[Classpath] Added
library:file:/home/dekra/jboss.cvs/dist/lib/ext/classes12_01.jar
...
[Configuration] Initialized
javax.management.ReflectionException: The MBean class could not be
loaded by the specified loader
        at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:754)
        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.<init>(Main.java:94)
        at org.jboss.Main$1.run(Main.java:84)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:75)


Is there anybody out there who has Oracle running with jboss
and can give me a hint what i do wrong?

thanks,

Marcel


-- 
Marcel Ruff
mailto:[EMAIL PROTECTED]
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to