myfaces startupservletcontext-无法连接到(java.sun.com/156.151.59.19,80)

rdrgkggo  于 2021-06-29  发布在  Java
关注(0)|答案(0)|浏览(222)

**结束。**此问题需要详细的调试信息。它目前不接受答案。
**想改进这个问题吗?**更新问题,使其成为堆栈溢出的主题。

9天前关门了。
改进这个问题
在我的公司,我们有一个高规模的项目,这是开发与;
我的脸2.1.17
java 8
weblogic 12c
web.xml版本为2.5
web.xml中myfaces配置的一部分

<!--Listeners-->
    <listener>
        <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
<context-param>
        <param-name>javax.faces.FACELETS_BUFFER_SIZE</param-name>
        <param-value>16336</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>
        <param-value>0</param-value>
    </context-param> 
    <context-param>
        <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
        <param-value>true</param-value>
    </context-param>
<context-param>
        <param-name>org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION</param-name>
        <param-value>100</param-value>
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.EXPRESSION_FACTORY</param-name>
        <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
        <param-value>false</param-value>
    </context-param>
<context-param>
        <param-name>org.apache.myfaces.USE_ENCRYPTION</param-name>
        <param-value>true</param-value>
    </context-param>

在产品上部署项目的过程中,我们有时会在控制台上遇到问题。此问题阻止在上启动weblogic示例。
有人知道这个错误的原因吗?怎么能修好呢?
这是与问题有关的错误;


#### <Jul 7, 2019 4:27:55,532 AM EET> <Warning> <HTTP> <antares> <MAYA1-PROD-M03-MAN1-2> <[ACTIVE] ExecuteThread: '190' for queue: 'weblogic.kernel.Default (self

-tuning)'> <<anonymous>> <> <997d000d-3b0d-4722-ad13-175dc2a31839-000000c7> <1562462875532> <[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DO
MAIN] > <BEA-101162> <User defined listener org.apache.myfaces.webapp.StartupServletContextListener failed: javax.faces.FacesException: java.net.SocketTimeoutEx
ception: newSocket: Couldn't connect to (java.sun.com/156.151.59.19, 80) even after 10000 millisecs.
javax.faces.FacesException: java.net.SocketTimeoutException: newSocket: Couldn't connect to (java.sun.com/156.151.59.19, 80) even after 10000 millisecs
        at org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser.parse(WebXmlParser.java:117)
        at org.apache.myfaces.shared_impl.webapp.webxml.WebXml.init(WebXml.java:279)
        at org.apache.myfaces.shared_impl.webapp.webxml.WebXml.getWebXml(WebXml.java:266)
        at org.apache.myfaces.spi.impl.DefaultWebConfigProvider.getFacesServletMappings(DefaultWebConfigProvider.java:44)
        at org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFaces(AbstractFacesInitializer.java:304)
        at org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed(StartupServletContextListener.java:161)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:706)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328)
        at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
        at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
        at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251)
        at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:240)
        at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:211)
        at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3175)
        at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:251)
        at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:693)
        at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1873)
        at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:911)
        at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateChange.previous(ExtensibleModuleWrapper.java:328)
        at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateChange.previous(ExtensibleModuleWrapper.java:313)
        at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
        at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
        at weblogic.application.internal.ExtensibleModuleWrapper.deactivate(ExtensibleModuleWrapper.java:163)
        at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:131)
        at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:216)
        at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:207)
        at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
        at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
        at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:101)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:120)
        at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:758)
        at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:207)
        at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:193)
        at weblogic.application.internal.BaseDeployment.deactivate(BaseDeployment.java:285)
        at weblogic.application.internal.EarDeployment.deactivate(EarDeployment.java:66)
        at weblogic.application.internal.DeploymentStateChecker.deactivate(DeploymentStateChecker.java:202)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.deactivate(AppContainerInvoker.java:114)
        at weblogic.deploy.internal.targetserver.BasicDeployment.deactivate(BasicDeployment.java:357)
        at weblogic.deploy.internal.targetserver.BasicDeployment.deactivateFromServerLifecycle(BasicDeployment.java:624)
        at weblogic.management.deploy.internal.DeploymentAdapter$1.doDeactivate(DeploymentAdapter.java:75)

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题