• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Marshal Exception occured

 
Gopal
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me in get rid of this problem
The servlet that i had is
try
{ // Insert user code from here.
Properties p= new Properties();
p.put("Context.INITIAL_CONTEXT_FACTORY","com.ibm.ejs.ns.jndi.CNInitialContextFactory");
p.put("java.naming.provider.url","IIOP://localhost:900/");
PrintWriter out;
InitialContext ic= new InitialContext(p);
Object obj= ic.lookup("com/ibm/ivj/wte/samples/leapyear/getin");
getinHome gih= (getinHome) PortableRemoteObject.narrow(obj,getinHome.class);
try
{
out = response.getWriter();
out.println("<h1> Creating Bean</h1>");
getin gi= gih.create();
out.println("<br><h1>Calling method</h1>");
gi.testMethod();
out.println("<br><h1>Method called</h1>");
}
catch(Exception e)
{
System.out.println(+e.toString());
}


}
catch(Throwable theException)
{
// uncomment the following line when unexpected exceptions
// are occuring to aid in debugging the problem.
//theException.printStackTrace();
}
I did not age any error while creating the object. but whan i run the servlet it throws the following exception
java.rmi.MarshalException: CORBA COMM_FAILURE 3 No; nested exception is:
org.omg.CORBA.COMM_FAILURE: minor code: 3 completed: No
reply this as quick as possible.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I asked nicely before for you to change your display name. Change it or your account will be locked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic