Bugs item #901514, was opened at 2004-02-20 16:52
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=901514&group_id=22866

>Category: JBossCX
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Marcus Eriksson (marcuseriksson)
>Assigned to: Scott M Stark (starksm)
Summary: Wrong credentials passed to getConnection

Initial Comment:
Hi!

I frequently get the following error (using getConnection
(userName, password)):

"Wrong credentials passed to getConnection!; - nested 
throwable: (org.jboss.resource.JBossResourceException: 
Wrong credentials passed to getConnection!)"

The next attempt usually works as expected.
This occurs more frequently after an application 
redeploy.

JBoss 3.2.3, Oracle XA (9.2.0.4).

Data source configuration:

  <xa-datasource>
    <jndi-name>jdbc/testds</jndi-name>
    <track-connection-by-tx>true</track-connection-by-
tx>
    <isSameRM-override-value>false</isSameRM-override-
value>
    <xa-datasource-
class>oracle.jdbc.xa.client.OracleXADataSource</xa-
datasource-class>
    <xa-datasource-property 
name="URL">jdbc:oracle:thin:@server1:1521:a</xa-
datasource-property>
    <min-pool-size>1</min-pool-size>
    <max-pool-size>10</max-pool-size>
    <idle-timeout-minutes>10</idle-timeout-minutes>
    <application-managed-security>true</application-
managed-security>
    <!-- Uses the pingDatabase method to check a 
connection is still valid before handing it out from the 
pool -->
    <valid-connection-checker-class-
name>org.jboss.resource.adapter.jdbc.vendor.OracleValid
ConnectionChecker</valid-connection-checker-class-
name>
    <!-- Checks the Oracle error codes and messages for 
fatal errors -->
    <exception-sorter-class-
name>org.jboss.resource.adapter.jdbc.vendor.OracleExce
ptionSorter</exception-sorter-class-name>
  </xa-datasource>


Any ideas?



----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2004-02-20 17:42

Message:
Logged In: YES 
user_id=175228

Add the exception stack trace as an attachment. This occurs
when the properties coming in on the connection request do
not match those on the previously used connection.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=901514&group_id=22866


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to