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!

4 comments:

  1. Hi Kevin,

    It's great to see that you have managed to run the Developer on Linux. I have also raised the topic for SAG support, but they said it is not possible yet (http://tech.forums.softwareag.com/viewtopic.php?t=24086&highlight=&sid=49faecd7c0b7b9e60dbd3550cdfe5645).

    It would be nice if you also post some screen shots, so the world can see it.

    What Linux distribution have you used?

    br,
    Vlad

    ReplyDelete
  2. There are some things that do not work. Some are annoying but for the most part I use it and switch to my windows version less than 10% of the time. My "shortcuts" for flow services do not work, that's one of the biggest ones.

    The linux version looks exactly like the windows version. Only the titlebar is different, and then only slightly.

    I'm using Fedora 12.

    ReplyDelete
  3. You should forget about developer now and get the 8.2 designer (which is backward compatible for v7, v8.0). It's eclipse based so should be a much easier task of getting running..

    It'll feel a bit strange for a while, but then you won't look back. There are one or two things that you might need Developer for, but generally you'll just use Designer.
    Developer will have no further work done on it, so best to get used to Designer.

    ReplyDelete
  4. I was planning to do that, but oddly enough it was much easier to get Developer running than it was to get Designer running. I do have a blog post in draft from my attempt, but I haven't been successful getting 8.2 to run under Fedora12 yet. Problems getting Eclipse 3.4 running (which is the version Designer 8.2 is based on) and more problems trying to get designer to run in Eclipse 3.6. Then got busy and haven't had time to figure it out yet.

    I don't mind designer and was starting to use it most of the time on my Windows box, then I got Developer running on my Linux box and haven't looked back.

    ReplyDelete