Justin Deoliveira ha scritto:
  > 3) Oracle
> 
> http://files.opengeo.org/geoserver/geoserver-2.0-alpha2-oracle-plugin.zip

First thing I noticed, there is a jdbc-core jar in the extension
that is not part of the base install (courtesy of shipping postgis-ng
by default). That can be removed, along with the -tests jar that
was included as well.

The second one is that the extension does not contain the oracle
datastore jar at all, just the jdbc driver actually ;-)

I fixed those (fixes committed), now it should build with the driver and
the jdbc-oracle datastore only.

Then I tried to setup a new layer, but without much success...
when I try to preview the layer I get this NPE:

16 apr 18:23:08 ERROR [geoserver.ows] -
java.lang.NullPointerException
        at 
org.geoserver.catalog.impl.StyleInfoImpl.getStyle(StyleInfoImpl.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:98)
        at $Proxy9.getStyle(Unknown Source)
        at 
org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:295)


Which seems to imple the StyleInfoImpl is not attached to a catalog,
or that the catalog does not have a resource pool.. ugh?
Restartin GeoServer seems to fix the issue and the datastore seems to 
work (just tested it read only with a wms/wfs preview)

Cheers
Andrea

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to