StackOverFlowError initializing InitialContext on Sun Machine
Hi,
First of all, sorry for my english. I'm trying to send a message from my localhost (Windows XP) to a Weblogic Server (Sun Machine) using a simple client. When I tried to send a message, the Java app throws me a StackOverFlowError on line 189. The lines before are:
////////////////////////////////////////////////////////////////////////////////////////////////
public static Context CrearConexionWeblogic() {
Context ctx = null;
try {
Properties prop = new Properties();
prop.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
prop.put(javax.naming.Context.PROVIDER_URL, DIRECCION_PROVEEDOR);
ctx = new InitialContext(prop);
return ctx;
}catch(Exception e){
e.printStackTrace();
}
return ctx;
}
////////////////////////////////////////////////////////////////////////////////////////////////
The line that throws that exception is
First of all, sorry for my english. I'm trying to send a message from my localhost (Windows XP) to a Weblogic Server (Sun Machine) using a simple client. When I tried to send a message, the Java app throws me a StackOverFlowError on line 189. The lines before are:
////////////////////////////////////////////////////////////////////////////////////////////////
public static Context CrearConexionWeblogic() {
Context ctx = null;
try {
Properties prop = new Properties();
prop.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
prop.put(javax.naming.Context.PROVIDER_URL, DIRECCION_PROVEEDOR);
ctx = new InitialContext(prop);
return ctx;
}catch(Exception e){
e.printStackTrace();
}
return ctx;
}
////////////////////////////////////////////////////////////////////////////////////////////////
The line that throws that exception is
0