I have just downloaded Hibernate because I want to use it as a persistence provider instead of Eclipselink and you are supposed to put them in the lib folder in your domain in Glassfish. However there are 4 other folders there. What are they for and how to use them?
Asked
Active
Viewed 4,582 times
3
-
Out of curiosity, why are you using the Hibernate provider instead of the built-in EclipseLink? – John Clingan Oct 26 '12 at 15:28
-
Because I am going to ise Hibernate Search soon:) – LuckyLuke Oct 26 '12 at 16:06
1 Answers
6
See the GlassFish documentation:
Optional packages are packages of Java classes and associated native code that application developers can use to extend the functionality of the core platform.
To use the Java optional package mechanism, copy the JAR files into the domain-dir
/lib/ext
directory, or use theasadmin add-library
command with the--type ext
option, then restart the server.
For a full documentation of the Class Loaders used by GlassFish, see the chapter on class loaders.