问题描述
大家好,我这边的Websphere8跑在IBM的小型机上的,用的是linux操作系统,在Websphere上运行的是一个j2ee(jsf2.0+xhtml+hibernate,还用了和jsf差不多的primeface)跑的一个项目,可是每次到周一凌晨的时候就会出现一些我不知道哪里入手的异常,错误日志如下:[11/26/120:30:07:264CST]00000025servletEcom.ibm.ws.webcontainer.servlet.ServletWrapperserviceSRVE0014E:Uncaughtservice()exceptionrootcauseFacesServlet:java.io.FileNotFoundException:/opt/IBM/WebSphere8/AppServer/profiles/AppSrv01/installedApps/localhostNode02Cell/SMTCL3ENEAR.ear/SMTCL3EN.war/errors/error_404.xhtml(Toomanyopenfiles)atjava.io.FileInputStream.open(NativeMethod)atjava.io.FileInputStream.<init>(FileInputStream.java:123)atjava.io.FileInputStream.<init>(FileInputStream.java:83)atsun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:82)atsun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:173)atorg.apache.myfaces.view.facelets.impl.DefaultFaceletFactory.needsToBeRefreshed(DefaultFaceletFactory.java:238)atorg.apache.myfaces.view.facelets.impl.DefaultFaceletFactory.getViewMetadataFacelet(DefaultFaceletFactory.java:392)atorg.apache.myfaces.view.facelets.impl.DefaultFaceletFactory.getViewMetadataFacelet(DefaultFaceletFactory.java:376)atorg.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage._getViewMetadataFacelet(FaceletViewDeclarationLanguage.java:1902)atorg.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.access$000(FaceletViewDeclarationLanguage.java:128)atorg.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage$FaceletViewMetadata.createMetadataView(FaceletViewDeclarationLanguage.java:2136)atorg.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:161)atorg.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)atorg.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)atsmtcl.util.sessionHandler.SessionLifecycleImpl.execute(SessionLifecycleImpl.java:21)atjavax.faces.webapp.FacesServlet.service(FacesServlet.java:189)atcom.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307)atcom.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:561)atcom.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:255)atcom.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1147)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:722)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:449)atcom.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:77)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:919)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1016)atcom.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1382)atcom.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:191)atcom.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:3108)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1044)atcom.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:883)atcom.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1625)atcom.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:197)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)atcom.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)atcom.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)atcom.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)atcom.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)atcom.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)atcom.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)atcom.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)atcom.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1620)[11/26/120:30:07:264CST]00000031utilEcom.ibm.ws.webcontainer.util.MetaInfResourcesFileUtilsfindInMetaInfResourceSRVE8043E:AnIOExceptionoccuredsearchingjarFile[""]forfileName[/resources/primefaces-casablanca/images/hover.png]java.util.zip.ZipException:errorinopeningzipfile
后面基本上是errorinopeningzipfile错误了我在网上也找了好久,没有找到类似的问题,请高手给个我找问题的点,我自己找也行,主要是那两个错误我看的SRVE8043ESRVE0014E再次感谢下,谢谢。
解决方案
解决方案二:
顶一个不容易
解决方案三:
容器以名字“/resources/primefaces-casablanca/images/hover.png”,来找jar文件,出现错误,可以与myfaces有关再看一下有没有周期性的调度任务
解决方案四:
谢谢你们,好久没有来看,问题还没有解决,我还是先把项目做完了再来解决这个问题,出现了那个问题后就不能启动was了,WAS处于假死状态,强制关闭进程才可以。