Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGL Development Tools » jt400.jar not working in deployed application
jt400.jar not working in deployed application [message #760229] Thu, 01 December 2011 11:19 Go to next message
Joe Pluta is currently offline Joe Pluta
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 11:24 Go to previous messageGo to next message
Joe Pluta is currently offline Joe Pluta
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 11:53 Go to previous messageGo to next message
Will Smythe is currently offline Will Smythe
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 14:49 Go to previous message
Justin Spadea is currently offline Justin Spadea
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: Mon Apr 21 05:36:33 EDT 2014

Powered by FUDForum. Page generated in 0.18997 seconds