Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 249166

Re: HTTP Session Management for Tomcat: ServerConnectivityException

$
0
0

Hi Jens,

 

Thanks for your reply.  Here's the info I've got:

 

Log: 

 

Feb 15, 2013 9:47:23 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Feb 15, 2013 9:47:23 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:uif-webapp' did not find a matching property.
2013-02-15 09:47:23,935 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Received BEFORE_INIT event
Feb 15, 2013 9:47:24 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Feb 15, 2013 9:47:24 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
2013-02-15 09:47:24,024 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Received AFTER_INIT event
Feb 15, 2013 9:47:24 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1265 ms
2013-02-15 09:47:24,026 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Received BEFORE_START event
2013-02-15 09:47:24,041 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Received CONFIGURE_START event
2013-02-15 09:47:24,063 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Received START event
2013-02-15 09:47:24,094 [main] INFO  com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Initializing GemFire Modules
Modules version: 2.1
Java version:   6.6.2 build 34761 03/06/2012 17:52:28 PST javac 1.6.0_26
Native version: native code unavailable
Source revision: 34761
Source repository: gemfire/trunk
Running on: /10.0.2.15, 4 cpu(s), amd64 Linux 3.7.6-201.fc18.x86_64
2013-02-15 09:47:24,094 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - ClientServerCache[cache=null]: Creating cache
2013-02-15 09:47:24,169 [main] INFO  com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Creating distributed system from: {log-file=/home/soulbro42/devel/mercury/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/logs/gemfire_modules.2013-02-15.log, cache-xml-file=/home/soulbro42/devel/mercury/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/conf/cache-client-session.xml}
2013-02-15 09:47:24,816 [main] INFO  com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Created GemFireCache[id = 172107178; isClosing = false; isShutDownAll = false; closingGatewayHubsByShutdownAll = false; created = Fri Feb 15 09:47:24 CST 2013; server = false; copyOnRead = false; lockLease = 120; lockTimeout = 60]
2013-02-15 09:47:24,817 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Previous eviction heap percentage=0.0; critical heap percentage=0.0
2013-02-15 09:47:24,817 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Requested eviction heap percentage=80.0; critical heap percentage=0.0
2013-02-15 09:47:24,818 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Actual eviction heap percentage=80.0; critical heap percentage=0.0
Feb 15, 2013 9:47:24 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 15, 2013 9:47:24 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.35
Feb 15, 2013 9:47:27 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Feb 15, 2013 9:47:28 AM org.apache.catalina.core.StandardContext startInternal
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
Feb 15, 2013 9:47:28 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
Feb 15, 2013 9:47:28 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Feb 15, 2013 9:47:28 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [AsyncAppender-Dispatcher-Thread-5] but has failed to stop it. This is very likely to create a memory leak.
Feb 15, 2013 9:47:28 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Function Execution Thread-1] but has failed to stop it. This is very likely to create a memory leak.
Feb 15, 2013 9:47:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Feb 15, 2013 9:47:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
2013-02-15 09:47:28,464 [main] DEBUG com.gemstone.gemfire.modules.session.bootstrap.AbstractCache  - Received AFTER_START event
Feb 15, 2013 9:47:28 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4438 ms

 

 

cache-client-session.xml file (our locator is at gemfirehost:55224):

<?xml version="1.0" encoding="UTF-8"?>

 

<!DOCTYPE client-cache PUBLIC

  "-//GemStone Systems, Inc.//GemFire Declarative Caching 6.6//EN"

  "http://www.gemstone.com/dtd/cache6_6.dtd">

 

<client-cache>

  <pool name="sessions">

    <locator host="gemfirehost" port="55224"/>

  </pool>

</client-cache>

 

My catalina.properties file is bone-stock, no changes made after installing Tomcat 7.0.35.

 

Thanks very much for your help!  Please let me know if there's any more info I can provide.

 

-Will


Viewing all articles
Browse latest Browse all 249166

Trending Articles



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