on 04-19-2006 10:24 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi Amol,
Is your Proxy EJB working from a J2SE call?
Do you handle the exceptions from the Proxy call?
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.