Could not get connections for 2 databases at the same time

Hi, I have a session bean which calls 2 entity beans in one method. The 2 entity
beans are located in different databases (different datasources and different
pools). When running, I got the following error:
Couldn't get connection:
java.sql.SQLException: Connection has already been created in this tx context
for pool named iitga_jdbc. Illegal attempt to create connection from another pool:
iitdbmap_jdbc
It seems WebLogic only allows one database connection within one method.
Thanks,

Hi Henry,
If you want two beans bound to different database, you need
to use XA pools with TXDataSources because in this case you
have a distributed transaction.
Set up you pools using XA drivers and make sure you use
TXDatasources.
If you tell us which database you use we may come up with
sample pool configurations.
"Henry Hiu" <[email protected]> wrote in message
news:[email protected]..
>
Hi, I have a session bean which calls 2 entity beans in one method. The 2entity
beans are located in different databases (different datasources anddifferent
pools). When running, I got the following error:
Couldn't get connection:
java.sql.SQLException: Connection has already been created in this txcontext
for pool named iitga_jdbc. Illegal attempt to create connection fromanother pool:
iitdbmap_jdbcRegards,
Slava imeshev

Similar Messages

  • MySQL Database Connection (two databases at the same time)

    I have never had to open more than one MySQL database from within the same website before, but I do now.  The website I have is designed where all the content comes from within the main database.  I am building an Inventory system that I want within it's own database, in the event I would ever need to move the application to another server or something, I don't want this data residing in the main database.
    Currently, I open the database connection from within a file called "common.php" that resides in a directory called "lib" that can be accessed from the root directory.  Below is the proposed code that would be placed within the "common.php" file:
    // Define Database Variables
    $dbserver = "127.0.0.1";
    $dbuser  = array('clevelan_user1', 'clevelan_user2');
    $dbpass  = array('P@ssw0rd', 'P@ssw0rd2');
    $dbname  = array('clevelan_database1', 'clevelan_database2');
    // Start Session
    session_start();
    // Connect to Databases
    connectdb($dbserver, $dbuser[0], $dbpass[0], $dbname[0]);
    connectdb2($dbserver, $dbuser[1], $dbpass[1], $dbname[1]);
    // Database 1 Connection
    function connectdb($dbserver, $dbuser, $dbpass, $dbname) {
    // connects to db
      global $connection;
      $connection = @mysql_connect($dbserver, $dbuser, $dbpass) or die ("could not connect to server");
      $db = @mysql_select_db($dbname, $connection) or die ("could not select databsase");
      return $connection;
    // Database 2 Connection
    function connectdb2($dbserver, $dbuser, $dbpass, $dbname) {
    // connects to db
      global $connection2;
      $connection2 = @mysql_connect($dbserver, $dbuser, $dbpass) or die ("could not connect to server");
      $db2 = @mysql_select_db($dbname, $connection2) or die ("could not select databsase");
      return $connection2;
    //End of Code Within the "common.php"
    From within any page of the website, I want to access both connections by placing an include at the top of each page:
    include_once("lib/common.php");
    Currently, when I run the code above, any page within the website (the home page) provides error messages with regards to database connectivity (the pages are looking for there content from within the second database.  It's as if the second database is the only database seen by the website.
    I need help figuring out how I can have two MySQL databases open at the same time (the second database will only be open for short periods of time and then closed).  But the main database is always open.

    Create one project using one copy of the exact tables.
    create 2 different sessions.xml files each pointing to the same project. Set the login information in the sessions.xml files.
    That should work fine.
    Peter

  • Could not load library for database connection LCA

    Hi,
    I am facing RFC connection prblem while connectiong to database. I have installed SCM5.1 and live cache in single server
    Please find the logs.
    Work process log:
    B Mon Jul 20 11:19:13 2009
    B  create_con (con_name=LCA)
    B  Loading DB library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll) Error 126 [dlnt.c       241]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll'
    [dbcon.c      4731]
    B  ***LOG BYG=> could not load library for database connection LCA        [dbds#1 @ 1035] [dbds    1035 ]
    A
    A Mon Jul 20 11:21:58 2009
    A  GENER starting remote generation: /SAPAPO/OM_SYNC_LC_DB (requested by W1).
    B
    SM21:
    No shared library found for the database with ID LCA|
    No shared library found for the database with ID LCA
    /SAPAPO/OM17|/SAPAPO/OM_SYNC_LC_DB|K |SAP Web AS Problem|SBAC   |
    Documentation for system log message BY G :
    As well as the standard connection, an attempt was made to set up
    another database connection, under the specified ID. The Shared Library
    for this second database could not be found.
    The Shared Library is usually found in the the Executable
    directory (profile parameter DIR_LIBRARY) under the name dbs
    <dbs>slib<os_ext>. <dbs> stands for the database type and <os_ext>
    stands for the operating system-specific extension of the Shared
    Libraries.
    The database type is determined from the entry that corresponds to the
    specified DB ID in the table DBDCON. Check whether the data in this
    entry is correct.
    ST22
    Runtime Errors         DBIF_DSQL2_CONNECTERR
    Exception              CX_SY_NATIVE_SQL_ERROR
    Date and Time          20.07.2009 11:22:21
    Short text
    Error setting up a secondary database connection
    What happened?
    Connection to database system not possible with identifier "LCA".
    |----
    System environment
    SAP-Release 700
    Application server... "
    Network address...... "
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "8x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 8
    Shortdump setting.... "full"
    Database server... "
    Database type..... "ORACLE"
    Database name..... "SC7"
    Database user ID.. "SAPSC7"
    Terminal................. " "
    Char.set.... "C"
    SAP kernel....... 701
    created (date)... "Jul 6 2009 23:47:55"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "OCI_10201_SHARE (10.2.0.2.0) "
    Patch level. 50
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 701
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
    NT 6.0"
    Information on where terminated
    Termination occurred in the ABAP program "SAPLSLCAPPS" - in
    "LCA_EXISTS_LCA_ROUTINE".
    The main program was "/SAPAPO/TS_BATCH_RUN ".
    In the source code you have the termination point in line 23
    of the (Include) program "LSLCAPPSU05".
    The program "SAPLSLCAPPS" was started as a background job.
    Job Name....... "MACROS"
    Job Initiator.. "SC7GEN"
    Job Number..... 10222002
    The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
    in
    procedure "LCA_EXISTS_LCA_ROUTINE" "(FUNCTION)", but it was neither handled
    locally nor declared
    in the RAISING clause of its signature.
    The procedure is in program "SAPLSLCAPPS "; its source code begins in line
    1 of the (Include program "LSLCAPPSU05 ".
    Please help me to resolve the issue.
    Suraj

    Hi Natalia Khlopina,
    I have raised OSS message to SAP.
    Below is the information
    E:\usr\sap\SC7\SYS\exe\uc\Copy_ of_NTAMD64_15062009>sdbregview -l
    Server Utilities    e:/sapdb/programs      7.7.02.08     64 bit    valid
    DB Analyzer         e:/sapdb/programs      7.7.02.08     64 bit    valid
    PCR 7301            e:/sapdb/programs      7.3.01.21               valid
    PCR 7500            e:/sapdb/programs      7.5.00.42     64 bit    valid
    SAP Utilities       e:/sapdb/programs      7.7.02.08     64 bit    valid
    APO LC APPS         f:/sapdb/lcs/db/sap    6.00.004      64 bit    valid
    Redist Python       e:/sapdb/programs      7.7.02.08     64 bit    valid
    Base                e:/sapdb/programs      7.7.02.08     64 bit    valid
    JDBC                e:/sapdb/programs      7.6.03.02               valid
    Messages            e:/sapdb/programs      MSG 0.5010              valid
    ODBC                e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC 77           e:/sapdb/programs      7.7.02.08     64 bit    valid
    Database Kernel     f:/sapdb/lcs/db        7.7.02.08     64 bit    valid
    Loader              e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC              e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC 76           e:/sapdb/programs      7.6.01.15     64 bit    valid
    Fastload API        e:/sapdb/programs      7.7.02.08     64 bit    valid
    C:\Documents and Settings\sc7adm>disp+work
    disp+work information
    kernel release                701
    kernel make variant           701_REL
    compiled on                   NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00
    compiled for                  64 BIT
    compilation mode              UNICODE
    compile time                  Jul  6 2009 23:47:55
    update level                  0
    patch number                  50
    source id                     0.050
    supported environment
    database (SAP, table SVERS)   700
                                  701
    operating system
    Windows NT 5.0
    Windows NT 5.1
    Windows NT 5.2
    Windows NT 6.0
    Thanks for quick responce.
    Suraj

  • I have a message: "Could not get session for the OEM Repository."

    Dear Sir,
    I browsed reports that has been published in OEM. But I received an error:
    "Could not get session for the OEM Repository. Check to ensure that the OEM Repository is up."
    What can I do?
    Thank a lot

    You will need to go into your Files and locate the song.  By default, iTunes saves songs in the iTunes Media Folder which can be found in the following locations:
    Mac OS X: /Users/username/Music
    Windows XP: \Documents and Settings\username\My Documents\My Music\
    Windows Vista: \Users\username\Music\iTunes
    Windows 7 and Windows 8: \Users\username\My Music\iTunes
    If you locate your song file, when you try to play it in iTunes, you will be given an option to locate.  Navigate to the file in the pop up window and iTunes will re-path the file location.
    Most people encounter this issue when moving to a new computer or if you have your music saved on an external drive or folder that you have since moved or removed.  The imperative part is finding the song so you can re-map it.

  • AM 7.1 CDSSO Could not get agent for the realm

    Hi,
    We are trying to configure the Cookie highjacking fix in AM 7.1 and apache agent 2.2. When we try to go the agent, the browser gets redirected to the Access Manager. After authentication, I get the error message on the browser "resource access denied".
    On the AM side, I get following error in amCDC file:
    04/19/2007 06:19:19:919 PM PDT: Thread[service-j2ee-3,5,main]
    CDCServlet Initializing...
    04/19/2007 06:19:19:922 PM PDT: Thread[service-j2ee-3,5,main]
    CDCServlet init params. Restricted Token Enabled: false Auth URL Cookie Name: sunIdentityServerAuthNServer Auth URL Cookie Domain:Deployment Descriptor: /amserver
    04/19/2007 06:19:19:925 PM PDT: Thread[service-j2ee-3,5,main]
    CDCServlet.doGetPost: Query String received: goto=http%3A%2F%2Feauthdev.etc.net%2Fcgi-bin%2Fprintenv%3FsunwMethod%3DGET&RequestID=15432&MajorVersion=1&MinorVersion=0&ProviderID=http%3A%2F%2Feauthdev.etc.net%3A80%2Famagent&IssueInstant=2007-04-19T18%3A19%3A19Z
    04/19/2007 06:19:19:934 PM PDT: Thread[service-j2ee-3,5,main]
    SSOException caught: com.iplanet.sso.SSOException: Invalid session ID.
    04/19/2007 06:19:20:430 PM PDT: Thread[service-j2ee-3,5,main]
    Forwarding for authentication to: /UI/Login?goto=%2Famserver%2Fcdcservlet%3FTARGET%3Dhttp%253A%252F%252Feauthdev.etc.net%252Fcgi-bin%252Fprintenv%253FsunwMethod%253DGET%26RequestID%3D15432%26MajorVersion%3D1%26MinorVersion%3D0%26ProviderID%3Dhttp%253A%252F%252F
    eauthdev.etc.net%253A80%252Famagent%26IssueInstant%3D2007-04-19T18%253A19%253A19Z
    04/19/2007 06:19:27:293 PM PDT: Thread[service-j2ee-4,5,main]
    CDCServlet.doGetPost: Query String received: TARGET=http%3A%2F%2Feauthdev.etc.net%2Fcgi-bin%2Fprintenv%3FsunwMethod%3DGET&RequestID=15432&MajorVersion=1&MinorVersion=0&ProviderID=http%3A%2F%2Feauthdev.etc.net%3A80%2Famagent&IssueInstant=2007-04-19T18%3A19%3A19Z
    04/19/2007 06:19:27:294 PM PDT: Thread[service-j2ee-4,5,main]
    WARNING: Advice List is : null
    04/19/2007 06:19:27:294 PM PDT: Thread[service-j2ee-4,5,main]
    CDCServlet.doGetPost: targetURL = http://eauthdev.etc.net/cgi-bin/printenv?sunwMethod=GET
    04/19/2007 06:19:27:294 PM PDT: Thread[service-j2ee-4,5,main]
    CDCServlet.doGetPost: gotoURL = http://eauthdev.etc.net/cgi-bin/printenv?sunwMethod=GET
    04/19/2007 06:19:27:321 PM PDT: Thread[service-j2ee-4,5,main]
    CDC Servlet: Directory matches for http://eauthdev.etc.net:80/ is:{AMIdentity object: id=eauthdev_apache_8080,ou=agent,dc=mycompany,dc=com AMSDKDN=uid=eauthdev_apache_8080,ou=agents,dc=mycompany,dc=com={sunidentityserverdevicestatus=[Active], sunidentityserverdevicekeyvalue=[agentRootURL=http://eauthdev.etc.net:80/]}}
    04/19/2007 06:19:27:400 PM PDT: Thread[service-j2ee-4,5,main]
    WARNING: Invalid GoTo URL: http://eauthdev.etc.net/cgi-bin/printenv?sunwMethod=GET for Agent ID: http://eauthdev.etc.net:80/
    04/19/2007 06:19:27:400 PM PDT: Thread[service-j2ee-4,5,main]
    ERROR: CDCServlet.doGetPost:Exception occured
    java.lang.Exception: Invalid Agent: Could not get agent for the realm
    at com.iplanet.services.cdc.LdapSPValidator.validateAndGetRestriction(LdapSPValidator.java:200)
    at com.iplanet.services.cdc.CDCServlet.redirectWithAuthNResponse(CDCServlet.java:288)
    at com.iplanet.services.cdc.CDCServlet.doGetPost(CDCServlet.java:247)
    at com.iplanet.services.cdc.CDCServlet.doGet(CDCServlet.java:194)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:796)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:391)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:297)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:178)
    at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:86)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:178)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:270)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:241)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:182)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:160)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at com.sun.webserver.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:149)
    at com.sun.webserver.connector.nsapi.NSAPIConnector.service(NSAPIConnector.java:995)
    Does anybody knows what is going wrong?
    Thanks in advance,
    Vivek

    One more thing Vivek : seems like the problem comes from the fact that the there's 3 checks done to ensure the goto URL matches what's in the agent profile, and one of them (the port check) fails.
    agentRootURL has port 80. The gotoURL doesn't.
    Try not specifying a port number for key agentRootURL and tell me if that works.
    Side note : it seems you might not have the following property enabled in your AMConfig.properties :
    com.sun.identity.enableUniqueSSOTokenCookie = true
    HTH,
    N.

  • Downloading artwork - "could not get artwork for some albums"

    This might have been addressed before, but I browsed the forum and couldn't find a thread. Sorry if it's been gone over several times.
    I live in Turkey and I've added albums to my iTunes. I checked the box in the Get Info next to Artwork and I selected Get Album Artwork from the Advanced tab. It scans through all the albums and then says "could not get artwork for some albums." "Some" albums means all of them actually. And the error tab details say "artwork not available." I also tried getting artwork by right clicking on a single album but I get the same error. Before it was a 609 error. Now it just says not available.
    I logged out of the store, quit iTunes, loaded it again, re-signed in to the store and tried to get artwork that way, but got the same result. No artwork. The albums are things like Let It Be, Allman Brothers, Ella Fitzgerald... Albums that should certainly have artwork available.
    I'm using Windows Vista.
    Has anyone had and conquered this problem? Any ideas on what I should do? I have 300+ albums, so getting the cover art from wikipedia would be a bit tedious. I'd appreciate any help anyone can give!

    Hello, Welcome to Apple Discussions.
    Are your songs from Audio CDs or iTunes Store? If not you may need to manually find the album artwork for them as these songs may not be listed in the iTunes Store database for your region.
    iTunes: Album art may not download properly
    http://support.apple.com/kb/TS1815
    iTunes will only download album artwork for songs that it can find in the iTunes Store. iTunes will check each song in your iTunes library and attempt to match it up with a song in the iTunes Store. If the data matches, iTunes will download the album artwork from the iTunes Store and add it to the song in your iTunes library. If iTunes does not find a particular song's artwork in the iTunes Store, you will not see an alert message. iTunes simply does not download artwork for that song.

  • What's wrong with this MySQL connection? "Could not create connection to database server"

    I'm able to connect to other MySQL databases but this one particular remote MySQL connection isn't working and I cannot figure it out.  It probably has something to do with the remote server, not CF, but I thought I'd post it here if anyone had an idea.  The MySQL account has full priviledges.
    Here is the message when I try to validate the data source:
    Connection verification failed for data source: test
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:  Could not create connection to database server. Attempted reconnect 3  times. Giving up.
    The root cause was that:  com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:  Could not create connection to database server. Attempted reconnect 3  times. Giving up.

    This happened on two servers.  One one, the cause was that skip-networking was turned on.  In the other situation, it appears that the database name was case sensitive, so TEST was not the same as test.  Even though I edited the data source in the CF administrator, it still didn't work (very misleading).  When a coworker entered a new data source with the same information (uppercase database name this time from the start), it worked.
    Has anyone else seen this problem with the case sensitive database names?  And with the data source in CF not updating the case correctly?  Seems like a bug in CF.

  • Java.lang.Exception: Could not get name for DC project

    Hello Experts,
    We have a code which is downloaded from SVN repository.
    I have imported the code from my desktop into NWDS and when I try to deploy it throws,
    java.lang.Exception: Could not get name for DC project
    I have referred few threads in SCN and solution suggested is to change the workspace and create a new DC & copy the _comp from old DC.
    I tried the above solution but there are lot of build errors as we have few RFC models and it is throwing build errors for missing model reference.
    Kindly help me on how to fix the error.
    Thanks, Swarnaprakash

    Dear Swarnaprakash,
    The Web Dynpro DCs Import C:\----\user\.dtc\LocalDevelopment\DCs\sap.com\test and
    the related package for DC  is missing once check it after try to import.
    Depending on which Java compiler preferences are set, you may see some
    warnings in the "Task" view after importing the project. If the severity level for problems of type "Unused imports" (set in Preferences – Java – Compiler) has the value "Warning", the compiler will issue a warning for unused import references. Ignore these warnings!
    Still You getting means delete your .metadata before take the backup.after open the NWDS again it will set new configurations in your system.
    Thanks & Regards,
    Durga Rao.

  • Could not get stream for task attachment

    When uploading Document and Trying to view documents in Worklits we get the following error:
    <Error> <oracle.soa.services.workflow.worklist> <BEA-000000> <<oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.getTaskAttachment>
    Could not get stream for task attachment:
    This seem to have been a bug on previous versions of Oracle BPM but we're receiving it on 11.1.1.7
    Any idea what might be causing this?
    someone that experienced a similar issue but was resolved bu applying a patch
    ID 1453480 - someone that experienced a similar issue but was resolved bu applying a patch
    Thanks

    Complete restart of the environment solved issue

  • Could not get metamodel for project

    Hallo
    Something strange happened...
    I developed ein Composited Application under SAP Netweaver 7.1 SP 3.
    Today I changed some code and run build.. And I get the error could not get metamodel for project.
    And furthmore illegal reference to a non-used resource found.
    Any Hints to resolve this problem?
    Thanks in advance
    Kind Regards!
    Ping

    Hallo
    Thanks for your reply!
    The stacktrace I dont' have. Because I had the problem before the build. Thus I cannot have any trace on the server... I don't know where I can find the trace in Devstudio.
    I closed all the project and Reopened again. Now I only have the problem as followed: (in the problem tab)
    Severity and Description     Path     Resource     Location     Creation Time     Id
    Could not get metamodel for project LocalDevelopmentLocalDevelopmentzukoprototyp(2fdictionarych.post.it.sap          LocalDevelopmentLocalDevelopmentzukoprototyp(2fdictionarych.post.it.sap     Unknown     1200043648781     35143
    But I can build the projekt and redeploy it.
    Thanks anyway and have a nice day!
    Ping

  • Could not get response for challenge?

    I could succefully use podcast capture to post video to groupblog.
    But when I used command line "pcastaction groupblog", it always said that
    "ERROR: could not get response for challenge"
    But "pcast_post2groupblog" works well for me. I wonder why this happened?
    P.S:
    I've updated my server to the latest version.

    If you look at the workflow, there is probably something in there like this:
    <string>--otp=##Groups Administrator Username:Groups Administrator Password##</string>
    That's a one time pad. I ran into this when troubleshooting our iTunes U workflow from the command line. To get my iTunes U stuff to work from the command line I had to generate a OTP each time, like so:
    $sudo pcastconfig --add_access "token" --properties "iTunes U Shared Secret"
    Except yours will be different because it's for group blog.... if indeed this is your problem. I only guessed this looking at the stock blog workflow, it uses an OTP.
    Hope that was helpful and not way off the mark.

  • CDSSO Invalid Agent: Could not get agent for realm

    Hi,
    This post follows on from a previous post (http://forum.java.sun.com/thread.jspa?threadID=5276012) but describes a subsequent problem.
    I'm getting the following error in my amCDC log. I believe it is related to the post (http://forum.java.sun.com/thread.jspa?threadID=5162908&messageID=9623898)
    03/18/2008 10:17:58:826 AM GMT: Thread[httpSSLWorkerThread-443-0,10,Grizzly]
    CDCServlet.doGetPost: Query String received: goto=http%3A%2F%2Fbonecrusher.test.local%3A80%2F%3FsunwMethod%3DGET&RequestID=20798&MajorVersion=1&MinorVersion=0&ProviderID=http%3A%2F%2Fbonecrusher.test.local%3A80%2Famagent&IssueInstant=2008-03-18T10%3A18%3A09Z
    03/18/2008 10:17:58:826 AM GMT: Thread[httpSSLWorkerThread-443-0,10,Grizzly]
    SSOException caught: com.iplanet.sso.SSOException: Invalid session ID.
    03/18/2008 10:17:59:091 AM GMT: Thread[httpSSLWorkerThread-443-0,10,Grizzly]
    Forwarding for authentication to: /UI/Login?goto=%2Famserver%2Fcdcservlet%3FTARGET%3Dhttp%253A%252F%252Fbonecrusher.test.local%253A80%252F%253FsunwMethod%253DGET%26RequestID%3D20798%26MajorVersion%3D1%26MinorVersion%3D0%26ProviderID%3Dhttp%253A%252F%252Fbonecrusher.test.local%253A80%252Famagent%26IssueInstant%3D2008-03-18T10%253A18%253A09Z
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDCServlet.doGetPost: Query String received: TARGET=http%3A%2F%2Fbonecrusher.test.local%3A80%2F%3FsunwMethod%3DGET&RequestID=20798&MajorVersion=1&MinorVersion=0&ProviderID=http%3A%2F%2Fbonecrusher.test.local%3A80%2Famagent&IssueInstant=2008-03-18T10%3A18%3A09Z
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    WARNING: Advice List is : null
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDCServlet.doGetPost: targetURL = http://bonecrusher.test.local:80/?sunwMethod=GET
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDCServlet.doGetPost: gotoURL = http://bonecrusher.test.local:80/?sunwMethod=GET
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDC Servlet: Directory matches for http://bonecrusher.test.local:80/ is:{AMIdentity object: id=TestCDSSOAgent,ou=agent,dc=test-sun,dc=local={objectclass=[person, inetorgperson, organizationalperson, inetuser, top], sunIdentityServerDeviceKeyValue=[agentRootURL=http://bonecrusher.test.local:80/, agentRootURL=http://bonecrusher.test.local/], sunIdentityServerDeviceStatus=[Active], userpassword=[Q8Ea8sKa1CMyUaxgkqhC0PVeKV8=]}}
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDC Servlet: Restriction string for: http://bonecrusher.test.local:80/ is: id=TestCDSSOAgent,ou=agent,dc=test-sun,dc=local [bonecrusher.test.local, bonecrusher.test.local]
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    ERROR: CDCServlet.doGetPost:Exception occured
    java.lang.Exception: Invalid Agent: Could not get agent for the realm
    at com.iplanet.services.cdc.LdapSPValidator.validateAndGetRestriction(LdapSPValidator.java:200)
    at com.iplanet.services.cdc.CDCServlet.redirectWithAuthNResponse(CDCServlet.java:303)
    at com.iplanet.services.cdc.CDCServlet.doGetPost(CDCServlet.java:262)
    at com.iplanet.services.cdc.CDCServlet.doGet(CDCServlet.java:208)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    Based on the previous post I believe it has something to do with the validity checks performed by the CDC. The post describes 3 checks and I believe my solution is failing one of these, however I am not sure which.
    As far as I understand it my logs above demonstrate that the agentRootURL is correctly set, but I'm not sure what other values are needed.
    Any advice would be greatly received.
    R

    Quick follow up :)
    This problem was caused by the Access Manager instance not being able to resolve the IP address for 'bonecrusher.test.local'
    After I added the entry for this into the hosts file everything worked.
    R

  • My ipad2 is asking old id password, when i go to forget password link for that id then I am not getting any mail to reset the same. Please help how can i remove or change the old id.

    my ipad2 is asking old id password, when i go to forget password link for that id then I am not getting any mail to reset the same. Please help how can i remove or change the old id.

    You cannot remove or change the old ID. This is Find My iPhone Activation Lock. You need to recover the credentials for the Apple ID originally used to activate the iPad.
    Check your spam and junk folders.

  • We are not getting email for any of the two new profiles in Production environment

    We are not getting email for any of the two new profiles.
    The new rules for sending e-mail work when using the initial profile.
    Only works for F9 and choose manually the profile is being sent.
    But siebel writes the log of both the \ BIN \ sent as if it had sent.
    operation:
    Standards (Policies) were created in the Activities (S_EVT_ACT) and Contacts table (S_CONTACT). When Standards (Policies) are reached trigger actions (Actions). These actions are linked to sending emails.

    The SMTP Adapter don't just "through away" messages. If your Tracked Service Instances shows that a message was sent through the Port, I am pretty sure that a mail was indeed sent. 
    -Are you using Static- or Dynamic Port?
    Can you try to set the Send Port in "Stopped" state, and then send a message to it. Examine the message suspended in BizTalk, and if everything looks ok, then start the Port again and check that the message has disappeared from both suspended and running
    instances in the Group Hub.
    If so, quickly check the mail box, make sure that no spam-filters etc. are messing up your test.
    Morten la Cour

  • Query all applications that are connected to database in the current time

    Dears,
    I need to query all applications that are connected to database in the current time. I tried using v$session but i could not reach through it to the application that are logged now to database.
    As example, i connect to DB through Web Application and tried to search in v$session to can see Web Application session but i did not see it :(
    From searching in google, found that there is a package named "DBMS_APPLICATION_INFO". I expected that it can help me in my request but i could not use it.
    Please, advise me. Is this package help cover my requirements or there is another method ?
    Thanks & Best regards,

    sybrand_b,
    I think that i appreciated you once you replied me and what i wanted exactly from you "Provide me Link help me more for investigation" and you did not provide something.
    Where is the documentation that i could not read it !!!!!!
    FYI, you are not the only one that have information_
    Anyway ,as usual i will reply you in polite way.
    Thanks and i will not have more input here with you !!!
    Dear All,
    Sorry for wasting your time to read this but i had to reply.
    Please, if any one have more information regarding my issue, it will be highly appreciated.
    Really , thanks all for support.
    Thanks & Regards,

Maybe you are looking for