users@glassfish.java.net

glassfish/lib versus WEB-INF/lib

From: <glassfish_at_javadesktop.org>
Date: Sat, 19 Apr 2008 00:14:10 PDT

I'm a newbie to glasshfish and I hope this question has not been raised before in this forum.

If there were 2 classes with the same name and one is located in glassfish/domain/lib and the other in WEB-INF/lib of the application, which one takes precedence?

In oher words, what is the order for looking for class files in glassfish?

1. glassfish/<domain>/lib
2. WEB-INF/lib of the application warfile.

Thanks,
Colin
[Message sent by forum member 'colinchiew' (colinchiew)]

http://forums.java.net/jive/thread.jspa?messageID=270143