but where to put "classes12.zip" ?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Castro Diephouse
Sent: Tuesday, March 06, 2001 7:21 PM
To: JBoss-User
Subject: Re: [jBoss-User] Changes in DB configuration for Oracle


jboss.conf entry (MLET XADSLoader) and second jboss.jcml entry (mbean XADS)
are combined in 2.1 . Remove jboss.conf
entry.  Look at DefaultDS entry in jboss.jcml for example of how to set up
your DS there.

Brett Palmer wrote:

> I recently update my copy of JBoss to the JBoss Pre2.1 release and noticed
> some changes in the Oracle DB configuration.  I have reviewed the
documents
> and made the following additions to my configurations files:
>
> 1. jboss.properties:
> jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
>
> 2. jboss.conf:
>
> <MLET CODE="org.jboss.jdbc.XADataSourceLoader"
> ARCHIVE="jboss.jar,classes12.zip" CODEBASE="../lib/ext/">
>     <ARG TYPE="java.lang.String" VALUE="MyOracleDataSource">
>     <ARG TYPE="java.lang.String"
> VALUE="oracle.jdbc.xa.client.OracleXADataSource">
> </MLET>
>
> 3. jboss.jcml:
>
> <mbean code="org.jboss.jdbc.JdbcProvider"
> name="DefaultDomain:service=JdbcProvider">
>      <attribute
>
name="Drivers">oracle.jdbc.driver.OracleDriver,org.hsql.jdbcDriver,org.enhyd
ra.instantdb.jdbc.idbDriver</attribute>
>   </mbean>
>
> and
>
> <mbean name="DefaultDomain:service=XADataSource,name=MyOracleDataSource">
>         <attribute
name="URL">jdbc:oracle:thin:@localhost:1521:instance</attribute>
>         <attribute name="JDBCUser">in2m</attribute>
>         <attribute name="Password">in2m</attribute>
> </mbean>
>
> But when I try to run JBoss I get a ClassNotFoundException followed by a
> "Cannot start XA Connection Pool; there is not TransactionManager in JNDI"
> error.  It looks like the Oracle JDBC libraries I'm using support JDBC 2.0
> Optional package and it is located in the lib/ext directory.  Here is the
> start of the error:
>
> [Shutdown] Shutdown hook added
> [Service Control] Registered with server
> [Configuration] Could not create MBean
> DefaultDomain:service=XADataSource,name=M
> yOracleDataSource()
> [Configuration] java.lang.ClassNotFoundException:
> [Configuration]         at
> javax.management.loading.MLet.findClass(MLet.java:800
> )
> [Configuration]         at
> java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>
> [Configuration]         at
> java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>
> [Configuration]         at
> com.sun.management.jmx.MBeanServerImpl.findClass(MBea
> nServerImpl.java:2466)
> [Configuration]         at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MB
> eanServerImpl.java:499)
> [Configuration]         at
> org.jboss.configuration.ConfigurationService.create(C
> onfigurationService.java:338)
> [Configuration]         at
> org.jboss.configuration.ConfigurationService.loadConf
> iguration(ConfigurationService.java:266)
> [Configuration]         at java.lang.reflect.Method.invoke(Native Method)
> [Configuration]         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
> rverImpl.java:1628)
> [Configuration]         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
> rverImpl.java:1523)
> [Configuration]         at org.jboss.Main.<init>(Main.java:182)
> [Configuration]         at org.jboss.Main$1.run(Main.java:94)
> [Configuration]         at
> java.security.AccessController.doPrivileged(Native Me
> thod)
> [Configuration]         at org.jboss.Main.main(Main.java:90)
> [Service Control] Initializing 25 MBeans
> [MyOracleDataSource] Initializing
> [MyOracleDataSource] Initialized
>
> Any suggestions would be greatly appreciated.  Thanks for your help.
>
> Brett
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.


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



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

Reply via email to