cancel
Showing results for 
Search instead for 
Did you mean: 

Java Proxy Server: cannot locate proxy bean...

Former Member
0 Kudos

Hi !

I deployed a java proxy server EAR file. I used the NWDS and changed the JNDI to "MyJPRTest". The admin user deployed it in the J2EE server located in the same XI server.

I call the Java Proxy inside a BPM (File Adapter->Sync JPR -> File Adapter) and when I try to execute it, I receive 3 rows in the message monitor: 1 checkered flag (ok!) and 2 red circles. The red circle rows say that "cannot locate proxy bean sap.com/MyJPRTest...."

I registered it using this alternatives as the "bean" parameter:

"localejbs/sap.com/MyJPRTest/MIRENTAS_PortTypeBean"

"localejbs/MyJPRTest/MIRENTAS_PortTypeBean"

and receive same error each time.

What should I check ?

Thanks !

Matias

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ! I finally detected the problem. For a Java Proxy Server (Inbound), co-located I had to enter the bean parameter as bean=localejbs/JNDIname, where JNDIname is the exact string entered in the JNDI tag in the ejb-j2ee-engine.xml file. Thanks everyone.

Former Member
0 Kudos

Hi Matias,

Try this for Bean Parameter while registering

"sap.com/MyJPRTest/MIRENTAS_PortTypeBean"

Usually it should be /sap.com/EAR-name/bean-name

"localejbs/" will be used for co-located beans.

This link will help u to know about co-located beans http://help.sap.com/saphelp_nw04/helpdata/en/87/5305adc23540b8ac7bce08dbe96bd5/content.htm

Regards,

Uma

Message was edited by:

Uma Maheswari

Former Member
0 Kudos

Hi,

Did you register the server proxy in Java Proxy Runtime? Go thro the help link for registering your bean.

http://help.sap.com/saphelp_nw04/helpdata/en/a4/d5b3b0b16843b3867c0245d9847ae5/content.htm

And also check in Visual Admin whether u are able to find your bean.

Regards,

P.Venkat