Skip to Content
avatar image
Former Member

Problem with client Java Proxy.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 19, 2006 at 10:21 AM

    Hi Amol,

    Is your Proxy EJB working from a J2SE call?

    Do you handle the exceptions from the Proxy call?

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2006 at 10:29 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Apr 24, 2006 at 11:51 AM

    Log for System.out

    has the answer.

    Add comment
    10|10000 characters needed characters exceeded