|
Hi, Are you deploying multiple Web services in separate EAR files? The problem occurs because the QYJSPART service program in jt400.jar is loaded more than once by each of the EAR's class loader. To work around the problem, you can define a global shared libary in Websphere to jt400.jar. Follow these steps: 1) Copy jt400.jar into a directory on the iSeries. 2) Launch the admin console. 3) Expand Environment -> Shared Library. 4) Click New to define a new shared library. Specify a name for the shared library. The classpath should reference the jt400.jar in step 1. 5) Expand Servers -> Application servers and select your Websphere server. 6) Under Server Infrastructure, expand Java and Process Management and select Class loader. 7) Click New to define a new Class loader. Ensure the Class loader mode is PARENT_FIRST and press OK. 8) Click on the Class loader you just created. Under Additional properties, click Libraries. 9) Click Add. Select the shared library you defined in setp 4 and press OK. 10) Save all changes and re-start the server. The other option is to create all your Web services in the same EAR. _________________________________________ San Su email: sansu@xxxxxxxxxx "Eclipse User" <eclipse@cyberon. com> To Sent by: "Websphere Development Studio wdsci-l-bounces@m Client for iSeries" idrange.com <wdsci-l@xxxxxxxxxxxx> cc 26/02/2007 10:36 Subject PM [WDSCI-L] Deploying a web service: UnsatisfiedLinkError Please respond to Websphere Development Studio Client for iSeries <wdsci-l@midrange .com> Greetings, Create a webservice off an RPG application. Runs fine in test mode on my local PC. Throws the following error when I deploy and try to run of the As/400. [2/26/07 22:24:56:247 EST] 00000023 SystemOut O ______Thread 0 = WebContainer : 0 [2/26/07 22:24:56:248 EST] 00000023 SystemOut O 325707:24:56.246 0 > Error running iSeries host command, : java.lang.UnsatisfiedLinkError: Native Library /QSYS.LIB/QYJSPART.SRVPGM already loaded in another classloader [2/26/07 22:25:02:406 EST] 00000023 SystemOut O WebIntRuntimeException occurred : com.ibm.iseries.webint.WebIntRuntimeException: An error occured, please check stack trace for details. java.lang.UnsatisfiedLinkError: com/ibm/as400/access/NativeMethods Regards Faizulla Khan eclipse@xxxxxxxxxxx -- This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.