This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Scenario: I've two machinces m-1 and m-2. In m-1 Oracle 10g Infrastructure installed. In m-2 my application installed and it points to the OID in m-1 From standalone java client when i'm trying to connect the application on m-2 i'm getting authenticiation exception. But i'm able to login to the application on m-2 with the same userid/password.
"rajaramesh_m", We are please to have you with us here in the Oracle forum. Note that we require proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
The way you signed your name "Raja Ramesh Kumar" would be fine.
Raja, Oracle Application Server uses two types of security:
The default is JAZN -- in which case using principals (like you are in the code you posted) is incorrect. I only use OC4J stand-alone (as opposed to Oracle Application Server), so I only know how to configure use of principals (as opposed to JAZN) for OC4J stand-alone.
If your Oracle Application Server is configured to use principals, then the error message you are getting seems clear: you are either supplying an incorrect username and/or password.
Would it help if I told you to RTFM? Or have you already done that? For your information, it is available from: