Sonar 1.9.2 in linux using MySQL 5.1.39

4 messages Options
Embed this post
Permalink
k_cnoo () Sonar 1.9.2 in linux using MySQL 5.1.39
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi,
 
While using SOnar 1.9.2 in linux environment and the DB Mysql 5.1.39 while starting the sonar server, I could not able to start the server. Pls find the error attached. Pls help me to fix this issue. We are having a cruicial delivery today and this issue is affecting us badly. Pls help us. Thanks in Advance.
 

org.jruby.rack.RackInitializationException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581:in `execute'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320:in `initialize_schema_migrations_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430:in `initialize'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63:in `setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70:in `automatic_setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26:in `load'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151:in `new'

        from <script>:2

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `instance_eval'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `initialize'

        from <script>:2

 

        at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39) [jruby-rack-0.9.4.jar:na]

        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-1.9.2.jar:na]

        at org.sonar.application.StartServer.main(StartServer.java:41) [sonar-application-1.9.2.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11]

        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:237) [wrapper.jar:3.3.0]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_11]

Caused by: org.jruby.exceptions.RaiseException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        at Kernel.raise(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188) [na:na]

        at ActiveRecord::ConnectionAdapters::AbstractAdapter.log(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581) [na:na]

        at ActiveRecord::ConnectionAdapters::JdbcAdapter.execute(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173) [na:na]

        at JdbcSpec::MySQL.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.initialize_schema_migrations_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430) [na:na]

        at ActiveRecord::Migrator.initialize(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394) [na:na]

        at #<Class:01x14fb35d>.up(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377) [na:na]

        at #<Class:01x14fb35d>.migrate(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63) [na:na]

        at #<Class:01x19efe65>.setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70) [na:na]

        at #<Class:01x19efe65>.automatic_setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142) [na:na]

        at (unknown).(unknown)(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26) [na:na]

        at Kernel.load(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26) [na:na]

        at JRuby::Rack::RailsServletHelper.load_environment(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151) [na:na]

        at #<Class:01x1677737>.new(<script>:2) [na:na]

        at (unknown).(unknown)(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Rack::Builder.initialize(<script>:2) [na:na]

        at (unknown).(unknown)(:1) [na:na]

2009.10.08 20:06:39 WARN  /  Error: application initialization failed

org.jruby.rack.RackInitializationException: unable to create shared application instance

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:38) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39) [jruby-rack-0.9.4.jar:na]

        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-1.9.2.jar:na]

        at org.sonar.application.StartServer.main(StartServer.java:41) [sonar-application-1.9.2.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11]

        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:237) [wrapper.jar:3.3.0]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_11]

Caused by: org.jruby.rack.RackInitializationException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581:in `execute'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320:in `initialize_schema_migrations_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430:in `initialize'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63:in `setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70:in `automatic_setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26:in `load'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151:in `new'

        from <script>:2

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `instance_eval'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `initialize'

        from <script>:2

 

        at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [jruby-rack-0.9.4.jar:na]

        ... 18 common frames omitted

