Date Created: Fri 21-Jan-2011

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Running ZK Demo On WebSphere 8


http://www.zkoss.org/download/zk.dsp

ZK Demo Download


Deploying on WebSphere 8 for preview of demo

My deployable folder exists:

C:\IBM\WebSphere\AppServer\profiles\AppSrv01\monitoredDeployableApps\servers\server1

Drag and Drop WebSphere 8 Deployment


I dropped the ZK EAR file into the monitored folder for server1 below is the log, look further down to seethe demo running.


[23/12/10 18:25:56:146 GMT] 00000025 WatchService I CWLDD0007I: Event id 2027903608-1. Start of processing. Event type: Added, File path: C:\IBM\WebSphere\AppServer\profiles\AppSrv01\monitoredDeployableApps\servers\server1\zkdemos.ear.
[23/12/10 18:25:56:647 GMT] 00000025 ModelMgr I WSVR0801I: Initializing all server configuration models
[23/12/10 18:26:01:436 GMT] 00000025 WorkSpaceMana A WKSP0500I: Workspace configuration consistency check is disabled.
[23/12/10 18:26:02:890 GMT] 00000025 AppManagement I CWLDD0028I: Event id 2027903608-1. The target of the current operation is [WebSphere:cell=T60Windows7PNode01Cell,node=T60Windows7PNode01,server=server1].
[23/12/10 18:26:03:050 GMT] 00000025 AppManagement I CWLDD0014I: Event id 2027903608-1. Installing application zkdemos...
[23/12/10 18:27:20:730 GMT] 00000026 webcontainer I com.ibm.ws.webcontainer.internal.WebContainer addExtensionFactory SRVE0239I: Extension Factory [class com.ibm.ws.soa.sca.web.extension.SCAWebExtensionFactory] was registered successfully.
[23/12/10 18:27:20:734 GMT] 00000026 webcontainer I com.ibm.ws.webcontainer.internal.WebContainer addExtensionFactory SRVE0240I: Extension Factory [class com.ibm.ws.soa.sca.web.extension.SCAWebExtensionFactory] has been associated with patterns [""].
[23/12/10 18:27:20:970 GMT] 00000026 WebSphereSCAS I Added Servlet mapping: /dojo
[23/12/10 18:27:20:974 GMT] 00000026 WebSphereSCAS I Added Servlet mapping: /dojo
[23/12/10 18:27:20:979 GMT] 00000026 WebSphereSCAS I Added Servlet mapping: /tuscany
[23/12/10 18:27:21:001 GMT] 00000026 WebSphereSCAS I Added Servlet mapping: /tuscany
[23/12/10 18:27:24:551 GMT] 00000026 InstallSchedu I ADMA5013I: Application zkdemos installed successfully.
[23/12/10 18:27:45:388 GMT] 00000025 AppBinaryProc I ADMA7021I: Distribution of application zkdemos completed successfully.
[23/12/10 18:27:45:502 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/META-INF/MANIFEST.MF.
[23/12/10 18:27:45:510 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/portlet.xml.
[23/12/10 18:27:45:526 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/i3-label_ja.properties.
[23/12/10 18:27:45:528 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/cus/zkdemos/cver/BASE/cu.xml.
[23/12/10 18:27:45:544 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/META-INF/ibm-application-runtime.props.
[23/12/10 18:27:45:550 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/zk.xml.
[23/12/10 18:27:45:553 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/web.xml.
[23/12/10 18:27:45:557 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/zk-test.xml.
[23/12/10 18:27:45:562 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/cus/zkdemos/cver/BASE/controlOpDefs.xml.
[23/12/10 18:27:45:568 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/cus/zkdemos/cver/BASE/cu-ref.xml.
[23/12/10 18:27:45:572 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/i3-label.properties.
[23/12/10 18:27:45:576 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/META-INF/application.xml.
[23/12/10 18:27:45:589 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/deployment.xml.
[23/12/10 18:27:45:594 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/blas/zkdemos/bver/BASE/bla.xml.
[23/12/10 18:27:45:617 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/lang-addon.xml.
[23/12/10 18:27:45:619 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/i3-label_zh_CN.properties.
[23/12/10 18:27:45:621 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/zkdemos.ear.
[23/12/10 18:27:45:623 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deltas/zkdemos/delta-1293128820044.
[23/12/10 18:27:45:625 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/i3-label_zh_TW.properties.
[23/12/10 18:27:45:627 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/META-INF/MANIFEST.MF.
[23/12/10 18:27:45:650 GMT] 00000025 FileRepositor A ADMR0015I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 created document cells/T60Windows7PNode01Cell/applications/zkdemos.ear/deployments/zkdemos/zkdemo.war/WEB-INF/web.servlet-2.3.xml.
[23/12/10 18:27:45:654 GMT] 00000025 FileRepositor A ADMR0016I: User defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1 modified document cells/T60Windows7PNode01Cell/nodes/T60Windows7PNode01/serverindex.xml.
[23/12/10 18:27:45:918 GMT] 00000025 AppManagement I CWLDD0015I: Event id 2027903608-1. Application zkdemos is installed successfully.
[23/12/10 18:27:45:921 GMT] 00000025 AppManagement I CWLDD0020I: Event id 2027903608-1. Starting application zkdemos...
[23/12/10 18:27:46:039 GMT] 00000025 AdminHelper A ADMN1008I: An attempt is made to start the zkdemos application. (User ID = defaultWIMFileBasedRealm/server:T60Windows7PNode01Cell_T60Windows7PNode01_server1)
[23/12/10 18:27:46:202 GMT] 00000025 CompositionUn A WSVR0190I: Starting composition unit WebSphere:cuname=zkdemos in BLA WebSphere:blaname=zkdemos.
[23/12/10 18:27:46:352 GMT] 00000025 ApplicationMg A WSVR0200I: Starting application: zkdemos
[23/12/10 18:27:46:357 GMT] 00000025 ApplicationMg A WSVR0203I: Application: zkdemos Application build level: 5.0.5
[23/12/10 18:27:50:583 GMT] 00000025 webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: zkdemo.
[23/12/10 18:27:50:775 GMT] 00000025 WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key default_host/zkdemo
[23/12/10 18:27:51:997 GMT] 00000025 zkoss I org.zkoss.zk.ui.http.WebManager <init>:111 Starting ZK 5.0.5 EE (build: 2010110316)
[23/12/10 18:27:52:024 GMT] 00000025 zkoss I org.zkoss.zk.ui.sys.ConfigParser parseConfigXml:148 Loading system default
[23/12/10 18:27:52:321 GMT] 00000025 zkoss I org.zkoss.zk.ui.sys.ConfigParser parse:259 Parsing file:/C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/T60Windows7PNode01Cell/zkdemos.ear/zkdemo.war/WEB-INF/zk.xml
[23/12/10 18:27:54:862 GMT] 00000025 zkoss W org.zkoss.zkex.init.WebAppInit init:29 This is an evaluation copy of ZK EE and will terminate after sixty days from the first date of installation. Should you require an open source license or commercial license for ZK EE please contact us at info@zkoss.org for more information. Alternatively you can download ZK CE which is licensed under the LGPL.
[23/12/10 18:27:54:929 GMT] 00000025 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [zkdemos] [/zkdemo] [zkLoader]: Initialization successful.
[23/12/10 18:27:54:934 GMT] 00000025 webcontainer I com.ibm.ws.webcontainer.VirtualHostImpl addWebApplication SRVE0250I: Web Module zkdemo has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].
[23/12/10 18:27:55:258 GMT] 00000025 ApplicationMg A WSVR0221I: Application started: zkdemos
[23/12/10 18:27:55:267 GMT] 00000025 CompositionUn A WSVR0191I: Composition unit WebSphere:cuname=zkdemos in BLA WebSphere:blaname=zkdemos started.
[23/12/10 18:27:55:285 GMT] 00000025 AppManagement I CWLDD0021I: Event id 2027903608-1. Application zkdemos is started on: WebSphere:cell=T60Windows7PNode01Cell,node=T60Windows7PNode01,server=server1,status=success.
[23/12/10 18:27:55:985 GMT] 00000025 WatchService I CWLDD0008I: Event id 2027903608-1. End of processing

================

When we log into the admin console we can see the new application has been deployed

Enterprise Applications

go to WebSphere enterprise applications within the Application section of the LHS navigation panel and when you see the listed applications then click on xkdemos to see if we can find the context root.




Click on "Context Root for Web Modules"



As you can see the context root is /zkdemo



Lets browse to the application

http://localhost:9080/zkdemo/index.html which redirects to http://localhost:9080/zkdemo/userguide

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • My Blog
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories