Problem initializing ConnectionPool with Login Failed

Hi, we are using weblogic 8.1 on solaris with sybase 12.5, Our application initialize
several connection pools to several sybase databases. We are having problem only
with one of connection pool, we always get "JZ00L: Login failed. Examine the
SQLWarnings chained to this exception for the reason(s)." We are pretty sure the
user id and password is correct, they are all the same as other databases which
we don't have problem. The setting is pretty much the same other than hostName,
port and database name. we even set initialCapacity to 1, it still failed? What
could be the reeason? and how can make weblogic spit out the Syabse specific SQLWarning
which could give us some clue?
Any help is appreciated!
Thanks,
Kevin

It turns out there are something in the "Properties" attrib that this Sybase server
didn't like. After we took out most of the them, (only leave the user, sqlinitstr,
applicationname) , then it starts to work.
Thanks,
Joe Weinstein <[email protected]> wrote:
>
>
Kevin wrote:
We can login using the same user id and password through syabse's SQLwindow. That
Error not neccessarily means userid and password problem. We had experiencewhen
there weren't enough connections for initial connection allocationwe got the
same error. That's why it would be helpful to see the real SQLWarningmsg. Is
there anyway to make Weblogic to print out that?Interesting... What does a tiny standalone program using sybase's driver
alone
show with those connection properties? Unfortunately, that error message
from the
Sybase driver is a bit silly if it says to check the SQLWarning, because
the
only access to SQLWarnings in JDBC is via the Connection.getWarnings()
call,
which we wouldn't need to call if the driver returned us a connection
to make
the call ;)...
Joe
Kevin
Joe Weinstein <[email protected]> wrote:
Kevin wrote:
Hi, we are using weblogic 8.1 on solaris with sybase 12.5, Our applicationinitialize
several connection pools to several sybase databases. We are havingproblem only
with one of connection pool, we always get "JZ00L: Login failed.
Examine
the
SQLWarnings chained to this exception for the reason(s)." We are prettysure the
user id and password is correct, they are all the same as other databaseswhich
we don't have problem. The setting is pretty much the same other thanhostName,
port and database name. we even set initialCapacity to 1, it stillfailed? What
could be the reeason? and how can make weblogic spit out the Syabsespecific SQLWarning
which could give us some clue?
Any help is appreciated!That is coming straight from the DBMS, meaning the user/password is
most likelly incorrect.
Joe
Thanks,
Kevin

Similar Messages

  • Initial backup with TM fails partway

    Hi, and thanks for the help. I have actually searched and read, and am still puzzling on this.
    I have a WD MyBook 500GB drive connected via USB to my new iMac. This drive has been functioning on my PC, but I have reconfig'ed it to a single partion (GPT) and formatted it with Mac OS Ext (Journaled). I even zeroed it and erased it. However, no matter what, my TM backup fails at about the same point.
    I looked in Console at the "backupd" messages, found an Error 36 when I finally killed the hung process pointing to a particular iTunes TV show. I excluded that directory from TM, and restarted the backup. TM ran for another 30-40MB and hung again (on a different TV show.)
    I've used First Aide in Disk Utility to both verify and repair the disk, and found no problems. It sounds like the drive to me, and since it is generally the same amount of time and volume (2 hours, 125GB all 3 attempts) perhaps a physical issue? It did work on the PC.
    What do I use on the Mac to proceed from here? Thanks again.

    I've gone back to the console to be a bit more rigorous in my dissection of this problem. It seemed to me that limiting the messages merely to "backupd" might be obscuring the problem, so I removed that filter, and just walked through the relevant times. It brought out a lot of other interesting data.
    The gist is that after the 909 message (error?) the backup progresses for 2-1/2 hours and then begins to get bus times out. After that I begin getting disk I/O errors, and other errors related to writing out of the journal. Eventually, about 7PM I killed the disk and the process, which took quite a while, and finally generated the Error 36 which I no longer think was a precipitating event.
    Does this make a solution any clearer to folks with experience? Thanks!
    Console data:
    8/11/09 3:49:32 PM /System/Library/CoreServices/backupd[1131] Backup requested by user
    8/11/09 3:49:32 PM /System/Library/CoreServices/backupd[1131] Starting standard backup
    8/11/09 3:49:32 PM /System/Library/CoreServices/backupd[1131] Backing up to: /Volumes/Backup Book/Backups.backupdb
    8/11/09 3:49:32 PM /System/Library/CoreServices/backupd[1131] Ownership is disabled on the backup destination volume. Enabling.
    8/11/09 3:49:33 PM /System/Library/CoreServices/backupd[1131] Event store UUIDs don't match for volume: Struedel HD
    8/11/09 3:49:33 PM /System/Library/CoreServices/backupd[1131] Backup content size: 270.6 GB excluded items size: 66.1 MB for volume Struedel HD
    8/11/09 3:49:33 PM /System/Library/CoreServices/backupd[1131] No pre-backup thinning needed: 324.68 GB requested (including padding), 465.29 GB available
    8/11/09 3:49:33 PM /System/Library/CoreServices/backupd[1131] Waiting for index to be ready (909 > 0)
    +*Some gap in relevant messages...*+
    8/11/09 6:22:56 PM kernel USBF: 33380.352 AppleUSBEHCI[0x7834000]::Found a transaction past the completion deadline on bus 0x24, timing out! (Addr: 2, EP: 1)
    *+From here on, kernel writes out this message every 30 seconds... I think we've found the hang-point+*
    *+From here on there are i/o errors on the external drive about every 3 minutes, still mixed with the bus times out:+*
    8/11/09 6:34:48 PM kernel disk1s2: I/O error.
    8/11/09 6:37:54 PM kernel disk1s2: I/O error.
    *+At 6:42 another i/o error along with 2 new errors:+*
    8/11/09 6:42:02 PM kernel disk1s2: I/O error.
    8/11/09 6:42:02 PM kernel jnl: disk1s2: dojnlio: strategy err 0x5
    8/11/09 6:42:02 PM kernel jnl: disk1s2: writejournalheader: error writing the journal header!
    8/11/09 6:49:16 PM kernel disk1s2: I/O error.
    *+...with many more bus i/o times out in between and continuing, until I killed the process and the disk. Only after that did I get the error 36 failure.+*
    8/11/09 6:59:36 PM kernel disk1s2: I/O error.
    8/11/09 6:59:36 PM kernel jnl: disk1s2: dojnlio: strategy err 0x5
    8/11/09 6:59:36 PM kernel jnl: disk1s2: end_transaction: only wrote 0 of 33280 bytes to the journal!
    8/11/09 7:10:39 PM kernel disk1s2: device/channel is not attached.
    8/11/09 7:10:39 PM kernel disk1s2: device/channel is not attached.
    8/11/09 7:10:39 PM kernel disk1s2: media is not present.
    8/11/09 7:10:39 PM kernel disk1s2: media is not present.
    8/11/09 7:10:39 PM /System/Library/CoreServices/backupd[1131] Error: (-36) SrcErr:NO Copying /Users/edge/Music/iTunes/iTunes Music/TV Shows/Dexter/09 Father Knows Best.m4v to /Volumes/Backup Book/Backups.backupdb/Struedel/2009-08-11-154932.inProgress/09DA10D4-6BC8-474B- ACA6-33A0AB3C4BDC/Struedel HD/Users/edge/Music/iTunes/iTunes Music/TV Shows/Dexter

  • Problem initiating process with multiple operations using HTTP/SOAP

    Hi,
    I have defined a process which has multiple operations. My process starts with a pick activity containing onMessage branches for each possible operation. When I initiate this service using the BPEL console, I choose one of the operations and everything works fine.
    However, when I initiate this process using an HTTP/SOAP web service call using JMeter, always the first branch is executed regardless of the message I send.
    My operations are document/literal. Due to some restrictions, I cannot define a SOAPAction for the operations. Could this be the problem? Is there a workaround for this? If this is not the problem, what could be the cause?
    I'm using version 10.1.2.1.
    Any help will be appreciated. Thanks in advance..

    hi i am using 10.1.3 and still i can not initiate a process with multiple operations. Is there anybody to tell if pick activity works fine and if there are some points to consider?
    If there is a problem is there any solution to make a process with multiple operations?

  • Initiating BPEL with BPELConsole fails

    I want to start an async workflow with the BPELConsole. After initiating the process, the gui shows a unique identifier for the async workflow but there is no instance in the instance list.
    I cannot use the html form, because the input is more than the allowed maximum of 70 lines. But the xml form works (sometimes).
    Is this a known bug?
    Is this behaviour due to the use of multiple transformations?

    May this thread will help you:
    Instance not found in BPEL Console until Process finished
    Has to do that the process is async.

  • Problems initializing Ipad2 with Windows 7  Home Premium 32 bit system

    I just bought an Ipad2 and to initialize that, I tried intsallign Itunes 10.4 on my PC which has Windows 7 Home Premium system. It has become a nightmare, I am able to install Itunes successfully however when I sync the Ipad device the Itunes is unable to recognize.
    What should I do?
    Any help provided is appreciated

    Windows 7 OEM is a full version of the OS but is sold primarily for "system builders," and that includes anyone who rebuilds his or her own system. You can install it and use it just like the regular version and you *do not* need the OEM pre-installation kit to do it. Just insert the DVD and let it do its thing. The installation should take about 20 minutes and is automated, just follow instructions on the screen. However, be advised that the OEM version does not include support from Microsoft. This is the main difference between the OEM version and the regular version. I recently rebuilt my older Dell PC, put in new hard drive and installed Win 7 OEM with no trouble at all. Win 7 does make a record of the specifications of your motherboard and cannot be installed on another computer.

  • JDBC sender -Login Failed

    Hi
    I am trying to connect to SQl server 2005 database ..Getting with login failed for user...
    JDBC connection paramteres in lieu with the SQL version
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:sqlserver://<ip>:1433;DatabaseName=XXXX
    1.I can see my driver 'sqljdbc.jar' in the com.sap.aii.af.jmsproviderlib in /ext folder .
    2.I can access the database contents using studio express with the same credentials ..
    3. Telnet is successful eliminating firewall/network issues .
    4.SQl and windows authentication set in database
    5.Document name and namespace given in sender JDBC
    6 tried to establish connection picking up top 1* record from the view
    Any more options to check for resolving this error ..
    Please advise
    Anusha

    Hi Anusha
    It looks like the drivers have not been installed. Ask your basis team to check and deploy the correct driver.
    Also, according to this wiki, it seems that the connection string is not correct.
    http://wiki.sdn.sap.com/wiki/display/VC/JDBCConnectionSetup
    It should be jdbc:sqlserver://<host_name>:<port>;database=<db_name> (database instead of DatabaseName)
    Regards,
    Giuseppe

  • Error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication" on SQL Server 2008 R2 Enterprise Edition 64-bit SP2 clustered instance

    Hi there,
    I have a Windows 2008 R2 Enterprise x64 SP2 cluster which has 2 SQL Server 2008 R2 Enterprise Edition x64 SP2
    instances.
    A domain account "Domain\Login" is administrator on both physcial nodes and "sysadmin" on both SQL Server instances.
    Currently both instances are running on same node.
    While logging on to SQL Server instance 2 thru "Domain\Login" using "IP2,port2", I get error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication". This happened in the past
    as well but issue resolved post insatllation of SQL Server 2008R2 SP2. This has re-occurred now. But it connects using 'SQLVirtual2\Instance2' without issue.
    Same login with same rights is able to access Instance 1 on both 'SQLVirtual1\Instance1' and "IP1,port1" without any issue.
    Please help resolve the issue.
    Thanks,
    AY

    Hello,
    I Confirm that I encountred the same problem when the first domain controller was dow !!
    During a restarting of the first domain controller, i tried to failover my SQL Server instance to a second node, after that I will be able to authenticate SQL Server Login but Windows Login returns Error 18452 !
    When the firts DC restart finishied restarting every thing was Ok !
    The Question here : Why the cluster instance does'nt used the second DC ???
    Best Regards     
    J.K

  • Sync Problem: .Mac / MobileMe "login failed"; account has been unregistered

    Today, my Mac experienced a Sync problem. Under my .Mac System Preference, 'Advanced,' there is no computer registered. When I try to Sync my computer, I receive the error message: "There was a problem with the Sync operation: .Mac login failed."
    Please advise...

    You might get better answers from the mobileme crowd in these forums:
    http://discussions.apple.com/category.jspa?categoryID=116

  • SSPI handshake failed with error code 0x8009030c and Login failed for user''

    I got the following error when tried to connect to local machine in the
    non-domain environment with Windows Authentication by SSMS.
    "SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security."
    "Login failed for user''. the user is nothing associated with a trusted SQL server connection."
    questions
    1,if I saw the "SSPI handshake failed ", does it means it must used Kerberos but failed? or it is also possible used the NTLM but failed?
    2,Any ideas for this issue?
    Please click the Mark as Answer button if a post solves your problem!

    Hi Michael,
    Firstly, "SSPI Handshake Failed" error happens usually when connection failed between the server and domain controllers or failed Kerberos authentication. For more details about "SSPI Handshake Failed" error, please review this
    FAQ.
    Secondly, regarding to your error message, it could be caused by loopback check. To resolve the issue, please set the DisableLoopbackCheck registry entry to 1 by performing the following steps.
    1.Click Start, click Run, type regedit, and then click OK.
    2.Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    3.Right-click Lsa, point to New, and then click DWORD Value.
    4.Type DisableLoopbackCheck, and then press ENTER.
    5.Right-click DisableLoopbackCheck, and then click Modify.
    6.In the Value data box, type 1, and then click OK.
    7.Exit Registry Editor.
    8.Restart the computer.
    There is a similar blog about your scenario for your reference.
    http://www.bhcblog.com/2009/10/08/fix-for-login-failed-for-user-the-user-is-not-associated-with-a-trusted-sql-server-connection/
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Non-SysAdmins get error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.

    I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin.  Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database.  The user attempts
    to connect using Excel client or Access or SQL Management Studio and receives Error 18456.  The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data.  But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    We've turned off UAC on the client machine to see if that was the problem, but no change.
    I have dropped and re-added the user's SQL Login (and the related database user login info).  No success.
    The Ring Buffers output shows:
    The Calling API Name: LookupAccountSidInternal
    API Name: LookupAccountSid
    Error Code: 0x534
    Thanks for any help.
    -Walt

    Yes, you understand correctly.  The user is logging onto a workstation (not the server) with a Windows Authenticated id.  The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
     If the account has sysadmin role (which is only for testing) then the connection is successful.  If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    (SQL Authentication is not an option here.  I must use Windows Authentication).
    Any other troubleshooting assistance you can offer would be appreciated.  Thanks.
    -Walt 

  • SessionBroker login fails with Oracle XA

    Hi all,
    I am trying to use oracle XA with sessionbroker.
    I register the session with the session broker and when i try to login it gives
    "No suitable driver" error.
    Without using session broker, when I get the session, it is working fine.
    sb = new SessionBroker();
    Project p1 = new CfToplinkMapping();
    DatabaseSession orc = p1.createDatabaseSession();
    sb.registerSession(SESSION_NAME, orc);
    sb.login(); ->>>>>>fails with no suitable driver error...
    My project.java contains the following code: -
    login.usePlatform(new oracle.toplink.internal.databaseaccess.OraclePlatform());
    login.setDriverClassName("oracle.jdbc.xa.client.OracleXADataSource");
    login.setConnectionString("jdbc:oracle:thin:@sch1h217:1521:fmstd");
    login.setUserName("fms");
    login.setEncryptedPassword("8B66EF2A66D659E33500D82AB9562809");
    Please let me know where I went wrong. Is there any extra configurations required for XA drivers?

    Hi. The issue is that an XA-aware connection can be used at a much finer granularity
    than a non-XA connection. XA allows a connection to associate itself for one tx,
    make one call, disassociate itself from the tx, and then do a call for another tx.
    Therfore the XA connections in the pool may be involved in 1 or more tx's. If your
    app is trying to do local tx's as well with these connections, some drivers/DBMSes
    get confused.
    You can either create a separate pool for non-XA use, or set the keep-connection-till
    tx-complete setting for the XA pool. This latter setting will make sure that connections
    that are idle in the pool are not associated with any ongoing XA tx.
    Joe
    Ramamoorthy wrote:
    Guys,
    I have a problem with JDBC calls with XA Connection Pool (DRIVER:::oracle.jdbc.xa.client.OracleXADataSource).
    We are using the same connection pool for EJBs & JDBC calls. When we use JDBC
    calls in between EJB calls, we are getting problems.
    1) java.sql.SQLException: ORA-02044: transaction manager login denied: transaction
    in progress
    ORA-06512: at "SYS.JAVA_XA", line 0
    ORA-06512: at line 1
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    2) SQL Exception:java.sql.SQLException: XA error: XAER_RMERR : A resource manager
    error has occred in the transaction branch start() failed on resource 'XADBPool':
    XAER_RMERR : A resource manager error has occured in the transaction branch oracle.jdbc.xa.OracleXAException...
    When I changed the DataSource of JDBC calls from XA Connection Pool to Non-XA
    connection poll thess errors disappears. I really don't understand the relation
    between XA Connection Pool & JDBC calls. Even here my officemates are telling
    we should use non-XA connection pool for JDBC. But nobody knows the exact issues..
    Please help..
    Thanks
    Ramamoorthy.

  • SQL server(PC1) --- PC2: Login failed. The login is from untrusted domain and cannot be used with windows authentification

    Hey,
    I'want to make connection from my laptop(xxx.xxx.xxx.xxx = A) to a fixed computer(SQL server xxx.xxx.xxx.xxx =B). My connection string = "Provider=SQLNCLI11; Data source:name-pc/SQLEXPRESS; Integrated circuit=SSPI;Intial Catalog=Database name for visual
    studio C#.
    Laptop -> PC1 : Eror
    It works when i use localhost or 127.0.0.1 and i can read my database without any problems if i install SQL server on my laptop. Know i install it to PC1 and uninstall on my laptop. When i change the name-pc by an ip-adress i get this error: Login failed.
    The login is from untrusted domain and cannot be used with windows authentification. I did some research on multiple forums where they say about Local security policy(secpol.exe) but i don't have this file. 
    PC2-> PC3: work fine but i want to work with my laptop and i don't understand why it isn't working with my Laptop. 
    Can someone help me?
    Thx a lot and sry about my english(its a disaster) 
    Thibaut

    Hello,
    Yes, for the Windows Authentication to work you should be using the same Windows account and password.
    Are you willing to create SQL logins inside SQL Server and allow your users to connect to SQL Server using SQL Authentication
    instead of Windows Authentication? That could be a solution on a workgroup network.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • .Mac login failed | Computers no longer registered with my .Mac account

    Ever since the new year 2007, I can't sync my two computers with my .Mac account. The account, ID, and password still function. However, the computers no longer show up as registered. I have 302 days left on my .Mac account.
    I always get a ".Mac login failed" error message. Does this have something to do with the date change.
    Any help? I need this function urgently.

    I too am having this very same problem. Have you found out how to fix this yet? I cannot sync with my Powerbook laptop or my .Mac account either. It also shows no registered computers when I know I've registered 3 of them. We pay alot of money to have the .Mac account and right now it is USELESS. VERY FRUSTRATED right now!
    iMac (brand new, not even 1 month old)   Mac OS X (10.4.8)  

  • MAPI login failed: Cannot sync DM with Torch anymore

    I have updated DM software to OS 6.0 Bundle 2949
    When i try to synch, i get the following error
    MAPI login failed: please run outlook with profile "outlook" selected and try again
    I have the correct outlook profile selected. I could synch my Torch with earlier versions on BB DM software
    I have downloaded a new version of DM from the BB website.
    Nothing seems to correct this problem
    Any advice?
    Solved!
    Go to Solution.

    I got it to fucntion by doing the following (Win7 OS):
    1.  Go to control panel and uninstall the BB 7.0 desktop software.  Suggest you save/backup whats on your BB just for grins.
    2.  Download a copy.  I found one at website http://www.4shared.com/get/9kFYRX-p/blackberry_desktop_software_61.html
    3.  I downloaded 6.1.0.35 which works fine with my Bold 9650.
    4.  Once downloaded, I installed the older version, adjusted the settings and it worked fine again.
    Good luck.

  • I have an alert message in disc utility. Error: storage system verify or repair failed. Problems were found with the partitian map which might prevent booting.

    While running verify disc in disc utility on 251 GB SSD SM256c Media I came up with this message: Alert system verify or repair failed. In the descriptions box of history it said, problems were found with the partitions map which might prevent booting. This is followed by a message in red reading, Error: Storage system verify or repair failed. At the time I was down loading raw pictures off my camera through a card reader across my computer to a relatively new 2TB Western Digital portable hard drive. after about 13 to 15 pictures downloaded that drive faileded. My Mac Book Air works fine, but i get this message now everytime I run disc verify on this disc. The Macintosh HD checks out fine.

    While running verify disc in disc utility on 251 GB SSD SM256c Media I came up with this message: Alert system verify or repair failed. In the descriptions box of history it said, problems were found with the partitions map which might prevent booting. This is followed by a message in red reading, Error: Storage system verify or repair failed. At the time I was down loading raw pictures off my camera through a card reader across my computer to a relatively new 2TB Western Digital portable hard drive. after about 13 to 15 pictures downloaded that drive faileded. My Mac Book Air works fine, but i get this message now everytime I run disc verify on this disc. The Macintosh HD checks out fine.

Maybe you are looking for

  • Custom report region (Conditionaly Split over two rows)

    I have a request, to take an existing report that displays data like this: Pool Performing vs Non-Performing Current Balance Low Value High Value Value Cumulative Cumulative WA Low WA High Loss Low Loss High AA Performing $XXX,XXX,XXX $XXX,XXX,XXX $X

  • How to get/display  time with minutes in a test item

    Dear experts, Forms [32 Bit] Version 10.1.2.0.2 (Production) Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production Oracle Toolkit Version 10.1.2.0.2 (Production) PL/SQL Version 10.1.0.4.2 (Production)I've the following requirements. In

  • Time Line Navigation

    I will just try my best to explain my document , I have a movie with 4 different content pages on the same layer i have buttons to take you to each page when clicked. once clicked the content holder has a scale tween that scales to 0 then to full siz

  • Samsung Monitor Problem

    I have a samsung external monitor connected via Mini DVI to HDMI, and it just doesn't look right, the Resolution is at its max, and the refresh rate is at 60HTZ, Mainly text looks way to sharp and blurry. Any help?

  • Mod function in java

    Hello everybody, I need help on mod fuction in java, but I don't know how can I use it, if you know how use it, please give a little example...thanks..