Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EGL Development Tools » jt400.jar not working in deployed application
jt400.jar not working in deployed application [message #760229] Thu, 01 December 2011 16:19 Go to next message
Joe Pluta is currently offline Joe PlutaFriend
Messages: 62
Registered: November 2011
Member
In my ongoing travails with jt400.jar, I tried to deploy the project in question. I created a dynamic web project and deployed my EGL project to the web project. As expceted, jt400.jar showed up in the WEB-INF/lib folder of the deployed project. However, I still get the same error.

Does this not instantiate the server properly?

ds SQLDataSource?{@resource{bindingkey = "DB2DEVTESTCCIWEB"}};


I'm going to try some variations, starting with this:

ds SQLDataSource = SysLib.getResource("DB2DEVTESTCCIWEB");


Re: jt400.jar not working in deployed application [message #760232 is a reply to message #760229] Thu, 01 December 2011 16:24 Go to previous messageGo to next message
Joe Pluta is currently offline Joe PlutaFriend
Messages: 62
Registered: November 2011
Member
No joy. Same error with the SysLib.getResource.
Re: jt400.jar not working in deployed application [message #760241 is a reply to message #760232] Thu, 01 December 2011 16:53 Go to previous messageGo to next message
Will Smythe is currently offline Will SmytheFriend
Messages: 41
Registered: July 2009
Member
ds SQLDataSource?{@resource{bindingkey = "DB2DEVTESTCCIWEB"}}; is valid and will cause "ds" to get instantiated to a proper database connection at rutnime.

ds SQLDataSource = SysLib.getResource("DB2DEVTESTCCIWEB"); works as well.
Re: jt400.jar not working in deployed application [message #760301 is a reply to message #760241] Thu, 01 December 2011 19:49 Go to previous message
Justin Spadea is currently offline Justin SpadeaFriend
Messages: 66
Registered: July 2009
Member
This is probably the same cause/workaround as with the preview pane in the other thread.
Previous Topic:Possible problem with basic handlers
Next Topic:Preview Pane can't find jt400.jar
Goto Forum:
  


Current Time: Thu Mar 28 15:19:15 GMT 2024

Powered by FUDForum. Page generated in 0.04190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top