Quantcast
Channel: VMware Communities : Unanswered Discussions - vFabric GemFire [ARCHIVED]
Viewing all articles
Browse latest Browse all 532

HTTP Session Management for Tomcat: ServerConnectivityException

$
0
0

Hi everyone,

 

I'm trying to get the HTTP session management module up and running in a client-server configuration with Tomcat 7.  I've modified the server.xml and context.xml files as directed, and I've added a <pool> element to cache-client.xml indicating the host and port of the locator I need to use.  But when I try to run my web app, I get an exception:

 

SEVERE: Error manager.start()

org.apache.catalina.LifecycleException: Failed to start component [Tomcat7DeltaSessionManager[container=StandardEngine[Catalina].StandardHost[localhost].StandardContext[]; regionName=gemfire_modules_sessions; regionAttributesId=null]]

          at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

          at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5300)

          at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

          at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

          at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

          at java.util.concurrent.FutureTask.run(FutureTask.java:166)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:722)

Caused by: com.gemstone.gemfire.cache.client.ServerConnectivityException: Could not create a new connection to server 10.0.2.15:40404

          at com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.borrowConnection(ConnectionManagerImpl.java:335)

          at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.executeOnServer(OpExecutorImpl.java:328)

          at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.executeOn(OpExecutorImpl.java:303)

          at com.gemstone.gemfire.cache.client.internal.PoolImpl.executeOn(PoolImpl.java:659)

          at com.gemstone.gemfire.cache.client.internal.SingleHopOperationCallable.call(SingleHopOperationCallable.java:45)

          ... 5 more

I've verified that the server.xml, context.xml, and cache-client.xml files are all being read, but I must be doing something wrong still.  40404 is the default port GemFire uses, so I must have missed a step somewhere, right?
Any advice anyone can offer -- including maybe some more detailed instructions than what's available in the documentation -- would be greatly appreciated. 
Thanks very much in advance!
-Will

Viewing all articles
Browse latest Browse all 532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>