on 09-26-2006 11:44 PM
Hello Everyone,
I have successfully deployed a JRA connection factory on my J2EE 6.40 Engine and I can see the instance on Visual Admin. My problem lies in attempting to open a connection to a JRA instance in Java.
I'm using this method found on the SDN:
private void openConnection() {
try {
InitialContext initialcontext = new InitialContext();
connectionFactory = (ConnectionFactory) initialcontext.lookup( CONN_FACTORY_NAME);
connection = connectionFactory.getConnection();
interaction = connection.createInteraction();
} catch(NamingException exc) {
throw new EJBException(getExceptionText( exc));
} catch(ResourceException exc) {
throw new EJBException(getExceptionText( exc));
}
}
and it successfully finds the JRA service, however when opening the connection on this line <b>connection = connectionFactory.getConnection();</b>
I get this error:
<i>
javax.ejb.EJBException: Connection to ABAP System could not be opened, because lookup for Connection Factory failed with error "Couldn't create ManagedConnection with . {jco.client.passwd=****, jco.client.lang=EN, jco.client.sysnr=12, jco.client.client=100, jco.client.ashost=10.100.21.24, jco.client.user=MYUSER, jco.client.type=A, jco.client.jra_conn=true}"
</i>
If anyone can provide help, I would be most appreciative!
Hi Allan,
I have exactly the same problem.
Can you please share how did you solve the problem?
Thanks in advance.
Regards,
Vijay Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.