Hello all,

I am running jboss-2.0-FINAL with Tomcat in the same VM on Windows NT 4.0.
I have recently been experimenting with CMP using an Oracle database
instance.  I followed the instructions found at JBoss -> Documentation and
have edited jboss.properties, jboss.conf, and jboss.jcml.  I get the
following response from the console when starting up JBoss.  Could someone
possibly lend a hand?

One last interesting note before the config files/console dump:  When I go
back to look at jboss.jcml, my entry below has magically disappeared (is
this file generated on startup?)  Have you experienced this before?  Any
light you can shed will be appreciated...


jboss.conf addition:
<MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
    <ARG TYPE="java.lang.String" VALUE="DefaultDS">
    <ARG TYPE="java.lang.String"
VALUE="oracle.jdbc.xa.client.OracleXADataSource">
</MLET>


jboss.properties:
jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
jdbc.drivers=org.hsql.jdbcDriver,oracle.jdbc.driver.OracleDriver


jboss.jcml
<mbean name="DefaultDomain:service=XADataSource,name=DefaultDS">
      <attribute
name="URL">jdbc:oracle:thin:@host.domain.com:1521:AIRFRAME</attribute>
      <attribute name="JDBCUser">scott</attribute>
      <attribute name="Password">tiger</attribute>
</mbean>


Excerpt from console:
...
[SpyderMQ] Initializing
[SpyderMQ] 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$1.run(Main.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:83)
[EmbeddedTomcat] Starting
[EmbeddedTomcat] Testing if Tomcat is present....
[EmbeddedTomcat] OK
[EmbeddedTomcat] ContextManager: Adding context Ctx(  )
[EmbeddedTomcat] path="" :jsp: init
[EmbeddedTomcat] PoolTcpConnector: Starting HttpConnectionHandler on 8080
[EmbeddedTomcat] Started
...


Thanks in advance!


Justin Peck
APsoftware
[EMAIL PROTECTED]
801.443.3000 x3988



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

Reply via email to