javax.resource.ResourceException: : Invalid arguments passed exception during login attempt
 Technote (troubleshooting)
 
Problem(Abstract)
When attempting to access the resource adapter, the login fails with the following exception:

javax.resource.ResourceException: : Invalid arguments passed
 
Cause
The lookup is returning res-auth=application instead of res-auth=container.

In the Web.xml, the authentication mechanism is specified as CONTAINER; it should be specified as Container. The code that changes the auth type is case sensitive and CONTAINER ends up using the default value, which is application.

If the container-managed authentication alias is required, res-auth=Container. If res-auth=application, the component-managed alias is used.

 
Resolving the problem
Correct the case of the res-auth parameter specified in the Web.xml.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > DB Connections/Connection Pooling
Operating system(s): Windows
Software version: 5.1.1
Software edition:
Reference #: 1174605
IBM Group: Software Group
Modified date: Jul 19, 2004