geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject TranQL DB Problem in M3
Date Mon, 15 Nov 2004 04:21:06 GMT
	So when I got sick of fighting the new build, I tried my stuff in 
M3.  I'm deploying a plan including the TranQL configuration below.  
Unfortunately, it's getting the class loading problem below that -- it 
can't load the exception sorter class.  Is it just me?  I get the same 
results in HEAD.

Aaron

<?xml version="1.0" encoding="UTF-8"?>
<connector
    xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
    version="1.5"
    configId="Database"
    parentId="org/apache/geronimo/Server">

    <dependency>
        
<uri>mysql/jars/mysql-connector-java-3.0.14-production-bin.jar</uri>
    </dependency>

    <resourceadapter>
        <outbound-resourceadapter>
            <connection-definition>
                <connectionfactory-interface>
                    javax.sql.DataSource
                </connectionfactory-interface>
                <connectiondefinition-instance>
                    <name>Database</name>
                    <config-property-setting name="UserName">
                        user
                    </config-property-setting>
                    <config-property-setting name="Password">
                        password
                    </config-property-setting>
                    <config-property-setting name="Driver">
                        com.mysql.jdbc.Driver
                    </config-property-setting>
                    <config-property-setting name="ConnectionURL">
                        jdbc:mysql://localhost/database
                    </config-property-setting>
                    <config-property-setting 
name="CommitBeforeAutocommit">
                        true
                    </config-property-setting>
                    <config-property-setting name="ExceptionSorterClass">
                        org.tranql.connector.NoExceptionsAreFatalSorter
                    </config-property-setting>
                    <connectionmanager>
                        <local-transaction/>
                        <single-pool>
                            <max-size>10</max-size>
                            <min-size>0</min-size>
                            <blocking-timeout-milliseconds>
                                5000
                            </blocking-timeout-milliseconds>
                            
<idle-timeout-minutes>30</idle-timeout-minutes>
                            <match-one/>
                        </single-pool>
                    </connectionmanager>
                    
<global-jndi-name>jdbc/Database</global-jndi-name>
                </connectiondefinition-instance>
            </connection-definition>
        </outbound-resourceadapter>
    </resourceadapter>
</connector>


Caused by: java.lang.ClassNotFoundException:
                        org.tranql.connector.NoExceptionsAreFatalSorter

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.tranql.connector.jdbc.JDBCDriverMCF.setExceptionSorterClass(JDBCDriverMCF.java:167)
        at 
org.tranql.connector.jdbc.JDBCDriverMCF$$FastClassByCGLIB$$81f38179.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
        at 
org.apache.geronimo.gbean.DynamicGBeanDelegate$Operation.invoke(DynamicGBeanDelegate.java:155)
        at 
org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute(DynamicGBeanDelegate.java:130)
        at 
org.apache.geronimo.connector.outbound.ManagedConnectionFactoryWrapper.setAttribute(ManagedConnectionFactoryWrapper.java:257)
        at 
org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute$DynamicSetterMethodInvoker.invoke(GBeanMBeanAttribute.java:500)
        at 
org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute.online(GBeanMBeanAttribute.java:285)
        at 
org.apache.geronimo.gbean.jmx.GBeanMBean.preRegister(GBeanMBean.java:560)
        at 
com.sun.jmx.mbeanserver.BaseMetaDataImpl.preRegisterInvoker(BaseMetaDataImpl.java:83)
        at 
com.sun.jmx.mbeanserver.MetaDataImpl.preRegisterInvoker(MetaDataImpl.java:237)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:923)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
        at org.apache.geronimo.kernel.Kernel.loadGBean(Kernel.java:355)


Mime
View raw message