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

http://issues.apache.org/bugzilla/show_bug.cgi?id=36621

           Summary: JNDI DataSource lookup fails on Sun Java System
                    Application Server 8.1
           Product: Slide
           Version: 2.1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Stores
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Slide fails to correctly retrieve the JNDI DataSource when executing in the Sun
Java System Application Server 8.1.  Assuming that you configure Slide to use a
J2EE datasource with value "jdbc/SlideDS", Slide will try to lookup the
DataSource at "java:env/core/jdbc/SlideDS".  SJAS 8.1 appears to place the JNDI
DataSources in the root context, so specifying "jdbc/SlideDS" in the Domain.xml
on SJAS should point to the "jdbc/SlideDS" resource.  I worked around this by
changing J2EEStore::initialize() method to look up the datasource in the root
context, and everything seems to work fine.

I suggest that Slide look up the DataSource in the root context by default. 
Users will specify the full path to the DataSource in the Domain.xml file.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to