These two threads seem to point at the exact issue that we are seeing:

http://forums.oracle.com/forums/thread.jspa?messageID=2156176

and 

http://forums.oracle.com/forums/thread.jspa?messageID=2209776

Ashanka,

The Synapse code uses the setMessageListener method to create a listener
for the Queue, right?

-Gregg

-----Original Message-----
From: Mustafa Cayci [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 12, 2008 11:15 AM
To: [email protected]
Subject: Re: Switching transports - JMS to http using AQ

Hi Asankha,

There are two types of credentials. As you know, Gregg developed a
standalone JCA adapter.  He generated a "rar" file and deployed to
Oracle
Application Server using the application server account.  Now, he also
created actual AQ queue objects in Oracle database by using a different
set
of user information.  Please note that the Oracle database user is not
the
same user as the Oracle Application server user.  Perhaps Gregg created
them
to be the same but it should not have to be.

Mustafa

On Feb 12, 2008 11:06 AM, Asankha C. Perera <[EMAIL PROTECTED]> wrote:

> Mustafa
> > No those parameters are for the application server credentials.  I
am
> > interested in how I can define credentials for the database schema
> username
> > and password.
> >
> I do not understand what you mean by "the database schema username and
> password"...
> >> Add these two parameters in the axis2.xml file under your
connection
> >> factory:
> >>
> >> <parameter name="java.naming.security.principal"
> >> locked="false">MyChannelDemoUser</parameter>
> >>                <parameter name="java.naming.security.credentials"
> >> locked="false">MyChannelDemoPassword</parameter>
> >>
> I think the above should solve your connection problem
>
> asankha
>


This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

Reply via email to