[udig-devel] Connecting to Oracle Express with RC 12
Vitali Diatchkov
vitali at arbonaut.com
Mon Jan 14 01:38:56 PST 2008
I mentioned this problem years ago. PostGIS service or whatever (may be
PostGISDataStore) - do not remember exactly - substitutes a port string with
integer in map of parameters passed to create a service in UDIG . In case
PostGISDataStore is tried before OracleDataStore the last one gets an
Integer not a String.
Vitali Diatchkov.
> -----Original Message-----
> From: udig-devel-bounces at lists.refractions.net [mailto:udig-devel-
> bounces at lists.refractions.net] On Behalf Of sledge
> Sent: Sunday, January 13, 2008 2:22 PM
> To: udig-devel at lists.refractions.net
> Subject: Re: [udig-devel] Connecting to Oracle Express with RC 12
>
>
> Hello,
> Any progress in this case? I am connecting with uDig RC12 to Oracle
> 10.2.0.1
> (10g) with Spatial Extensions, and getting the same error:
>
> Jan 11, 2008 8:18:40 PM org.geotools.data.oracle.OracleDataStoreFactory
> canProcess
> WARNING: port:java.io.IOException: java.lang.String required for parameter
> port: not java.lang.Integer
>
> The Finish button is lit, but I keep pressing on it, Validating Connection
> flashes. If i set focus in any of the input boxes again, Finish button
> immediately becomes disabled, leaving me to just close the whole wizard,
> and
> leave the software unusable :/
>
> Please respond the status,
>
> Thank you,
>
> --
> sledge
>
>
> olaf I. wrote:
> >
> > Could be in OracleSpatialWizardPage.java method getParams :
> > params.put(dbParams[2].key, new
> > Integer(currentDBCI.getPortString()) );
> > this creates an int while
> org.geotools.data.oracle.OracleDataStoreFactory
> > canProcess expects a String
> >
> > --olaf
> >
> >
> >
> > Jody Garnett wrote:
> >>
> >> I will go look at that now,
> >> Jody
> >>> I have got the following message in my development environment 1.1.x
> >>> r27598
> >>>
> >>> Oct 24, 2007 11:36:16 AM
> org.geotools.data.oracle.OracleDataStoreFactory
> >>> canProcess
> >>> WARNING: port:java.io.IOException: java.lang.String required for
> >>> parameter
> >>> port: not java.lang.Integer
> >>>
> >>> maybe a bit error in the integer parsing
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Connecting-to-Oracle-
> Express-with-RC-12-tp13364369p14763354.html
> Sent from the udig-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list