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