We are moving to Window2008R2 server so I have a fresh install. I have copied all configs and customizations from our current production installation. We are running TeamSite version 7.4.1.1 on Window 2008R2.
I have an inline in datacapture.cfg:
<item name="contentArea">
<label>Content Area</label>
<description>Please select the proper section for your content</description>
<select required="t">
<inline command="D:\Interwoven\TeamSite\iw-perl\bin\iwperl.exe
\Interwoven\TeamSite\local\bin\BCBSNC\Intranet\webform\inline_get_site_section_list_metadata.ipl"/>
</select>
</item>
I get the error below when the inline tries to run:
ERROR
/Interwoven/TeamSite/iw-perl/site/lib/BCBSNC/SiteTaxonomy.pm 81 Utility - Can't connect to DB: [IBM][CLI Driver] SQL1336N The remote host "hq1al016" was not found. SQLSTATE=08001
(SQL-08001)(DBD: db_login/SQLConnect err=-1)
Here is a code snippet:
sub new {
my ($class) = @_;
my $self = {};
bless ($self, $class);
if (! $self->{'dbh'}) {
$dbh = DBI->connect("dbi
DBC:$ODBC_DSN", "$user", "$pw") or $log->error("Can't connect to DB: " . $DBI::errstr );
$self->{'dbh'} = $dbh;
}
if ($self->{'dbh'}) {
return $self;
} else {
return "";
}
}
This is working fine on our current production site and if I run it from the command line it runs just fine. I am using the same version of the DB2 jar files, but I do have an updated version of the DB2 client. All nodes and databases seem to be cataloged correctly and I can connect to the DB w/o issue, except for when this code tries to run from the inline.