Caused by: org.jruby.exceptions.RaiseException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        at Kernel.raise(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188) [na:na]

        at ActiveRecord::ConnectionAdapters::AbstractAdapter.log(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581) [na:na]

        at ActiveRecord::ConnectionAdapters::JdbcAdapter.execute(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173) [na:na]

        at JdbcSpec::MySQL.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.initialize_schema_migrations_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430) [na:na]

        at ActiveRecord::Migrator.initialize(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394) [na:na]

        at #<Class:01x14fb35d>.up(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377) [na:na]

        at #<Class:01x14fb35d>.migrate(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63) [na:na]

        at #<Class:01x19efe65>.setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70) [na:na]

        at #<Class:01x19efe65>.automatic_setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142) [na:na]

        at (unknown).(unknown)(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26) [na:na]

        at Kernel.load(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26) [na:na]

        at JRuby::Rack::RailsServletHelper.load_environment(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151) [na:na]

        at #<Class:01x1677737>.new(<script>:2) [na:na]

        at (unknown).(unknown)(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Rack::Builder.initialize(<script>:2) [na:na]

        at (unknown).(unknown)(:1) [na:na]

 

Regards,
Srini

 




iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2 
by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry survey of Best Companies to work for in India
----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [hidden email] 
and delete this EMAIL including any attachments
Olivier Gaudin () Re: Sonar 1.9.2 in linux using MySQL 5.1.39
Reply Threaded More More options
Print post
Permalink
Hello Srini,

Is it a fresh installation ? an existing one ?

Olivier

On Thu, Oct 8, 2009 at 4:57 PM, Srinivasan Kannaiyan <[hidden email]> wrote:
Hi,
 
While using SOnar 1.9.2 in linux environment and the DB Mysql 5.1.39 while starting the sonar server, I could not able to start the server. Pls find the error attached. Pls help me to fix this issue. We are having a cruicial delivery today and this issue is affecting us badly. Pls help us. Thanks in Advance.
 

org.jruby.rack.RackInitializationException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581:in `execute'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320:in `initialize_schema_migrations_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430:in `initialize'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63:in `setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70:in `automatic_setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26:in `load'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151:in `new'

        from <script>:2

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `instance_eval'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `initialize'

        from <script>:2

 

        at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39) [jruby-rack-0.9.4.jar:na]

        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-1.9.2.jar:na]

        at org.sonar.application.StartServer.main(StartServer.java:41) [sonar-application-1.9.2.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11]

        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:237) [wrapper.jar:3.3.0]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_11]

Caused by: org.jruby.exceptions.RaiseException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        at Kernel.raise(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188) [na:na]

        at ActiveRecord::ConnectionAdapters::AbstractAdapter.log(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581) [na:na]

        at ActiveRecord::ConnectionAdapters::JdbcAdapter.execute(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173) [na:na]

        at JdbcSpec::MySQL.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.initialize_schema_migrations_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430) [na:na]

        at ActiveRecord::Migrator.initialize(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394) [na:na]

        at #<Class:01x14fb35d>.up(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377) [na:na]

        at #<Class:01x14fb35d>.migrate(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63) [na:na]

        at #<Class:01x19efe65>.setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70) [na:na]

        at #<Class:01x19efe65>.automatic_setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142) [na:na]

        at (unknown).(unknown)(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26) [na:na]

        at Kernel.load(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26) [na:na]

        at JRuby::Rack::RailsServletHelper.load_environment(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151) [na:na]

        at #<Class:01x1677737>.new(<script>:2) [na:na]

        at (unknown).(unknown)(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Rack::Builder.initialize(<script>:2) [na:na]

        at (unknown).(unknown)(:1) [na:na]

2009.10.08 20:06:39 WARN  /  Error: application initialization failed

org.jruby.rack.RackInitializationException: unable to create shared application instance

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:38) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39) [jruby-rack-0.9.4.jar:na]

        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-1.9.2.jar:na]

        at org.sonar.application.StartServer.main(StartServer.java:41) [sonar-application-1.9.2.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11]

        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:237) [wrapper.jar:3.3.0]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_11]

Caused by: org.jruby.rack.RackInitializationException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581:in `execute'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320:in `initialize_schema_migrations_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430:in `initialize'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63:in `setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70:in `automatic_setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26:in `load'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151:in `new'

        from <script>:2

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `instance_eval'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `initialize'

        from <script>:2

 

        at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [jruby-rack-0.9.4.jar:na]

        ... 18 common frames omitted

