forked from acmeair/acmeair
-
Notifications
You must be signed in to change notification settings - Fork 28
WebSphere Liberty To WebSphere eXtreme Scale Setup
aspyker edited this page May 29, 2013
·
34 revisions
Download the following free for developers or trial versions of WebSphere software:
- WebSphere Liberty 8.5.0.2 (https://www.ibm.com/developerworks/community/blogs/wasdev/entry/download)
- WebSphere eXtreme Scale XXXXXX (http://www.ibm.com/developerworks/downloads/ws/wsdg)
Install the following development tools:
- Git for access to the source code (http://msysgit.github.io/ for windows)
- Maven for building the project (http://maven.apache.org/download.cgi)
Install the one dependency that isn't available in Maven (WebSphere eXtreme Scale library):
- cd \wxs\lib
- mvn install:install-file -Dfile=objectgrid.jar -DgroupId=com.ibm.websphere.objectgrid -DartifactId=objectgrid -Dversion=8.6.0.0-GA -Dpackaging=jar
Build the code:
- mvn clean compile package install
Start WebSphere eXtreme Scale by using the getting started sample
- cd %OBJECT_GRID_INSTALL_DIR% (objectgrid)
- xcopy gettingstarted\. acmeair\. /s/e/i/v/q
- cd acmeair
- edit the env.bat to point to your build output (TODO: be specific here of how) ** SET SAMPLE_SERVER_CLASSPATH=%SAMPLE_HOME%\server\bin;%SAMPLE_COMMON_CLASSPATH%;C:\work\eclipse\acmeair\acmeair-common\target\classes;C:\work\eclipse\acmeair\acmeair-services-wxs\target\classes;C:\Users\aspyker.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar
- .\runcat
- in another window...
- .\runcontainer c0
Load the data into the data grid:
- cd %ACMEAIR_SOURCE_DIR%
- cd acmeair-loader
- mvn exec:java
Create and start the WebSphere Liberty server and then deploy the application
- cd %WLP_INSTALL_DIR%
- bin\server create server1
- bin\server start server1
- copy acmeair-webapp\target\acmeair-webapp-1.0-SNAPSHOT.war \wlp\usr\servers\server1\dropins.
Load the following url: