简体   繁体   English

重新部署或安装期间无法在Webps上启动应用程序

[英]Failed to start application on webpshere during redeploy or installation

I have problem with deploying application on webpshere using thinclient.sh Sometimes (not regularly) I got exception during redeploy or installation application. 我在使用Thinclient.sh在webps上部署应用程序时遇到问题,有时(不定期)在重新部署或安装应用程序时出现异常。 There are java.lang.ClassNotFoundException with a lot of java classes for example: java.lang.ClassNotFoundException和许多Java类,例如:

org.springframework.web.servlet.HttpServletBean
org.springframework.web.context.ContextLoader
org.springframework.web.filter.DelegatingFilterProxy
org.springframework.web.context.ContextLoaderListener

or there is problem with opening libraries: 或打开库有问题:

java.util.zip.ZipException: error in opening zip file
Failed to open archive [ WEB-INF/lib/ifxjdbc-3.5.jar ]

or some NPE: 或一些NPE:

[1/30/14 12:09:13:203 CET] 00000072 webapp        E com.ibm.ws.webcontainer.webapp.WebAppImpl populateJavaNameSpace SRVE8084E: An unexpected internal server error occurred while populating the namespace.
                                 java.lang.NullPointerException
        at com.ibm.ws.webcontainer.metadata.WebCollaboratorComponentMetaDataImpl.getJ2EEName(WebCollaboratorComponentMetaDataImpl.java:63)
        at com.ibm.ws.runtime.component.ApplicationServerImpl$1.getValue(ApplicationServerImpl.java:113)

These exception occurs randomly (For me). 这些异常是随机发生的(对我而言)。 So these application are deployed to my server but they failed to start. 因此,这些应用程序已部署到我的服务器上,但无法启动。 After restarting my server all application start with no problem so I think my apps are OK. 重新启动服务器后,所有应用程序都可以正常启动,因此我认为我的应用程序还可以。 Problem is probably with my webpshere server. 我的webpshere服务器可能有问题。 I have Base 8.5.5.0 vesion. 我有8.5.5.0基本版。 Anyone know how to fix this issue 任何人都知道如何解决此问题

UPDATE UPDATE

I install this application using wsadminlib.py which I download from here: https://www.ibm.com/developerworks/apps/download/index.jsp?contentid=166422&filename=wsadminlib.py.zip&method=http&locale= and call method installApplication 我使用从以下位置下载的wsadminlib.py安装此应用程序: https : wsadminlib.py & method =http& wsadminlib.py =并调用方法installApplication

Ok I found where was the problem. 好的,我发现问题出在哪里。

This article helps me a lot: http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Ftxml_callappinstall.html 本文对我有很大帮助: http : //pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Ftxml_callappinstall。 HTML

I started application immediately after deploy. 部署后,我立即启动了应用程序。 This was my bad. 这是我的坏事。 I should wait for a while 我应该等一下

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM