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] Updated: (DERBY-3960) Cannot start derby under jboss
Date Sat, 22 Nov 2008 15:58:44 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Patrick updated DERBY-3960:

    Attachment: DerbyDatabase.java

the mbean used to start derby 

> 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, sharing)      
>            Reporter: Patrick
>         Attachments: derby-plugin-0.0.2.jar, DerbyDatabase.java
> 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