Hi Gianluca,
I am forwarding your email to the geotools list where they will be
better able to answer your question.
Maybe one of the Oracle datastore developers can jump in and help.
If you could supply us with some more information on what you are trying
to accomplish and what is holding you back, we will be better able to help.
Brent Owens
(The Open Planning Project)
Gianluca Cecchini wrote:
> Hi Brent, my name is Gianluca, i'm working for AGRISIAN italian
> consortium and we are trying to use geoserver.
> First of all sorry for my english.
> We are trying to use geoserver under our configuration,Oracle
> Container for java 10.1.2.0.2 with jdk 1.4.2.
> I have already adapted the source for the container and geoserver is
> fully operating, but i have a problem:
> in our configuration is NOT possible to take the database connection
> with standard jdbc call:
>
> <datastore namespace = "topp" enabled = "true" id = "serct" >
> <abstract>GIS Oracle DataStore</abstract>
> <connectionParams>
> <parameter value = "topp" name = "namespace" />
> <parameter value = "XXX" name = "user" />
> <parameter value = "XXX" name = "instance" />
> <parameter value = "XXX" name = "passwd" />
> <parameter value = "1.1.1.1" name = "host" />
> <parameter value = "XXX" name = "schema" />
> <parameter value = "1" name = "port" />
> <parameter value = "oracle" name = "dbtype" />
> </connectionParams>
> </datastore>
> </datastores>
>
> but with we are obligates to use the container Connection Pool
> that returns a connection with:
>
> InitialContext ic = new InitialContext();
> DataSource ds=(DataSource)ic.lookup("JNDI NAME");
> conn=ds.getConnection();
>
> How it is possible to adapt the code? I'm writing to you because you
> are the author of the
> org.geotools.data.jdbc.ConnectionPool.java class and I think that you
> can supply us with the
> right method to proceed.
> I hope that you con help us!
> Thank you in advantage.
>
> Gianluca
>
>
>
>
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel