GeeCON Prague 2014*
The moose likes BEA/Weblogic and the fly likes no targets are reachable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "no targets are reachable" Watch "no targets are reachable" New topic
Author

no targets are reachable

prasad kulkarni
Ranch Hand

Joined: Mar 19, 2006
Posts: 66
I have a adminserver and a managedserver. One ear is deployed on managedserver.

I updated the ear through admin console and started it, I got the error in log file as "no targets are reachable". When I checked the status of managedserver on admin console, it was - 'SHUTDOWN'; however the managedserver is up and running and also the ear-application is working fine on this server.
My redeployment is ineffective in this case . How can I solve this problem?
I know that if I restart both the servers, it will start working fine, however I am facing this problem many times and need a solution to this.

I tried to deploy the ear using admin console, which shows following stacktrace :

dumping Exception stack
Task 3 deferred: [Deployer:149026]distribute application DNAHits on ManagedServer.
Target state: distribute deferred on Server ManagedServer
java.rmi.RemoteException: [Deployer:149145]Unable to contact 'ManagedServer'. Deployment is deferred until 'ManagedServer' becomes available.
at weblogic.deploy.service.internal.transport.UnreachableHostException.writeReplace(UnreachableHostException.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1004)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1036)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:391)
at java.lang.Throwable.writeObject(Throwable.java:649)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:614)
at weblogic.utils.io.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:73)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:550)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:440)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:436)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:58)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:975)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
start:
weblogic.Deployer -verbose -noexit -name DNAHits -targets ManagedServer -adminurl t3://localhost:8001 -user weblogic -password ******** -start
weblogic.Deployer invoked with options: -verbose -noexit -name DNAHits -targets ManagedServer -adminurl t3://localhost:8001 -user weblogic -start
<Dec 20, 2007 11:33:09 AM EST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating start operation for application, DNAHits [archive: null],
to ManagedServer .>


scjp, scwcd
leandro pedro
Greenhorn

Joined: Oct 28, 2009
Posts: 2
hi prasad
did you find a solution to your problem?
Can you explain please cause i got the same problem and i don't know what to do
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

This is also a zombie leandro. I have answered your question here -> http://www.coderanch.com/t/69548/BEA-Weblogic/What-does-this-error-mean


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
GeeCON Prague 2014
 
subject: no targets are reachable