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=5284>.
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=5284

J2eeDataSource appends a fixed string to the jndi search

           Summary: J2eeDataSource appends a fixed string to the jndi search
           Product: Avalon
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Excalibur
        AssignedTo: avalon-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Tha class org.apache.avalon.excalibur.datasource.J2eeDataSource 
prepends "java:comp/env/jdbc/" to the dbname provided. This does not work when 
using WebSphere because the Datasources provided can have any JNDI name for 
example jdbc/sample. I think that the dbname parameter must specify the full 
string to be passed to initialContext.lookup() method

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

Reply via email to