I'm trying to set up the arcsde and the log report as follow. What's wrong
whit it? The Aicgis server is on local pc. I want to use the arcgis map data
by geoserver. I have downloaded and fixed the jars in the lib folder. I can
seen the arcsde in the droplist box. I have choosed the arcsde type and
filled the other info, like username, password. When I clicked the button it
reported the error infomations.
2009-04-09 16:56:44,812 WARN [geoserver.action] - Unable to fetch a list of
FeatureType names from datastore.
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: connect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
tomcat log:
......
form connection params { port=5300, dbtype="arcsde", pool.timeOut=500,
server="
localhost", instance="usa", pool.maxConnections=6, password="123",
user="arcgism
anager", pool.minConnections=2}
09 15:59:32 ERROR [arcsde.pool] - Command execution failed for Session 0 in
thread 54
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect
][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: c
onnect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
09 15:59:32 WARN [geoserver.action] - Unable to fetch a list of FeatureType
names from datastore.
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect
][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: c
onnect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
--
View this message in context: http://www.nabble.com/arcsde-problem-tp22966879p22966879.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi,
it seems to me like the "port" parameter is wrong, at least you actually have the instance running on port 5300, but what makes it suspicious is that that is the default port for ArcIMS, for ArcSDE it is 5151.
Can you check and if that's not the problem give me back some more information like sde version, database flavor and geoserver version?
best regards,
Gabriel
youme wrote:
I'm trying to set up the arcsde and the log report as follow. What's wrong
whit it? The Aicgis server is on local pc. I want to use the arcgis map data
by geoserver. I have downloaded and fixed the jars in the lib folder. I can
seen the arcsde in the droplist box. I have choosed the arcsde type and
filled the other info, like username, password. When I clicked the button it
reported the error infomations.
2009-04-09 16:56:44,812 WARN [geoserver.action] - Unable to fetch a list of
FeatureType names from datastore.
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: connect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
tomcat log:
......
form connection params { port=5300, dbtype="arcsde", pool.timeOut=500,
server="
localhost", instance="usa", pool.maxConnections=6, password="123",
user="arcgism
anager", pool.minConnections=2}
09 15:59:32 ERROR [arcsde.pool] - Command execution failed for Session 0 in
thread 54
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect
][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: c
onnect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
09 15:59:32 WARN [geoserver.action] - Unable to fetch a list of FeatureType
names from datastore.
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect
][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: c
onnect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Also, it looks like if the server parameter value has a newline character:
"
localhost"
but not sure if that's because of email word wrapping or not
Gabriel Roldan wrote:
Hi,
it seems to me like the "port" parameter is wrong, at least you actually have the instance running on port 5300, but what makes it suspicious is that that is the default port for ArcIMS, for ArcSDE it is 5151.
Can you check and if that's not the problem give me back some more information like sde version, database flavor and geoserver version?
best regards,
Gabriel
youme wrote:
I'm trying to set up the arcsde and the log report as follow. What's wrong
whit it? The Aicgis server is on local pc. I want to use the arcgis map data
by geoserver. I have downloaded and fixed the jars in the lib folder. I can
seen the arcsde in the droplist box. I have choosed the arcsde type and
filled the other info, like username, password. When I clicked the button it
reported the error infomations.
2009-04-09 16:56:44,812 WARN [geoserver.action] - Unable to fetch a list of
FeatureType names from datastore.
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: connect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
tomcat log:
......
form connection params { port=5300, dbtype="arcsde", pool.timeOut=500,
server="
localhost", instance="usa", pool.maxConnections=6, password="123",
user="arcgism
anager", pool.minConnections=2}
09 15:59:32 ERROR [arcsde.pool] - Command execution failed for Session 0 in
thread 54
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect
][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: c
onnect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
09 15:59:32 WARN [geoserver.action] - Unable to fetch a list of FeatureType
names from datastore.
org.geotools.arcsde.ArcSdeException: [SDE error -121 Connection refused:
connect
][Error desc=NO INSTANCE RUNNING ON SERVER.][Extended desc=Connection
refused: c
onnect
]
at org.geotools.arcsde.pool.Session$2.call(Session.java:205)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException: Connection refused: connect
at com.esri.sde.sdk.client.SeConnection.v(Unknown Source)
at com.esri.sde.sdk.client.SeConnection.<init>(Unknown Source)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:146)
at org.geotools.arcsde.pool.Session$1.execute(Session.java:138)
at org.geotools.arcsde.pool.Session$2.call(Session.java:202)
... 5 more
--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.