[Geoserver-users] H2 for NETCDF: Exception opening port H2 TCP Server

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.(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.(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.(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.(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.(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.(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.(JdbcConnection.java:110)
at org.h2.jdbc.JdbcConnection.(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

Hi,
this is unusual, we have multiple installation on linux that are not exhibiting this problem (but I don’t
think we have production instances on Ubuntu).

Wondering if you have it setup with extra security, disallowing opening TCP ports at all?
Normally ports above 1000 are fair game.
The error trought google translate is:

“Error opening port H2 TCP Server (tcp: // localhost: 46303) (. Port is possibly already in use), reason: Timeout”

Hum… possibly already in use… that is also strange thought, H2 server should be trying to open a random
port.

I’m cc’ing Daniele above, Daniele, I was wondering, any way to make H2 not start in server mode?
I guess that’s useful for debugging, not sure if needed for actual production (let us know if it is).

Cheers
Andrea

···

On Thu, Feb 4, 2016 at 12:13 PM, axxis l <axxis1980@anonymised.com> wrote:

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.(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.(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.(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.(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.(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.(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.(JdbcConnection.java:110)
at org.h2.jdbc.JdbcConnection.(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@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi,
Taking a look at the code and looking on the JIRA history, I have found GEOT-4533 which has been fixed by forcing the Automatic mixed mode1 to be set as default connection parameter:

https://github.com/geotools/geotools/blob/master/modules/plugin/jdbc/jdbc-h2/src/main/java/org/geotools/data/h2/H2DataStoreFactory.java#L168

https://github.com/geotools/geotools/blob/master/modules/plugin/jdbc/jdbc-h2/src/main/java/org/geotools/data/h2/H2DataStoreFactory.java#L180

The server mode allows for easier development and debug/querying of the H2 DB content/status.

A thing we can do is opening a JIRA to make this parameter configurable through a System property
Does it make sense?

Cheers,
Daniele

···

On Fri, Feb 5, 2016 at 8:22 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi,
this is unusual, we have multiple installation on linux that are not exhibiting this problem (but I don’t
think we have production instances on Ubuntu).

Wondering if you have it setup with extra security, disallowing opening TCP ports at all?
Normally ports above 1000 are fair game.
The error trought google translate is:

“Error opening port H2 TCP Server (tcp: // localhost: 46303) (. Port is possibly already in use), reason: Timeout”

Hum… possibly already in use… that is also strange thought, H2 server should be trying to open a random
port.

I’m cc’ing Daniele above, Daniele, I was wondering, any way to make H2 not start in server mode?
I guess that’s useful for debugging, not sure if needed for actual production (let us know if it is).

Cheers
Andrea

On Thu, Feb 4, 2016 at 12:13 PM, axxis l <axxis1980@anonymised.com> wrote:

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.(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.(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.(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.(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.(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.(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.(JdbcConnection.java:110)
at org.h2.jdbc.JdbcConnection.(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

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

Hi, I got the same error

Caused by: java.lang.IllegalArgumentException
.
.
Caused by: java.lang.RuntimeException: Unable to obtain connection: Cannot
create PoolableConnectionFactory (Exception opening port H2 TCP Server
(tcp://localhost:59575) (port may be in use), cause: timeout [90061-119])

I am using a VM CentoOS6, geoserver 2.8.3. Just wondering if you have found
a solution to this problem? (Selinux and iptables disabled)

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/H2-for-NETCDF-Exception-opening-port-H2-TCP-Server-tp5248863p5268879.html
Sent from the GeoServer - User mailing list archive at Nabble.com.