Configuring the JD Edwards EnterpriseOne Server Components
Perform the following tasks to set up your JD Edwards EnterpriseOne server so that EnterpriseOne can receive an inbound message from another system or application and respond by placing an outbound message in the outbound queue. If your JD Edwards EnterpriseOne server is an IBM pSeries machine or an HP-UX machine, use the appropriate setup task to set up your machine then proceed to the task titled To create and start the IBM WebSphere MQ Queue Manager. If you have other UNIX platforms, go directly to the task titled To create and start the IBM WebSphere MQ Queue Manager.
Prepare for IBM WebSphere MQ version 6.0 or version 7.0.
Set up your pSeries machine.
Set up your HP machine.
Create and start IBM WebSphere MQ queue manager.
Create MQ local queues.
Create a MQ remote queue.
Create a MQ local sender channel.
Create a MQ local receiver channel.
End the IBM WebSphere MQ queue manager.
To setup an IBM AIX (pSeries) machine for WebSphere MQ 6 or MQ 7
To properly perform this task, you must be logged on with root authority.
Edit the /etc/services file and add this line:
ibm-mqseries 1414/tcp # WebSphere MQ channel listener
Edit the /etc/inetd.conf file and add this line:
ibm-mqseries stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m JDE_QMGR
After you have made the file edits, you must either refresh the inetd process or kill the process and restart it. Do one of these:
To refresh the inetd process, enter this command:
refresh -s inetd
To kill the inetd process, you must first locate it using this command:
ps -ef | grep inetd
After you have located the inetd process, you can kill it using this command:
kill -1 inetd <process_ID>
where <process_ID> is the ID you determined using the grep command.
Edit the .profile files for each user that will connect to the WebSphere MQ instance (may include jde900, mqm, and/or root) to add this export line:
MQSERVER=SYSTEM.DEF.SVRCONN/TCP/<hostname>
Log out these users from step 4, and log them back in to execute the .profile to set MQSERVER.
To setup your HP machine
To properly perform this task, you must be logged on as the UNIX user who starts JD Edwards EnterpriseOne services (for example, jde910).
Edit the .profile file to add the following export line:
export MQS_NO_SYNC_SIGNAL_HANDLING=
Log out and back in to execute the .profile to set MQS_NO_SYNC_SIGNAL_HANDLING.
To create and start WebSphere MQ Queue Manager
On your JD Edwards EnterpriseOne server, open a shell.
To create the queue manager, execute this command:
crtmqm -q JDE_QMGR
This establishes a JDE queue manager as the default queue manager.
To start the queue manager, execute this command:
strmqm JDE_QMGR
To create MQ local queues
You must create these local queues:
INBOUND.Q
SUCCESS.Q
ERROR.Q
DEFRES.Q
OUTBOUND.Q.XMIT
Access the shell you used to start the queue manager.
To start the MQSC facility, enter this command:
runmqsc JDE_QMGR
To create the local queues, run these IBM WebSphere MQ commands:
Define QLOCAL(INBOUND.Q) DEFPSIST(YES)
DESCR('Queue for messages into EnterpriseOne')
Define QLOCAL(SUCCESS.Q) DEFPSIST(YES)
DESCR('Queue for successful messages in EnterpriseOne')
Define QLOCAL(ERROR.Q) DEFPSIST(YES)
DESCR('Queue for error messages in EnterpriseOne')
Define QLOCAL(DEFRES.Q) DEFPSIST(YES)
DESCR('Queue for responses if not in message in EnterpriseOne')
Define QLOCAL(OUTBOUND.Q.XMIT) DEFPSIST(YES)
USAGE(XMITQ) DESCR('Transmit queue to NC system')
To create the MQ remote queue
In the same shell you used in the previous task, enter this command to create a single MQ remote queue:
Define QREMOTE(OUTBOUND.Q) DEFPSIST(YES)
XMITQ(OUTBOUND.Q.XMIT) RNAME(ECE_IN2MQI)
RQMNAME(ECE_MQI_QMGR) DESCR('EnterpriseOne outbound queue to NC system')
To create a MQ local sender channel
In the same shell you used in the previous task, enter this command to create a MQ local sender channel:
Define CHANNEL(OW2MQI_CHL) CHLTYPE(SDR) TRPTYPE(TCP)
CONNAME(Net Comm Server Name) XMITQ(OUTBOUND.Q.XMIT)
DISCINT(0) DESCR('Sender channel to NC system')
To create a MQ local receiver channel
In the same shell you used in the previous task, enter the following command to create a MQ local receiver channel:
Define CHANNEL('MQI2OW_CHL') CHLTYPE(RCVR) TRPTYPE(TCP) DESCR('Receiver channel from third-party application or system')
To end the IBM WebSphere MQ command mode
When you are finished creating the queues and channels, from the same shell you used in the previous tasks, enter this command:
END
This exits the runmqsc program.