Hi,
can you share the connection parameters you provided to GeoServer for that
store?

Cheers
Andrea



On Tue, Feb 11, 2014 at 6:48 AM, <fitzgerald.v.ta...@gmail.com> wrote:

>
>
> Hi all,
>
> I am getting the following warning in my log when attempting to create a
> data store (direct connect to SDE).
>
> I'm hoping somebody else has had a similar experience and can point me in
> the right direction with this one.
>
> I am using database authentication,and the credentials had SA privileges.
>
> Many thanks,
>
> T.
>
>
>
> 2014-02-11 16:25:21,231 DEBUG [arcsde.session] - Creating connection for
> session #2(try 1 of 3)
> 2014-02-11 16:25:21,247 DEBUG [arcsde.session] - SDE connection pool
> closed.
> 2014-02-11 16:25:21,247 WARN [data.store] - Error obtaining new data store
> java.io.IOException: Can't create connection to vgeodb for Session #2
>                 at
> org.geotools.arcsde.session.Session$CreateSeConnectionCommand.execute(Session.java:624)
>                 at
> org.geotools.arcsde.session.Session$CreateSeConnectionCommand.execute(Session.java:575)
>                 at
> org.geotools.arcsde.session.Session.issue(Session.java:180)
>                 at
> org.geotools.arcsde.session.Session.<init>(Session.java:166)
>                 at
> org.geotools.arcsde.session.SessionPool$SeConnectionFactory.makeObject(SessionPool.java:384)
>                 at
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)
>                 at
> org.geotools.arcsde.session.SessionPool.<init>(SessionPool.java:155)
>                 at
> org.geotools.arcsde.session.SessionPoolFactory.createPool(SessionPoolFactory.java:69)
>                 at
> org.geotools.arcsde.ArcSDEDataStoreFactory.createDataStore(ArcSDEDataStoreFactory.java:268)
>                 at
> org.geotools.arcsde.ArcSDEDataStoreFactory.createDataStore(ArcSDEDataStoreFactory.java:259)
>                 at
> org.geotools.arcsde.ArcSDEDataStoreFactory.createDataStore(ArcSDEDataStoreFactory.java:73)
>                 at
> org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:107)
>                 at
> org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:546)
>                 at
> org.geoserver.catalog.impl.DataStoreInfoImpl.getDataStore(DataStoreInfoImpl.java:37)
>                 at
> org.geoserver.web.data.store.DataAccessNewPage.onSaveDataStore(DataAccessNewPage.java:91)
>                 at
> org.geoserver.web.data.store.AbstractDataAccessPage$1.onSubmit(AbstractDataAccessPage.java:162)
>                 at
> org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
>                 at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
>                 at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
>                 at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
>                 at
> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
>                 at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>                 at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
>                 at
> org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>                 at
> org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
>                 at
> org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>                 at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
>                 at
> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>                 at
> org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
>                 at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>                 at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>                 at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
>                 at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
>                 at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
>                 at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>                 at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
>                 at
> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
>                 at
> org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
>                 at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
>                 at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
>                 at
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>                 at
> org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
>                 at
> org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
>                 at
> org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:115)
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
>                 at
> org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
>                 at
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>                 at
> org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
>                 at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>                 at
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
>                 at
> org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134)
>                 at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
>                 at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:43)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>                 at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
>                 at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>                 at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>                 at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
>                 at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>                 at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>                 at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>                 at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>                 at org.mortbay.jetty.Server.handle(Server.java:324)
>                 at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>                 at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
>                 at
> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
>                 at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>                 at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>                 at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>                 at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> Caused by: java.lang.NumberFormatException: For input string: "sqlserver"
>                 at java.lang.NumberFormatException.forInputString(Unknown
> Source)
>                 at java.lang.Integer.parseInt(Unknown Source)
>                 at java.lang.Integer.parseInt(Unknown Source)
>                 at com.esri.sde.sdk.client.SeConnection.<init>(Unknown
> Source)
>                 at
> org.geotools.arcsde.session.Session$CreateSeConnectionCommand.execute(Session.java:610)
>                 ... 109 more
>
>
>
>
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

-------------------------------------------------------
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to