Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.1.0.GA
-
Fix Version/s: EE-4.1.0.GA
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces EE-4.1.0.GA Jenkins build 4 on WAS 8.5.5.9 on amazon AWS
-
Assignee Priority:P1
-
Affects:Sample App./Tutorial
Description
Server log warning seen:
Desired item image directory web/resources/items does not exist or isn't readable. This means all images will be unknown.jpg
Global logging file and server log files attached.
-
- globalLog.txt
- 51 kB
- Liana Munroe
-
- serverLog.txt
- 26 kB
- Liana Munroe
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
ICEfaces4 trunk r.48949/ FF41, Chrome50, IE11:
Emporium app is functional now, bids can be placed, images are rendered.
WAS8 specific issue: webpage title is not rendered.
ICEfaces4 trunk r.48948:
Emporium can be deployed and started without errors.
When selecting an item on page, the image is rendered now.
After selecting an item, the bid cannot be placed; also other interactions with the web page are not possible until the page is reloaded.
Re-installed emporium from EE-4.1.0.RC1 release bundle on WAS 8.5.5.9: the installation was successful, and all automated tests pass.
The only issue found was the missing image when selecting a bid item, but selecting an item does not stop the user to interact with the demo.
The same errors occurred when testing emporium with the last changes from IF4 trunk r48947.
Server logs will be sent out by email.
Applied fix that replaces the use of File objects with plain Java resource access.
ICEfaces EE 4.1.0.GA Jenkins Build 5 testing: the same server error (from SystemOut.log) occurred when starting emporium application from the Admin Console after deploying it on WAS 8.5.5.9.
From SystemErr.log:
[6/14/16 18:30:17:931 EDT] 00000105 SystemErr R Caused by: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: null
[6/14/16 18:30:17:932 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:914)
[6/14/16 18:30:17:932 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
[6/14/16 18:30:17:932 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
[6/14/16 18:30:17:932 EDT] 00000105 SystemErr R ... 96 more
[6/14/16 18:30:17:932 EDT] 00000105 SystemErr R Caused by: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: null
[6/14/16 18:30:17:933 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:177)
[6/14/16 18:30:17:933 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:901)
[6/14/16 18:30:17:933 EDT] 00000105 SystemErr R ... 98 more
[6/14/16 18:30:17:933 EDT] 00000105 SystemErr R Caused by: java.lang.ExceptionInInitializerError
[6/14/16 18:30:17:934 EDT] 00000105 SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:257)
[6/14/16 18:30:17:934 EDT] 00000105 SystemErr R at java.lang.Class.forNameImpl(Native Method)
[6/14/16 18:30:17:935 EDT] 00000105 SystemErr R at java.lang.Class.forName(Class.java:288)
[6/14/16 18:30:17:935 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses(WebAppImpl.java:816)
[6/14/16 18:30:17:935 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:605)
[6/14/16 18:30:17:935 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
[6/14/16 18:30:17:935 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
[6/14/16 18:30:17:935 EDT] 00000105 SystemErr R at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:170)
[6/14/16 18:30:17:935 EDT] 00000105 SystemErr R ... 99 more
[6/14/16 18:30:17:935 EDT] 00000105 SystemErr R Caused by: java.lang.NullPointerException
[6/14/16 18:30:17:936 EDT] 00000105 SystemErr R at org.icefaces.demo.emporium.bid.model.AuctionImage.generateParentDir(AuctionImage.java:50)
[6/14/16 18:30:17:936 EDT] 00000105 SystemErr R at org.icefaces.demo.emporium.bid.model.AuctionImage.<clinit>(AuctionImage.java:44)
[6/14/16 18:30:17:936 EDT] 00000105 SystemErr R at java.lang.J9VMInternals.initializeImpl(Native Method)
[6/14/16 18:30:17:936 EDT] 00000105 SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)
[6/14/16 18:30:17:936 EDT] 00000105 SystemErr R ... 106 more
Tested with ICEfaces 4 trunk r48938. The emporium application can be installed on WAS 8.5.5.9 but the application can not be started. Went through the process of shutting down and restarting server. There are no problems running other applications on the server.
Server log:
[6/14/16 12:01:52:027 EDT] 000000ea InstallSchedu I ADMA5016I: Installation of emporium_war started. [6/14/16 12:02:01:767 EDT] 000000ea InstallSchedu I ADMA5013I: Application emporium_war installed successfully. [6/14/16 12:02:10:435 EDT] 00000067 AppBinaryProc I ADMA7021I: Distribution of application emporium_war completed successfully. [6/14/16 12:02:12:443 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/blas/emporium_war/bver/BASE/bla.xml is created. [6/14/16 12:02:12:443 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/was.webmodule is created. [6/14/16 12:02:12:444 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/was.module is created. [6/14/16 12:02:12:445 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/application.xml is created. [6/14/16 12:02:12:445 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/faces-config.xml is created. [6/14/16 12:02:12:446 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/web.xml is created. [6/14/16 12:02:12:446 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/cus/emporium_war/cver/BASE/cu.xml is created. [6/14/16 12:02:12:447 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deltas/emporium_war/delta-1465920121715 is created. [6/14/16 12:02:12:448 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/MANIFEST.MF is created. [6/14/16 12:02:12:448 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/emporium_war.ear is created. [6/14/16 12:02:12:451 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/ibm-web-ext.xml is created. [6/14/16 12:02:12:452 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/META-INF/MANIFEST.MF is created. [6/14/16 12:02:12:453 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/web_merged.xml is created. [6/14/16 12:02:12:453 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/was.policy is created. [6/14/16 12:02:12:454 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/ibm-application-runtime.props is created. [6/14/16 12:02:12:455 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/cus/emporium_war/cver/BASE/controlOpDefs.xml is created. [6/14/16 12:02:12:495 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/ibm-web-bnd.xml is created. [6/14/16 12:02:12:496 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/cus/emporium_war/cver/BASE/cu-ref.xml is created. [6/14/16 12:02:12:497 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/ibm-application-bnd.xml is created. [6/14/16 12:02:12:497 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/ibm-metadata.xml is created. [6/14/16 12:02:12:498 EDT] 00000067 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/deployment.xml is created. [6/14/16 12:02:12:499 EDT] 00000067 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/nodes/ICEsoft_Stand-Alone_Node/serverindex.xml is modified. [6/14/16 12:02:18:308 EDT] 00000067 wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl collectFilesFromBinaries Failed to extract binaries to temporary location: Binaries files were not added! This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@b2411003 ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFragmentFileImpl@8e71b9bd (URI: WEB-INF/lib/itext-2.1.7.jar, lastModified: 1465919762000, size: 4096, directoryEntry: <unset>, originalURI: WEB-INF/lib/itext-2.1.7.jar) (types: null) ] [6/14/16 12:02:31:341 EDT] 00000067 wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl collectFilesFromBinaries Failed to extract binaries to temporary location: Binaries files were not added! This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@97d52552 ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFragmentFileImpl@c69380ae (URI: WEB-INF/lib/itext-2.1.7.jar, lastModified: 1465919762000, size: 4096, directoryEntry: <unset>, originalURI: WEB-INF/lib/itext-2.1.7.jar) (types: null) ] [6/14/16 12:02:42:617 EDT] 0000009e wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl collectFilesFromBinaries Failed to extract binaries to temporary location: Binaries files were not added! This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@d6a98cad ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFragmentFileImpl@72084b8b (URI: WEB-INF/lib/itext-2.1.7.jar, lastModified: 1465919762000, size: 4096, directoryEntry: <unset>, originalURI: WEB-INF/lib/itext-2.1.7.jar) (types: null) ] [6/14/16 12:03:00:879 EDT] 0000009e AppBinaryProc I ADMA7021I: Distribution of application emporium_war completed successfully. [6/14/16 12:03:01:011 EDT] 0000009e FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/deployment.xml is modified. [6/14/16 12:03:06:716 EDT] 00000067 wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl collectFilesFromBinaries Failed to extract binaries to temporary location: Binaries files were not added! This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@7f85f7bd ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFragmentFileImpl@5f4af5fe (URI: WEB-INF/lib/itext-2.1.7.jar, lastModified: 1465919762000, size: 4096, directoryEntry: <unset>, originalURI: WEB-INF/lib/itext-2.1.7.jar) (types: null) ] [6/14/16 12:03:17:591 EDT] 00000068 wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl collectFilesFromBinaries Failed to extract binaries to temporary location: Binaries files were not added! This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@2c1b846d ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFragmentFileImpl@45f0418e (URI: WEB-INF/lib/itext-2.1.7.jar, lastModified: 1465919762000, size: 4096, directoryEntry: <unset>, originalURI: WEB-INF/lib/itext-2.1.7.jar) (types: null) ] [6/14/16 12:03:29:834 EDT] 0000009e wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl collectFilesFromBinaries Failed to extract binaries to temporary location: Binaries files were not added! This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@232f822d ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFragmentFileImpl@35f8cc3e (URI: WEB-INF/lib/itext-2.1.7.jar, lastModified: 1465919762000, size: 4096, directoryEntry: <unset>, originalURI: WEB-INF/lib/itext-2.1.7.jar) (types: null) ] [6/14/16 12:03:32:622 EDT] 0000009e EditScheduler I ADMA5075I: Editing of application emporium_war started. [6/14/16 12:03:38:298 EDT] 0000009e wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl collectFilesFromBinaries Failed to extract binaries to temporary location: Binaries files were not added! This load strategy [ org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl@f44ed002 ] Container [ org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFragmentFileImpl@cbd5bb8 (URI: WEB-INF/lib/itext-2.1.7.jar, lastModified: 1465919762000, size: 4096, directoryEntry: <unset>, originalURI: WEB-INF/lib/itext-2.1.7.jar) (types: null) ] [6/14/16 12:03:41:881 EDT] 0000009e EditScheduler I ADMA5076I: Application emporium_war edited successfully. The application or its web modules may require a restart when a save is performed. [6/14/16 12:03:51:711 EDT] 00000068 AppBinaryProc I ADMA7021I: Distribution of application emporium_war completed successfully. [6/14/16 12:03:52:650 EDT] 00000068 FileRepositor A ADMR0009I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deltas/emporium_war/delta-1465920221845 is created. [6/14/16 12:03:52:651 EDT] 00000068 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/ibm-web-bnd.xml is modified. [6/14/16 12:03:52:651 EDT] 00000068 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/ibm-web-ext.xml is modified. [6/14/16 12:03:52:672 EDT] 00000068 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/nodes/ICEsoft_Stand-Alone_Node/serverindex.xml is modified. [6/14/16 12:03:52:673 EDT] 00000068 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/ibm-application-bnd.xml is modified. [6/14/16 12:03:52:674 EDT] 00000068 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/web.xml is modified. [6/14/16 12:03:52:674 EDT] 00000068 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/emporium.war/WEB-INF/web_merged.xml is modified. [6/14/16 12:03:52:675 EDT] 00000068 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/deployment.xml is modified. [6/14/16 12:03:52:676 EDT] 00000068 FileRepositor A ADMR0010I: Document cells/ip-10-244-146-36Node01Cell/applications/emporium_war.ear/deployments/emporium_war/META-INF/application.xml is modified. [6/14/16 12:04:11:019 EDT] 00000063 AdminHelper A ADMN1009I: An attempt is made to start the emporium_war application. [6/14/16 12:04:11:029 EDT] 00000063 CompositionUn A WSVR0190I: Starting composition unit WebSphere:cuname=emporium_war in BLA WebSphere:blaname=emporium_war. [6/14/16 12:04:11:081 EDT] 00000063 ApplicationMg A WSVR0200I: Starting application: emporium_war [6/14/16 12:04:11:082 EDT] 00000063 ApplicationMg A WSVR0204I: Application: emporium_war Application build level: Unknown [6/14/16 12:04:12:185 EDT] 00000063 webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: Emporium. [6/14/16 12:04:12:247 EDT] 00000063 WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key default_host/emporium [6/14/16 12:04:15:470 EDT] 00000063 webapp E com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0015E: Failure to initialize Web application Emporium [6/14/16 12:04:15:474 EDT] 00000063 DeployedAppli W WSVR0206E: Module, emporium.war, of application, emporium_war.ear/deployments/emporium_war, failed to start [6/14/16 12:04:15:482 EDT] 00000063 ApplicationMg W WSVR0101W: An error occurred starting, emporium_war [6/14/16 12:04:15:482 EDT] 00000063 ApplicationMg A WSVR0217I: Stopping application: emporium_war [6/14/16 12:04:15:505 EDT] 00000063 ApplicationMg A WSVR0220I: Application stopped: emporium_war [6/14/16 12:04:15:508 EDT] 00000063 CompositionUn E WSVR0194E: Composition unit WebSphere:cuname=emporium_war in BLA WebSphere:blaname=emporium_war failed to start. [6/14/16 12:04:15:508 EDT] 00000063 MBeanHelper E Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=ICEsoft_Stand-Alone_Server,platform=proxy,node=ICEsoft_Stand-Alone_Node,version=8.5.5.9,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=ip-10-244-146-36Node01Cell,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: null
EE-4.1.0.GA Jenkins Build 6: emporium was tested in automation on WAS 8.5.5.9, Tomcat7, GlassFish 4.1.1, WebLogic 12.1.2.1 (FF41); also on WildFly 10, Jetty 9.2 (FF43, IE11).