Skip to content

Commit

Permalink
fix raster startup for raster without pyramid (not recommended)
Browse files Browse the repository at this point in the history
switch to com.oracle:xmlparserv2_sans_jaxp_services which is available at 11.2.0.2
  • Loading branch information
stephanr committed Apr 30, 2015
1 parent 772faa9 commit 63fe0b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -106,7 +106,7 @@
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>xmlparserv2</artifactId>
<artifactId>xmlparserv2_sans_jaxp_services</artifactId>
</dependency>
</dependencies>

Expand Down
Expand Up @@ -306,7 +306,7 @@ private void init( AbstractOracleGeorasterType.Raster raster, StorageBBox storag
if ( envelope == null || rasterRect == null )
throw new ResourceInitException(
"GeoRaster has no Spatial and/or Size information. Please correct config or db." );
if ( maxLevel <= 0 ) {
if ( maxLevel < 0 ) {
maxLevel = 0;
LOG.warn( "Raster {}.{}:{} has no Pyramid, this is not recommended", rasterTable, rasterColumn, rasterId );
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -713,7 +713,7 @@
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>xmlparserv2</artifactId>
<artifactId>xmlparserv2_sans_jaxp_services</artifactId>
<version>11.2.0.2</version>
</dependency>
<!-- Batik -->
Expand Down

0 comments on commit 63fe0b2

Please sign in to comment.