| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Designing: Additional JMS Configurations |
|
Creating a Runtime Environment
Designing Business Processes in the Sun Business Process Manager
Working with TCP/IP HL7 Collaborations
Developing Sun Master Indexes (Repository)
Developing Sun Master Patient Indexes
Developing OTDs for Application Adapters
Developing OTDs for Communication Adapters
Developing OTDs for Database Adapters
Developing OTDs for Web Server Adapters
Designing with Application Adapters
Building an Oracle Applications Custom Pre-Validation Package
To Build a Custom Pre-Validation Package for a Non-Supported Open Interface
Concurrent Manager Request Function
Naming Conventions for the Oracle Interface
Oracle Applications Manufacturing Module
Oracle Applications Financial Module
Oracle Applications Validation Error Codes
Configuring the PeopleSoft Server for the PeopleSoft Adapter Projects
Configuring PeopleSoft for Enterprise Service Bus Posting
Additional HTTP Configurations
Verifying PeopleSoft Server Logs
Notes on PeopleSoft Server Disconnections for JMS
Creating the PeopleSoft Node to Receive Enterprise Service Bus HTTP Posts
Activating the Message Definition to Receive Enterprise Service Bus Posts
Defining Message Channel Routing Rules
Adding the PeopleSoft Subscription Handler
Creating an HTTP Adapter Message Node
Activating the Message Definition for Subscription
Defining the Message Channel Routing Rules
Adding the HTTP Publication Handler
Accessing Non-Local Queue Managers and Non-Local Queues
To Connect to a Remote WebSphere MQ Queue.
Creating the WebSphere MQ Queue
To Create the WebSphere MQ Queue
IBM WebSphere MQ Server and Queue Manager Limits and Settings
Designing with Communication Adapters
Designing with Web Server Adapters
Designing with Sun JCA Adapters
To configure inbound JMS connections, you must edit the IntegrationGateway.properties file as described in the procedure.
bea\wlserver6.1\config\peoplesoft\applications\PSIGW\WEB-INF
where, bea is the WebLogic installation directory.
You can configure multiple queues by using the convention ig.jms.queue1, ig.jms.queue2, ig.jms.queue3, and so on. Configuring Inbound JMS Connections shows how the JMS listener is configured for the GenericOutQueue.
|
You can configure multiple queues by using the convention ig.topic1, ig.topic2, ig.topic3, and so on. The table shows how to configure the JMS topic to use the GenericOutTopic.
|
To enable the PeopleSoft Adapter to post to PeopleSoft using JMS, you must have a JNDI bindings file in place. You can generate the bindings file with any standard JNDI generation application. Sun provides a sample generation application called PSFTBindJMS.java. This program and two associate applications, compile.bat and run.bat, are included in the sample Project file.
You must edit and recompile the PSFTBindJMS.java file before generating the bindings file.
Note - The latest version of the Enterprise Service Bus API Kit JAR files must be added to the WebLogic PeopleSoft-PIS server classpath. To confirm this, check the JAR files in the server’s setENV.cmd file located in the following location (or equivalent): C:\bea\wlserver6.1\config\peoplesoft\setEnv.cmd If you have installed the PeopleSoft-PIA service as a Windows Service, you must uninstall and reinstall the service by executing unInstallNTServicePIA.cmd first, then executing installNTServicePIA.cmd. This is a runtime classpath requirement to confirm the new classpath.
fcontextprops.put(Context.PROVIDER_URL, "file:C:\\eGateExports\\PeopleSoft\\JMS");
Note - If you are installing the Sun Java Composite Application Platform Suite and the PeopleSoft Adapter on a computer that previously included ICAN 5.0.5, be sure to delete all of the previously installed API JAR files, and follow the directions in the Sun Enterprise Service Bus API Kit Developer’s Guide to modify your classpath to include the new API JAR files.
When you run the bindings generation application for the first time, the following message is displayed:
fcontext TopicConnectionFactory lookup exception, you never had this jndi entry fcontext TopicConnectionFactory lookup is null... will bind to the jndi name fcontext GenericInTopic lookup exception, it doesn’t exist GenericInTopic is null...bind GenericInTopic as GenericInTopic fcontext GenericOutTopic lookup exception, it doesn’t exist GenericOutTopic is null...bind GenericOutTopic as GenericOutTopic fcontext ErrorTopic lookup exception, it doesn’t exist t is null...bind ErrorTopic as ErrorTopic fcontext QueueConnectionFactory lookup exception it doesn’t exist fcontext QueueConnectionFactory lookup is null...bind with new value fcontext GenericInQueue lookup exception, it doesn’t exist GenericInQueue is null...bind GenericInQueue as GenericInQueue fcontext GenericOutQueue lookup exception GenericOutQueue is null...bind GenericOutQueue as GenericOutQueue
In the subsequent runs, the following message is displayed:
fcontext TopicConnectionFactory is NOT null...unbind then re-bind TopicConnectionFactory will overwrite old value com.stc.jms.client.STCTopic fcontext GenericInTopic is NOT null...unbind then re-bind GenericInTopic will overwrite old valuecom.stc.jms.client.STCTopic fcontext GenericOutTopic is NOT null...unbind then re-bind GenericOutTopic will overwrite old valuecom.stc.jms.client.STCTopic fcontext ErrorTopic is NOT null...unbind then re-bind ErrorTopic will overwrite old value fcontext QueueConnectionFactory is NOT null...unbind then re-bind QueueConnectionFactorycom.stc.jms.client.STCQueue fcontext GenericInQueue is NOT null...unbind then re-bind GenericInQueue will overwrite old valuecom.stc.jms.client.STCQueue fcontext GenericOutQueue is NOT null...unbind then re-bind GenericOutQueue will overwrite old value
startIA.cmd
After you execute this command, monitor the PIA_weblogic.log file until you see the following output:
#### <> <000329>
This indicates that the PIA Service is started. If you use this method of starting the PIA service, be aware that the Windows Services console will not accurately reflect that the service has been started.
#### <> <> <101047> <[WebAppServletContext(2244929,PSIGW, /PSIGW)] JMSListeningConnectorAdministrator: init> #### <> <> <101047> <[WebAppServletContext(2244929,PSIGW, /PSIGW)] PeopleSoftListeningConnector: init>
If you perform step Creating the JNDI Bindings File for JMS Posting before the PIA service is ready, the JMS Listening Connector will not be active, so it will not receive messages from Enterprise Service Bus.
To Start the JMS Listening Connector, use the following command:
http://hostname:port/PSIGW/JMSListeningConnectorAdministrator?Activity=START
To Stop the JMS Listening Connector, use the following command:
http://hostname:port/PSIGW/JMSListeningConnectorAdministrator?Activity=STOP
To verify if your JMS connection works, you can use the StartSendMaster.bat provided by PeopleSoft in the following location:
c:\bea\wlserver6.1\config\peoplesoft\applications\PSIGW