on 01-06-2010 5:37 AM
Hi,
We have deployed our java application in NetWeaver. To decrpyt the logon cookie we are using the library libsapssoext.o. When we are tying to load this library it fails with the following exception.
[ERROR] SSO2Ticket.<clinit>() - Error during initialization of SSO2TICKET:
libsapssoext.o (Library is already loaded in another ClassLoader)
This had actually worked first time when we deployed the app but after that when we redeployed the application..it throws this error and any native calls fails after this point.
Below is the java code snippet which we are using to load this library.
static {
try {
logger.debug("java.library.path - "+System.getProperty("java.library.path"));
System.loadLibrary("libsapssoext.o");
System.out.println("SAPSSOEXT loaded.");
logger.debug("SAPSSOEXT loaded.");
} catch (Throwable e) {
System.out.println("Error during initialization of SSO2TICKET:\n"+ e.getMessage());
logger.error("Error during initialization of SSO2TICKET:\n"+ e.getMessage());
}
}
Kindly advise.
Hi
The reason of such behavior might be in the mapping between the library and the old version of your Java class. It seems that the library when it was loaded first time is still mapped to the previous Java class version. Try to undeploy your application from the server and deploy it again.
BR, Siarhei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.