|
We just tried our first attempt to externalize one of our own programs
as a web service. On a customer's V6 box (rather profoundly NOT my idea!)
It brought up ConvertTemp (even though the library list wasn't set up
for it, which is curious in itself), but when it tried to bring up our
program, it failed, producing the following log:
*/QIBM/UserData/OS/OSGi/LWISysInst/admin4/lwi/logs/lwistderr.txt*
------------------------------------------------------------------------
2010/08/08 00:55:42.376 CONFIG eclipse.buildId=@buildId@
java.fullversion=J2RE 1.5.0 IBM J9 2.3 OS/400 ppc-32
j9vmap3223sr11-20091106 (JIT enabled) J9VM - 20091103_45935_bHdSMr JIT -
20091016_1845_r8 GC - 20091026_AA BootLoader constants: OS=unknown ,
ARCH=ppc , WS=unknown , NL=en_GB Framework arguments:
-pluginCustomization rcp/plugin_customization.ini -application
com.ibm.lwi.application.LWIApplication Command-line arguments:
-pluginCustomization rcp/plugin_customization.ini -data
/qibm/userdata/os/osgi/lwisysinst/admin4/lwi/runtime/core/workspace
-application com.ibm.lwi.application.LWIApplication -console -clean
::class.method=com.ibm.rcp.core.internal.logger.frameworkhook.writeSession()
::thread=Start Level Event Dispatcher
::loggername=com.ibm.rcp.core.internal.logger.frameworkhook 2010/08/08
00:56:15.244 WARNING Webcontainer :
com.ibm.ws.webcontainer.webapp.WebApp : Error while adding servlet
mapping --> /* Please set fileServingEnabled=false in the
ibm-web-ext.xmi file which is under WEB-INF folder.
Thread[Thread-4,5,main] ::class.method=com.ibm.ejs.ras.Tr.warning()
::thread=Thread-4 ::loggername=com.ibm.ejs.ras 2010/08/08 00:57:05.922
WARNING [WLM] File does not exist or is not a file:
/QIBM/UserData/HTTPA/admin/conf/wlmconf.xml
::class.method=com.ibm.as400.wlm.toolkit.FileModificationInspector.checkModified()
::thread=Web Log Monitor Daemon ::loggername=com.ibm.as400.wlm.toolkit
2010/09/22 17:12:06.313 SEVERE LWI00499E - Server named WSERVICE does
not exist. ::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:12:07.226 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:12:07.548 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:12:32.282 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 0 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:05.213 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:26.027 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:26.053 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:26.058 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:26.075 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:26.685 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:27.310 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:27.839 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:36.963 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.006 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 0 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.037 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 0 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.048 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.064 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 0 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.067 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.103 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.127 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.144 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.165 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 2 ::loggername=com.ibm.lwi.admin.spi 2010/09/22
17:15:37.225 SEVERE LWI00499E - Server named WSERVICE does not exist.
::class.method=com.ibm.lwi.admin.spi.LogWriter.severe()
::thread=HttpServer : 1 ::loggername=com.ibm.lwi.admin.spi
/www/WSERVICE/webservices/temp/WTWSQTHDRR_1285175825985/services/WTWSQTHDRR/iseries/programcall/base/RuntimeContext.java:217:
cannot find symbol symbol : method setCCSID(int) location: class
com.ibm.as400.access.AS400ConnectionPool
toolboxConnectionPool_.setCCSID(connPoolCCSID_); ^ 1 error
com.ibm.systemi.iws.WSSException: IWS00230E - Install of Web service
failed. at com.ibm.systemi.iws.WebService.install(WebService.java:969)
at
com.ibm.as400.httpsvr.request.iws.IWSInstallWebServiceReq.execute(IWSInstallWebServiceReq.java:61)
at
com.ibm.as400.httpsvr.request.AdminServerRequest.runImpl(AdminServerRequest.java:96)
at com.ibm.lwi.hatmanager.HatRequest.runImplWrapper(HatRequest.java:605)
at com.ibm.lwi.hatmanager.HatRequest.access$400(HatRequest.java:86) at
com.ibm.lwi.hatmanager.HatRequest$HatRequestRunner.run(HatRequest.java:704)
at com.ibm.lwi.hatmanager.HatRequest.enqueueAndWait(HatRequest.java:307)
at
com.ibm.as400.httpsvr.request.iws.HatWebService.install(HatWebService.java:215)
at
com.ibm.as400.httpsvr.access.WebServiceInfo$WorkerThread.run(WebServiceInfo.java:1958)
Caused by: com.ibm.systemi.iws.WSSException: IWS00231E - Unexpected
errors while compiling Java classes. at
com.ibm.systemi.iws.WebService.compileJavaBeans(WebService.java:1673) at
com.ibm.systemi.iws.WebService.generateJavaBeans(WebService.java:1593)
at com.ibm.systemi.iws.WebService.install(WebService.java:875) ... 8
more com.ibm.systemi.iws.WSSException: IWS00230E - Install of Web
service failed. at
com.ibm.systemi.iws.WebService.install(WebService.java:969) at
com.ibm.as400.httpsvr.request.iws.IWSInstallWebServiceReq.execute(IWSInstallWebServiceReq.java:61)
at
com.ibm.as400.httpsvr.request.AdminServerRequest.runImpl(AdminServerRequest.java:96)
at com.ibm.lwi.hatmanager.HatRequest.runImplWrapper(HatRequest.java:605)
at com.ibm.lwi.hatmanager.HatRequest.access$400(HatRequest.java:86) at
com.ibm.lwi.hatmanager.HatRequest$HatRequestRunner.run(HatRequest.java:704)
at com.ibm.lwi.hatmanager.HatRequest.enqueueAndWait(HatRequest.java:307)
at
com.ibm.as400.httpsvr.request.iws.HatWebService.install(HatWebService.java:215)
at
com.ibm.as400.httpsvr.access.WebServiceInfo$WorkerThread.run(WebServiceInfo.java:1958)
Caused by: com.ibm.systemi.iws.WSSException: IWS00231E - Unexpected
errors while compiling Java classes. at
com.ibm.systemi.iws.WebService.compileJavaBeans(WebService.java:1673) at
com.ibm.systemi.iws.WebService.generateJavaBeans(WebService.java:1593)
at com.ibm.systemi.iws.WebService.install(WebService.java:875) ... 8 more
Anybody have any clue what could have gone wrong here? (I certainly
don't!) The program being called is an RPG program, with 26 parameters,
some alphanumeric, some zoned decimal, with the last one being used to
return a value to the calling program.
My own next course of action is to attempt something similar on our own
box.
--
James H. H. Lampert
Touchtone Corporation
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.