Quoting Rob Atkinson <[EMAIL PROTECTED]>:
> Hi
>
> got an issue which has me a little puzzled, and maybe someone with
> more
> experience of the datastore plugin process may be able to help
>
> Using geometrylessdata store it loads the jdbc driver using the
> following code:
>
> public ConnectionPoolFacade(String poolKey, String driver)
> throws SQLException {
>
> try {
> javax.sql.ConnectionPoolDataSource _nativePool =
> (javax.sql.ConnectionPoolDataSource)
> (Class.forName(driver).newInstance());
> } catch (Exception e) {
> throw new SQLException(
> "Failed to instantiate connection pool using " +
> driver
> + "(" + e + ")");
> }
> }
>
>
> And this throws a "classNotFound exception:
> oracle.jdpc.pool.ConnectionPoolDataSource
Well if you copied and pasted the above in, instead of just typing it
wrong, then the string you are passing in is probably wrong. Should be
jdbc instead of jdpc. Other than that I don't really know....
Chris
>
> - although have added ojdbc14.jar to the WEB-INF lib
>
> however, the same code in a JSP page in the webapp works just fine!
>
> Tomcat 5.5.12, JDK 1.5, solaris using the complex-features branch
>
> I have tried this on Tomcat 5.5 JDK 1.5 on windows against postgres
> and
> it works fine...
>
> My only thought at this stage is something in the class loading
> during
> the plugin mechanism - but I admit I'm grasping at straws...
>
> Regards
> Rob Atkinson
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD
> SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Geoserver-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel