Skip to Content

Asynchronous Java Proxy (Outbound)

Hi Friends,

I am working on Asynchrounous Java Proxies. I have developed an application.In which iam trying to send the Vendor details(Vendor Name,Vendor Number and City) from JAVA to JDBC through XI.

I am getting an null pointer exception when I execute the JSP application.

This is the part of Source Code of Java Class in my project :

InitialContext ctx = new InitialContext();

Object ob = ctx.lookup("java:comp/env/ejbVendorOut_PortTypeBean");

VendorOut_PortTypeHome home =

(VendorOut_PortTypeHome) PortableRemoteObject.narrow(ob,VendorOut_PortTypeHome.class);

//Initialize the enterprise bean

vendrem = home.create();

} catch (Exception e) {

throw new Exception(

"Error instantiating Vendor01 EJB" + e.toString()+e.getStackTrace().toString());



Can any one help me out ,Where is the Error?

I have checked out with Java Proxy Problem post in SDN but still problem remains same.

Thanks in Advance,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 07, 2005 at 11:57 AM

    Look here:

    /message/604269#604269 [original link is broken]



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.