B
billknop
I have run into a problem at my company where I may not be allowed to
install a necessary library file on the server immediately. If
possible, I would have to deploy it with my .ear file.
I am trying to load the SAPJCo object and it requires their
libsapjcorfc.so file to reside on the server itself. The people that
own the servers (at this company, the support is outsourced to a 3rd
party..) are telling me that I won't be able to add any new paths to
the java.library.path or add the .so library file to an existing path
(like the /usr/lib directory..). I have de-compiled SAP's sapjco.jar
file and have found where they are loading the library.
My question is that I was wondering if I could store the library file
in the WEB-INF directory and give a "real" path name to the
System.load method?
For instance:
System.load(/opt/was51/AppServer/installedApps/WAS51TST/<appname>.ear/
<appname>web.war/WEB-INF/lib/libsapjcorfc.so);
OR if there were any other method of loading a .so library file that I
am missing?
The environment is running WSAD 5.1 on IBM AIX servers.
Thanks for your help.
install a necessary library file on the server immediately. If
possible, I would have to deploy it with my .ear file.
I am trying to load the SAPJCo object and it requires their
libsapjcorfc.so file to reside on the server itself. The people that
own the servers (at this company, the support is outsourced to a 3rd
party..) are telling me that I won't be able to add any new paths to
the java.library.path or add the .so library file to an existing path
(like the /usr/lib directory..). I have de-compiled SAP's sapjco.jar
file and have found where they are loading the library.
My question is that I was wondering if I could store the library file
in the WEB-INF directory and give a "real" path name to the
System.load method?
For instance:
System.load(/opt/was51/AppServer/installedApps/WAS51TST/<appname>.ear/
<appname>web.war/WEB-INF/lib/libsapjcorfc.so);
OR if there were any other method of loading a .so library file that I
am missing?
The environment is running WSAD 5.1 on IBM AIX servers.
Thanks for your help.