Caused by: org.jruby.exceptions.RaiseException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        at Kernel.raise(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188) [na:na]

        at ActiveRecord::ConnectionAdapters::AbstractAdapter.log(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581) [na:na]

        at ActiveRecord::ConnectionAdapters::JdbcAdapter.execute(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173) [na:na]

        at JdbcSpec::MySQL.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.initialize_schema_migrations_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430) [na:na]

        at ActiveRecord::Migrator.initialize(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394) [na:na]

        at #<Class:01x14fb35d>.up(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377) [na:na]

        at #<Class:01x14fb35d>.migrate(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63) [na:na]

        at #<Class:01x19efe65>.setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70) [na:na]

        at #<Class:01x19efe65>.automatic_setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142) [na:na]

        at (unknown).(unknown)(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26) [na:na]

        at Kernel.load(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26) [na:na]

        at JRuby::Rack::RailsServletHelper.load_environment(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151) [na:na]

        at #<Class:01x1677737>.new(<script>:2) [na:na]

        at (unknown).(unknown)(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Rack::Builder.initialize(<script>:2) [na:na]

        at (unknown).(unknown)(:1) [na:na]

 

Regards,
Srini

 




iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2 
by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry survey of Best Companies to work for in India
----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [hidden email] 
and delete this EMAIL including any attachments

k_cnoo () RE: Sonar 1.9.2 in linux using MySQL 5.1.39
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi,
 
Its a fresh installation. Any help in this regard will be highly appreciated.

Thanks & Regards,
Srinivasan.K
____________________________________________________________________________________________________________________________________________

 iGATE Global Solutions Limited | Direct: +91 80 4104 4680 | Mobile: +91 98860 47270  |emailsrinivasan.kannaiyan[hidden email] | 158-162 & 165-170, EPIP Phase II, Whitefield | Bangalore 560 066 | India  | Website: www.igate.com

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Olivier Gaudin
Sent: Thursday, October 08, 2009 8:58 PM
To: [hidden email]
Subject: Re: [sonar-dev] Sonar 1.9.2 in linux using MySQL 5.1.39

Hello Srini,

Is it a fresh installation ? an existing one ?

Olivier

On Thu, Oct 8, 2009 at 4:57 PM, Srinivasan Kannaiyan <[hidden email]> wrote:
Hi,
 
While using SOnar 1.9.2 in linux environment and the DB Mysql 5.1.39 while starting the sonar server, I could not able to start the server. Pls find the error attached. Pls help me to fix this issue. We are having a cruicial delivery today and this issue is affecting us badly. Pls help us. Thanks in Advance.

 

org.jruby.rack.RackInitializationException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581:in `execute'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320:in `initialize_schema_migrations_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430:in `initialize'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63:in `setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70:in `automatic_setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26:in `load'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151:in `new'

        from <script>:2

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `instance_eval'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `initialize'

        from <script>:2

 

        at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39) [jruby-rack-0.9.4.jar:na]

        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-1.9.2.jar:na]

        at org.sonar.application.StartServer.main(StartServer.java:41) [sonar-application-1.9.2.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11]

        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:237) [wrapper.jar:3.3.0]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_11]

Caused by: org.jruby.exceptions.RaiseException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        at Kernel.raise(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188) [na:na]

        at ActiveRecord::ConnectionAdapters::AbstractAdapter.log(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581) [na:na]

        at ActiveRecord::ConnectionAdapters::JdbcAdapter.execute(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173) [na:na]

        at JdbcSpec::MySQL.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.initialize_schema_migrations_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430) [na:na]

        at ActiveRecord::Migrator.initialize(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394) [na:na]

        at #<Class:01x14fb35d>.up(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377) [na:na]

        at #<Class:01x14fb35d>.migrate(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63) [na:na]

        at #<Class:01x19efe65>.setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70) [na:na]

        at #<Class:01x19efe65>.automatic_setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142) [na:na]

        at (unknown).(unknown)(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26) [na:na]

        at Kernel.load(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26) [na:na]

        at JRuby::Rack::RailsServletHelper.load_environment(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151) [na:na]

        at #<Class:01x1677737>.new(<script>:2) [na:na]

        at (unknown).(unknown)(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Rack::Builder.initialize(<script>:2) [na:na]

        at (unknown).(unknown)(:1) [na:na]

2009.10.08 20:06:39 WARN  /  Error: application initialization failed

org.jruby.rack.RackInitializationException: unable to create shared application instance

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:38) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39) [jruby-rack-0.9.4.jar:na]

        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-1.9.2.jar:na]

        at org.sonar.application.StartServer.main(StartServer.java:41) [sonar-application-1.9.2.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11]

        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:237) [wrapper.jar:3.3.0]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_11]

Caused by: org.jruby.rack.RackInitializationException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581:in `execute'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320:in `initialize_schema_migrations_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430:in `initialize'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63:in `setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70:in `automatic_setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26:in `load'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151:in `new'

        from <script>:2

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `instance_eval'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `initialize'

        from <script>:2

 

        at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [jruby-rack-0.9.4.jar:na]

        ... 18 common frames omitted

Caused by: org.jruby.exceptions.RaiseException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        at Kernel.raise(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188) [na:na]

        at ActiveRecord::ConnectionAdapters::AbstractAdapter.log(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581) [na:na]

        at ActiveRecord::ConnectionAdapters::JdbcAdapter.execute(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173) [na:na]

        at JdbcSpec::MySQL.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.initialize_schema_migrations_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430) [na:na]

        at ActiveRecord::Migrator.initialize(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394) [na:na]

        at #<Class:01x14fb35d>.up(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377) [na:na]

        at #<Class:01x14fb35d>.migrate(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63) [na:na]

        at #<Class:01x19efe65>.setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70) [na:na]

        at #<Class:01x19efe65>.automatic_setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142) [na:na]

        at (unknown).(unknown)(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26) [na:na]

        at Kernel.load(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26) [na:na]

        at JRuby::Rack::RailsServletHelper.load_environment(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151) [na:na]

        at #<Class:01x1677737>.new(<script>:2) [na:na]

        at (unknown).(unknown)(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Rack::Builder.initialize(<script>:2) [na:na]

        at (unknown).(unknown)(:1) [na:na]

 

Regards,
Srini

 




iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2 
by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry survey of Best Companies to work for in India
----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [hidden email] 
and delete this EMAIL including any attachments




iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2 
by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry survey of Best Companies to work for in India
----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [hidden email] 
and delete this EMAIL including any attachments
Freddy Mallet () Re: Sonar 1.9.2 in linux using MySQL 5.1.39
Reply Threaded More More options
Print post
Permalink
Hi Srinivasan,

You're facing a MySQL Error 28 : No space left on device

Here is a page to help your fix this issue :

http://www.mysql.com/news-and-events/newsletter/2003-10/a0000000249.html

Freddy


On Thu, Oct 8, 2009 at 5:30 PM, Srinivasan Kannaiyan <[hidden email]> wrote:
Hi,
 
Its a fresh installation. Any help in this regard will be highly appreciated.

Thanks & Regards,
Srinivasan.K
____________________________________________________________________________________________________________________________________________

 iGATE Global Solutions Limited | Direct: +91 80 4104 4680 | Mobile: +91 98860 47270  |emailsrinivasan.kannaiyan[hidden email] | 158-162 & 165-170, EPIP Phase II, Whitefield | Bangalore 560 066 | India  | Website: www.igate.com

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Olivier Gaudin
Sent: Thursday, October 08, 2009 8:58 PM
To: [hidden email]
Subject: Re: [sonar-dev] Sonar 1.9.2 in linux using MySQL 5.1.39

Hello Srini,

Is it a fresh installation ? an existing one ?

Olivier

On Thu, Oct 8, 2009 at 4:57 PM, Srinivasan Kannaiyan <[hidden email]> wrote:
Hi,
 
While using SOnar 1.9.2 in linux environment and the DB Mysql 5.1.39 while starting the sonar server, I could not able to start the server. Pls find the error attached. Pls help me to fix this issue. We are having a cruicial delivery today and this issue is affecting us badly. Pls help us. Thanks in Advance.

 

org.jruby.rack.RackInitializationException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581:in `execute'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320:in `initialize_schema_migrations_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430:in `initialize'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63:in `setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70:in `automatic_setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26:in `load'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151:in `new'

        from <script>:2

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `instance_eval'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `initialize'

        from <script>:2

 

        at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39) [jruby-rack-0.9.4.jar:na]

        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-1.9.2.jar:na]

        at org.sonar.application.StartServer.main(StartServer.java:41) [sonar-application-1.9.2.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11]

        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:237) [wrapper.jar:3.3.0]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_11]

