OK So now I have followed the new code from the manual and I am getting
this exception thrown:

[Falcon] Initializing
[Falcon] Initialized
javax.management.ReflectionException
        at
com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerImpl.java:2113)
        at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:509)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:523)
        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)


Falcon is the name of my datasource.

jboss.jcml 
*************************************************************************************
     <mbean name="DefaultDomain:service=XADataSource,name=Falcon">
       <attribute name="Properties"></attribute>
       <attribute
name="URL">jdbc:oracle:thin:@10.3.0.140:1521:test</attribute>
       <attribute name="GCMinIdleTime">30000</attribute>
       <attribute name="JDBCUser">testdev</attribute>
       <attribute name="MaxSize">0</attribute>
       <attribute name="Password">dev11el</attribute>
       <attribute name="GCEnabled">true</attribute>
       <attribute name="InvalidateOnError">false</attribute>
       <attribute name="TimestampUsed">false</attribute>
       <attribute name="Blocking">true</attribute>
       <attribute name="GCInterval">10000</attribute>
       <attribute name="IdleTimeout">1800000</attribute>
       <attribute name="IdleTimeoutEnabled">false</attribute>
       <attribute name="LoggingEnabled">false</attribute>
       <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
       <attribute name="MinSize">0</attribute>
     </mbean>

jboss.conf
*******************************************************************************************
<MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
   <ARG TYPE="java.lang.String" VALUE="Falcon">
   <ARG TYPE="java.lang.String"
VALUE="org.jboss.minerva.xa.XADataSourceImpl">
</MLET>

jboss.properties
*******************************************************************************************
jdbc.drivers=oracle.jdbc.driver.OracleDriver


Thanks,
Doug.








Tobias Frech wrote:
> 
> Looks like you got that from the Oracle Howto ? This is the old code.
> Please have a look at:
> http://www.jboss.org/manual/adv_config.html#datasources
> 
> Ciao, Tobias
> 
> dferugson wrote:
> >
> > I add this to my jboss.conf and jboss can't run.
> > It doesn't even give an error message?
> >
> > <MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
> > CODEBASE="../../lib/ext">
> >     <ARG TYPE="java.lang.String" VALUE="Falcon">
> >     <ARG TYPE="java.lang.String"
> > VALUE="org.jboss.minerva.xa.XADataSourceImpl">
> >     <ARG TYPE="java.lang.String"
> > VALUE="jdbc:oracle:thin:@10.3.0.140:1521:test">
> >     <ARG TYPE="java.lang.String" VALUE="test">
> >     <ARG TYPE="java.lang.String" VALUE="dev11el">
> >     <ARG TYPE="java.lang.String" VALUE="">
> >     <ARG TYPE-"java.lang.String" VALUE="2">
> >     <ARG TYPE="java.lang.String" VALUE="5">
> >
> > 
><ARGTYPE="java.lang.String"VALUE="GCEnabled=true;ShrinkingEnabled=true;GCMinIdleTime=30000;GCInterval=10000;ShrinkMinIdleTime=30000">
> > </MLET>
> >
> > --
> > Doug Ferguson
> > Software Developer
> > www.coremetrics.com
> > 512-342-2623x212
> > 512-619-9972(cell)
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > List Help?:          [EMAIL PROTECTED]
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]

-- 
Doug Ferguson
Software Developer
www.coremetrics.com
512-342-2623x212
512-619-9972(cell)


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to