IBM Support

How to configuring Jboss EAP 6x with Promising server without security?

Technical Blog Post


Abstract

How to configuring Jboss EAP 6x with Promising server without security?

Body

To configure Jboss EAP 6x with Promising server without security follow the following steps:


1. Install one Order Management System as OMS server (OMS) and Order Management System as promising server(PRMS)

2. Update the yifclient.properties file with the following Parameters in OMS Serever Side ===>To make the connection with the PRMS

          yfs.context.namespace=&YFS_CONTEXT_NAMESPACE;
          endpoint.PROMISINGSERVER.yif.apifactory.protocol=HTTP
          endpoint.PROMISINGSERVER.yif.httpapi.url=http://supportserver:8080/smcfs/interop/AuthorizationOnlyApiServlet
          file.encoding=UTF-8

3.  Update the yifClient.properties file with the two properties in PRMS server ===> To disable the Security


          authonlyservlet.validate.authentication=false
          interopservlet.security.enabled=false

          Build the Resource jars for both and then the EAR.


4.  Updating the web.xml of Promising Server with only one tag, as we are disabling the security.

<context-param>
<param-name>bypass.uri.546567</param-name>
<param-value>/interop/AuthorizationOnlyApiServlet</param-value>
</context-param>
<context-param>
<param-name>request.validation.bypass.uri.yfc.546567</param-name>
<param-value>/interop/AuthorizationOnlyApiServlet</param-value>
</context-param>
<servlet id="Servlet_546567">
<servlet-name>AuthorizationOnlyApiServlet</servlet-name>
<servlet-class>com.yantra.interop.client.AuthorizationOnlyApiServlet</servlet-class>
</servlet>
<servlet-mapping id="ServletMapping_546567">
<servlet-name>AuthorizationOnlyApiServlet</servlet-name>
<url-pattern>/interop/AuthorizationOnlyApiServlet</url-pattern>
</servlet-mapping>

5. Create the Customer_Overrides.properties file on Both OMS and PRMS like this
 
OMS:

yfs.ADJUST_INVENTORY=jms/ADJUST_INVENTORY
yfs.yfs.prms.integration.icf=org.jboss.naming.remote.client.InitialContextFactory
yfs.prms.integration.icf=org.jboss.naming.remote.client.InitialContextFactory
yfs.prms.integration.demand.providerurl=remote://<IP>:4447
yfs.prms.integration.apis.demand.qcf=jms/AGENT_QCF
yfs.prms.integration.apis.sendexternaldemandupdates.event.queue=jms/SupplyUpdateQueue
yfs.prms.sendexternaldemandupdates.createorder.event.queue=jms/PURGE_OPPORTUNITY
yfs.prms.sendexternaldemandupdates.schedule.event.queue=jms/PURGE_OPPORTUNITY_HISTORY
yfs.prms.sendexternaldemandupdates.release.event.queue=jms/PURGE_QUOTE
yfs.prms.sendexternaldemandupdates.shipment.event.queue=jms/PURGE_QUOTE_HISTORY
yfs.prms.integration.supply.providerurl=remote://9.109.120.31:4447
yfs.prms.integration.apis.supply.qcf=jms/AGENT_QCF
yfs.prms.integration.apis.sendexternalsupplyupdates.event.queue=jms/DemandUpdateQueue


PRMS:
yfs.yfs.prms.integration.icf=org.jboss.naming.remote.client.InitialContextFactory
yfs.prms.integration.icf=org.jboss.naming.remote.client.InitialContextFactory
yfs.prms.integration.demand.providerurl=remote://<ip>:4447
yfs.prms.integration.apis.demand.qcf=jms/AGENT_QCF
yfs.prms.integration.apis.sendexternaldemandupdates.event.queue=jms/SupplyUpdateQueue
yfs.prms.sendexternaldemandupdates.createorder.event.queue=jms/PURGE_OPPORTUNITY
yfs.prms.sendexternaldemandupdates.schedule.event.queue=jms/PURGE_OPPORTUNITY_HISTORY
yfs.prms.sendexternaldemandupdates.release.event.queue=jms/PURGE_QUOTE
yfs.prms.sendexternaldemandupdates.shipment.event.queue=jms/PURGE_QUOTE_HISTORY
yfs.prms.integration.supply.providerurl=remote://9.109.120.31:4447
yfs.prms.integration.apis.supply.qcf=jms/AGENT_QCF
yfs.prms.integration.apis.sendexternalsupplyupdates.event.queue=jms/DemandUpdateQueue

6. Create the Integration agent Server at PRMS side for these two services  ===> Associate the same Integration server for both services.

1.recieveexternaldemandUpdates.
2.processexternaSupplyUpdates

and then Run the agents.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11124673