dcsimg
java.lang.UnsatisfiedLinkError in the environment of Weblogic server and Netegrity Siteminder
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kamal_S
Posted On:   Friday, May 6, 2005 07:39 AM

While trying to connect to a Siteminder Policy Server, I get the following exception. I already have the smajavaagentapi.dll in the system PATH variable, but still I get this error. I am running my application on WebLogic server. The Policy Server is remote. Does anyone have a clue please? Thanks in advance. java.lang.UnsatisfiedLinkError: javaagent_api_decodeSSOToken at netegrity.siteminder.javaagent.AgentAPI.javaagent_api_decodeSSOToken(Native Method) at netegrity.siteminder.javaagent.AgentAPI.decodeSSOToken(AgentAPI.java:1340) at com.mentor.siteminder.SiteMinderFacadeBean.checkEntitlements(SiteMinderFacadeBean.java:142) at com.mentor.siteminder.SiteMinderFacade_7rvub4_ELOImpl.checkEntitlements(SiteMi   More>>

While trying to connect to a Siteminder Policy Server, I get the following exception. I already have the smajavaagentapi.dll in the system PATH variable, but still I get this error. I am running my application on WebLogic server. The Policy Server is remote. Does anyone have a clue please? Thanks in advance.


java.lang.UnsatisfiedLinkError: javaagent_api_decodeSSOToken
at netegrity.siteminder.javaagent.AgentAPI.javaagent_api_decodeSSOToken(Native Method)
at netegrity.siteminder.javaagent.AgentAPI.decodeSSOToken(AgentAPI.java:1340)
at com.mentor.siteminder.SiteMinderFacadeBean.checkEntitlements(SiteMinderFacadeBean.java:142)
at com.mentor.siteminder.SiteMinderFacade_7rvub4_ELOImpl.checkEntitlements(SiteMinderFacade_7rvub4_ELOImpl.java:45)
at com.mentor.siteminder.SiteMinderFacadeBeanTestCase.testConnectToSiteMinder(SiteMinderFacadeBeanTestCase.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.junitee.runner.TestRunner$1.run(TestRunner.java:72)
at org.junitee.runner.TestRunner.run(TestRunner.java:95)
at org.junitee.servlet.JUnitEEServlet.runTests(JUnitEEServlet.java:224)
at org.junitee.servlet.JUnitEEServlet.doGet(JUnitEEServlet.java:195)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

   <<Less

Re: java.lang.UnsatisfiedLinkError in the environment of Weblogic server and Netegrity Siteminder

Posted By:   ankush_purwar  
Posted On:   Friday, May 6, 2005 08:41 AM

Hi Kamal,

Try to define the java.library.path in your weblogic
server startup file.
For example java -java.library.path="Here is the directory that contains your dll file" ...... weblogic.Server

It might solve your problem.

Because I think you have defined your dll directory
in System PATH variable,It is not necessary for weblogic to use your system path,It can create the path for itself.
About | Sitemap | Contact