Caused by: org.jruby.exceptions.RaiseException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        at Kernel.raise(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188) [na:na]

        at ActiveRecord::ConnectionAdapters::AbstractAdapter.log(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581) [na:na]

        at ActiveRecord::ConnectionAdapters::JdbcAdapter.execute(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173) [na:na]

        at JdbcSpec::MySQL.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.initialize_schema_migrations_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430) [na:na]

        at ActiveRecord::Migrator.initialize(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394) [na:na]

        at #<Class:01x14fb35d>.up(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377) [na:na]

        at #<Class:01x14fb35d>.migrate(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63) [na:na]

        at #<Class:01x19efe65>.setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70) [na:na]

        at #<Class:01x19efe65>.automatic_setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142) [na:na]

        at (unknown).(unknown)(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26) [na:na]

        at Kernel.load(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26) [na:na]

        at JRuby::Rack::RailsServletHelper.load_environment(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151) [na:na]

        at #<Class:01x1677737>.new(<script>:2) [na:na]

        at (unknown).(unknown)(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Rack::Builder.initialize(<script>:2) [na:na]

        at (unknown).(unknown)(:1) [na:na]

2009.10.08 20:06:39 WARN  /  Error: application initialization failed

org.jruby.rack.RackInitializationException: unable to create shared application instance

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:38) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39) [jruby-rack-0.9.4.jar:na]

        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.17.jar:6.1.17]

        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.17.jar:6.1.17]

        at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-1.9.2.jar:na]

        at org.sonar.application.StartServer.main(StartServer.java:41) [sonar-application-1.9.2.jar:na]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11]

        at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11]

        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:237) [wrapper.jar:3.3.0]

        at java.lang.Thread.run(Thread.java:595) [na:1.5.0_11]

Caused by: org.jruby.rack.RackInitializationException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581:in `execute'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173:in `create_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320:in `initialize_schema_migrations_table'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430:in `initialize'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63:in `setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70:in `automatic_setup'

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142

        from /var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26:in `load'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151:in `new'

        from <script>:2

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `instance_eval'

        from file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29:in `initialize'

        from <script>:2

 

        at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50) [jruby-rack-0.9.4.jar:na]

        at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [jruby-rack-0.9.4.jar:na]

        ... 18 common frames omitted

Caused by: org.jruby.exceptions.RaiseException: ActiveRecord::ActiveRecordError: Error writing file './sonar/schema_migrations.frm' (Errcode: 28): CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin

        at Kernel.raise(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188) [na:na]

        at ActiveRecord::ConnectionAdapters::AbstractAdapter.log(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb:581) [na:na]

        at ActiveRecord::ConnectionAdapters::JdbcAdapter.execute(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:114) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb:173) [na:na]

        at JdbcSpec::MySQL.create_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:320) [na:na]

        at ActiveRecord::ConnectionAdapters::SchemaStatements.initialize_schema_migrations_table(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:430) [na:na]

        at ActiveRecord::Migrator.initialize(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:394) [na:na]

        at #<Class:01x14fb35d>.up(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb:377) [na:na]

        at #<Class:01x14fb35d>.migrate(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:63) [na:na]

        at #<Class:01x19efe65>.setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/../lib/database_version.rb:70) [na:na]

        at #<Class:01x19efe65>.automatic_setup(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:142) [na:na]

        at (unknown).(unknown)(/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/config/environment.rb:26) [na:na]

        at Kernel.load(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26) [na:na]

        at JRuby::Rack::RailsServletHelper.load_environment(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:151) [na:na]

        at #<Class:01x1677737>.new(<script>:2) [na:na]

        at (unknown).(unknown)(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Kernel.instance_eval(file:/var/icompliance/sonar/sonar/war/sonar-web/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/builder.rb:29) [na:na]

        at Rack::Builder.initialize(<script>:2) [na:na]

        at (unknown).(unknown)(:1) [na:na]

 

Regards,
Srini

 




iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2 
by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry survey of Best Companies to work for in India
----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [hidden email] 
and delete this EMAIL including any attachments




iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2 
by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry survey of Best Companies to work for in India
----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [hidden email] 
and delete this EMAIL including any attachments