Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

t3s://localhost:7411: Destination unreachable  RSS feed

Nilesh Raje
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I have a standalone java program in eclipse 3.2. and invoking the EJBS in weblogic9.2.
This is urgent and frustrating me. Please help asap.

Here is my Java Program.

import java.rmi.RemoteException;
import java.util.Collection;
import java.util.Iterator;
import java.util.Properties;
import javax.ejb.CreateException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

public class ApplicationsExportXMLBatch {
public static void main(String[] args)
throws RemoteException, NamingException, CreateException {
String providerURL = "t3://";
App appComponent=getAppHome(providerURL);

Collection list = appComponent.getList();
System.out.println("Size of Applications List :" + list.size());

Iterator iter = list.iterator();

while (iter.hasNext()) {
CaiApp appInfo = (CaiApp);
System.out.println("AppInfo: " + appInfo.toString());

private static App getAppHome(String providerURL)
throws NamingException, RemoteException, CreateException {
final String JNDI_NAME = "AppHome";
Context ctx = getContext(providerURL);
return ((AppHome) ctx.lookup(JNDI_NAME)).create();

private static Context getContext(String providerURL)
throws NamingException {
Properties h = new Properties();
h.put(Context.PROVIDER_URL, providerURL);
Context ctx = new InitialContext(h);
return ctx;

Here is my environment.
Weblogic 9.2

Runtime Classpath : weblogic.jar(9.2), jmxri.jar(JMX1.2.1 RI),jmxremote.jar,rmissl.jar.JRE1.4.15,Bea license File,webserviceclient+ssl.jar

This is the exception Message I am getting .!

javax.naming.CommunicationException [Root exception is t3:// Bootstrap to failed. It is likely that the remote side declared peer gone on this JVM]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(
at weblogic.jndi.Environment.getContext(
at weblogic.jndi.Environment.getContext(
at weblogic.jndi.WLInitialContextFactory.getInitialContext(
at javax.naming.spi.NamingManager.getInitialContext(
at javax.naming.InitialContext.getDefaultInitCtx(
at javax.naming.InitialContext.init(
at javax.naming.InitialContext.<init>(
at ApplicationsExportXMLBatch.getContext(
at ApplicationsExportXMLBatch.getAppHome(
at ApplicationsExportXMLBatch.main(
Caused by: t3:// Bootstrap to failed. It is likely that the remote side declared peer gone on this JVM
at weblogic.rjvm.RJVMFinder.findOrCreate(
at weblogic.rjvm.ServerURL.findOrCreateRJVM(
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(
... 10 more
Caused by: java.rmi.ConnectException: Bootstrap to failed. It is likely that the remote side declared peer gone on this JVM
at weblogic.rjvm.ConnectionManager.bootstrap(
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(
at weblogic.rjvm.RJVMManager.findOrCreate(
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(
at weblogic.rjvm.RJVMFinder.findOrCreate(
... 12 more
Exception in thread "main"

Please help.
[ March 13, 2008: Message edited by: Nilesh Raje ]
Hemanth H Bhat
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well i also encountered the same problem when posting a message on to the JMS queue This queue is deployed on a managed server on weblogic 8.1

the actual problem here is if you give the Listen Address (The IP address or DNS name this server uses to listen for incoming connections) under myserver----> Configuration---->general---->Listen Address: TAB if there is a DNS Name entered here then you will encounter this problem

please clear this text box and your problem would be resolved ......

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!