Consultor Eletrônico



Kbase P114568: Running the OpenEdge ESB Adapter on Linux
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/30/2006
Status: Unverified

GOAL:

Running the OpenEdge ESB Adapter on Linux

FACT(s) (Environment):

OpenEdge 10.1A
RedHat Enterprise Linux AS 3.0
Sonic MQ 6.1

FIX:

Test configuration known as working :
SonicMQ Enterprise Edition Release 6.1 Build Number 235 Protocol P27 with
Sonic ESB Remote Site Edition Release 6.1 Build Number 304

Java version:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode).
Red Hat Enterprise Linux AS release 3
OpenEdge 10.1A ESB adapter
Test example info:
Excerpt from script to start the OpenEdge ESB-adapter WebServices container:
do
"$SONICMQ_JRE" $BROKER_JVM_ARGS $JVM_ARGS_EXT $SONICMQ_SSL_CLIENT "-Xbootclasspath/p:$SONICMQ_LIB/jmxri.jar${ps}/usr/progress/101a/esbadapter/lib/xercesImpl.jar${ps}/usr/progress/101a/esbadapter/lib/xmlParserAPIs.jar" $PASSWORDPROPERTY $STARTACTIVEPROPERTY "-Dsonicsw.mf.libX=$LIBXDIR" -Dsonicsw.mf.allowRestart=true -cp "$SONICMQ_CLASSPATH" com.sonicsw.mf.Agent $CONTAINERFILE $DSFILE
EXITCODE=$?
done
Excerpt from openedge_env.sh with <SonicESB install dir>/bin/setenv:
# Sets any ESB Adapter system properties
JVM_ARGS_EXT="$JVM_ARGS_EXT -Dcom.progress.openedge.home=/usr/progress/101a $OE_SSL_CERTIFICATE_STORE";export JVM_ARGS_EXT
DLC="/usr/progress/101a";export DLC
# Adds the ESB Adpater libraries to our classpath
SMQ_CLASSPATH_EXT="$SMQ_CLASSPATH_EXT:/usr/progress/101a/esbadapter/lib/esbadptr.jar:/usr/progress/101a/esbadapter/lib/wsdl4j.jar:/usr/progress/101a/esbadapter/lib/activation.jar:/usr/progress/101a/esbadapter/lib/regexp.jar:/usr/progress/101a/esbadapter/lib/servlet.jar";export SMQ_CLASSPATH_EXT
Contents of OpenEdgeSrvType.xml:
<?xml version="1.0" encoding="UTF-8"?><serviceType xmlns="http://www.sonicsw.com/sonicxq" name="OpenEdgeSrvType" factoryClass="com.progress.esb.adapter.EsbAdapter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sonicsw.com/sonicxq file:////usr2/Sonic61/esb/schema/serviceType.xsd"> <validParams> <init> <stringParam name="WSM" required="true"/> <stringParam name="webServiceNamespace" required="false"/> <stringParam name="faultProcessing" required="false"> <default>0</default> </stringParam> <stringParam name="appServiceProtocol" required="false"/> <stringParam name="appServiceHost" required="false"/> <stringParam name="appServicePort" required="false"/> <stringParam name="appServiceName" required="false"/> <stringParam name="noHostVerify" required="false"/> <stringParam name="noSessionReuse" required="false"/> </init> </validParams></serviceType>