-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s2i-liberty #4
s2i-liberty #4
Changes from 1 commit
1d45bab
3cef661
04fa257
dfc8d5a
ea42cbc
97d40b5
12666fa
23bf58a
6da266e
923ac20
5f74db7
64325ec
cb019e4
e2bc269
b073470
c5e6088
17015a7
5811643
1ea2747
7970be5
86ad4bf
3060150
5deb6e3
fbf5906
2ae50b8
d5560c3
a416fb4
8d34e3f
24e192c
2ec145d
57f9d58
13c05c5
e7500dd
fd7e11d
67a4a38
a4cf45d
ed21fdb
7dacd1e
2a0cb63
909ec16
e29a787
11863f1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ This demonstration describes how to produce a new Source to Image (S2I) runtime | |
* [Binary Source](#binary-source) | ||
* [Create the build config](#create-the-build-config) | ||
* [Create A New Application](#create-a-new-application) | ||
* [Considerations on HTTP session failover](#considerations-on-http-session-failover) | ||
|
||
|
||
## Overview | ||
|
@@ -153,6 +154,8 @@ The liberty runtime image expects: | |
* any deployable artifacts in the $WORKDIR/artifacts directory | ||
* any [Liberty configuration files] (http://www.ibm.com/support/knowledgecenter/SSAW57_liberty/com.ibm.websphere.wlp.nd.doc/ae/cwlp_config.html) in the $WORKDIR/config directory | ||
|
||
As you can notice the runtimeArtifacts section mentions files by name. This implies that for this process to work the artifact created by the builder image have to be always the same. I expect improvements on this front in future releases of OpenShigt but for now this is a constraint that must be kept in mind. | ||
|
||
### Create a new Application | ||
|
||
To demonstrate the usage of the newly created builder and runtime images, a Jee example application will be built and deployed to Liberty using the Source to Image process. | ||
|
@@ -183,4 +186,11 @@ oc logs builds/<build_name> | |
|
||
*Note: Replace `<build_name>` with the name of the build found in the previous command.* | ||
|
||
Once the build completes, the application will be deployed. | ||
Once the build completes, the application will be deployed. | ||
|
||
## Considerations on http session failover | ||
|
||
When liberty is deployed in a cloud environment certain limitation applies as explained in this [document](http://www.ibm.com/support/knowledgecenter/en/SSD28V_8.5.5/com.ibm.websphere.wlp.core.doc/ae/cwlp_paas_restrict.html). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sentence needs to be cleaned up. "When liberty is deployed in a cloud environment, there are certain limitations that apply as explained in this document" |
||
With respect to the http session failover, two techniques generally apply: | ||
1. session replication: Liberty does not support session replication out-of-the-box. This feature can be implemented by integrating with eXtremeScale, as described in this [article](). | ||
2. session persistence: it is possible to persist the session using any database that support a JDBC connection. This [article](http://www.ibm.com/support/knowledgecenter/en/SSD28V_8.5.5/com.ibm.websphere.base.doc/ae/tprs_cnfp.html) explains how to configure Liberty to do so. |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalize JEE