[opencms-dev] problem with rac configuration

Valerio Synclab v.vianello at synclab.it
Tue Oct 5 16:34:27 CEST 2010


Hi List,

 

I am experiencing a strange problem when I restart the application server
where I have deployed opencms.

 

I am using Tomcat 6.0.20 as application server and oracle 11g as db in a RAC
configuration (2 nodes).

 

I have successfully installed opencms and developed my application using the
RAC  but each time I restart the server I get the following errors and I
need to restart and restart
until opencms is able to reach the RAC.

 

Any suggestion?

 

Best regards

 

Valerio

 

 

05-10-2010 16:15:30 FATAL
[org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java)]     -
Critical error while loading driver manager.

org.opencms.main.CmsInitException: Critical error during OpenCms
initialization: Unable to initialize the user driver.

        at
org.opencms.db.generic.CmsUserDriver.internalCreateDefaultGroups(CmsUserDriv
er.java:2064)

        at
org.opencms.db.generic.CmsUserDriver.fillDefaults(CmsUserDriver.java:772)

        at org.opencms.db.CmsDriverManager.init(CmsDriverManager.java:4513)

        at
org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2742)

        at
org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:157)

        at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1123)

        at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1289)

        at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1736)

        at
org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)

        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3972)

        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)

        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)

        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)

        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)

        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964
)

        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)

        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)

        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)

        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)

        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:722)

        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

        at
org.apache.catalina.core.StandardService.start(StandardService.java:516)

        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: org.opencms.db.CmsDbSqlException: An SQL error occurred when
executing the following query: .

        at
org.opencms.db.generic.CmsUserDriver.existsGroup(CmsUserDriver.java:719)

        at
org.opencms.db.generic.CmsUserDriver.internalCreateDefaultGroups(CmsUserDriv
er.java:2031)

        ... 32 more

Caused by: java.sql.SQLException: Io exception: The Network Adapter could
not establish the connection

        at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)

        at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)

        at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)

        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)

        at
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)

        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)

        at
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:
35)

        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(Driv
erManagerConnectionFactory.java:65)

        at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnect
ionFactory.java:294)

        at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPoo
l.java:1148)

        at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at
org.opencms.db.CmsSqlManager.getConnectionByUrl(CmsSqlManager.java:104)

        at
org.opencms.db.generic.CmsSqlManager.getConnection(CmsSqlManager.java:231)

        at
org.opencms.db.generic.CmsUserDriver.existsGroup(CmsUserDriver.java:701)

        ... 33 more

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20101005/4741f1b2/attachment.htm>


More information about the opencms-dev mailing list