Hi guys I'm new in the community... so hello @ all,

I'm running in a classloader problem in following classes:

org.apache.jackrabbit.core.fs.db.OracleFileSystem
org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager


My environment:

JDK 1.4.2_13
Jackrabbit 1.4
Tomcat 5.0
Deployment Model 2: Shared J2EE Resource

My Fix:
in these both classes I fixed the following section

         /**
           * MY BUGFIX classloader
           */
            ClassLoader classLoader = null;
            if ((classLoader=con.getClass().getClassLoader())==null) {
                classLoader = Servlet.class.getClassLoader();
            }
            blobClass = classLoader.loadClass("oracle.sql.BLOB");


Greetings

Hartmut Zimmermann


Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
Germany


www.basf-it-services.com


BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike

Reply via email to