portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r471876 - /portals/jetspeed-2/trunk/components/serializer/src/java/org/apache/jetspeed/serializer/JetspeedSerializerApplication.java
Date Mon, 06 Nov 2006 21:03:33 GMT
Author: taylor
Date: Mon Nov  6 13:03:32 2006
New Revision: 471876

URL: http://svn.apache.org/viewvc?view=rev&rev=471876
Log:
dont know why, but I cant get this tyrex jndi provider to work here, rolling back and will
go to straight dbcp data source

Modified:
    portals/jetspeed-2/trunk/components/serializer/src/java/org/apache/jetspeed/serializer/JetspeedSerializerApplication.java

Modified: portals/jetspeed-2/trunk/components/serializer/src/java/org/apache/jetspeed/serializer/JetspeedSerializerApplication.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/serializer/src/java/org/apache/jetspeed/serializer/JetspeedSerializerApplication.java?view=diff&rev=471876&r1=471875&r2=471876
==============================================================================
--- portals/jetspeed-2/trunk/components/serializer/src/java/org/apache/jetspeed/serializer/JetspeedSerializerApplication.java
(original)
+++ portals/jetspeed-2/trunk/components/serializer/src/java/org/apache/jetspeed/serializer/JetspeedSerializerApplication.java
Mon Nov  6 13:03:32 2006
@@ -21,10 +21,6 @@
 import java.util.StringTokenizer;
 
 import org.apache.commons.configuration.PropertiesConfiguration;
-import org.apache.commons.pool.impl.GenericObjectPool;
-import org.apache.jetspeed.components.datasource.BoundDBCPDatasourceComponent;
-import org.apache.jetspeed.components.jndi.JNDIComponent;
-import org.apache.jetspeed.components.jndi.TyrexJNDIComponent;
 
 /**
  * Jetspeed Serializer Application
@@ -150,24 +146,6 @@
         configFiles = configFiles + "*.xml";
      
         // ok - we are ready to rumble....
-        try
-        {
-            BoundDBCPDatasourceComponent datasourceComponent;        
-            JNDIComponent jndi = new TyrexJNDIComponent();
-            
-            String url = System.getProperty("org.apache.jetspeed.database.url");
-            String driver = System.getProperty("org.apache.jetspeed.database.driver");
-            String user = System.getProperty("org.apache.jetspeed.database.user");
-            String password = System.getProperty("org.apache.jetspeed.database.password");
-            datasourceComponent = new BoundDBCPDatasourceComponent(user, password, driver,
url, 20, 5000,
-                    GenericObjectPool.WHEN_EXHAUSTED_GROW, true, JNDI_DS_NAME, jndi);
-            datasourceComponent.start();
-        }
-        catch (Exception e)
-        {
-            e.printStackTrace();
-            System.exit(1);
-        }
         
         /** create the instruction map */
         



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


Mime
View raw message