An Error occurred While Establishing a Connection Back to the Adminstration Server t3://

最近在升级Oralce Weblogic server 的时候总碰到错误:

An Error occurred While Establishing a Connection Back to the Adminstration Server t3://: During Startup

Mar 21, 2013 5:09:11 AM EDT>
javax.naming.ServiceUnavailableException [Root exception isjava.rmi.NoSuchObjectException: The object identified by: '31' could not befound. Either it was has not been exported or it has been collected by thedistributed garbage collector.]
        atweblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:70)
        atweblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
        atweblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:767)
        atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialReference(WLInitialContextFactoryDelegate.java:426)
        atweblogic.jndi.Environment.getInitialReference(Environment.java:245)
        Truncated. see log file forcomplete stacktrace
Caused By: java.rmi.NoSuchObjectException: The object identified by: '31' couldnot be found. Either it was has not been exported or it has been collected bythe distributed garbage collector.
        atweblogic.rmi.internal.OIDManager.getServerReference(OIDManager.java:251)
        atweblogic.rmi.extensions.server.ServerHelper.getLocalInitialReference(ServerHelper.java:455)
        atweblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:131)
        atweblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:124)
        atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialReference(WLInitialContextFactoryDelegate.java:422)
        Truncated. see log file forcomplete stacktrace

网上解决方案纵说纷纭,又说权限问题的,又说端口错误问题的,最后得出官方解决方案如下:

Cause

An improper administration server URL has been specified, or the administration server is not available at the specified URL. Commonly this is because the managed server shares an adminstration URL with the administration server.

Solution

When starting the managed server from a command line use the following variables to execute successfully:

startmanagedweblogic UCM_server1 http://:

where = Servername or IP Address of the WebLogic Server
where = the port number of the WebLogic Admin Server for the domain

*This instruction assumes the Administration Server has been started prior to startup of the managed server, which is a requirement.

你可能感兴趣的:(J2EE,Weblogic)