users@glassfish.java.net

Cannot find javadb client jar file, derby jdbc driver will not be available by default.

From: <tweetysat2001_at_yahoo.com>
Date: Tue, 10 Apr 2012 10:43:39 +0000 (GMT)

Hello.

I'm working under windows 7 x86. Java 1.6.0_29. Glassfish 3.1.2_b23.
Eclispe indigo.

I want to test an ejb deployed on my server with a simple se
application :

    public static void main(String[] args) throws Exception
    {
        // Initial Context for Glassfish
        Properties p = new Properties();
        p.setProperty("java.naming.factory.initial",
"com.sun.enterprise.naming.SerialInitContextFactory");
        p.setProperty("java.naming.provider.url", "localhost:3700");
        Context context = new InitialContext(p);
        String jndiname = "java:global/....";
        ... = (...) context.lookup(jndiname);
    }

Ok it's working. But each time I launch the application under eclipse
:

10-avr.-2012 11:04:40
com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl
findDerbyClient
INFO: Cannot find javadb client jar file, derby jdbc driver will not be
available by default.

I've created a new issue (http://java.net/jira/browse/GLASSFISH-18596)
but I still don't find the solution.

Can someone help me ?

Thanks.