<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=IT link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span lang=EN-US>Hi List,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I am experiencing a strange problem when I
restart the application server where I have deployed opencms.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I am using Tomcat 6.0.20 as application
server and oracle 11g as db in a RAC configuration (2 nodes).<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>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<br>
until opencms is able to reach the RAC.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Any suggestion?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Best regards<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Valerio<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>05-10-2010 16:15:30 FATAL
[org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java)]
- Critical error while loading driver manager.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>org.opencms.main.CmsInitException: Critical
error during OpenCms initialization: Unable to initialize the user driver.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.opencms.db.generic.CmsUserDriver.internalCreateDefaultGroups(CmsUserDriver.java:2064)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.db.generic.CmsUserDriver.fillDefaults(CmsUserDriver.java:772)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.db.CmsDriverManager.init(CmsDriverManager.java:4513)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2742)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:157)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1123)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1289)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1736)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.StandardService.start(StandardService.java:516)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.startup.Catalina.start(Catalina.java:593)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at java.lang.reflect.Method.invoke(Unknown Source)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Caused by:
org.opencms.db.CmsDbSqlException: An SQL error occurred when executing the
following query: .<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.db.generic.CmsUserDriver.existsGroup(CmsUserDriver.java:719)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.opencms.db.generic.CmsUserDriver.internalCreateDefaultGroups(CmsUserDriver.java:2031)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
... 32 more<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Caused by: java.sql.SQLException: Io
exception: The Network Adapter could not establish the connection<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at java.sql.DriverManager.getConnection(Unknown Source)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at java.sql.DriverManager.getConnection(Unknown Source)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:65)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at java.sql.DriverManager.getConnection(Unknown Source)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at java.sql.DriverManager.getConnection(Unknown Source)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.db.CmsSqlManager.getConnectionByUrl(CmsSqlManager.java:104)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.db.generic.CmsSqlManager.getConnection(CmsSqlManager.java:231)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.opencms.db.generic.CmsUserDriver.existsGroup(CmsUserDriver.java:701)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
... 33 more<o:p></o:p></span></p>
</div>
</body>
</html>