Hi List,

I am working with geoserver 2.8.1 and netcdf stores and I get the following 
error.

The port numer change with each restart. I´m working with Ubuntu. I tested 
geoserver and netcdf plugin with windows and it worked fine, but not with 
ubuntu.


Are there any hints?


Thanks and regard,

Lotta



Caused by: org.geotools.data.DataSourceException: java.io.IOException: 
java.lang.IllegalArgumentException: java.lang.RuntimeException: Unable to 
obtain connection: Cannot create PoolableConnectionFactory (Fehler beim Öffnen 
von Port H2 TCP Server (tcp://localhost:46303) (Port wird ev. bereits 
verwendet), Grund: timeout
Exception opening port H2 TCP Server (tcp://localhost:46303) (port may be in 
use), cause: timeout [90061-119])
    at 
org.geotools.coverage.io.netcdf.NetCDFAccess.<init>(NetCDFAccess.java:126)
    at 
org.geotools.coverage.io.netcdf.NetCDFDriver.connect(NetCDFDriver.java:92)
    at 
org.geotools.coverage.io.impl.DefaultFileDriver.process(DefaultFileDriver.java:216)
    at 
org.geotools.coverage.io.netcdf.NetCDFReader.<init>(NetCDFReader.java:156)
    ... 131 more
Caused by: java.lang.RuntimeException: java.io.IOException: 
java.lang.IllegalArgumentException: java.lang.RuntimeException: Unable to 
obtain connection: Cannot create PoolableConnectionFactory (Fehler beim Öffnen 
von Port H2 TCP Server (tcp://localhost:46303) (Port wird ev. bereits 
verwendet), Grund: timeout
Exception opening port H2 TCP Server (tcp://localhost:46303) (port may be in 
use), cause: timeout [90061-119])
    at 
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:266)
    at javax.imageio.ImageReader.setInput(ImageReader.java:380)
    at 
org.geotools.coverage.io.netcdf.NetCDFAccess.<init>(NetCDFAccess.java:115)
    ... 134 more
Caused by: java.io.IOException: java.lang.IllegalArgumentException: 
java.lang.RuntimeException: Unable to obtain connection: Cannot create 
PoolableConnectionFactory (Fehler beim Öffnen von Port H2 TCP Server 
(tcp://localhost:46303) (Port wird ev. bereits verwendet), Grund: timeout
Exception opening port H2 TCP Server (tcp://localhost:46303) (port may be in 
use), cause: timeout [90061-119])
    at 
org.geotools.imageio.netcdf.NetCDFImageReader.initIndex(NetCDFImageReader.java:365)
    at 
org.geotools.imageio.netcdf.NetCDFImageReader.init(NetCDFImageReader.java:472)
    at 
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:264)
    ... 136 more
Caused by: java.lang.IllegalArgumentException: java.lang.RuntimeException: 
Unable to obtain connection: Cannot create PoolableConnectionFactory (Fehler 
beim Öffnen von Port H2 TCP Server (tcp://localhost:46303) (Port wird ev. 
bereits verwendet), Grund: timeout
Exception opening port H2 TCP Server (tcp://localhost:46303) (port may be in 
use), cause: timeout [90061-119])
    at 
org.geotools.coverage.io.catalog.CoverageSlicesCatalog.<init>(CoverageSlicesCatalog.java:231)
    at 
org.geotools.imageio.GeoSpatialImageReader.initCatalog(GeoSpatialImageReader.java:205)
    at 
org.geotools.imageio.netcdf.NetCDFImageReader.initIndex(NetCDFImageReader.java:285)
    ... 138 more
Caused by: java.lang.RuntimeException: Unable to obtain connection: Cannot 
create PoolableConnectionFactory (Fehler beim Öffnen von Port H2 TCP Server 
(tcp://localhost:46303) (Port wird ev. bereits verwendet), Grund: timeout
Exception opening port H2 TCP Server (tcp://localhost:46303) (port may be in 
use), cause: timeout [90061-119])
    at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1829)
    at org.geotools.jdbc.JDBCDataStore.createTypeNames(JDBCDataStore.java:949)
    at 
org.geotools.data.store.ContentDataStore.getTypeNames(ContentDataStore.java:308)
    at 
org.geotools.coverage.io.catalog.CoverageSlicesCatalog.<init>(CoverageSlicesCatalog.java:202)
    ... 140 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create 
PoolableConnectionFactory (Fehler beim Öffnen von Port H2 TCP Server 
(tcp://localhost:46303) (Port wird ev. bereits verwendet), Grund: timeout
Exception opening port H2 TCP Server (tcp://localhost:46303) (port may be in 
use), cause: timeout [90061-119])
    at 
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
    at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    at 
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at 
org.geotools.data.jdbc.datasource.AbstractManageableDataSource.getConnection(AbstractManageableDataSource.java:48)
    at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1814)
    ... 143 more
Caused by: org.h2.jdbc.JdbcSQLException: Fehler beim Öffnen von Port H2 TCP 
Server (tcp://localhost:46303) (Port wird ev. bereits verwendet), Grund: timeout
Exception opening port H2 TCP Server (tcp://localhost:46303) (port may be in 
use), cause: timeout [90061-119]
    at org.h2.message.Message.getSQLException(Message.java:106)
    at org.h2.message.Message.getSQLException(Message.java:117)
    at org.h2.tools.Server.start(Server.java:361)
    at org.h2.engine.Database.startServer(Database.java:708)
    at org.h2.engine.Database.open(Database.java:584)
    at org.h2.engine.Database.openDatabase(Database.java:222)
    at org.h2.engine.Database.<init>(Database.java:216)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:140)
    at org.h2.engine.Engine.getSession(Engine.java:120)
    at 
org.h2.engine.SessionFactoryEmbedded.createSession(SessionFactoryEmbedded.java:17)
    at 
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:245)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at 
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    at 
org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    at 
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    ... 147 more
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to