You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2005/09/12 20:38:52 UTC

DO NOT REPLY [Bug 36621] New: - JNDI DataSource lookup fails on Sun Java System Application Server 8.1

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: mike.santy@dynetics.com


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: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org