Bug 1091771
| Summary: | Deploy HR client embedded Web Applications on WebLogic Server(Remote) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Misha H. Ali <mhusnain> | ||||
| Component: | Documentation | Assignee: | Rakesh <rghatvis> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Vitalii Chepeliuk <vchepeli> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.2.1 | CC: | dmehra, jdg-bugs, mhusnain, vchepeli | ||||
| Target Milestone: | GA | ||||||
| Target Release: | 6.3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-05-29 22:46:42 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Misha H. Ali
2014-04-28 00:55:32 UTC
Misha, Vitalii says there is no need to document installation of JDG on WebLogic server but instructions for deployment of Infinispan applications on the WebLogic server could be added. Further, Vitalii says we can direct the users to Oracle WebLogic documentation for installation rather than documenting the entire procedure as it is vast. He says you and Divya may discuss whether to include the complete installation in the docs or no. Please let me know the next course of action. 1. Ok First we need to Write something about WebLogic server should be installed and if not put some references to Oracle documentation how to install WebLogic server, I sent you buch of linkes and last one was how to install it in different modes.
2. When Weblogic is installed configured and running, then we should configure JDG server(cache configuration for JDG server we will use for remote connecting with HR client)
2.a After JDG is configured and running we can procede with next step.
3. Create Web Application where following libraries should be added as dependencies or libraries we use with other dependencies or libraries for our Web application
infinispan-commons.jar
infinispan-client-hotrod.jar
commons-pool.jar
4. Create weblogic.xml file and include following content in it
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app
xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
5.a. <prefer-web-inf-classes>true</prefer-web-inf-classes> means thats we will use libratries and classes inside WEB-INF folder and not those WebLogic server uses by default(e.g hotrod client uses commons-pool.jar with version minimum to 1.6 but weblogic has bundled commons-pool.jar with version 1.4, so we want to tell WebLogic to use our libraries and ignore it's default)
5.b add weblogic.xml file to as WEB-INF resource(include it inside WEB-INF) folder
5.b Package Web Application into archive, verify that all dependent libraries for hotrod and hotrod library are inside WEB-INF/lib folder
5.c Deploy application onto WebLogic server.
Created attachment 897535 [details]
weblogic.xml file we need for deploying web application on WebLogic server
Development in progress on the following outline * How to Install WebLogic server in different modes [refer to WLS documentation] * Configuring JDG server on the installed, configured WebLogic server * Creating a Web Application and Adding libraries to it * Edit weblogic.xml * Package and Deploy application onto WebLogic server Created docbuilder topic: Deploy Web Applications on WebLogic Server [31392] This bug is now available as part of the JDG 6.3 Beta documentation: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Data_Grid/ |