...
- In "Servers" view, double click on the server instance (like "Apache Geronimo v2.0 Server ..") to open the server editor.
- In server editor, under "Test Environment", select "Enable in-place shared library support." as shown below:
- Save and close the server editor.
...
- Press "Ctrl + S" again to save the changes.
Step-6:
- Redeploy & run the web-app by right-clicking on "Hello World -> Web Content -> index.jsp" and selecting "Run As -> Run on Server -> Finish".
- Make sure you get an output as below:
- In Windows explorer, go to <GERONIMO_HOME>\var\shared\lib and observe that a "HelloWorld.eclipse.jar" is created and this jar contains a Manifest.mf file with contents as below:
Manifest-Version: 1.0
Class-Path: file:/E:/m2repo/commons-pool/commons-pool/1.3/commons-pool
-1.3.jar file:/E:/m2repo/commons-dbcp/commons-dbcp/1.3-SNAPSHOT/commo
ns-dbcp-1.3-SNAPSHOT.jar