Back to this issue after a long time. I got it, thanks to your help!
My connection pool didn't work. I got it working with following steps:
1) added following recourse to $TOMCAT_HOME/conf/context.xml
<Resource name="jdbc/postgres" auth="Container"
type="javax.sql.DataSource"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://host:port/database"
username="example" password="pwd" maxActive="50" maxIdle="10"
maxWait="-1"/>
2) changed datastore.properties to following form:
SPI=org.geotools.data.postgis.PostgisNGJNDIDataStoreFactory
jndiReferenceName=jdbc/postgres
schema=mosaic
Loose\ bbox=true
Estimated\ extends=false
Roope
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users