db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3960) Cannot start derby under jboss
Date Sat, 22 Nov 2008 14:34:44 GMT
Cannot start derby under jboss

                 Key: DERBY-3960
                 URL: https://issues.apache.org/jira/browse/DERBY-3960
             Project: Derby
          Issue Type: Bug
    Affects Versions:
         Environment: Mac os X  java version "1.5.0_16" Java(TM) 2 Runtime Environment, Standard
Edition (build 1.5.0_16-b06-275)  Java HotSpot(TM) Client VM (build 1.5.0_16-132, mixed mode,
            Reporter: Patrick

We use Derby with Jboss jboss-4.2.3.GA,
to start derby we have a simple MBEAN that does 

ClassLoader cl = Thread.currentThread().getContextClassLoader();
Class.forName(JDBC_DRIVER_CLASS, true, cl).newInstance();
connection = DriverManager.getConnection(dbURL, user, password);

in the past 2 years we had no problems at all with all the previous version of jboss and derby
too up to 

The problems arises when we use Derby Only!  the system throws a Class Not Found
Exception where try to do 

 Class.forName(JDBC_DRIVER_CLASS, true, cl).newInstance();

we tried also to recompile under the same machine but we had the same error

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message