One thing I noticed is that the DataSourceConfig has two keys.  Here's what
happens when I call the toString() method on the only DataSourceConfig
processed in the ActionServlet:

DataSourceConfig[key=org.apache.struts.action.DATA_SOURCE,type=org.apache.st
ruts.util.GenericDataSource,url=jdbc:interbase://localhost/c:/db/database.gd
b,maxCount=8,user=SYSDBA,autoCommit=false,minCount=0,driverClass=interbase.i
nterclient.Driver,password=masterkey,description=My Test Database,key=ANT]

Is this normal?


Anthony

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 2002 5:17 PM
To: [EMAIL PROTECTED]
Subject: DO NOT REPLY [Bug 6060] New: - Only Single Data Source is
initialized


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6060>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6060

Only Single Data Source is initialized

           Summary: Only Single Data Source is initialized
           Product: Struts
           Version: Nightly Build
          Platform: All
               URL: http://marc.theaimsgroup.com/?l=struts-
                    dev&m=101120589507478&w=2
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


No matter how many datasources are mentioned in the struts-config.xml, only 
one is registered.

It appears the root problem is that initApplicationDataSources is not
stepping through all of the datasources listed in the struts-config.xml.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to