Hi!
 
You are my last and only hope!
 
I'm using the final version of JBoss with tomcat. I will use JBoss together with SQL Server 7 and I've found a jdbc driver that works fine without JBoss. I'm a little concerned when the deployment works fine except of on tiny, maybe serious exception.
 
[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
 
When I try to do a lookup I get another exception, I'm a little bit confused, is this second exception because of the first in deployment?
 
java.lang.ClassCastException: java.rmi.MarshalledObject
    at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:98)
    at org.jnp.interfaces.NamningContext.checkRef(NamingContext.java:617)
 
...
Here are part of my configuration in jboss.
 
jboss.conf

<MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar" CODEBASE="../lib/ext/">

<ARG TYPE="java.lang.String" VALUE="{Datasourcename}">

<ARG TYPE="java.lang.String" VALUE="org.jboss.minerva.xa.XADataSourceImpl">

</MLET>

jboss.jcml

<mbean name="DefaultDomain:service=XADataSource,name=CRM">

<attribute name="Properties"/>

<attribute name="URL">jdbc:inetdae7:localhost:1433?database=CRM</attribute>

<attribute name="GCMinIdleTime">1200000</attribute>

<attribute name="JDBCUser">sa</attribute>

<attribute name="MaxSize">10</attribute>

<attribute name="Password"/>

<attribute name="GCEnabled">false</attribute>

<attribute name="InvalidateOnError">false</attribute>

<attribute name="TimestampUsed">false</attribute>

<attribute name="Blocking">true</attribute>

<attribute name="GCInterval">120000</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>

I really need your help and hope this is enough information for you.

Thanks!

Ida Nilsson.

 

Reply via email to