简体   繁体   中英

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. There are java.lang.ClassNotFoundException with a lot of java classes for example:

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:

[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. I have Base 8.5.5.0 vesion. Anyone know how to fix this issue

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

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

I started application immediately after deploy. This was my bad. I should wait for a while

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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