[Spacewalk-list] Reinstalling spacewalk

Justin Sherrill jsherril at redhat.com
Mon Feb 2 23:25:22 UTC 2009


m.roth2006 at rcn.com wrote:
> Ok, folks,
> 
>   I uninstalled everything (other than Oracle xe), reinstalled.... And I can't get the server up.  And yes, I fixed this link:
> 
> /var/lib/tomcat5/webapps/rhn/WEB-INF/lib/ojdbc14.jar -> /usr/lib/oracle/10.2.0.4/client64/lib/ojdbc14.jar
> 
> I am now officially beating my head on a wall. There's only one thread on this problem, and the link, above, fixed that one. 
> 
> What am I missing?
> 
> Here's what I deem to be the relevant portion of the log:
> Feb 2, 2009 3:02:51 PM com.mchange.v2.c3p0.PoolBackedDataSource getPoolManager
> INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource at 10c10de0 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource at 444b0bbb [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 444b0bbb, idleConnectionTestPeriod -> 300, initialPoolSize -> 5, maxIdleTime -> 300, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource at 54140fee [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 54140fee, jdbcUrl -> , properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle 
-!
>  > !
> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ], factoryClassLocation -> null, identityToken -> 10c10de0, numHelperThreads -> 3 ]
> Feb 2, 2009 3:03:20 PM com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask run
> WARNING: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask at 552a66ea -- 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-02-02 15:03:20,344 [main] WARN  org.hibernate.cfg.SettingsFactory - Could not obtain connection metadata
> java.sql.SQLException: Connections could not be acquired from the underlying database!

Looks like your jdbc url is not set:

"identityToken -> 54140fee, jdbcUrl -> , properties -> {user=******,
password=******} "

is

hibernate.connection.username=spacewalk
hibernate.connection.password=spacewalk
hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:xe

set in /etc/rhn/rhn.conf?




> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


-- 
Justin Sherrill, RHCA          1801 Varisty Drive.
Software Engineer                Raleigh, NC 27603
Red Hat, Inc.




More information about the Spacewalk-list mailing list