We are beginning work on porting our application from eWAS to Liberty Profile and I apologize for the newbie questions.
The issue I'm having now is when the application starts up (via a load-on-startup servlet) it is not able to find 3rd party libraries that I configured in server.xml (see below). I put the 3rd party jars in the dsa directory I hardcoded in the library property.
I'm wondering if I'm configuring it wrong or if maybe the classloading doesn't work during autostartup of the servlet?
<library id= "dsa"> <fileset dir= "/home/igraf/Liberty855/wlp/usr/servers/server1/lib/dsa" includes= "*.jar" scanInterval= "5s" /> </library> <application id= "nci" name= "NCI" type= "ear" location= "NCI_update.ear" > <classloader apiTypeVisibility= "spec, ibm-api, third-party" commonLibraryRef= "dsa" /> </application> <webContainer deferServletLoad= "false" />
Thanks very much,