Я вижу исключение IO во время запуска проекта в WebSphere Liberty для библиотеки тегов Omnifaces. Я широко искал Google и не могу найти это для кого-либо. Эта ошибка НЕ происходит в моем локальном запуске той же версии WAS. Вот трассировка стека, кто-нибудь знает об этом?Анализ ошибок OmniFaces 2.1 Taglib при развертывании в WebSphere Liberty 8.5.5.6
[10/9/15 13:34:23:882 PDT] 000000fb TagLibraryCon E Error Loading Library: wsjar:file:/C:/Program%20Files%20(x86)/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NC-SBWSNode01Cell/eNC3ExtWeb_EAR_V1.8.ear/eNC3ExtWeb_WAR.war/WEB-INF/lib/omnifaces-2.1.jar!/META-INF/omnifaces-ui.taglib.xml
java.io.IOException: Error parsing [wsjar:file:/C:/Program%20Files%20(x86)/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NC-SBWSNode01Cell/eNC3ExtWeb_EAR_V1.8.ear/eNC3ExtWeb_WAR.war/WEB-INF/lib/omnifaces-2.1.jar!/META-INF/omnifaces-ui.taglib.xml]:
at org.apache.myfaces.view.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:637)
at org.apache.myfaces.view.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:668)
at org.apache.myfaces.view.facelets.compiler.Compiler.initialize(Compiler.java:93)
at org.apache.myfaces.view.facelets.compiler.Compiler.compileViewMetadata(Compiler.java:125)
at org.apache.myfaces.view.facelets.impl.DefaultFaceletFactory._createViewMetadataFacelet(DefaultFaceletFactory.java:311)
at org.apache.myfaces.view.facelets.impl.DefaultFaceletFactory.getViewMetadataFacelet(DefaultFaceletFactory.java:394)
at org.apache.myfaces.view.facelets.impl.DefaultFaceletFactory.getViewMetadataFacelet(DefaultFaceletFactory.java:376)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage._getViewMetadataFacelet(FaceletViewDeclarationLanguage.java:1984)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.access$000(FaceletViewDeclarationLanguage.java:132)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage$FaceletViewMetadata.createMetadataView(FaceletViewDeclarationLanguage.java:2093)
at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:161)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:119)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1232)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:781)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:480)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1385)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:194)
at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:672)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at gov.nc.dor.app.ext.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:59)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3926)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1007)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
EDIT:
Если это не 8.5.5.x то почему этот дисплей при загрузке сервера?
************ Start Display Current Environment ************
WebSphere [IBMJAVA7 7.0.9.10 cf071533.01]Platform 8.5.5.7 [ND 8.5.5.7 cf071533.01] running with process name NC-SBWSNode01Cell\NC-SBWSNode01\server1 and process id 4740
Host Operating System is Windows Server 2012 R2, version 6.3
Java version = 1.7.0, Java Runtime Version = pwa6470sr9fp10-20150708_01 (SR9 FP10), Java Compiler = j9jit26, Java VM name = IBM J9 VM
was.install.root = C:\Program Files (x86)\IBM\WebSphere\AppServer
user.install.root = C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01
Java Home = C:\Program Files (x86)\IBM\WebSphere\AppServer\java_1.7_64\jre
ws.ext.dirs = C:\Program Files (x86)\IBM\WebSphere\AppServer/java_1.7_64/lib;C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01/classes;C:\Program Files (x86)\IBM\WebSphere\AppServer/classes;C:\Program Files (x86)\IBM\WebSphere\AppServer/lib;C:\Program Files (x86)\IBM\WebSphere\AppServer/installedChannels;C:\Program Files (x86)\IBM\WebSphere\AppServer/lib/ext;C:\Program Files (x86)\IBM\WebSphere\AppServer/web/help;C:\Program Files (x86)\IBM\WebSphere\AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01/properties;C:\Program Files (x86)\IBM\WebSphere\AppServer/properties;C:\Program Files (x86)\IBM\WebSphere\AppServer/lib/startup.jar;C:\Program Files (x86)\IBM\WebSphere\AppServer/lib/bootstrap.jar;C:\Program Files (x86)\IBM\WebSphere\AppServer/lib/jsf-nls.jar;C:\Program Files (x86)\IBM\WebSphere\AppServer/lib/lmproxy.jar;C:\Program Files (x86)\IBM\WebSphere\AppServer/lib/urlprotocols.jar;C:\Program Files (x86)\IBM\WebSphere\AppServer/deploytool/itp/batchboot.jar;C:\Program Files (x86)\IBM\WebSphere\AppServer/deploytool/itp/batch2.jar;C:\Program Files (x86)\IBM\WebSphere\AppServer/java_1.7_64/lib/tools.jar
Java Library path = C:\Program Files (x86)\IBM\WebSphere\AppServer/lib/native/win/x86_64/;C:\Program Files (x86)\IBM\WebSphere\AppServer\java_1.7_64\jre\bin\compressedrefs;C:\Program Files (x86)\IBM\WebSphere\AppServer\java_1.7_64\jre\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\IBM\WebSphere\AppServer\lib\native\win\x86_64;C:\Program Files (x86)\IBM\WebSphere\AppServer\bin;C:\Program Files (x86)\IBM\WebSphere\AppServer\java_1.7_64\bin;C:\Program Files (x86)\IBM\WebSphere\AppServer\java_1.7_64\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;.;
Orb Version = IBM Java ORB build orb70-20150520.00
************* End Display Current Environment *************
Эта трассировка стека выглядит так, как будто она исходит от классики WAS, а не от WAS Liberty. WAS Liberty не поддерживает канал AIO TCP в стеке, и потоки работают по-разному, поэтому нижняя часть стека неправильна. Вы уверены, что приложение не работает в WAS Liberty? – Alasdair
Alasdair - вы были абсолютно правы, я был смущен, думая, что существует только ОДНА версия WebSphere 8.5.5.6, которая должна быть свобода. Не понял или понял, что WAS 8.5.5.6 и WAS Liberty 8.5.5.6 могут быть разными. – Matt1776
Версия относится к продукту, который является WAS. Существует два профиля сервера (из-за лучшего слова), которые являются частью продукта, WAS Classic и WAS Liberty. Если вы переключитесь на WAS Liberty и настроите jsf-2.2 как функцию, похоже, она сработает. – Alasdair