users@glassfish.java.net

Re: When is <instance>/lib/ext refreshed?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 02 Jul 2008 17:10:28 +0530

I don't think domain/lib/ext is automatically synchronized. In fact, I
don't think domain/lib or domain/classes are also synchronized. As Siva
mentions in his blog [1], for automatic synchronization in the cluster,
copy the jars into the domains/domain1/config/xyz-config/lib directory.
Then add the jars in classpath-suffix or classpath-prefix element of
xyz-config. This will synchronize the jars for all server instances
using xyz-config. xyz refers to cluster name here.

Thanks,
Sahoo

[1]
http://blogs.sun.com/sivakumart/entry/classloaders_in_glassfish_an_attempt

glassfish_at_javadesktop.org wrote:
> Running SJSAS9.1 on Windows 2003 Server.
>
> I have changed my database driver (Oracle 8 to Oracle 10g), and copied it into <domain>/lib/ext. I have set up the connection pool, and pinged it OK.
> However, when I try to start my instance, I get a class not found exception. When I investigated I found that the database driver did not get copied automatically into the <instance>/lib/ext directory.
>
> When is this directory refreshed? - do I have to do something to get it refreshed? The node agent was running, so I expected it to be automatically updated.
> [Message sent by forum member 'ricklam2' (ricklam2)]
>
> http://forums.java.net/jive/thread.jspa?messageID=283915
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>