portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource BoundDBCPDatasourceComponent.java
Date Tue, 03 Aug 2004 17:52:34 GMT
taylor      2004/08/03 10:52:34

  Modified:    components/rdbms/src/java/org/apache/jetspeed/components/datasource
                        BoundDBCPDatasourceComponent.java
  Log:
  unbind the jdbc jndi name 'jetspeed'
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.5       +2 -1      jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java
  
  Index: BoundDBCPDatasourceComponent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BoundDBCPDatasourceComponent.java	3 Aug 2004 17:28:08 -0000	1.4
  +++ BoundDBCPDatasourceComponent.java	3 Aug 2004 17:52:34 -0000	1.5
  @@ -76,7 +76,7 @@
           try
           {
               jndi.bindObject("comp/env/jdbc/"+bindName, getDatasource());
  -            jndi.bindObject("jdbc"+bindName, getDatasource());
  +            jndi.bindObject("jdbc/"+bindName, getDatasource());
           }
           catch (NamingException e)
           {
  @@ -94,6 +94,7 @@
           try
           {
               jndi.unbindObject("comp/env/jdbc/"+bindName);
  +            jndi.unbindObject("jdbc/" + bindName);
           }
           catch (NamingException e)
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message