aspose file tools*
The moose likes BEA/Weblogic and the fly likes t3s://localhost:7411: Destination unreachable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "t3s://localhost:7411: Destination unreachable" Watch "t3s://localhost:7411: Destination unreachable" New topic

t3s://localhost:7411: Destination unreachable

Nilesh Raje
Ranch Hand

Joined: Aug 02, 2005
Posts: 153
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 ]

Thanks and Regards,<br />Nilesh<br />SCJP 1.4, SCWCD 1.4
Hemanth H Bhat

Joined: Apr 14, 2008
Posts: 15
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 ......

I agree. Here's the link:
subject: t3s://localhost:7411: Destination unreachable
Similar Threads
Getting CommunicationException
java.rmi.ConnectException when updating the application
EJB 3.0 - NoInitialContextException
Bootstrap to localhost/ failed. It is likely that the remote side declar
Any help on weblogic.socket.UnrecoverableConnectException?