2 Replies Latest reply: Feb 26, 2012 9:22 PM by ldileo RSS

    OEG integration with OAM 11g issues

    ldileo
      I am trying to integrate OEG 1.1.1.5 with OAM 11.1.1.1.5 and I am running into some issues when it comes to testing.
      The document that i am following is at: https://docs.google.com/a/hubcitymedia.com/viewer?a=v&q=cache:DhAIk7GSRvEJ:www.oracle.com/technetwork/middleware/id-mgmt/documentation/oam11g-oeg-integration-guide-428888.pdf+&hl=en&gl=us&pid=bl&srcid=ADGEESgxt3Bu7QpMvy7vcVcqggqR16vpNMhhjZiXr_fNNELrFiXmhFc1nQdgXeoBcQcUwBhMUgvoEwTTBzs8KOJUz5IchJDp2Gvg8zK-aDgaGHRDmmhNZLSAKgdQPn8HGbtaXIRS-nle&sig=AHIEtbRDwV5CpANC15vQz-N8b1IclNfk2Q&pli=1

      I set up the authentication repository to OAM 11g and for the Acces SDK installation directory i used /AccessSDK/oblix/lib
      I followed some instructions that said that OAM 11g already has Access SDK installed with it and i don't need to install AccessServerSDK 10
      I created a folder under /AccessSDK/oblix/lib and placed the jar file "oamasdk-api.jar" along with ObAccessClient.xml into it
      When i try to access the protected resurce i get an error

      Below is the trace stack of the errors that i am getting

      ERROR 22/Feb/2012:10:24:40.570 [421e0940] The message [Id-0001329924280569-0596101e4f4508b807090000-1] logged Fatal at 02.22.2012 10:24:40,569 with log description: Error occurred while authenticating via HTTP Basic. Error: com.vordel.circuit.CircuitAbortException: null
      at com.vordel.circuit.authn.HttpBasicProcessor.invoke(HttpBasicProcessor.java:54)
      at com.vordel.circuit.CircuitInvocation.invokeFilter(CircuitInvocation.java:162)
      at com.vordel.circuit.CircuitInvocation.runCircuit(CircuitInvocation.java:123)
      at com.vordel.circuit.CircuitInvocation.processMessage(CircuitInvocation.java:264)
      at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCircuitChainProcessor.java:27)
      at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:197)
      at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:121)
      Caused by: com.vordel.circuit.authn.HTTP401Exception: 401 Exception
      at com.vordel.security.auth.HttpBasicAuthN.getUserCredentialsFromRequest(HttpBasicAuthN.java:72)
      at com.vordel.security.auth.HttpBasicAuthN.authenticate(HttpBasicAuthN.java:39)
      at com.vordel.circuit.authn.HttpProcessor.performAuthentication(HttpProcessor.java:61)
      at com.vordel.circuit.authn.HttpBasicProcessor.invoke(HttpBasicProcessor.java:41)
      at com.vordel.circuit.CircuitInvocation.invokeFilter(CircuitInvocation.java:162)
      at com.vordel.circuit.CircuitInvocation.runCircuit(CircuitInvocation.java:123)
      at com.vordel.circuit.CircuitInvocation.processMessage(CircuitInvocation.java:264)
      at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCircuitChainProcessor.java:27)
      at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:197)
      at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:121)

      FATAL 22/Feb/2012:10:24:46.882 [421e0940] unhandled thrown object in OAM
      ERROR 22/Feb/2012:10:24:46.882 [421e0940] java exception:
      java.lang.RuntimeException: unhandled thrown object in OAM
           at com.vordel.circuit.oracle.OracleAccessManagerInit.obConfigInit(Native Method)
           at com.vordel.circuit.oracle.OracleAccessManagerInit.initOracle(OracleAccessManagerInit.java:24)
           at com.vordel.security.auth.repository.OracleAccessManagerRepository.checkCredentials(OracleAccessManagerRepository.java:84)
           at com.vordel.security.auth.repository.RepositoryBase.checkCredentials(RepositoryBase.java:58)
           at com.vordel.security.auth.HttpBasicAuthN.authenticate(HttpBasicAuthN.java:51)
           at com.vordel.circuit.authn.HttpProcessor.performAuthentication(HttpProcessor.java:61)
           at com.vordel.circuit.authn.HttpBasicProcessor.invoke(HttpBasicProcessor.java:41)
           at com.vordel.circuit.CircuitInvocation.invokeFilter(CircuitInvocation.java:162)
           at com.vordel.circuit.CircuitInvocation.runCircuit(CircuitInvocation.java:123)
           at com.vordel.circuit.CircuitInvocation.processMessage(CircuitInvocation.java:264)
           at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCircuitChainProcessor.java:27)
           at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:197)
           at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:121)

      It seems to me that OEG is not communicating with OAM at all or something?
        • 1. Re: OEG integration with OAM 11g issues
          882069
          I suspect that there is an error with the initilization of OAM agent running in the OEG, can you check earlier in your trace.
          • 2. Re: OEG integration with OAM 11g issues
            ldileo
            This is from the "deploy" up until the error trace


            ERROR 22/Feb/2012:10:18:07.077 [40627940] The message [Id-0001329923887074-65bdeefa4f45072f50790000-1] logged Failure at 02.22.2012 10:18:07,077 with log description: Failed to authorize to Oracle Access Manager.
            ERROR 22/Feb/2012:10:18:07.078 [40627940] Filter that caused failure: Authorization
            ERROR 22/Feb/2012:10:18:07.078 [40627940] Policy 'Oracle Access Manager' {
            ERROR 22/Feb/2012:10:18:07.078 [40627940] Filter 'HTTP Basic' Status: PASSED
            ERROR 22/Feb/2012:10:18:07.078 [40627940] Filter 'Authorization' Status: FAILED
            ERROR 22/Feb/2012:10:18:07.078 [40627940] }
            ERROR 22/Feb/2012:10:18:07.078 [40627940] Authorization filter failed
            INFO 22/Feb/2012:10:19:28.230 [420df940] Attempting to connect to entity store at federated:file:////hcmapps/opt/Oracle/enterprisegateway/conf/fed/configs.xml for process Service
            INFO 22/Feb/2012:10:19:29.104 [420df940] Shutting down Policy Director Manager
            INFO 22/Feb/2012:10:19:29.107 [420df940] rolling file logs/ConfigurationManagementAuditTrail.xml stopped
            INFO 22/Feb/2012:10:19:29.107 [420df940] Flushing Web Service cache
            INFO 22/Feb/2012:10:19:29.108 [4134d940] close DB handle
            INFO 22/Feb/2012:10:19:29.108 [4134d940] operations commit thread exiting
            INFO 22/Feb/2012:10:19:29.125 [420df940] Realtime monitoring enabled
            INFO 22/Feb/2012:10:19:29.126 [420df940] Storing metrics in database disabled
            INFO 22/Feb/2012:10:19:29.272 [40966940] all connection cache sets removed
            INFO 22/Feb/2012:10:19:30.210 [420df940] cert store configured
            INFO 22/Feb/2012:10:19:30.217 [420df940] opdb systemwide configuration: inherited: 0, recordInboundTxns: 1, recordOutboundTxns: 1, record streams: { circuitpath, end, http, received, sent, trace, }, stopping runner
            INFO 22/Feb/2012:10:19:30.222 [4134d940] operations commit thread running
            INFO 22/Feb/2012:10:19:30.228 [4134d940] opened database 0x189a0e8
            INFO 22/Feb/2012:10:19:30.229 [4134d940] operations monitoring: data directory: conf/opsdb.d, record database: conf/opsdb.d/data.sdb
            INFO 22/Feb/2012:10:19:30.229 [4134d940] operations db schema version valid (20110527)
            INFO 22/Feb/2012:10:19:30.247 [420df940] Initializing Configuration Servlet
            INFO 22/Feb/2012:10:19:30.247 [420df940] Starting ESSOAPProvider with entitystore
            INFO 22/Feb/2012:10:19:30.247 [420df940] ESSOAPProvider initialized with entitystore
            INFO 22/Feb/2012:10:19:30.247 [420df940] Configuration Servlet initialized
            INFO 22/Feb/2012:10:19:30.611 [420df940] Monitoring processes for all users...
            INFO 22/Feb/2012:10:19:30.611 [420df940] Process ping interval is: 60 secs
            INFO 22/Feb/2012:10:19:30.611 [420df940] Process ping connection timeout is: 30 secs
            INFO 22/Feb/2012:10:19:30.611 [420df940] Process connection timeout is: 300 secs
            INFO 22/Feb/2012:10:19:30.611 [420df940] Adding monitor for proc: http://leo-oam:8090/runtime/management/ManagementAgent
            INFO 22/Feb/2012:10:19:30.613 [420df940] ... monitoring started.
            INFO 22/Feb/2012:10:19:30.616 [420df940] TCP interface
            INFO 22/Feb/2012:10:19:30.616 [420df940] checking invariants for interface *:8090
            INFO 22/Feb/2012:10:19:30.898 [420df940] operations DB responder waiting for requests on /ops/
            INFO 22/Feb/2012:10:19:30.936 [420df940] TCP interface
            INFO 22/Feb/2012:10:19:30.937 [420df940] checking invariants for interface *:8080
            INFO 22/Feb/2012:10:19:31.153 [421e0940] Login attempt from admin
            INFO 22/Feb/2012:10:19:31.153 [421e0940] User [admin] logged in
            INFO 22/Feb/2012:10:19:31.153 [421e0940] Session timeout is: 1800 secs