tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Wittenberg <dwittenberg2...@gmail.com>
Subject Re: errors after install
Date Thu, 01 Oct 2009 00:42:24 GMT
>> Daniel Wittenberg wrote:
> >>> I'm setting up spacewalk, all default settings, and I'm getting this in
> >>> the catalina.out.  Any ideas ?
> >>> Sep 29, 2009 7:19:34 PM com.mchange.v2.resourcepool.BasicResourcePool
> >>> $AcquireTask run
> >>> WARNING: com.mchange.v2.resourcepool.BasicResourcePool
> >>> $AcquireTask@7da79447 -- Acquisition Attempt Failed!!! Clearing pending
> >>> acquires. While trying to acquire a needed new resource, we failed to
> >>> succeed more than the maximum number of allowed acquisition attempts
> >>> (30).

I don't see that the RPM's include version.sh, so the closest I know how
to get:

tomcat5-5.5.23-0jpp.7.el5_3.2

I stopped tomcat, cleared the log and started again and got this:

Sep 30, 2009 8:13:08 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the
java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/opt/oracle/lib:/usr/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
..
Sep 30, 2009 8:13:08 PM org.apache.catalina.startup.HostConfig
deployDescriptor
WARNING: A docBase /var/lib/tomcat5/webapps/rhn inside the host appBase
has been specified, and will be ignored
Sep 30, 2009 8:13:08 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(/usr/share/tomcat5/webapps/rhn/WEB-INF/lib/jspapi.jar) -
jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/jsp/JspPage.class
Sep 30, 2009 8:13:44 PM com.mchange.v2.resourcepool.BasicResourcePool
$AcquireTask run
WARNING: com.mchange.v2.resourcepool.BasicResourcePool
$AcquireTask@60ab835a -- Acquisition Attempt Failed!!! Clearing pending
acquires. While trying to acquire a needed new resource, we failed to
succeed more than the maximum number of allowed acquisition attempts
(30).
Sep 30, 2009 8:13:44 PM com.mchange.v2.resourcepool.BasicResourcePool
$AcquireTask run
WARNING: com.mchange.v2.resourcepool.BasicResourcePool
$AcquireTask@1c3cbb4b -- Acquisition Attempt Failed!!! Clearing pending
acquires. While trying to acquire a needed new resource, we failed to
succeed more than the maximum number of allowed acquisition attempts
(30).
2009-09-30 20:13:44,630 [main] WARN  org.hibernate.cfg.SettingsFactory -
Could not obtain connection metadata
java.sql.SQLException: Connections could not be acquired from the
underlying database!
	at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:104)
	at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:236)
	at
com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedDataSource.java:94)
	at
org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:56)
	at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
	at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
	at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
	at
com.redhat.rhn.common.hibernate.ConnectionManager.createSessionFactory(ConnectionManager.java:173)
	at
com.redhat.rhn.common.hibernate.ConnectionManager.initialize(ConnectionManager.java:119)
	at
com.redhat.rhn.common.hibernate.HibernateFactory.createSessionFactory(HibernateFactory.java:91)
	at
com.redhat.rhn.webapp.RhnServletListener.startHibernate(RhnServletListener.java:89)
	at
com.redhat.rhn.webapp.RhnServletListener.contextInitialized(RhnServletListener.java:111)
	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4212)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A
ResourcePool could not acquire a resource from its primary factory or
source.
	at
com.mchange.v2.resourcepool.BasicResourcePool.awaitAcquire(BasicResourcePool.java:970)
	at
com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:208)
	at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:232)
	... 34 more

Looks like the only ports it's opening is 8080:
# netstat -nap |grep -i listen
tcp        0      0 :::8080                     :::*
LISTEN      2651/java

# ps -ef |grep 2651
tomcat    2651     1 32 20:40 ?
00:00:08 /usr/lib/jvm/java/bin/java -ea -Xms256m -Xmx256m
-Djava.awt.headless=true
-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser
-XX:MaxNewSize=256 -XX:-UseConcMarkSweepGC
-Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib -Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed
-classpath /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar
-Dcatalina.base=/usr/share/tomcat5 -Dcatalina.home=/usr/share/tomcat5 -Djava.io.tmpdir=/usr/share/tomcat5/temp
org.apache.catalina.startup.Bootstrap start

Does that help more ?

Thanks,
Dan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message