This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 117595 - sun-resources.xml incomplete and wrong for Informix
Summary: sun-resources.xml incomplete and wrong for Informix
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks: 112110
  Show dependency tree
 
Reported: 2007-10-03 12:13 UTC by bernd_zedv
Modified: 2007-10-09 23:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bernd_zedv 2007-10-03 12:13:22 UTC
In Services I have a well working database connection to an Informix 10.x IDS
Created a plain new Web Project
Dropped one table from the jdbc:informix..... Tables on Page1.jsp
Dropped a table component on Page1.jsp
Bound mytableDataProvider to the table component
This generates in MyProject/setup/sun-resources.xml two properties
that need to be manually corrected:
     
     This property's value contained the HOSTNAME but not the
     Informix servername 
     <property name="serverName" value="<informix_servername>"/>

     This property was completely missing and must
     hold the HOSTNAME
     <property name="IfxIFXHOST" value="<HOSTNAME>"/>

The original generated properties lead to confusing Exceptions thrown
by glassfish which unfortunately does not point to the true reason.

Thanks,
Bernd
Comment 1 John Baker 2007-10-03 17:46:25 UTC
Please evaluate
Comment 2 Nitya Doraisamy 2007-10-03 22:43:44 UTC
Do you know what the properties would be for Informix datadirect?
Comment 3 Nitya Doraisamy 2007-10-09 18:37:28 UTC
Need to obtain propery values for datadirect Informix driver.
Comment 4 John Baker 2007-10-09 22:36:37 UTC
For informix properties, this may help:
https://glassfish.dev.java.net/javaee5/docs/AG/ablih.html#beanj
Comment 5 Nitya Doraisamy 2007-10-09 22:50:59 UTC
Nope. GlassFish page is linking to the same info that user provided. I was looking for parameters for datadirect
Informix driver. Found the requisite property names and fix in progress.

FYI, See wiki page http://wiki.netbeans.org/wiki/view/SunJDBCResources for information. 
I will be updating this wiki for other drivers too.