cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with client Java Proxy.

Former Member
0 Kudos

Scenario : Java Proxy <> XI <> RFC.

A web page which is a part of the Java Proxy Enterprise project gives a call to the servlet & in turn EJB code generated from the message interface. When I tried to test the scenario, nothing happens i.e. posting the data returns a blank page.

No entries in SXMB_MONI. I have put some system.out statements in the servlet code which actually accesses the EJB code. Which log file would contain these statements redirected to standard output?

Regards,

Amol

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

has the answer.

Former Member
0 Kudos

Hi,

Instead of System.out.println, you can try writing into a file using FileOutputStream API.

Or

first to check whether your proxy is running fine, you can code a standalone java program instead of jsp.

In your InvokeProxy class (which sends request message to XI), add a main method and call the InvokeProxy method within the main method.

Example:

public class InvokeProxy{

public string getDetails(String ID){

// bean lookup

// send request message to XI

...

}

public static void main(String [] args){

string id = "123";

InvokeProxy proxy = new InvokeProxy();

proxy.getDetails(id);

}

}

Hope this helps.

Regards,

Uma

Former Member
0 Kudos

Stefan / Uma,

Sorry for reverting back very late on this. Was busy with

other things.

I am behind a firewall and from my development machine I can not connect to WebAS on the JNDI port. The only way is to invoke the JSP [as J2EE port is accessible] which would in turn call the EJB.In this case if I come to know which log files System.out /error output goes to , I can ask the basis guys to send me those files and examine whats going wrong. Any pointers?

Regards,

Amol

stefan_grube
Active Contributor
0 Kudos

Hi Amol,

Is your Proxy EJB working from a J2SE call?

Do you handle the exceptions from the Proxy call?

Regards

Stefan