Ho un problema che
riguarda il passaggio di file da GeoBatch a GeoServer. In pratica inserisco una tif in input a GeoBatch, e quando parte il processing per passarlo a GeoServer, mi si blocca al 30%. Dopodichè, quando noto il blocco, cancello l'immagine. A quel punto il processo riparte (fallendo, ovviamente) e alla fine di tutto in GeoServer viene creato uno store vuoto. L'errore è questo: INFO
FileBasedEventGenerator$GBEventListener - Event: FILE_ADDED
/cartella/prova/immagine.tif INFO LoggingProgressListener - Started INFO LoggingProgressListener - Progressing 10.0% -- Managing events INFO LoggingProgressListener - Progressing 20.0% -- Creating backup dir INFO FileBasedEventConsumer - [pool-2-thread-5]: new element retrieved from the MailBox. INFO LoggingProgressListener - Progressing 30.0% -- Preprocessing event immagine.tif A questo punto il
processo è bloccato. Appena cancello l'immagine prosegue: INFO LoggingProgressListener - Progressing 40.0% -- Creating backup files INFO FileBasedEventConsumer - [pool-2-thread-3]: accepted file /cartella/prova/immagine.tif INFO FileBasedEventConsumer - [pool-2-thread-3]: new element processed. INFO LoggingProgressListener - Progressing 50.0% -- Running actions INFO LoggingProgressListener - Progressing 0.0% -- Running GEOBATCH Script(1/1) INFO ScriptingAction - Runtime class-loading from moduleFolder -> /cartella/prova/config/jars INFO ScriptingAction - Adding script property: geoserverPWD : password INFO ScriptingAction - Adding script property: geoserverUID : userid INFO ScriptingAction - Adding script property: defaultNamespace : default INFO ScriptingAction - Adding script property: restGeoserverURL : http://localhost:8181/geoserver INFO ScriptingAction - Adding script property: maxNumberCoverage : 290 INFO Logger$info -
-------------------------------- GEOBATCH SCRIPT
INFO Logger$info - ***GeoServerRestReader------> it.geosolutions.geoserver.rest.GeoServerRESTReader@31395750 INFO Logger$info - ***GeoServerRestPublisher------> it.geosolutions.geoserver.rest.GeoServerRESTPublisher@2b935e6f INFO Logger$info - Filename input:immagine INFO Logger$info - Check convention filename INFO Logger$info - File is valid for convention INFO Logger$info -
--- 1. ACTION WORKSPACE INFO Logger$info - WS inputFileName: workspace INFO Logger$info - Retrieve ws from the geoserver... INFO GeoServerRESTReader - Loading from REST path /rest/workspaces.xml INFO Logger$info - lista dei workspaces.… it.geosolutions.geoserver.rest.decoder.RESTWorkspaceList@dee55c INFO GeoServerRESTReader - Loading from REST path /rest/workspaces.xml INFO Logger$info - WS workspace exists and applied. INFO Logger$info -
--- 2. ACTION STYLE INFO Logger$info - Style inputFileName: style INFO Logger$info - Retrieve styles from the geoserver... INFO GeoServerRESTReader - Loading from REST path /rest/styles.xml INFO Logger$info - STYLE style exists and applied. INFO Logger$info -
--- 3. ACTION DATE CHECK LAYER INFO Logger$info - Check layer date :layer INFO Logger$info - Retrieve layer with prefix :::immagine INFO GeoServerRESTReader - Loading from REST path /rest/layers.xml INFO Logger$info - MAX NUMBER COVERAGES:290 INFO Logger$info - NUMBER SAME COVERAGES LOADED:0 INFO Logger$info - NEW DATE arrived: date INFO Logger$info -
--- 4. PUBLISHED INFO HTTPUtils - HTTP Created: INFO GeoServerRESTPublisher - Store successfully created using ( file: /cartella/prova/immagine.tif) WARN HTTPUtils - Bad response: code[500] msg[Internal Server Error] url[http://localhost:8181/geoserver/rest/workspaces/workspace/coveragestores/immagine/coverages.xml] method[PostMethod]: :Failed to create reader from file:/cartella/prova//immagine.geotiff and hints Hints: FORCE_AXIS_ORDER_HONORING = http GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING = null EXECUTOR_SERVICE = java.util.concurrent.ThreadPoolExecutor@1e11c391[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 3] LENIENT_DATUM_SHIFT = true STYLE_FACTORY = StyleFactoryImpl FORCE_LONGITUDE_FIRST_AXIS_ORDER = true COMPARISON_TOLERANCE = 1.0E-9 FEATURE_FACTORY = org.geotools.feature.LenientFeatureFactoryImpl@3be9bb55 FILTER_FACTORY = FilterFactoryImpl
ERROR GeoServerRESTPublisher - Error creating coverage workspace:store:layer (null) ERROR GeoServerRESTPublisher - Unable to create a coverage store for coverage: /cartella/prova/immagine.tif INFO Logger$info -
--- 5. ACTION INTERPOLATION INFO Logger$info - Interpolation inputFileName: BL WARN HTTPUtils - Bad response: code[404] msg[Not Found] url[http://localhost:8181/geoserver/rest/workspaces/workspace/coveragestores/store/coverages/store] method[PutMethod]: No such coverage: workspace,store,layer INFO Logger$info - Interpolation update to BILINEAR INFO Logger$info -
--- 6. ACTION SET LAST_LOADED INFO Logger$info - ---->class org.postgresql.Driver<---- INFO Logger$info - Split Name File to product Id properly Started.... INFO Logger$info - ---->[workspace, style, interpolation, srs, immagine, data]<---- INFO Logger$info - Id product identified is: immagine INFO Logger$info - Connection Established...!!! INFO Logger$info - SQL update for last_loaded Started...!!! INFO Logger$info - SQL update Executed...!!! INFO Logger$info - Last_loaded updated is: immagine INFO Logger$info - Connection Properly Closed...!!! INFO Logger$info - -------------------------------- DONE!!!
INFO BaseEventConsumer - There are 1 events left in the queue after last action (GEOBATCH Script) INFO LoggingProgressListener - Progressing 100.0% -- Running actions INFO FileBasedEventConsumer - pool-2-thread-3 DONE! INFO LoggingProgressListener - Completed _______________________________________________ [hidden email] http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss Questa e' una lista di discussione pubblica aperta a tutti. I messaggi di questa lista non hanno relazione diretta con le posizioni dell'Associazione GFOSS.it. 666+40 iscritti al 5.6.2014 |
Free forum by Nabble | Edit this page |