0 Replies Latest reply on Dec 30, 2009 12:13 PM by 807573

    opensso setup for weblogic and tomcat

    807573
      Hii,

      I have been trying to configure opensso on weblogic 10 and agent
      on tomcat. There seems to be some communication between them

      But i get an exception on weblogic console saying
      SMSObjectIF_Tie class not found.

      javax.servlet.ServletException: JAXRPCSERVLET50: caught
      throwable during servlet initialization: JAXRPCSERVLET01:
      class not found: com.sun.identity.sm.jaxrpc.SMSObjectIF_Tie
           at
      com.sun.xml.rpc.server.http.JAXRPCServlet.init(JAXRPCServlet.java:104)
           at
      weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
           at
      weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(Unknown
      Source)
           at
      weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
           at
      weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
           at
      weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
           at
      weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
      ...
      ________________________________________________________________________________________________________________________
      ________________________________________________________________________________________________________________________
      ________________________________________________________________________________________________________________________

      So i added openssoclientsdk.jar to weblogic class path. But
      now when i restart server , opensso fails to start with this
      error :

      com.sun.identity.security.AMSecurityPropertiesException:
      AdminTokenAction: FATAL ERROR: Cannot obtain Application
      SSO token.
      Check AMConfig.properties for the following properties
           com.sun.identity.agents.app.username
           com.iplanet.am.service.password
           at
      com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:258)
           at java.security.AccessController.doPrivileged(Native Method)
           at
      com.sun.identity.common.configuration.ConfigurationBase.isLegacy(ConfigurationBase.java:184)
           at
      com.sun.identity.setup.AMSetupServlet.init(AMSetupServlet.java:174)
           at
      weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
           at
      weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(Unknown
      Source)
           at
      weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
           at
      weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
           at
      weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
           at
      weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
           at
      weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
           at
      weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
           at
      weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)
           at
      weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
           at
      weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
           at
      weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
           at
      weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
           at
      weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
           at
      weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
           at
      weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
           at
      weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
           at
      weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
           at
      weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
           at
      weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
           at
      weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
           at
      weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
           at
      weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
           at
      weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
           at
      weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
           at
      weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
           at
      weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
           at
      weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
           at
      weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
           at
      weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
           at
      weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
           at
      weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:816)
           at
      weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1223)
           at
      weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:434)
           at
      weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
           at
      weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
      ...
      Can somebody please help me with this ?

      Regards,
      Abhinav