Default lib folder for the applications deployed in Jboss EAP 6.4.0 domain instead of standalone

Latest response

Hi,

Currently our applications are running on an older version of Jboss server and the third party libraries that need not be included in the war file were placed in the $JBOSS_HOME/server/default/lib folder.

Right now we are trying to migrate our applications towards the Jboss EAP 6.4.0 and as part of that, we are doing trial runs on $JBOSS_HOME/domain.
Right now we have deployed a couple of jar files like Bouncy Castle and ojdbc#.jar etc deployed as modules and pointed to using the jboss-deployment-structure.xml file.

In the past, we have placed dozens of jar files in the $JBOSS_HOME/server/default/lib folder path for our older version of jboss.
I'd like to know what is the default lib location where a deployed application can search for the libraries that are not deployed along with the application war file?
Reason for asking: There is no point in creating dozens of modules for each of the jars on the server.

Any help?

Thanks,
Bhaskar

Responses

HI

Reason for asking: There is no point in creating dozens of modules for each of the jars on the server.

Why do you think there is no point? How many applications do you have deployed? You can create one module that includes all the libraries your application needs.

The other option is to package the JAR's in your EAR/lib. However, you shouldn't package libraries which are included as part of JBoss.