Friday, July 1, 2011

Developer 8 in Linux

So I copied my 8.0 install from my Windows box to my Linux box.  I have it installed in /opt/webmethods8.

I created a developer.sh that looks like this:
#
# developer.bat : launch Developer
#
#
DEVELOPER_DIR=/opt/webmethods8/Developer
LIB_DIR=$DEVELOPER_DIR/lib
SSL_DIR=$DEVELOPER_DIR/lib/entrust
COMMON_LIB_DIR=$DEVELOPER_DIR/../common/lib
JAVA_DIR=/usr/java/latest
#
#
#
#NOTE: Classpath modifications in this file are EXCEPTIONS to the rule.
#
#See ${DEVELOPER_DIR}/config/ini.cnf or create an official <update>.jar to
#change the classpath the 'standard' way.
#
ALLOW_ARRAY_CLASSLOADING="-Dsun.lang.ClassLoader.allowArraySyntax=true"
#
SSL_PATH="${SSL_DIR}/enttoolkit.jar"
CLASSPATH=${JAVA_DIR}/lib/rt.jar:${COMMON_LIB_DIR}/ext/mail.jar:${DEVELOPER_DIR}/lib/wm-isproxy.jar:${SSL_PATH}:${LIB_DIR}/wsi-test-tools.jar:${LIB_DIR}/uddi4j.jar:${LIB_DIR}/wsdl4j-14.jar:${LIB_DIR}/xercesImpl.jar:${COMMON_LIB_DIR}/ext/xml-apis.jar:${LIB_DIR}/xmlParserAPIs.jar:${LIB_DIR}/resolver.jar
#
JAVA_HOME=$JAVA_DIR
#
echo $CLASSPATH
#
cd ${DEVELOPER_DIR}
#
/usr/java/latest/bin/java -Xms128M -Xmx256M ${ALLOW_ARRAY_CLASSLOADING} -classpath ${CLASSPATH} com.wm.app.dev.Main ${DEVELOPER_DIR}/config/ini.cnf &
#
#
#.... restore original classpath and path
#CLASSPATH=${SAVED_CP}
#PATH=${SAVED_PATH}

Changed the paths in /opt/webmethods8/Developer/config/ini.cnf so it looks like this:

#######################################################################
#     STARTUP PROPERTIES FOR WEBMETHODS DEVELOPER
######################################################################
#Thu Jan 21 10:25:27 MST 2010
application.mainMethodParams=-debug 4
application.name=webMethods Developer
application.productDirectory=/opt/webmethods8/Developer
application.version=8.0
application.updateVoidList=
application.classpath=/opt/webmethods8/Developer/lib/developer.jar:/opt/webmethods8/Developer/lib/caffeineLAF.jar:/opt/webmethods8/common/lib/wm-isclient.jar:/opt/webmethods8/Developer/lib/ite3.jar:/opt/webmethods8/Developer/lib/biicons.jar:/opt/webmethods8/Developer/lib/:/opt/webmethods8/common/lib/ext/icu4j.jar:/opt/webmethods8/common/lib/ext/log4j.jar:/opt/webmethods8/common/lib/wm-g11nutils.jar:/opt/webmethods8/common/lib/ext/axis.jar:/opt/webmethods8/common/lib/ext/commons-discovery.jar:/opt/webmethods8/common/lib/ext/enttoolkit.jar:/opt/webmethods8/common/lib/ext/saaj-api.jar:/opt/webmethods8/Developer/lib/wsdl4j.jar:/opt/webmethods8/Developer/lib/jakarta-oro-2.0.5.jar:/opt/webmethods8/common/lib/ext/commons-logging.jar:/opt/webmethods8/common/lib/ext/jaxrpc-api.jar:/opt/webmethods8/common/lib/ext/commons-lang.jar:/opt/webmethods8/Developer/lib/ext/jug-asl-2.0.0.jar:/opt/webmethods8/Developer/lib/uddiv3ClientJars/infravio-commons.jar:/opt/webmethods8/Developer/lib/uddiv3ClientJars/registry-commons.jar:/opt/webmethods8/Developer/lib/uddiv3ClientJars/registry-uddiv3-agent.jar:/opt/webmethods8/Developer/lib/uddiv3ClientJars/registry-uddiv3-client.jar:/opt/webmethods8/Developer/lib/uddiv3ClientJars/registry-uddiv3-commons.jar:/opt/webmethods8/Developer/lib/uddiv3ClientJars/registry-uddiv3-framework.jar:/opt/webmethods8/Developer/lib/uddiv3ClientJars/registry-properties.jar:/opt/webmethods8/common/lib/sin-common.jar:

And then it worked!

Will work on Designer next!