Hi everyone,If I try to execute the .ipl file directly from the command prompt, the database connectivity is successful alongwith the data being fetched successfully from the database server.
We have implemented the database connectivity in the DCT itself. After selecting the Presentation Template corresponding to the ipl, when the DCT opens up we try to fetch some values from the database and populate the same in a combobox on the DCT. So, here while connecting to the database, using DBI->connect() method, an error is thrown, saying - "A problem was encountered trying to parse the datacapture.cfg file for type test_downloads. Please contact your system administrator." with Root Cause mentioned as: "java.lang.IllegalArgumentException: Prototype list is either null or empty."
You can not run Perl directly from the DCT, there is no syntax for it. (And can not be, it's Client side execution thread).You can do this sort of things with FormAPI callServer or from presentation Template on generation
Sure you can, it can be an inline call. It is run only at form instantiation. Yes also callservers as you pointed out will work. If he ran the test from the TS server command line everything should be good. I think we need to see some code samples to see what is really going on.
Hi dazzlad,The IPL posted is the complete IPL file.The FolderConfig perl module just has the connection string variables, $db_connection_string, $db_user, $db_password, defined inside it.And we have assured it, that the code breaks when DBI->connect() function is called.
Thanks a lot, ghoti. Checked out the other threads. Setting SYSTEMROOT env variable in the ipl file, actually solved the problem.But I am just keen to know, whether tempering with a system env variable and that too the System's Root, which is actually a constant for every machine, doesn't have impact anywhere in the working of Teamsite or anywhere on the machine itself.
Thanks for the quick response.Providing the missing pieces is ok, but using any another alternative, we will be ultimately setting the environment information only, in my case, its being the System Root.Could you please elaborate more about iwwebd and how can I configure it?Thanks in advance.