[Carbon-dev] [jira] Closed: (CARBON-2927) Registry transaction exception thrown in the startup process with Oracle 10g.

Krishantha Samaraweera (JIRA) jira at wso2.org
Sun Feb 1 03:41:05 PST 2009


     [ https://wso2.org/jira/browse/CARBON-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krishantha Samaraweera closed CARBON-2927.
------------------------------------------

    Resolution: Fixed

Fixed by sumedha.

> Registry transaction exception thrown in the startup process with Oracle 10g.
> -----------------------------------------------------------------------------
>
>                 Key: CARBON-2927
>                 URL: https://wso2.org/jira/browse/CARBON-2927
>             Project: WSO2 Carbon
>          Issue Type: Bug
>          Components: Registry
>    Affects Versions: 1.5-RC2
>            Reporter: Krishantha Samaraweera
>            Assignee: Chathura Ekanayake
>            Priority: Highest
>
> Following exception thrown when start the registry with oracle 10g.
> INFO: Starting Coyote HTTP/1.1 on http-9443
> [2009-01-26 00:13:09,939] ERROR -  Failed to start new registry transaction. READ_COMMITTED and SERIALIZABLE are the only valid transaction levels {org.wso2.carbon.registry.core.jdbc.AtomicRegistry}
> java.sql.SQLException: READ_COMMITTED and SERIALIZABLE are the only valid transaction levels
>         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
>         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
>         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:207)
>         at oracle.jdbc.driver.PhysicalConnection.setTransactionIsolation(PhysicalConnection.java:1607)
>         at org.apache.commons.dbcp.DelegatingConnection.setTransactionIsolation(DelegatingConnection.java:340)
>         at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setTransactionIsolation(PoolingDataSource.java:332)
>         at org.wso2.carbon.registry.core.jdbc.AtomicRegistry.beginTransaction(AtomicRegistry.java:64)
>         at org.wso2.carbon.registry.core.jdbc.AtomicRegistry.resourceExists(AtomicRegistry.java:218)
>         at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.resourceExists(JDBCRegistry.java:465)
>         at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.addSystemCollection(JDBCRegistry.java:798)
>         at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.init(JDBCRegistry.java:197)
>         at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.<init>(JDBCRegistry.java:98)
>         at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.configure(EmbeddedRegistry.java:131)
>         at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.<init>(EmbeddedRegistry.java:75)
>         at org.wso2.carbon.registry.core.internal.Activator.start(Activator.java:61)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
>         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
>         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
>         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
>         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
>         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
> [2009-01-26 00:13:09,943] ERROR -  Failed to the existence of the resource /system. Failed to start new registry transaction. READ_COMMITTED and SERIALIZABLE are the only valid transaction levels {org.wso2.carbon.registry.core.jdbc.AtomicRegistry}
> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to start new registry transaction. READ_COMMITTED and SERIALIZABLE are the only valid transaction levels
>         at org.wso2.carbon.registry.core.jdbc.AtomicRegistry.beginTransaction(AtomicRegistry.java:68)
>         at org.wso2.carbon.registry.core.jdbc.AtomicRegistry.resourceExists(AtomicRegistry.java:218)
>         at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.resourceExists(JDBCRegistry.java:465)
>         at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.addSystemCollection(JDBCRegistry.java:798)
>         at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.init(JDBCRegistry.java:197)
>         at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.<init>(JDBCRegistry.java:98)
>         at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.configure(EmbeddedRegistry.java:131)
>         at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.<init>(EmbeddedRegistry.java:75)
>         at org.wso2.carbon.registry.core.internal.Activator.start(Activator.java:61)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
>         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
>         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
>         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
>         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
>         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
> Caused by: java.sql.SQLException: READ_COMMITTED and SERIALIZABLE are the only valid transaction levels
>         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
>         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
>         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:207)
>         at oracle.jdbc.driver.PhysicalConnection.setTransactionIsolation(PhysicalConnection.java:1607)
>         at org.apache.commons.dbcp.DelegatingConnection.setTransactionIsolation(DelegatingConnection.java:340)
>         at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setTransactionIsolation(PoolingDataSource.java:332)
>         at org.wso2.carbon.registry.core.jdbc.AtomicRegistry.beginTransaction(AtomicRegistry.java:64)
>         ... 21 more
> [2009-01-26 00:13:09,944] ERROR -  Failed to rollback transaction. A transaction is not started. {org.wso2.carbon.registry.core.jdbc.AtomicRegistry}
> [2009-01-26 00:13:10,100] ERROR -  org.wso2.carbon.user.mgt.service.UserMgtException {org.wso2.carbon.user.mgt.UserMgtContext}
> [2009-01-26 00:13:10,347] ERROR -  WSO2 Registry is not available {org.wso2.carbon.utils.ServerConfigurator}
> [2009-01-26 00:13:10,349] FATAL -  Cannot start WSO2 Registry {org.wso2.carbon.core.ServerManager}
> org.apache.axis2.deployment.DeploymentException: WSO2 Registry is not available
>         at org.wso2.carbon.utils.ServerConfigurator.populateAxisConfiguration(ServerConfigurator.java:235)
>         at org.wso2.carbon.utils.ServerConfigurator.getAxisConfiguration(ServerConfigurator.java:166)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:65)
>         at org.wso2.carbon.utils.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:82)
>         at org.wso2.carbon.core.ServerManager.start(ServerManager.java:131)
>         at org.wso2.carbon.core.StartupServlet.start(StartupServlet.java:247)
>         at org.wso2.carbon.core.StartupServlet.init(StartupServlet.java:189)
>         at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)
>         at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
>         at org.wso2.carbon.core.internal.Activator.start(Activator.java:58)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
>         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
>         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
>         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
>         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
>         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
> org.wso2.carbon.utils.ServerException: WSO2 Registry startup failed.
>         at org.wso2.carbon.core.StartupServlet.start(StartupServlet.java:278)
>         at org.wso2.carbon.core.StartupServlet.init(StartupServlet.java:189)
>         at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)
>         at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
>         at org.wso2.carbon.core.internal.Activator.start(Activator.java:58)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
>         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
>         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
>         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
>         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
>         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
> Caused by: org.wso2.carbon.utils.ServerException: Cannot start WSO2 Registry
>         at org.wso2.carbon.core.ServerManager.start(ServerManager.java:161)
>         at org.wso2.carbon.core.StartupServlet.start(StartupServlet.java:247)
>         ... 18 more
> Caused by: org.apache.axis2.deployment.DeploymentException: WSO2 Registry is not available
>         at org.wso2.carbon.utils.ServerConfigurator.populateAxisConfiguration(ServerConfigurator.java:235)
>         at org.wso2.carbon.utils.ServerConfigurator.getAxisConfiguration(ServerConfigurator.java:166)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:65)
>         at org.wso2.carbon.utils.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:82)
>         at org.wso2.carbon.core.ServerManager.start(ServerManager.java:131)
>         ... 19 more
> [2009-01-26 00:13:10,353] FATAL -  Could not start WSO2 Registry {org.wso2.carbon.core.StartupServlet}
> org.wso2.carbon.utils.ServerException: WSO2 Registry startup failed.
>         at org.wso2.carbon.core.StartupServlet.start(StartupServlet.java:278)
>         at org.wso2.carbon.core.StartupServlet.init(StartupServlet.java:189)
>         at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)
>         at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
>         at org.wso2.carbon.core.internal.Activator.start(Activator.java:58)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
>         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
>         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
>         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
>         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
>         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
>         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
> Caused by: org.wso2.carbon.utils.ServerException: Cannot start WSO2 Registry
>         at org.wso2.carbon.core.ServerManager.start(ServerManager.java:161)
>         at org.wso2.carbon.core.StartupServlet.start(StartupServlet.java:247)
>         ... 18 more
> Caused by: org.apache.axis2.deployment.DeploymentException: WSO2 Registry is not available
>         at org.wso2.carbon.utils.ServerConfigurator.populateAxisConfiguration(ServerConfigurator.java:235)
>         at org.wso2.carbon.utils.ServerConfigurator.getAxisConfiguration(ServerConfigurator.java:166)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:65)
>         at org.wso2.carbon.utils.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:82)
>         at org.wso2.carbon.core.ServerManager.start(ServerManager.java:131)
>         ... 19 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Carbon-dev mailing list