[Geoserver-users] ArcSDE Backend:Please help, i'm stuck; Still din't get an ArcSDE connection

Hi list,
i still don’t get a connection to my ArcSDE backend. I tried some time ago and posted my problems, but there were no solution for the exception until now. Maybe there are some new awarenesses about this exception. Here’s the exception i get, when i try to connect to the arcsde backend:

|----------------------------------------------------------------------------------------------------

21 Apr 15:15:07 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/data/” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:07 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/data/” took 0ms
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/” took 63ms
21 Apr 15:15:14 INFO [geoserver.filters] - Compressing output for mimetype: text/html
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/gs.ico” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/gs.ico” took 0ms
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/welcome.do” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “http://localhost:8080/geoserver/

21 Apr 15:15:14 INFO [tiles.TilesRequestProcessor] - Tiles definition factory found for request processor ‘’.
21 Apr 15:15:14 INFO [geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/welcome.do” took 312ms
21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/index.do” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “http://localhost:8080/geoserver/welcome.do

21 Apr 15:15:18 INFO [geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/index.do” took 47ms
21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:18 INFO [geoserver.filters] - Not compressing output for mimetype: image/gif
21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” took 0ms
21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/data/index.do” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “http://localhost:8080/geoserver/config/index.do

21 Apr 15:15:19 INFO [geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/data/index.do” took 78ms
21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:19 INFO [geoserver.filters] - Not compressing output for mimetype: image/gif
21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” took 0ms
21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/data/store.do” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “http://localhost:8080/geoserver/config/data/index.do

21 Apr 15:15:21 INFO [geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/data/store.do” took 63ms
21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:21 INFO [geoserver.filters] - Not compressing output for mimetype: image/gif
21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” took 0ms
21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/data/storeNew.do” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “http://localhost:8080/geoserver/config/data/store.do

21 Apr 15:15:23 INFO [geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:23 DEBUG [geotools.arcsde] - com.esri.sde.sdk.client.SeConnection is in place.
21 Apr 15:15:23 DEBUG [geotools.arcsde] - com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/config/data/storeNew.do” took 47ms
21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:23 INFO [geoserver.filters] - Not compressing output for mimetype: image/gif
21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” took 0ms
21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 “POST /geoserver/config/data/storeNewSubmit.do” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “http://localhost:8080/geoserver/config/data/storeNew.do

21 Apr 15:15:28 DEBUG [geotools.arcsde] - com.esri.sde.sdk.client.SeConnection is in place.
21 Apr 15:15:28 DEBUG [geotools.arcsde] - com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
21 Apr 15:15:28 DEBUG [geotools.arcsde] - com.esri.sde.sdk.client.SeConnection is in place.
21 Apr 15:15:28 DEBUG [geotools.arcsde] - com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
21 Apr 15:15:28 INFO [geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do

21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do

21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do

21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do

21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do

21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do

21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do

21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do

21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 “POST /geoserver/config/data/storeNewSubmit.do” took 78ms
21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:28 INFO [geoserver.filters] - Not compressing output for mimetype: image/gif
21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” took 0ms
21 Apr 15:15:53 INFO [geoserver.filters] - 127.0.0.1 “POST /geoserver/config/data/storeSubmit.do” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “http://localhost:8080/geoserver/config/data/storeNewSubmit.do

form connection params { password=“nBn5.AtR”, pool.minConnections=2, user=“natur”, instance=“esri_sde”, pool.maxConnections=2, pool.timeOut=1000, server=“geointra1.ulf.hessen.de”, port=5151, dbtype=“arcsde”}

21 Apr 15:15:53 DEBUG [geotools.arcsde] - com.esri.sde.sdk.client.SeConnection is in place.
21 Apr 15:15:53 DEBUG [geotools.arcsde] - com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
21 Apr 15:15:53 DEBUG [pool.ArcSDEConnectionPool] - populating ArcSDE connection pool
21 Apr 15:15:53 INFO [pool.ArcSDEConnectionPool] - Created ArcSDE connection pool for org.geotools.arcsde.pool.ArcSDEConnectionConfig[dbtype=arcsde, server=geointra1.ulf.hessen.de, port=5151, instance=esri_sde, user=natur, password=*****, minConnections=2, maxConnections=2, connTimeOut=1000]

21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com

21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com

21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com

21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com

21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection validated, returned user NATUR
21 Apr 15:15:55 TRACE [pool.ArcSDEConnectionPool] - Validating SDE Connection
21 Apr 15:15:55 WARN [geoserver.action] - Unable to fetch a list of FeatureType names from datastore.
java.lang.OutOfMemoryError: Java heap space
at com.esri.sde.sdk.client.s$a_.o(Unknown Source)
at com.esri.sde.sdk.client.s$a_.f(Unknown Source)
at com.esri.sde.sdk.client.s.n(Unknown Source)
at com.esri.sde.sdk.client.b.k(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.getUser(Unknown Source)
at org.geotools.arcsde.pool.ArcSDEConnectionPool$SeConnectionFactory.validateObject(ArcSDEConnectionPool.java:594)

at org.apache.commons.pool.impl.GenericObjectPool.addObjectToPool(GenericObjectPool.java:922)
at org.apache.commons.pool.impl.GenericObjectPool.returnObject(GenericObjectPool.java:917)
at org.geotools.arcsde.pool.ArcSDEPooledConnection.close(ArcSDEPooledConnection.java:62)
at org.geotools.arcsde.pool.ArcSDEConnectionPool.getAvailableLayerNames(ArcSDEConnectionPool.java:413)
at org.geotools.arcsde.data.ArcSDEDataStore.getTypeNames(ArcSDEDataStore.java:168)
at org.vfny.geoserver.util.DataStoreUtils.getDataStore(DataStoreUtils.java:66)
at org.vfny.geoserver.util.DataStoreUtils.acquireDataStore(DataStoreUtils.java:51)
at org.vfny.geoserver.action.data.DataDataStoresEditorAction.execute(DataDataStoresEditorAction.java:134)
at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
21 Apr 15:15:55 INFO [geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeSubmit.do

21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeSubmit.do

21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeSubmit.do

21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeSubmit.do

21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeSubmit.do

21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeSubmit.do

21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeSubmit.do

21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url was: http://localhost:8080/geoserver/config/data/storeSubmit.do

21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 “POST /geoserver/config/data/storeSubmit.do” took 2797ms
21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14” “”

21 Apr 15:15:55 INFO [geoserver.filters] - Not compressing output for mimetype: image/gif
21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 “GET /geoserver/images/gs.gif” took 0ms

-------------------------------------------------------------------------------------------------------------|

The problem is: I set the java heap space up to 512 MB. This cannot be the problem. I think its a standard error message if nothing else fits.

The ArcSDE client api was said to be correctly found and used. But what else can be wrong? I’m using the 1.6.3 with a nightly build from 2 weeks ago of the “gt2-arcsde-2.4-SNAPSHOT.jar”. I hope somebody can help me.

Regards
Albrecht

Hi Albercht,

are you consistently getting the same error? Like in is the following line is
always on the stack trace?:
at
org.geotools.arcsde.pool.ArcSDEConnectionPool$SeConnectionFactory.validateObject(ArcSDEConnectionPool.java:594)

Also, please specify exactly which geoserver version are you using, as well as
ArcSDE version and RDBMS name and version.

Thanks,

Gabriel
On Monday 21 April 2008 03:35:40 pm Albrecht.Weiser@anonymised.com wrote:

Hi list,
i still don't get a connection to my ArcSDE backend. I tried some time
ago and posted my problems, but there were no solution for the exception
until now. Maybe there are some new awarenesses about this exception.

Here's the exception i get, when i try to connect to the arcsde backend:
|-----------------------------------------------------------------------

-----------------------------

21 Apr 15:15:07 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/data/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:07 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/data/" took 0ms
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET /geoserver/"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET /geoserver/"
took 63ms
21 Apr 15:15:14 INFO [geoserver.filters] - Compressing output for
mimetype: text/html
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/gs.ico" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/gs.ico" took 0ms
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/welcome.do" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
"http://localhost:8080/geoserver/"
21 Apr 15:15:14 INFO [tiles.TilesRequestProcessor] - Tiles definition
factory found for request processor ''.
21 Apr 15:15:14 INFO [geoserver.filters] - Compressing output for
mimetype: text/html;charset=UTF-8
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/welcome.do
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/welcome.do
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/welcome.do
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/welcome.do
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/welcome.do
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/welcome.do
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/welcome.do
21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/welcome.do
21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/welcome.do" took 312ms
21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/index.do" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
"http://localhost:8080/geoserver/welcome.do"
21 Apr 15:15:18 INFO [geoserver.filters] - Compressing output for
mimetype: text/html;charset=UTF-8
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/index.do
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/index.do
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/index.do
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/index.do
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/index.do
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/index.do
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/index.do
21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/index.do
21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/index.do" took 47ms
21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:18 INFO [geoserver.filters] - Not compressing output for
mimetype: image/gif
21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" took 0ms
21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/data/index.do" "Mozilla/5.0 (Windows; U; Windows NT
5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
"http://localhost:8080/geoserver/config/index.do"
21 Apr 15:15:19 INFO [geoserver.filters] - Compressing output for
mimetype: text/html;charset=UTF-8
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/index.do
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/index.do
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/index.do
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/index.do
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/index.do
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/index.do
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/index.do
21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/index.do
21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/data/index.do" took 78ms
21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:19 INFO [geoserver.filters] - Not compressing output for
mimetype: image/gif
21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" took 0ms
21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/data/store.do" "Mozilla/5.0 (Windows; U; Windows NT
5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
"http://localhost:8080/geoserver/config/data/index.do"
21 Apr 15:15:21 INFO [geoserver.filters] - Compressing output for
mimetype: text/html;charset=UTF-8
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/store.do
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/store.do
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/store.do
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/store.do
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/store.do
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/store.do
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/store.do
21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/store.do
21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/data/store.do" took 63ms
21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:21 INFO [geoserver.filters] - Not compressing output for
mimetype: image/gif
21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" took 0ms
21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/data/storeNew.do" "Mozilla/5.0 (Windows; U; Windows NT
5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
"http://localhost:8080/geoserver/config/data/store.do"
21 Apr 15:15:23 INFO [geoserver.filters] - Compressing output for
mimetype: text/html;charset=UTF-8
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNew.do
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNew.do
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNew.do
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNew.do
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNew.do
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNew.do
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNew.do
21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNew.do
21 Apr 15:15:23 DEBUG [geotools.arcsde] -
com.esri.sde.sdk.client.SeConnection is in place.
21 Apr 15:15:23 DEBUG [geotools.arcsde] -
com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/config/data/storeNew.do" took 47ms
21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:23 INFO [geoserver.filters] - Not compressing output for
mimetype: image/gif
21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" took 0ms
21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 "POST
/geoserver/config/data/storeNewSubmit.do" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
"http://localhost:8080/geoserver/config/data/storeNew.do"
21 Apr 15:15:28 DEBUG [geotools.arcsde] -
com.esri.sde.sdk.client.SeConnection is in place.
21 Apr 15:15:28 DEBUG [geotools.arcsde] -
com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
21 Apr 15:15:28 DEBUG [geotools.arcsde] -
com.esri.sde.sdk.client.SeConnection is in place.
21 Apr 15:15:28 DEBUG [geotools.arcsde] -
com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
21 Apr 15:15:28 INFO [geoserver.filters] - Compressing output for
mimetype: text/html;charset=UTF-8
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 "POST
/geoserver/config/data/storeNewSubmit.do" took 78ms
21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:28 INFO [geoserver.filters] - Not compressing output for
mimetype: image/gif
21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" took 0ms
21 Apr 15:15:53 INFO [geoserver.filters] - 127.0.0.1 "POST
/geoserver/config/data/storeSubmit.do" "Mozilla/5.0 (Windows; U; Windows
NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
"http://localhost:8080/geoserver/config/data/storeNewSubmit.do"
form connection params { password="nBn5.AtR", pool.minConnections=2,
user="natur", instance="esri_sde", pool.maxConnections=2,
pool.timeOut=1000, server="geointra1.ulf.hessen.de", port=5151,
dbtype="arcsde"}
21 Apr 15:15:53 DEBUG [geotools.arcsde] -
com.esri.sde.sdk.client.SeConnection is in place.
21 Apr 15:15:53 DEBUG [geotools.arcsde] -
com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
21 Apr 15:15:53 DEBUG [pool.ArcSDEConnectionPool] - populating ArcSDE
connection pool
21 Apr 15:15:53 INFO [pool.ArcSDEConnectionPool] - Created ArcSDE
connection pool for
org.geotools.arcsde.pool.ArcSDEConnectionConfig[dbtype=arcsde,
server=geointra1.ulf.hessen.de, port=5151, instance=esri_sde,
user=natur, password=*****, minConnections=2, maxConnections=2,
connTimeOut=1000]
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating
connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating
connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating
connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
validated, returned user NATUR
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating
connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com
21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
Connection
21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
validated, returned user NATUR
21 Apr 15:15:55 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
Connection
21 Apr 15:15:55 WARN [geoserver.action] - Unable to fetch a list of
FeatureType names from datastore.
java.lang.OutOfMemoryError: Java heap space
  at com.esri.sde.sdk.client.s$a_.o(Unknown Source)
  at com.esri.sde.sdk.client.s$a_.f(Unknown Source)
  at com.esri.sde.sdk.client.s.n(Unknown Source)
  at com.esri.sde.sdk.client.b.k(Unknown Source)
  at com.esri.sde.sdk.client.SeConnection.getUser(Unknown Source)
  at
org.geotools.arcsde.pool.ArcSDEConnectionPool$SeConnectionFactory.valida
teObject(ArcSDEConnectionPool.java:594)
  at
org.apache.commons.pool.impl.GenericObjectPool.addObjectToPool(GenericOb
jectPool.java:922)
  at
org.apache.commons.pool.impl.GenericObjectPool.returnObject(GenericObjec
tPool.java:917)
  at
org.geotools.arcsde.pool.ArcSDEPooledConnection.close(ArcSDEPooledConnec
tion.java:62)
  at
org.geotools.arcsde.pool.ArcSDEConnectionPool.getAvailableLayerNames(Arc
SDEConnectionPool.java:413)
  at
org.geotools.arcsde.data.ArcSDEDataStore.getTypeNames(ArcSDEDataStore.ja
va:168)
  at
org.vfny.geoserver.util.DataStoreUtils.getDataStore(DataStoreUtils.java:
66)
  at
org.vfny.geoserver.util.DataStoreUtils.acquireDataStore(DataStoreUtils.j
ava:51)
  at
org.vfny.geoserver.action.data.DataDataStoresEditorAction.execute(DataDa
taStoresEditorAction.java:134)
  at
org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
  at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
  at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
  at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
  at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:108)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
  at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
21 Apr 15:15:55 INFO [geoserver.filters] - Compressing output for
mimetype: text/html;charset=UTF-8
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeSubmit.do
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeSubmit.do
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeSubmit.do
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeSubmit.do
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeSubmit.do
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeSubmit.do
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeSubmit.do
21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
was: http://localhost:8080/geoserver/config/data/storeSubmit.do
21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 "POST
/geoserver/config/data/storeSubmit.do" took 2797ms
21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
21 Apr 15:15:55 INFO [geoserver.filters] - Not compressing output for
mimetype: image/gif
21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 "GET
/geoserver/images/gs.gif" took 0ms

------------------------------------------------------------------------
-------------------------------------|

The problem is: I set the java heap space up to 512 MB. This cannot be
the problem. I think its a standard error message if nothing else fits.
The ArcSDE client api was said to be correctly found and used. But what
else can be wrong? I'm using the 1.6.3 with a nightly build from 2 weeks
ago of the "gt2-arcsde-2.4-SNAPSHOT.jar". I hope somebody can help me.
Regards
Albrecht

!DSPAM:4045,480ca73a271931096210785!

Gabriel,

I'd say that this looks like a *really* large number of layers is eating
all the memory. Check lower in the stack trace:

....
org.geotools.arcsde.pool.ArcSDEConnectionPool.getAvailableLayerNames(ArcSDEConnectionPool.java:413)
....

Albrecht:

I'd say you should increase the JVM heap size on your computer even
higher, and double-check that your heap size setting is getting
propagated through to your running code. Is it possible there's a typo
or some disconnect that's not giving your JVM the proper amount of
memory?

--saul

On Mon, 2008-04-21 at 16:59 +0200, Gabriel Roldán wrote:

Hi Albercht,

are you consistently getting the same error? Like in is the following line is
always on the stack trace?:
        at
org.geotools.arcsde.pool.ArcSDEConnectionPool$SeConnectionFactory.validateObject(ArcSDEConnectionPool.java:594)

Also, please specify exactly which geoserver version are you using, as well as
ArcSDE version and RDBMS name and version.

Thanks,

Gabriel
On Monday 21 April 2008 03:35:40 pm Albrecht.Weiser@anonymised.com wrote:
> Hi list,
> i still don't get a connection to my ArcSDE backend. I tried some time
> ago and posted my problems, but there were no solution for the exception
> until now. Maybe there are some new awarenesses about this exception.
>
> Here's the exception i get, when i try to connect to the arcsde backend:
> |-----------------------------------------------------------------------
>
> -----------------------------
>
> 21 Apr 15:15:07 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/data/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:07 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/data/" took 0ms
> 21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET /geoserver/"
> "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14)
> Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET /geoserver/"
> took 63ms
> 21 Apr 15:15:14 INFO [geoserver.filters] - Compressing output for
> mimetype: text/html
> 21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/gs.ico" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/gs.ico" took 0ms
> 21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/welcome.do" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
> "http://localhost:8080/geoserver/"
> 21 Apr 15:15:14 INFO [tiles.TilesRequestProcessor] - Tiles definition
> factory found for request processor ''.
> 21 Apr 15:15:14 INFO [geoserver.filters] - Compressing output for
> mimetype: text/html;charset=UTF-8
> 21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/welcome.do
> 21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/welcome.do
> 21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/welcome.do
> 21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/welcome.do
> 21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/welcome.do
> 21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/welcome.do
> 21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/welcome.do
> 21 Apr 15:15:14 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/welcome.do
> 21 Apr 15:15:14 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/welcome.do" took 312ms
> 21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/index.do" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
> de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
> "http://localhost:8080/geoserver/welcome.do"
> 21 Apr 15:15:18 INFO [geoserver.filters] - Compressing output for
> mimetype: text/html;charset=UTF-8
> 21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/index.do
> 21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/index.do
> 21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/index.do
> 21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/index.do
> 21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/index.do
> 21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/index.do
> 21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/index.do
> 21 Apr 15:15:18 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/index.do
> 21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/index.do" took 47ms
> 21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:18 INFO [geoserver.filters] - Not compressing output for
> mimetype: image/gif
> 21 Apr 15:15:18 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" took 0ms
> 21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/data/index.do" "Mozilla/5.0 (Windows; U; Windows NT
> 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
> "http://localhost:8080/geoserver/config/index.do"
> 21 Apr 15:15:19 INFO [geoserver.filters] - Compressing output for
> mimetype: text/html;charset=UTF-8
> 21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/index.do
> 21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/index.do
> 21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/index.do
> 21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/index.do
> 21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/index.do
> 21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/index.do
> 21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/index.do
> 21 Apr 15:15:19 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/index.do
> 21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/data/index.do" took 78ms
> 21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:19 INFO [geoserver.filters] - Not compressing output for
> mimetype: image/gif
> 21 Apr 15:15:19 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" took 0ms
> 21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/data/store.do" "Mozilla/5.0 (Windows; U; Windows NT
> 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
> "http://localhost:8080/geoserver/config/data/index.do"
> 21 Apr 15:15:21 INFO [geoserver.filters] - Compressing output for
> mimetype: text/html;charset=UTF-8
> 21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/store.do
> 21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/store.do
> 21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/store.do
> 21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/store.do
> 21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/store.do
> 21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/store.do
> 21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/store.do
> 21 Apr 15:15:21 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/store.do
> 21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/data/store.do" took 63ms
> 21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:21 INFO [geoserver.filters] - Not compressing output for
> mimetype: image/gif
> 21 Apr 15:15:21 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" took 0ms
> 21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/data/storeNew.do" "Mozilla/5.0 (Windows; U; Windows NT
> 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
> "http://localhost:8080/geoserver/config/data/store.do"
> 21 Apr 15:15:23 INFO [geoserver.filters] - Compressing output for
> mimetype: text/html;charset=UTF-8
> 21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNew.do
> 21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNew.do
> 21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNew.do
> 21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNew.do
> 21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNew.do
> 21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNew.do
> 21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNew.do
> 21 Apr 15:15:23 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNew.do
> 21 Apr 15:15:23 DEBUG [geotools.arcsde] -
> com.esri.sde.sdk.client.SeConnection is in place.
> 21 Apr 15:15:23 DEBUG [geotools.arcsde] -
> com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
> 21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/config/data/storeNew.do" took 47ms
> 21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:23 INFO [geoserver.filters] - Not compressing output for
> mimetype: image/gif
> 21 Apr 15:15:23 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" took 0ms
> 21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 "POST
> /geoserver/config/data/storeNewSubmit.do" "Mozilla/5.0 (Windows; U;
> Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
> "http://localhost:8080/geoserver/config/data/storeNew.do"
> 21 Apr 15:15:28 DEBUG [geotools.arcsde] -
> com.esri.sde.sdk.client.SeConnection is in place.
> 21 Apr 15:15:28 DEBUG [geotools.arcsde] -
> com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
> 21 Apr 15:15:28 DEBUG [geotools.arcsde] -
> com.esri.sde.sdk.client.SeConnection is in place.
> 21 Apr 15:15:28 DEBUG [geotools.arcsde] -
> com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
> 21 Apr 15:15:28 INFO [geoserver.filters] - Compressing output for
> mimetype: text/html;charset=UTF-8
> 21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
> 21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
> 21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
> 21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
> 21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
> 21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
> 21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
> 21 Apr 15:15:28 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeNewSubmit.do
> 21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 "POST
> /geoserver/config/data/storeNewSubmit.do" took 78ms
> 21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:28 INFO [geoserver.filters] - Not compressing output for
> mimetype: image/gif
> 21 Apr 15:15:28 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" took 0ms
> 21 Apr 15:15:53 INFO [geoserver.filters] - 127.0.0.1 "POST
> /geoserver/config/data/storeSubmit.do" "Mozilla/5.0 (Windows; U; Windows
> NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"
> "http://localhost:8080/geoserver/config/data/storeNewSubmit.do"
> form connection params { password="nBn5.AtR", pool.minConnections=2,
> user="natur", instance="esri_sde", pool.maxConnections=2,
> pool.timeOut=1000, server="geointra1.ulf.hessen.de", port=5151,
> dbtype="arcsde"}
> 21 Apr 15:15:53 DEBUG [geotools.arcsde] -
> com.esri.sde.sdk.client.SeConnection is in place.
> 21 Apr 15:15:53 DEBUG [geotools.arcsde] -
> com.esri.sde.sdk.pe.PeCoordinateSystem is in place.
> 21 Apr 15:15:53 DEBUG [pool.ArcSDEConnectionPool] - populating ArcSDE
> connection pool
> 21 Apr 15:15:53 INFO [pool.ArcSDEConnectionPool] - Created ArcSDE
> connection pool for
> org.geotools.arcsde.pool.ArcSDEConnectionConfig[dbtype=arcsde,
> server=geointra1.ulf.hessen.de, port=5151, instance=esri_sde,
> user=natur, password=*****, minConnections=2, maxConnections=2,
> connTimeOut=1000]
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating
> connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
> Connection
> 21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
> validated, returned user NATUR
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating
> connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
> Connection
> 21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
> validated, returned user NATUR
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
> Connection
> 21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
> validated, returned user NATUR
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
> Connection
> 21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
> validated, returned user NATUR
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating
> connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
> Connection
> 21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
> validated, returned user NATUR
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
> Connection
> 21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
> validated, returned user NATUR
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - activating
> connection org.geotools.arcsde.pool.ArcSDEPooledConnection@anonymised.com
> 21 Apr 15:15:54 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
> Connection
> 21 Apr 15:15:54 DEBUG [pool.ArcSDEConnectionPool] - Connection
> validated, returned user NATUR
> 21 Apr 15:15:55 TRACE [pool.ArcSDEConnectionPool] - Validating SDE
> Connection
> 21 Apr 15:15:55 WARN [geoserver.action] - Unable to fetch a list of
> FeatureType names from datastore.
> java.lang.OutOfMemoryError: Java heap space
> at com.esri.sde.sdk.client.s$a_.o(Unknown Source)
> at com.esri.sde.sdk.client.s$a_.f(Unknown Source)
> at com.esri.sde.sdk.client.s.n(Unknown Source)
> at com.esri.sde.sdk.client.b.k(Unknown Source)
> at com.esri.sde.sdk.client.SeConnection.getUser(Unknown Source)
> at
> org.geotools.arcsde.pool.ArcSDEConnectionPool$SeConnectionFactory.valida
> teObject(ArcSDEConnectionPool.java:594)
> at
> org.apache.commons.pool.impl.GenericObjectPool.addObjectToPool(GenericOb
> jectPool.java:922)
> at
> org.apache.commons.pool.impl.GenericObjectPool.returnObject(GenericObjec
> tPool.java:917)
> at
> org.geotools.arcsde.pool.ArcSDEPooledConnection.close(ArcSDEPooledConnec
> tion.java:62)
> at
> org.geotools.arcsde.pool.ArcSDEConnectionPool.getAvailableLayerNames(Arc
> SDEConnectionPool.java:413)
> at
> org.geotools.arcsde.data.ArcSDEDataStore.getTypeNames(ArcSDEDataStore.ja
> va:168)
> at
> org.vfny.geoserver.util.DataStoreUtils.getDataStore(DataStoreUtils.java:
> 66)
> at
> org.vfny.geoserver.util.DataStoreUtils.acquireDataStore(DataStoreUtils.j
> ava:51)
> at
> org.vfny.geoserver.action.data.DataDataStoresEditorAction.execute(DataDa
> taStoresEditorAction.java:134)
> at
> org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
> ocessor.java:431)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 236)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:188)
> at
> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
> terEncodingFilter.java:108)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:215)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:188)
> at
> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:215)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:188)
> at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:215)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:188)
> 21 Apr 15:15:55 INFO [geoserver.filters] - Compressing output for
> mimetype: text/html;charset=UTF-8
> 21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeSubmit.do
> 21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeSubmit.do
> 21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeSubmit.do
> 21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeSubmit.do
> 21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeSubmit.do
> 21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeSubmit.do
> 21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeSubmit.do
> 21 Apr 15:15:55 WARN [geoserver.filters] - Setting mimetype after
> acquiring stream! was:text/html;charset=UTF-8; set to: text/html; url
> was: http://localhost:8080/geoserver/config/data/storeSubmit.do
> 21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 "POST
> /geoserver/config/data/storeSubmit.do" took 2797ms
> 21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" ""
> 21 Apr 15:15:55 INFO [geoserver.filters] - Not compressing output for
> mimetype: image/gif
> 21 Apr 15:15:55 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/images/gs.gif" took 0ms
>
> ------------------------------------------------------------------------
> -------------------------------------|
>
> The problem is: I set the java heap space up to 512 MB. This cannot be
> the problem. I think its a standard error message if nothing else fits.
> The ArcSDE client api was said to be correctly found and used. But what
> else can be wrong? I'm using the 1.6.3 with a nightly build from 2 weeks
> ago of the "gt2-arcsde-2.4-SNAPSHOT.jar". I hope somebody can help me.
> Regards
> Albrecht
>
>
>
>
>
> !DSPAM:4045,480ca73a271931096210785!

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Saul, Hi Gabriel,
i'm afraid you're right, Saul, i'm trying to connect to an ArcSDE instance which manages up to 324 different FeatureTypes (layers). Most of the FeatureTypes are specialiced geodata and don't contain more than some thousand datasets. But some are geo-basic data like cadastral data of the federal country hessen with XX millions of datasets. The system i want to connect to is a governmental productive data server system. I'm just testing the possibilities of geoserver to work with an ArcSDE backend and therefore im doing it on my office pc with 1024 BM RAM. I agree with you if you say that's not very much power, but even though its a high amount of FeatureTypes to gather, the memory should be enough shouldn't it?
O.K. i set the java heap space up to 768 MB which is the highest level my pc could afford. I'm working on a windows XP platform (because later geoserver should also run on a windows 2003 server platform). There i don't need to set the heap space in the start script - i can do it in the Apache Tomcat properties window. Therefore i don't have problems with wrong script settings of -Xms -Xmx. I monitored the task manager when starting tomcat: the memory was rising up to 1200MB (with a swapfile of 1.2 GB). Therefore i think that the JVM is getting the proper amount of memory.
But i'm still wondering that an ArcSDE datastore should need so much memory. Formerly i built a datastore with a direct connection to the oracle db where ArcSDE sits upon. That worked properly even though there were the same amount of FeatureTypes than in my test with the ArcSDE datastore. For me that means, that there must be in principle enough memory for the connection!?
I'm working with geoserver 1.6.3 (where can i explore the full release-number? Geoserver doesn't log it unfortunately).
The ArcSDE is 8.3 and it connects to an oracle 9i dbms.
best wishes
Albrecht
  
-----Ursprüngliche Nachricht-----
Von: Saul Farber [mailto:sjf8@anonymised.com]
Gesendet: Montag, 21. April 2008 17:15
An: Gabriel Roldán
Cc: geoserver-users@lists.sourceforge.net; Weiser, Albrecht (HZD)
Betreff: Re: [Geoserver-users] ArcSDE Backend:Please help, i'm stuck; Stilldin't get an ArcSDE connection

Gabriel,

I'd say that this looks like a *really* large number of layers is eating
all the memory. Check lower in the stack trace:

....
org.geotools.arcsde.pool.ArcSDEConnectionPool.getAvailableLayerNames(ArcSDEConnectionPool.java:413)
....

Albrecht:

I'd say you should increase the JVM heap size on your computer even
higher, and double-check that your heap size setting is getting
propagated through to your running code. Is it possible there's a typo
or some disconnect that's not giving your JVM the proper amount of
memory?

--saul

Hi Albrecht,

First off, you're right this seems like there should be enough memory to
retrieve 300+ layers. I object to assume 300 SeLayer instances can eat 1G of
heap space!

In that getAvailableLayerNames() method we have to call
SeConnection.getLayers():Vector<SeLayer>, which returns a vector with all
your layers.

Now, I wonder if we're looking at the correct spot and if so, if it might be
some sort of version hell, and if not, where are we messing up...

Lets start with a couple questions, since I guess noone of us is able to test
over a 8.3 instance:
- what ArcSDE Java API version are you using (jsde_sdk, et all)? If using 9.0,
9.1 or 9.2, did you try with the 8.3 jars that match your sde version? (I'm
not sure they would work though)
- did you try connecting to another instance with less layers to see if its
actually a problem with the layer count?
- could you let me connect to your test server somehow?

Cheers,

Gabriel

On Tuesday 22 April 2008 11:35:37 am Albrecht.Weiser@anonymised.com wrote:

Hi Saul, Hi Gabriel,
i'm afraid you're right, Saul, i'm trying to connect to an ArcSDE instance
which manages up to 324 different FeatureTypes (layers). Most of the
FeatureTypes are specialiced geodata and don't contain more than some
thousand datasets. But some are geo-basic data like cadastral data of the
federal country hessen with XX millions of datasets. The system i want to
connect to is a governmental productive data server system. I'm just
testing the possibilities of geoserver to work with an ArcSDE backend and
therefore im doing it on my office pc with 1024 BM RAM. I agree with you if
you say that's not very much power, but even though its a high amount of
FeatureTypes to gather, the memory should be enough shouldn't it? O.K. i
set the java heap space up to 768 MB which is the highest level my pc could
afford. I'm working on a windows XP platform (because later geoserver
should also run on a windows 2003 server platform). There i don't need to
set the heap space in the start script - i can do it in the Apache Tomcat
properties window. Therefore i don't have problems with wrong script
settings of -Xms -Xmx. I monitored the task manager when starting tomcat:
the memory was rising up to 1200MB (with a swapfile of 1.2 GB). Therefore i
think that the JVM is getting the proper amount of memory. But i'm still
wondering that an ArcSDE datastore should need so much memory. Formerly i
built a datastore with a direct connection to the oracle db where ArcSDE
sits upon. That worked properly even though there were the same amount of
FeatureTypes than in my test with the ArcSDE datastore. For me that means,
that there must be in principle enough memory for the connection!? I'm
working with geoserver 1.6.3 (where can i explore the full release-number?
Geoserver doesn't log it unfortunately). The ArcSDE is 8.3 and it connects
to an oracle 9i dbms.
best wishes
Albrecht

-----Ursprüngliche Nachricht-----
Von: Saul Farber [mailto:sjf8@anonymised.com]
Gesendet: Montag, 21. April 2008 17:15
An: Gabriel Roldán
Cc: geoserver-users@lists.sourceforge.net; Weiser, Albrecht (HZD)
Betreff: Re: [Geoserver-users] ArcSDE Backend:Please help, i'm stuck;
Stilldin't get an ArcSDE connection

>Gabriel,
>
>I'd say that this looks like a *really* large number of layers is eating
>all the memory. Check lower in the stack trace:
>
>....
>org.geotools.arcsde.pool.ArcSDEConnectionPool.getAvailableLayerNames(ArcSD
>EConnectionPool.java:413) ....
>
>Albrecht:
>
>I'd say you should increase the JVM heap size on your computer even
>higher, and double-check that your heap size setting is getting
>propagated through to your running code. Is it possible there's a typo
>or some disconnect that's not giving your JVM the proper amount of
>memory?
>
>--saul

!DSPAM:4045,480db18297681030819293!

Hi Gabriel,
now i made some different tests (hardware and backend) and now i had some success. I was installing geoserver on a productive machine (with up to 4 GB RAM). So RAM shouldn't be the problem anymore. As i told you had the jsde and jpe 9.2 jars on the machine. With the ArcSDE 8.3 i still got the same error: "java heap space". But here i also still had 300+ FeatureTypes. Another connection to an ArcSDE 9.2 instance was successful. But here i had only 2 FeatureTypes regeistered. I'm not sure, how to interprete this solution. If had an ArcSDE-instance 9.2 with the same amount of FeatureTypes than the 8.3 we could say the handling of the jars isn't downwards compatible. Now...? On the other hand 4+GB RAM should be enough memory to handle 300+ FeatureTypes!?

Best wishes

Albrecht

Hi Albrecht,

First off, you're right this seems like there should be
enough memory to
retrieve 300+ layers. I object to assume 300 SeLayer
instances can eat 1G of
heap space!

In that getAvailableLayerNames() method we have to call
SeConnection.getLayers():Vector<SeLayer>, which returns a
vector with all
your layers.

Now, I wonder if we're looking at the correct spot and if so,
if it might be
some sort of version hell, and if not, where are we messing up...

Lets start with a couple questions, since I guess noone of us
is able to test
over a 8.3 instance:
- what ArcSDE Java API version are you using (jsde_sdk, et
all)? If using 9.0,
9.1 or 9.2, did you try with the 8.3 jars that match your sde
version? (I'm
not sure they would work though)
- did you try connecting to another instance with less layers
to see if its
actually a problem with the layer count?
- could you let me connect to your test server somehow?

Cheers,

Gabriel

Albrecht.Weiser@anonymised.com ha scritto:

Hi Gabriel, now i made some different tests (hardware and backend)
and now i had some success. I was installing geoserver on a
productive machine (with up to 4 GB RAM). So RAM shouldn't be the
problem anymore. As i told you had the jsde and jpe 9.2 jars on the
machine. With the ArcSDE 8.3 i still got the same error: "java heap
space". But here i also still had 300+ FeatureTypes. Another
connection to an ArcSDE 9.2 instance was successful. But here i had
only 2 FeatureTypes regeistered. I'm not sure, how to interprete this
solution. If had an ArcSDE-instance 9.2 with the same amount of
FeatureTypes than the 8.3 we could say the handling of the jars isn't
downwards compatible. Now...? On the other hand 4+GB RAM should be
enough memory to handle 300+ FeatureTypes!?

you can have as much memory as you want in your PC, but java will
only use the amount it's configured to use. By default that
is 64MB on a desktop class machine, and I believe 1/4 on a server
class one (server os, such as linux, solaris, windows server,
2+ gb ram, 2+ cpu).

Maybe you can force your JVM to use more adding -Xmx1024 to the
java params (how to do that, depends on which web container
you're using, Tomcat uses a JAVA_OPTS env var for example).

Cheers
Andrea

Hi Albercht, sorry for the late response

also less than 4G should be enough, provided you're saying to the JVM to use
them. But I still need to sit down and seriously look at this issue, which I
didn't have time to yet.

sorry I know its frustrating, but I still don't know if its a bug in the
arcsde plugin, a bug in the esri jars, just the nature of the beast of what
else is going on.
All I can say is the only way we can get the list of layers from sde is by
asking an sde connection for the list of layers, which returns a
java.util.Vector(SeLayer) and I would be surprised a list of 300 SeLayer
objects need to take that much memory, so hopefully there's something else
wrong.

In the meantime I can only think if you would be able to test connecting to an
instance with those 300+ feature types from another machine, and ideally a
different sde instance, may be its just some weird environment stuff ?

regards,

Gabriel

On Tuesday 29 April 2008 05:25:36 pm Albrecht.Weiser@anonymised.com wrote:

Hi Gabriel,
now i made some different tests (hardware and backend) and now i had some
success. I was installing geoserver on a productive machine (with up to 4
GB RAM). So RAM shouldn't be the problem anymore. As i told you had the
jsde and jpe 9.2 jars on the machine. With the ArcSDE 8.3 i still got the
same error: "java heap space". But here i also still had 300+ FeatureTypes.
Another connection to an ArcSDE 9.2 instance was successful. But here i
had only 2 FeatureTypes regeistered. I'm not sure, how to interprete this
solution. If had an ArcSDE-instance 9.2 with the same amount of
FeatureTypes than the 8.3 we could say the handling of the jars isn't
downwards compatible. Now...? On the other hand 4+GB RAM should be enough
memory to handle 300+ FeatureTypes!?

Best wishes

Albrecht

> Hi Albrecht,
>
> First off, you're right this seems like there should be
> enough memory to
> retrieve 300+ layers. I object to assume 300 SeLayer
> instances can eat 1G of
> heap space!
>
> In that getAvailableLayerNames() method we have to call
> SeConnection.getLayers():Vector<SeLayer>, which returns a
> vector with all
> your layers.
>
> Now, I wonder if we're looking at the correct spot and if so,
> if it might be
> some sort of version hell, and if not, where are we messing up...
>
> Lets start with a couple questions, since I guess noone of us
> is able to test
> over a 8.3 instance:
> - what ArcSDE Java API version are you using (jsde_sdk, et
> all)? If using 9.0,
> 9.1 or 9.2, did you try with the 8.3 jars that match your sde
> version? (I'm
> not sure they would work though)
> - did you try connecting to another instance with less layers
> to see if its
> actually a problem with the layer count?
> - could you let me connect to your test server somehow?
>
> Cheers,
>
> Gabriel

!DSPAM:4045,48173e0e41481015089218!

Yes, i made the JVM settings in the tomcat (max heap space 1024MB - i think tomcat doesn't manage more than this).
I know that it's hard to debug an application remotely ;o). I had to do so too with my ArcMap2SLD-app sometimes.
For me these tests were successful, because finally i was able to connect to an ArcSDE backend. I think we will apply geoserver here. Now we know about the restrictions concerning SDE backend and we will align the use of geoserver with the given restrictions (which are o.k.). We are establishing that ArcSDE 9.2 instance with all data what was formerly running on 8.3 instance. If the problem will appear again, i will get back and inform you about it. If not let's say it was a problem of different versions.
Best wishes
Albrecht

Hi Albercht, sorry for the late response

also less than 4G should be enough, provided you're saying to
the JVM to use
them. But I still need to sit down and seriously look at this
issue, which I
didn't have time to yet.

sorry I know its frustrating, but I still don't know if its a
bug in the
arcsde plugin, a bug in the esri jars, just the nature of the
beast of what
else is going on.
All I can say is the only way we can get the list of layers
from sde is by
asking an sde connection for the list of layers, which returns a
java.util.Vector(SeLayer) and I would be surprised a list of
300 SeLayer
objects need to take that much memory, so hopefully there's
something else
wrong.

In the meantime I can only think if you would be able to test
connecting to an
instance with those 300+ feature types from another machine,
and ideally a
different sde instance, may be its just some weird environment stuff ?

regards,

Gabriel