Hi I am getting following error while starting up Greg instance download https://svn.wso2.org/repos/wso2/people/ajith/greg-4.5.0/2012-07-24 reg/carbon/
mount registry to connect Mysql <currentDBConfig>mysql-reg</currentDBConfig> <readOnly>true</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <dbConfig name="mysql-reg"> <url>jdbc:mysql://localhost:3306/greg-esb-450</url> <userName>root</userName> <password>root</password> <driverName>com.mysql.jdbc.Driver</driverName> <maxActive>5</maxActive> <maxWait>60000</maxWait> <minIdle>50</minIdle> <validationQuery>SELECT 1</validationQuery></dbConfig> then Modified Carbon.xml <!-- Webapp context root of WSO2 Carbon. --> * <WebContextRoot>/greg</WebContextRoot>* <!-- In-order to get the registry http Port from the back-end when the default http transport is not the same--> <!--RegistryHttpPort>9763</RegistryHttpPort--> <!-- Number of items to be displayed on a management console page. This is used at the backend server for pagination of various items. --> <ItemsPerPage>15</ItemsPerPage> <!-- The endpoint URL of the cloud instance management Web service --> <!--<InstanceMgtWSEndpoint>https://ec2.amazonaws.com/ </InstanceMgtWSEndpoint>--> <!-- The location of the http_access log --> <HttpAccessLogLocation>${carbon.home}/repository/logs/</HttpAccessLogLocation> <!-- Ports used by this server --> <Ports> <!-- Ports offset. This entry will set the value of the ports defined below to the define value + Offset. e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445 --> *<Offset>1</Offset> * * * *error i am seen* * * [2012-07-26 12:33:27,941] ERROR {org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve} - Could not handle request: /greg java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.wso2.carbon.tomcat.ext.internal.Utils.getWebappName(Utils.java:113) at org.wso2.carbon.tomcat.ext.internal.Utils.getAppNameFromRequest(Utils.java:93) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.initCarbonContext(CarbonContextCreatorValve.java:68) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) [2012-07-26 12:34:00,961] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin@carbon.super [-1234]' logged in at [2012-07-26 12:34:00,961+0530] from IP address 10.200.3.42 [2012-07-26 12:34:00,968] WARN {org.wso2.carbon.registry.core.session.UserRegistry} - Cannot continue the operation restore dump, the coreRegistry is read-only [2012-07-26 12:34:00,968] INFO {org.wso2.carbon.dashboard.dashboardpopulator.GadgetPopulator} - Successfully populated the default Dashboard XML for tenant :-1234 [2012-07-26 12:34:01,053] ERROR {org.wso2.carbon.governance.lcm.listener.LifecycleLoader} - Error in adding the default lifecycles org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to initiate aspect. at org.wso2.carbon.governance.lcm.util.CommonUtil.addLifecycle(CommonUtil.java:289) at org.wso2.carbon.governance.lcm.util.CommonUtil.addDefaultLifecyclesIfNotAvailable(CommonUtil.java:460) at org.wso2.carbon.governance.lcm.listener.LifecycleLoader.onLogin(LifecycleLoader.java:47) at org.wso2.carbon.core.services.callback.LoginSubscriptionManagerServiceImpl.triggerEvent(LoginSubscriptionManagerServiceImpl.java:41) at org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:96) at org.wso2.carbon.core.services.authentication.AbstractAuthenticator.onSuccessLogin(AbstractAuthenticator.java:239) at org.wso2.carbon.core.services.authentication.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:179) at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.isAuthenticated(AuthenticationHandler.java:161) at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:86) at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:58) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:133) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:49) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/config/repository/components/org.wso2.carbon.governance/lifecycles/ServiceLifeCycle at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:119) at org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:519) at org.wso2.carbon.governance.lcm.util.CommonUtil.generateAspect(CommonUtil.java:365) at org.wso2.carbon.governance.lcm.util.CommonUtil.addLifecycle(CommonUtil.java:278) ... 45 more cheers, Dushan Abeyruwan *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com/* *Mobile:(+94)714408632*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev