[Carbon-dev] [jira] Closed: (CARBON-3114) Unable to setup registry with manually created derby DB.

Krishantha Samaraweera (JIRA) jira at wso2.org
Sun Feb 1 23:19:07 PST 2009


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

Krishantha Samaraweera closed CARBON-3114.
------------------------------------------

    Resolution: Not a bug

This error has occurred due to misconfiguration of derby DB. Now its works fine.

> Unable to setup registry with manually created derby DB.
> --------------------------------------------------------
>
>                 Key: CARBON-3114
>                 URL: https://wso2.org/jira/browse/CARBON-3114
>             Project: WSO2 Carbon
>          Issue Type: Bug
>          Components: Registry
>            Reporter: Krishantha Samaraweera
>            Assignee: Chathura Ekanayake
>
> How to reproduce:
> ============
> 1. Create the derby DB with connect 'jdbc:derby://localhost:1527/derbyDB11;username=wso2carbon;password=wso2carbon;create=true'; in a IJ console.
> 2. run the registry-derby.sql and um-derby.sql scripts which are under dbscripts folder.
> 3. Configure registry xml and user mgt xml to the newly created db.
> 4. Put derby.jar, derbynet.jar and derbyclient.jar into /lib/extensions.
> 5. start the server with sh wso2server.sh command.
> I got the following message on server startup.
> [2009-02-01 10:22:25,560] ERROR -  WSO2 Registry is not available {org.wso2.carbon.utils.ServerConfigurator}
> [2009-02-01 10:22:25,564] 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:236)
>         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:236)
>         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