Created On:  16 May 2011

Problem:

IMTKMAKE is encountering the following error when generating a webservice for deployment on WebSphere 7.

Invalid AppServer value.  Valid values are:

WebLogic 9.2 WebSphere 6.0 WebSphere 6.1 JBoss 4.2.3

terminate called after throwing an instance of 'EJBGenException'

Execution error : file ''

error code: 115, pc=0, call=1, seg=0

115     Unexpected signal (Signal 6)

Sample script using the Mapdemo tutorial is asfollows:

imtkmake -generate service=JMapServ type=ejb bean=JMap classpath=/WebSphere/AppServer/dev/JavaEE/5.0/j2ee.jar ejbname=JMapEJB esruntime=jmapconf.rtc jarname=JMap package=com.corp.jmap session=stateful appserver="WebSphere 7.0"  namespace=http://vmcobol/JMapServ url=http://vmcobol:9003 appdir=/home/tecsup/mfpractice/mapdemo serverHost=esdemo serverPort=9003

Resolution:

WebSphere 7 is not listed output when Imtkmake –queryAppServerList. However, WebSphere 7 is supported based on the documentation for Server Express 6 . (documentation.microfocus.com: Enterprise > Server Enterprise Edition 6.0 ServicePack 1 WS1 for UNIX > Start Here > Product Information > Third Party Software).

Since the WebSphere is supporting j2ee version 1.5, the parameter j2eeVersion=1.5 must be set in –generate option. This parameter is not listed in the –generate option in the documentation for IMTKMAKE.

Modified script that will accept “Websphere 7.0” :

imtkmake -generate service=JMapServ type=ejb bean=JMap classpath=/WebSphere/AppServer/dev/JavaEE/5.0/j2ee.jar ejbname=JMapEJB esruntime=jmapconf.rtc jarname=JMap package=com.corp.jmap session=stateful appserver="WebSphere 7.0"  namespace=http://vmcobol/JMapServ url=http://vmcobol:9003 appdir=/home/tecsup/mfpractice/mapdemo serverHost=esdemo serverPort=9003 j2eeVersion=1.5
Incident #2514983