weblogic 12c迁移问题-没有可用的路由器到目标

最后发布: 2017-06-29 08:25:00


问题

我有一个在weblogic 10.3中运行的应用程序。 我将应用程序迁移到Java版本1.8(早期的Java版本是1.6)的weblogic 12c。

部署应用程序时,日志中出现以下异常

2017-06-29 13:44:21,480-INFO(Configuration.java:1547)-配置的SessionFactory:空2017-06-29 13:44:21,527-INFO(NamingHelper.java:26)-JNDI InitialContext属性:{java .naming.provider.url = t3s://xxxx.xxx.xxx.com:4040,java.naming.factory.initial = weblogic.jndi.WLInitialContextFactory} 2017-06-29 13:44:22,097-错误(命名帮助程序。 java:33)-无法获得初始上下文javax.naming.CommunicationException:t3s://xxxx.xxx.xxx.com:4040:目标10.xx.xx.xx,无法访问4040; 嵌套的异常是:java.io.IOException:远程主机强行关闭了一个现有的连接。 没有可用的路由器到目标[根异常是java.net.ConnectException:t3s://xxxx.xxx.xxx.com:4040:目标10.xx.xx.xx,无法访问4040; 嵌套的异常是:java.io.IOException:远程主机强行关闭了一个现有的连接。 没有可用的到目的地的路由器],位于weblogic.jndi.WLInitialContextFactoryDe​​legate.getInitialContext(WL :365)位于weblogic.jndi.Environment.getContext(Environment.java:319)位于weblogic.jndi.Environment.getContext(Environment.java:288)位于weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117) javax.naming的javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)处的.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)在javax.naming处的javax.naming.InitialContext.init(InitialContext.java:244)处的。 org.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28)的InitialContext。(InitialContext.java:216)org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvid) er.java:52)org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)org.hibernate.cfg.SettingsFactory.createConnectionProvider (SettingsFactory.java:414)在org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)在org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)在org.hibernate.cfg.Configuration。在weblogic.servlet的com.xxxxx.k2.servlet.StartupServlet.contextInitialized(StartupServlet.java:49)的com.xxxxx.k2.util.HibernateHelper.init(HibernateHelper.java:19)的buildSessionFactory(Configuration.java:1298)位于weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)上的.internal.EventsManager $ FireContextListenerAction.run(位于weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)上的。 ),网址为weblogic.servlet.provider.WlsS 在weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:243)处的ubjectHandle.run(WlsSubjectHandle.java:57)在weblogic.servlet.internal处的weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:200)处weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2876)上的weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1838)上的.EventsManager.notifyContextCreatedEvent(EventsManager.java:185)。在weblogic上的internal.WebAppModule.startContexts(WebAppModule.java:1661)在weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:823)在weblogic.application.internal.ExtensibleModuleWrapper $ StartStateChange.next(ExtensibleModuleWrapper.java:360) weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)的.application.internal.ExtensibleModuleWrapper $ StartStateChange.next(ExtensibleModuleWrapper.java:356)在weblogic.application.intern的状态 al.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)在weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)在weblogic.application.internal.flow.ModuleStateDriver $ 3.next(ModuleStateDriver.java:216) ),网址为weblogic.application.internal.flow.ModuleStateDriver $ 3.next(ModuleStateDriver.java:211),网址为weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42),网址为weblogic.application.internal.flow.ModuleStateDriver.start (ModuleStateDriver.java:73)在weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)在weblogic.application.internal.BaseDeployment $ 2.next(BaseDeployment.java:729)在weblogic.application.utils weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)上的.StateMachineDriver.nextState(weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)上的weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)上的。 internal.Deployme 在weblogic上的ntStateChecker.activate(DeploymentStateChecker.java:165)在weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)在weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:226)在weblogic weblogic.management.deploy.internal.DeploymentAdapter $ 1.doActivate(DeploymentAdapter.java:51)上的.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:418)在weblogic.management.deploy.internal.DeploymentAdapter.activate(位于weblogic.management.deploy.internal.AppTransition的DeploymentAdapter.java:200),位于weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)处的weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)处在weblogic.management.deploy.internal.Deploymen处的deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)在weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) 位于weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:118)处的tServerService.resume(DeploymentServerService.java:210)位于sunlogic.reflect.GeneratedMethodAccessor6处的weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)处org.glassfish.hk2.utilities.reflection.ReflectionHelper处java.lang.reflect.Method.invoke(Method.java:497)处的sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)处的.invoke(未知源) org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388)的org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430)的.invoke(ReflectionHelper.java:1017)。位于org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)的org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate的jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456) RunLevelContext.java:82),位于org.jvnet.hk2.internal.Utilities.createSer org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)上的副(Utilities.java:2488)org.jvnet org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:606)上的副(Utilities.java:2488) org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:231)的.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java) :254)位于org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:413),位于org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)位于org.glassfish.hk2.runlevel。 org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)在org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)上的internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)在org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)在org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87) 在org.glassfish.hk2.runlevel.internal.CurrentTaskFuture $ QueueRunner.oneJob(CurrentTaskFuture.java:1162)在org.glassfish.hk2.runlevel.internal.CurrentTaskFuture $ QueueRunner.run(CurrentTaskFuture.java:1147)在weblogic.work .SelfTuningWorkManagerImpl $ WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)在weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)在weblogic.work.ExecuteThread.run(ExecuteThread.java:263)在以下位置导致:java.net。 ConnectException:t3://xxxx.xxx.xxx.com:4040:目标10.xx.xx.xx,4040无法访问; 嵌套的异常是:java.io.IOException:远程主机强行关闭了一个现有的连接。 在weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:169)处的weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:241)处没有可用的路由器到目标,在weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:177)处没有可用的路由器在weblogic.jndi.WLInitialContextFactoryDe​​legate.getInitialContext(WLInitialContextFactoryDe​​legate.java:350)处... 82更多原因:java.rmi.ConnectException:目标10.xx.xx.xx,4040无法访问; 嵌套的异常是:java.io.IOException:远程主机强行关闭了一个现有的连接。 在weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:300)的weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:328)处的weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:490)处没有可用的路由器位于weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:204)位于weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:263)位于weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:225)... 85更多

打开主页时出现错误消息:

错误500-内部服务器错误

java.lang.Exception: java.lang.UnsupportedOperationException
    at com.icesoft.faces.context.View.reportException(View.java:318)
    at com.icesoft.faces.context.View.servePage(View.java:200)
    at com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:84)
    at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:43)
    at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:187)
    at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:51)
    at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55)
    at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:100)
    at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55)
    at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:205)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: java.lang.UnsupportedOperationException
    at javax.faces.context.FacesContext.getExceptionHandler(FacesContext.java:284)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
    at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:50)
    at com.icesoft.faces.context.View$2$1.respond(View.java:85)
    at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:242)
    at com.icesoft.faces.context.View$2.serve(View.java:119)
    at com.icesoft.faces.context.View.servePage(View.java:192)
    ... 29 more
jsf weblogic weblogic12c icefaces weblogic11g