SonarQube
  1. SonarQube
  2. SONAR-2660

Exception when launching the Sonar service on Windows platform with a LocalSystem account

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.13
    • Component/s: Wrapper
    • Labels:
    • Environment:
      Windows 7 32 bit
      JDK 6.0.26
    • Number of attachments :
      0

      Description

      On a fresh distribution of sonar 2.9, when starting the service (./StartNTService.bat), the following exception occurs:

      STATUS | wrapper  | 2011/08/01 16:02:10 | Starting the Sonar service...
      STATUS | wrapper  | 2011/08/01 16:02:10 | --> Wrapper Started as Service
      STATUS | wrapper  | 2011/08/01 16:02:10 | Launching a JVM...
      INFO   | jvm 1    | 2011/08/01 16:02:10 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
      INFO   | jvm 1    | 2011/08/01 16:02:10 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
      INFO   | jvm 1    | 2011/08/01 16:02:10 | 
      STATUS | wrapper  | 2011/08/01 16:02:14 | Sonar started.
      INFO   | jvm 1    | 2011/08/01 16:02:17 | java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: The system cannot find the path specified
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Library.openLibrary(Library.java:151)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Library.getCachedInstance(Library.java:125)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.Library.loadNativeLibraries(Library.java:66)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.Library.getNativeLibraries(Library.java:56)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.Library.getSymbolAddress(Library.java:35)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.Library.findSymbolAddress(Library.java:45)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:188)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.Library.loadLibrary(Library.java:76)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:127)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider.getLibC(POSIXFactory.java:131)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:29)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.WindowsPOSIX.<init>(WindowsPOSIX.java:121)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.POSIXFactory.loadWindowsPOSIX(POSIXFactory.java:87)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:36)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:28)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.LazyPOSIX.posix(LazyPOSIX.java:24)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ext.posix.LazyPOSIX.stat(LazyPOSIX.java:226)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:102)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:87)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.RubyFileTest$FileTestFileMethods.directory_p(RubyFileTest.java:428)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.RubyFileTest$FileTestFileMethods$s$1$0$directory_p.call(RubyFileTest$FileTestFileMethods$s$1$0$directory_p.gen:65535)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.IfNode.interpret(IfNode.java:111)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.java:103)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:254)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.RootNode.interpret(RootNode.java:129)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.Ruby.runInterpreter(Ruby.java:698)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.Ruby.loadFile(Ruby.java:2424)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.load.LoadService.load(LoadService.java:272)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1081)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.RubyKernel.load(RubyKernel.java:1063)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.RubyKernel$s$0$1$load.call(RubyKernel$s$0$1$load.gen:65535)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.ast.RootNode.interpret(RootNode.java:129)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.Ruby.evalScriptlet(Ruby.java:323)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.Ruby.evalScriptlet(Ruby.java:300)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.rack.DefaultRackApplicationFactory.createRackServletWrapper(DefaultRackApplicationFactory.java:164)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.rack.DefaultRackApplicationFactory.createErrorApplicationObject(DefaultRackApplicationFactory.java:122)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackApplicationFactory.java:130)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:182)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:133)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:45)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.jetty.Server.doStart(Server.java:224)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.sonar.application.StartServer.main(StartServer.java:48)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at java.lang.reflect.Method.invoke(Unknown Source)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at java.lang.Thread.run(Unknown Source)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | Caused by: java.lang.UnsatisfiedLinkError: The system cannot find the path specified
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Init.loadFromJar(Init.java:151)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Init.load(Init.java:78)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jffi.Internals.getErrnoSaveFunction(Internals.java:44)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.StubCompiler.getErrnoSaveFunction(StubCompiler.java:68)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.StubCompiler.<clinit>(StubCompiler.java:18)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:146)
      INFO   | jvm 1    | 2011/08/01 16:02:17 | 	... 90 more
      

        Activity

        Hide
        Eugen Paraschiv added a comment - - edited

        With 2.8, a similar exception, only more detailed:

        STATUS | wrapper  | 2011/08/01 16:22:25 | Sonar installed.
        STATUS | wrapper  | 2011/08/01 16:22:28 | Starting the Sonar service...
        STATUS | wrapper  | 2011/08/01 16:22:29 | --> Wrapper Started as Service
        STATUS | wrapper  | 2011/08/01 16:22:29 | Launching a JVM...
        INFO   | jvm 1    | 2011/08/01 16:22:30 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
        INFO   | jvm 1    | 2011/08/01 16:22:30 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
        INFO   | jvm 1    | 2011/08/01 16:22:30 | 
        2011.08.01 16:22:32 INFO  org.sonar.INFO  Starting embedded database on port 1527
        2011.08.01 16:22:33 INFO  org.sonar.INFO  Embedded database started. Data stored in: C:\opt\kits\sonar-2.8\data
        2011.08.01 16:22:33 INFO  org.sonar.INFO  Creating JDBC datasource
        STATUS | wrapper  | 2011/08/01 16:22:34 | Sonar started.
        2011.08.01 16:22:39 INFO  org.sonar.INFO  Database dialect class org.sonar.jpa.dialect.Derby
        INFO   | jvm 1    | 2011/08/01 16:22:43 | java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: The system cannot find the path specified
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Library.openLibrary(Library.java:151)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Library.getCachedInstance(Library.java:125)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.Library.loadNativeLibraries(Library.java:66)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.Library.getNativeLibraries(Library.java:56)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.Library.getSymbolAddress(Library.java:35)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.Library.findSymbolAddress(Library.java:45)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:188)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.Library.loadLibrary(Library.java:76)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:127)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider.getLibC(POSIXFactory.java:131)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:29)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.WindowsPOSIX.<init>(WindowsPOSIX.java:121)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.POSIXFactory.loadWindowsPOSIX(POSIXFactory.java:87)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:36)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:28)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.LazyPOSIX.posix(LazyPOSIX.java:24)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ext.posix.LazyPOSIX.stat(LazyPOSIX.java:226)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:102)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:87)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.RubyFileTest$FileTestFileMethods.directory_p(RubyFileTest.java:428)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.RubyFileTest$FileTestFileMethods$s$1$0$directory_p.call(RubyFileTest$FileTestFileMethods$s$1$0$directory_p.gen:65535)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.IfNode.interpret(IfNode.java:111)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.java:103)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:254)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.RootNode.interpret(RootNode.java:129)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.Ruby.runInterpreter(Ruby.java:698)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.Ruby.loadFile(Ruby.java:2424)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.load.LoadService.load(LoadService.java:272)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1081)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.RubyKernel.load(RubyKernel.java:1063)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.RubyKernel$s$0$1$load.call(RubyKernel$s$0$1$load.gen:65535)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.ast.RootNode.interpret(RootNode.java:129)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.Ruby.evalScriptlet(Ruby.java:323)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.Ruby.evalScriptlet(Ruby.java:300)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.rack.DefaultRackApplicationFactory.createRackServletWrapper(DefaultRackApplicationFactory.java:164)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.rack.DefaultRackApplicationFactory.createErrorApplicationObject(DefaultRackApplicationFactory.java:122)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackApplicationFactory.java:130)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:182)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:133)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:45)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.jetty.Server.doStart(Server.java:224)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.sonar.application.StartServer.main(StartServer.java:48)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at java.lang.reflect.Method.invoke(Unknown Source)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at java.lang.Thread.run(Unknown Source)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | Caused by: java.lang.UnsatisfiedLinkError: The system cannot find the path specified
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Init.loadFromJar(Init.java:151)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Init.load(Init.java:78)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jffi.Internals.getErrnoSaveFunction(Internals.java:44)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.StubCompiler.getErrnoSaveFunction(StubCompiler.java:68)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.StubCompiler.<clinit>(StubCompiler.java:18)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:146)
        INFO   | jvm 1    | 2011/08/01 16:22:43 | 	... 88 more
        2011.08.01 16:22:43 WARN  org.mortbay.log  failed org.mortbay.jetty.webapp.WebAppContext@2e1b6c{/,file:/C:/opt/kits/sonar-2.8/war/sonar-server}: java.lang.ExceptionInInitializerError
        2011.08.01 16:22:43 ERROR org.mortbay.log  Error starting handlers
        java.lang.ExceptionInInitializerError
        	at com.kenai.jffi.Type$Builtin.size(Type.java:212) [na:na]
        	at com.kenai.jaffl.provider.jffi.Provider$TypeDelegate.size(Provider.java:62) [na:na]
        	at com.kenai.jaffl.struct.Struct$Constants.<clinit>(Struct.java:32) [na:na]
        	at com.kenai.jaffl.struct.Struct$Signed64.<init>(Struct.java:1074) [na:na]
        	at org.jruby.ext.posix.WindowsFileStat.<init>(WindowsFileStat.java:11) [na:na]
        	at org.jruby.ext.posix.WindowsPOSIX.allocateStat(WindowsPOSIX.java:126) [na:na]
        	at org.jruby.ext.posix.BaseNativePOSIX.stat(BaseNativePOSIX.java:207) [na:na]
        	at org.jruby.ext.posix.LazyPOSIX.stat(LazyPOSIX.java:226) [na:na]
        	at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:102) [na:na]
        	at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:87) [na:na]
        	at org.jruby.RubyFileTest$FileTestFileMethods.directory_p(RubyFileTest.java:428) [na:na]
        	at org.jruby.RubyFileTest$FileTestFileMethods$s$1$0$directory_p.call(RubyFileTest$FileTestFileMethods$s$1$0$directory_p.gen:65535) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) [na:na]
        	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [na:na]
        	at org.jruby.ast.IfNode.interpret(IfNode.java:111) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [na:na]
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [na:na]
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [na:na]
        	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [na:na]
        	at org.jruby.ast.IfNode.interpret(IfNode.java:117) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [na:na]
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [na:na]
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [na:na]
        	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.java:103) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:254) [na:na]
        	at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.ast.RootNode.interpret(RootNode.java:129) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) [na:na]
        	at org.jruby.Ruby.runInterpreter(Ruby.java:698) [na:na]
        	at org.jruby.Ruby.loadFile(Ruby.java:2424) [na:na]
        	at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66) [na:na]
        	at org.jruby.runtime.load.LoadService.load(LoadService.java:272) [na:na]
        	at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1081) [na:na]
        	at org.jruby.RubyKernel.load(RubyKernel.java:1063) [na:na]
        	at org.jruby.RubyKernel$s$0$1$load.call(RubyKernel$s$0$1$load.gen:65535) [na:na]
        	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209) [na:na]
        	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) [na:na]
        	at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na]
        	at org.jruby.ast.RootNode.interpret(RootNode.java:129) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) [na:na]
        	at org.jruby.Ruby.evalScriptlet(Ruby.java:323) [na:na]
        	at org.jruby.Ruby.evalScriptlet(Ruby.java:300) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory.createRackServletWrapper(DefaultRackApplicationFactory.java:164) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory.createErrorApplicationObject(DefaultRackApplicationFactory.java:122) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackApplicationFactory.java:130) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:182) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:133) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:45) [na:na]
        	at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [na:na]
        	at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40) [na:na]
        	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.24.jar:6.1.24]
        	at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-2.8.jar:na]
        	at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-2.8.jar:na]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_26]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_26]
        	at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_26]
        	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3]
        	at java.lang.Thread.run(Unknown Source) [na:1.6.0_26]
        Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: The system cannot find the path specified
        	at com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90) [na:na]
        	at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) [na:na]
        	at com.kenai.jffi.Type$BuiltinTypeInfo.<clinit>(Type.java:241) [na:na]
        	... 83 common frames omitted
        Caused by: java.lang.UnsatisfiedLinkError: The system cannot find the path specified
        	at com.kenai.jffi.Init.loadFromJar(Init.java:151) [na:na]
        	at com.kenai.jffi.Init.load(Init.java:78) [na:na]
        	at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) [na:na]
        	at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) [na:na]
        	at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) [na:na]
        	at com.kenai.jffi.Internals.getErrnoSaveFunction(Internals.java:44) [na:na]
        	at com.kenai.jaffl.provider.jffi.StubCompiler.getErrnoSaveFunction(StubCompiler.java:68) [na:na]
        	at com.kenai.jaffl.provider.jffi.StubCompiler.<clinit>(StubCompiler.java:18) [na:na]
        	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:146) [na:na]
        	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110) [na:na]
        	at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31) [na:na]
        	at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25) [na:na]
        	at com.kenai.jaffl.Library.loadLibrary(Library.java:76) [na:na]
        	at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:127) [na:na]
        	at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider.getLibC(POSIXFactory.java:131) [na:na]
        	at org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:29) [na:na]
        	at org.jruby.ext.posix.WindowsPOSIX.<init>(WindowsPOSIX.java:121) [na:na]
        	at org.jruby.ext.posix.POSIXFactory.loadWindowsPOSIX(POSIXFactory.java:87) [na:na]
        	at org.jruby.ext.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:36) [na:na]
        	at org.jruby.ext.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:28) [na:na]
        	at org.jruby.ext.posix.LazyPOSIX.posix(LazyPOSIX.java:24) [na:na]
        	... 76 common frames omitted
        2011.08.01 16:22:43 ERROR org.mortbay.log  Nested in java.lang.ExceptionInInitializerError:
        java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: The system cannot find the path specified
        	at com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90) [na:na]
        	at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) [na:na]
        	at com.kenai.jffi.Type$BuiltinTypeInfo.<clinit>(Type.java:241) [na:na]
        	at com.kenai.jffi.Type$Builtin.size(Type.java:212) [na:na]
        	at com.kenai.jaffl.provider.jffi.Provider$TypeDelegate.size(Provider.java:62) [na:na]
        	at com.kenai.jaffl.struct.Struct$Constants.<clinit>(Struct.java:32) [na:na]
        	at com.kenai.jaffl.struct.Struct$Signed64.<init>(Struct.java:1074) [na:na]
        	at org.jruby.ext.posix.WindowsFileStat.<init>(WindowsFileStat.java:11) [na:na]
        	at org.jruby.ext.posix.WindowsPOSIX.allocateStat(WindowsPOSIX.java:126) [na:na]
        	at org.jruby.ext.posix.BaseNativePOSIX.stat(BaseNativePOSIX.java:207) [na:na]
        	at org.jruby.ext.posix.LazyPOSIX.stat(LazyPOSIX.java:226) [na:na]
        	at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:102) [na:na]
        	at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:87) [na:na]
        	at org.jruby.RubyFileTest$FileTestFileMethods.directory_p(RubyFileTest.java:428) [na:na]
        	at org.jruby.RubyFileTest$FileTestFileMethods$s$1$0$directory_p.call(RubyFileTest$FileTestFileMethods$s$1$0$directory_p.gen:65535) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) [na:na]
        	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [na:na]
        	at org.jruby.ast.IfNode.interpret(IfNode.java:111) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [na:na]
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [na:na]
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [na:na]
        	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [na:na]
        	at org.jruby.ast.IfNode.interpret(IfNode.java:117) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [na:na]
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [na:na]
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [na:na]
        	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.java:103) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:254) [na:na]
        	at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.ast.RootNode.interpret(RootNode.java:129) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) [na:na]
        	at org.jruby.Ruby.runInterpreter(Ruby.java:698) [na:na]
        	at org.jruby.Ruby.loadFile(Ruby.java:2424) [na:na]
        	at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66) [na:na]
        	at org.jruby.runtime.load.LoadService.load(LoadService.java:272) [na:na]
        	at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1081) [na:na]
        	at org.jruby.RubyKernel.load(RubyKernel.java:1063) [na:na]
        	at org.jruby.RubyKernel$s$0$1$load.call(RubyKernel$s$0$1$load.gen:65535) [na:na]
        	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209) [na:na]
        	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) [na:na]
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) [na:na]
        	at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) [na:na]
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na]
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na]
        	at org.jruby.ast.RootNode.interpret(RootNode.java:129) [na:na]
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) [na:na]
        	at org.jruby.Ruby.evalScriptlet(Ruby.java:323) [na:na]
        	at org.jruby.Ruby.evalScriptlet(Ruby.java:300) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory.createRackServletWrapper(DefaultRackApplicationFactory.java:164) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory.createErrorApplicationObject(DefaultRackApplicationFactory.java:122) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackApplicationFactory.java:130) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:182) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:133) [na:na]
        	at org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:45) [na:na]
        	at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [na:na]
        	at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40) [na:na]
        	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.24.jar:6.1.24]
        	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.24.jar:6.1.24]
        	at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-2.8.jar:na]
        	at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-2.8.jar:na]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_26]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_26]
        	at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_26]
        	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3]
        	at java.lang.Thread.run(Unknown Source) [na:1.6.0_26]
        Caused by: java.lang.UnsatisfiedLinkError: The system cannot find the path specified
        	at com.kenai.jffi.Init.loadFromJar(Init.java:151) [na:na]
        	at com.kenai.jffi.Init.load(Init.java:78) [na:na]
        	at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) [na:na]
        	at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) [na:na]
        	at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) [na:na]
        	at com.kenai.jffi.Internals.getErrnoSaveFunction(Internals.java:44) [na:na]
        	at com.kenai.jaffl.provider.jffi.StubCompiler.getErrnoSaveFunction(StubCompiler.java:68) [na:na]
        	at com.kenai.jaffl.provider.jffi.StubCompiler.<clinit>(StubCompiler.java:18) [na:na]
        	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:146) [na:na]
        	at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110) [na:na]
        	at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31) [na:na]
        	at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25) [na:na]
        	at com.kenai.jaffl.Library.loadLibrary(Library.java:76) [na:na]
        	at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:127) [na:na]
        	at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider.getLibC(POSIXFactory.java:131) [na:na]
        	at org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:29) [na:na]
        	at org.jruby.ext.posix.WindowsPOSIX.<init>(WindowsPOSIX.java:121) [na:na]
        	at org.jruby.ext.posix.POSIXFactory.loadWindowsPOSIX(POSIXFactory.java:87) [na:na]
        	at org.jruby.ext.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:36) [na:na]
        	at org.jruby.ext.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:28) [na:na]
        	at org.jruby.ext.posix.LazyPOSIX.posix(LazyPOSIX.java:24) [na:na]
        	... 76 common frames omitted
        2011.08.01 16:22:43 INFO  org.sonar.INFO  Sonar started: http://0.0.0.0:9000/
        
        Show
        Eugen Paraschiv added a comment - - edited With 2.8, a similar exception, only more detailed: STATUS | wrapper | 2011/08/01 16:22:25 | Sonar installed. STATUS | wrapper | 2011/08/01 16:22:28 | Starting the Sonar service... STATUS | wrapper | 2011/08/01 16:22:29 | --> Wrapper Started as Service STATUS | wrapper | 2011/08/01 16:22:29 | Launching a JVM... INFO | jvm 1 | 2011/08/01 16:22:30 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2011/08/01 16:22:30 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2011/08/01 16:22:30 | 2011.08.01 16:22:32 INFO org.sonar.INFO Starting embedded database on port 1527 2011.08.01 16:22:33 INFO org.sonar.INFO Embedded database started. Data stored in: C:\opt\kits\sonar-2.8\data 2011.08.01 16:22:33 INFO org.sonar.INFO Creating JDBC datasource STATUS | wrapper | 2011/08/01 16:22:34 | Sonar started. 2011.08.01 16:22:39 INFO org.sonar.INFO Database dialect class org.sonar.jpa.dialect.Derby INFO | jvm 1 | 2011/08/01 16:22:43 | java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: The system cannot find the path specified INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Library.openLibrary(Library.java:151) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Library.getCachedInstance(Library.java:125) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.Library.loadNativeLibraries(Library.java:66) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.Library.getNativeLibraries(Library.java:56) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.Library.getSymbolAddress(Library.java:35) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.Library.findSymbolAddress(Library.java:45) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:188) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.Library.loadLibrary(Library.java:76) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:127) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider.getLibC(POSIXFactory.java:131) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:29) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.WindowsPOSIX.<init>(WindowsPOSIX.java:121) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.POSIXFactory.loadWindowsPOSIX(POSIXFactory.java:87) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:36) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:28) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.LazyPOSIX.posix(LazyPOSIX.java:24) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ext.posix.LazyPOSIX.stat(LazyPOSIX.java:226) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:102) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:87) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.RubyFileTest$FileTestFileMethods.directory_p(RubyFileTest.java:428) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.RubyFileTest$FileTestFileMethods$s$1$0$directory_p.call(RubyFileTest$FileTestFileMethods$s$1$0$directory_p.gen:65535) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.IfNode.interpret(IfNode.java:111) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.IfNode.interpret(IfNode.java:117) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.java:103) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:254) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.RootNode.interpret(RootNode.java:129) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.Ruby.runInterpreter(Ruby.java:698) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.Ruby.loadFile(Ruby.java:2424) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.load.LoadService.load(LoadService.java:272) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1081) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.RubyKernel.load(RubyKernel.java:1063) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.RubyKernel$s$0$1$load.call(RubyKernel$s$0$1$load.gen:65535) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.ast.RootNode.interpret(RootNode.java:129) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.Ruby.evalScriptlet(Ruby.java:323) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.Ruby.evalScriptlet(Ruby.java:300) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.rack.DefaultRackApplicationFactory.createRackServletWrapper(DefaultRackApplicationFactory.java:164) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.rack.DefaultRackApplicationFactory.createErrorApplicationObject(DefaultRackApplicationFactory.java:122) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackApplicationFactory.java:130) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:182) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:133) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:45) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.jetty.Server.doStart(Server.java:224) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.sonar.application.StartServer.main(StartServer.java:48) INFO | jvm 1 | 2011/08/01 16:22:43 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2011/08/01 16:22:43 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/08/01 16:22:43 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/08/01 16:22:43 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2011/08/01 16:22:43 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2011/08/01 16:22:43 | at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2011/08/01 16:22:43 | Caused by: java.lang.UnsatisfiedLinkError: The system cannot find the path specified INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Init.loadFromJar(Init.java:151) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Init.load(Init.java:78) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jffi.Internals.getErrnoSaveFunction(Internals.java:44) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.StubCompiler.getErrnoSaveFunction(StubCompiler.java:68) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.StubCompiler.<clinit>(StubCompiler.java:18) INFO | jvm 1 | 2011/08/01 16:22:43 | at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:146) INFO | jvm 1 | 2011/08/01 16:22:43 | ... 88 more 2011.08.01 16:22:43 WARN org.mortbay.log failed org.mortbay.jetty.webapp.WebAppContext@2e1b6c{/,file:/C:/opt/kits/sonar-2.8/war/sonar-server}: java.lang.ExceptionInInitializerError 2011.08.01 16:22:43 ERROR org.mortbay.log Error starting handlers java.lang.ExceptionInInitializerError at com.kenai.jffi.Type$Builtin.size(Type.java:212) [na:na] at com.kenai.jaffl.provider.jffi.Provider$TypeDelegate.size(Provider.java:62) [na:na] at com.kenai.jaffl.struct.Struct$Constants.<clinit>(Struct.java:32) [na:na] at com.kenai.jaffl.struct.Struct$Signed64.<init>(Struct.java:1074) [na:na] at org.jruby.ext.posix.WindowsFileStat.<init>(WindowsFileStat.java:11) [na:na] at org.jruby.ext.posix.WindowsPOSIX.allocateStat(WindowsPOSIX.java:126) [na:na] at org.jruby.ext.posix.BaseNativePOSIX.stat(BaseNativePOSIX.java:207) [na:na] at org.jruby.ext.posix.LazyPOSIX.stat(LazyPOSIX.java:226) [na:na] at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:102) [na:na] at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:87) [na:na] at org.jruby.RubyFileTest$FileTestFileMethods.directory_p(RubyFileTest.java:428) [na:na] at org.jruby.RubyFileTest$FileTestFileMethods$s$1$0$directory_p.call(RubyFileTest$FileTestFileMethods$s$1$0$directory_p.gen:65535) [na:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) [na:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) [na:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [na:na] at org.jruby.ast.IfNode.interpret(IfNode.java:111) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [na:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [na:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [na:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [na:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [na:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [na:na] at org.jruby.ast.IfNode.interpret(IfNode.java:117) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [na:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [na:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [na:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [na:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [na:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.java:103) [na:na] at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:254) [na:na] at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.ast.RootNode.interpret(RootNode.java:129) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) [na:na] at org.jruby.Ruby.runInterpreter(Ruby.java:698) [na:na] at org.jruby.Ruby.loadFile(Ruby.java:2424) [na:na] at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66) [na:na] at org.jruby.runtime.load.LoadService.load(LoadService.java:272) [na:na] at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1081) [na:na] at org.jruby.RubyKernel.load(RubyKernel.java:1063) [na:na] at org.jruby.RubyKernel$s$0$1$load.call(RubyKernel$s$0$1$load.gen:65535) [na:na] at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209) [na:na] at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205) [na:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) [na:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) [na:na] at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na] at org.jruby.ast.RootNode.interpret(RootNode.java:129) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) [na:na] at org.jruby.Ruby.evalScriptlet(Ruby.java:323) [na:na] at org.jruby.Ruby.evalScriptlet(Ruby.java:300) [na:na] at org.jruby.rack.DefaultRackApplicationFactory.createRackServletWrapper(DefaultRackApplicationFactory.java:164) [na:na] at org.jruby.rack.DefaultRackApplicationFactory.createErrorApplicationObject(DefaultRackApplicationFactory.java:122) [na:na] at org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackApplicationFactory.java:130) [na:na] at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:182) [na:na] at org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:133) [na:na] at org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:45) [na:na] at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [na:na] at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40) [na:na] at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.24.jar:6.1.24] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.24.jar:6.1.24] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.24.jar:6.1.24] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.24.jar:6.1.24] at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-2.8.jar:na] at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-2.8.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_26] at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3] at java.lang.Thread.run(Unknown Source) [na:1.6.0_26] Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: The system cannot find the path specified at com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90) [na:na] at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) [na:na] at com.kenai.jffi.Type$BuiltinTypeInfo.<clinit>(Type.java:241) [na:na] ... 83 common frames omitted Caused by: java.lang.UnsatisfiedLinkError: The system cannot find the path specified at com.kenai.jffi.Init.loadFromJar(Init.java:151) [na:na] at com.kenai.jffi.Init.load(Init.java:78) [na:na] at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) [na:na] at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) [na:na] at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) [na:na] at com.kenai.jffi.Internals.getErrnoSaveFunction(Internals.java:44) [na:na] at com.kenai.jaffl.provider.jffi.StubCompiler.getErrnoSaveFunction(StubCompiler.java:68) [na:na] at com.kenai.jaffl.provider.jffi.StubCompiler.<clinit>(StubCompiler.java:18) [na:na] at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:146) [na:na] at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110) [na:na] at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31) [na:na] at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25) [na:na] at com.kenai.jaffl.Library.loadLibrary(Library.java:76) [na:na] at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:127) [na:na] at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider.getLibC(POSIXFactory.java:131) [na:na] at org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:29) [na:na] at org.jruby.ext.posix.WindowsPOSIX.<init>(WindowsPOSIX.java:121) [na:na] at org.jruby.ext.posix.POSIXFactory.loadWindowsPOSIX(POSIXFactory.java:87) [na:na] at org.jruby.ext.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:36) [na:na] at org.jruby.ext.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:28) [na:na] at org.jruby.ext.posix.LazyPOSIX.posix(LazyPOSIX.java:24) [na:na] ... 76 common frames omitted 2011.08.01 16:22:43 ERROR org.mortbay.log Nested in java.lang.ExceptionInInitializerError: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: The system cannot find the path specified at com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90) [na:na] at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) [na:na] at com.kenai.jffi.Type$BuiltinTypeInfo.<clinit>(Type.java:241) [na:na] at com.kenai.jffi.Type$Builtin.size(Type.java:212) [na:na] at com.kenai.jaffl.provider.jffi.Provider$TypeDelegate.size(Provider.java:62) [na:na] at com.kenai.jaffl.struct.Struct$Constants.<clinit>(Struct.java:32) [na:na] at com.kenai.jaffl.struct.Struct$Signed64.<init>(Struct.java:1074) [na:na] at org.jruby.ext.posix.WindowsFileStat.<init>(WindowsFileStat.java:11) [na:na] at org.jruby.ext.posix.WindowsPOSIX.allocateStat(WindowsPOSIX.java:126) [na:na] at org.jruby.ext.posix.BaseNativePOSIX.stat(BaseNativePOSIX.java:207) [na:na] at org.jruby.ext.posix.LazyPOSIX.stat(LazyPOSIX.java:226) [na:na] at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:102) [na:na] at org.jruby.RubyFileTest.directory_p(RubyFileTest.java:87) [na:na] at org.jruby.RubyFileTest$FileTestFileMethods.directory_p(RubyFileTest.java:428) [na:na] at org.jruby.RubyFileTest$FileTestFileMethods$s$1$0$directory_p.call(RubyFileTest$FileTestFileMethods$s$1$0$directory_p.gen:65535) [na:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) [na:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) [na:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [na:na] at org.jruby.ast.IfNode.interpret(IfNode.java:111) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [na:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [na:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [na:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [na:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [na:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [na:na] at org.jruby.ast.IfNode.interpret(IfNode.java:117) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [na:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [na:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [na:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [na:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [na:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.java:103) [na:na] at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:254) [na:na] at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.ast.RootNode.interpret(RootNode.java:129) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) [na:na] at org.jruby.Ruby.runInterpreter(Ruby.java:698) [na:na] at org.jruby.Ruby.loadFile(Ruby.java:2424) [na:na] at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66) [na:na] at org.jruby.runtime.load.LoadService.load(LoadService.java:272) [na:na] at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1081) [na:na] at org.jruby.RubyKernel.load(RubyKernel.java:1063) [na:na] at org.jruby.RubyKernel$s$0$1$load.call(RubyKernel$s$0$1$load.gen:65535) [na:na] at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209) [na:na] at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205) [na:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) [na:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) [na:na] at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) [na:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [na:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [na:na] at org.jruby.ast.RootNode.interpret(RootNode.java:129) [na:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119) [na:na] at org.jruby.Ruby.evalScriptlet(Ruby.java:323) [na:na] at org.jruby.Ruby.evalScriptlet(Ruby.java:300) [na:na] at org.jruby.rack.DefaultRackApplicationFactory.createRackServletWrapper(DefaultRackApplicationFactory.java:164) [na:na] at org.jruby.rack.DefaultRackApplicationFactory.createErrorApplicationObject(DefaultRackApplicationFactory.java:122) [na:na] at org.jruby.rack.DefaultRackApplicationFactory$2.create(DefaultRackApplicationFactory.java:130) [na:na] at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:182) [na:na] at org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:133) [na:na] at org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:45) [na:na] at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26) [na:na] at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40) [na:na] at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.24.jar:6.1.24] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.24.jar:6.1.24] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.24.jar:6.1.24] at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.24.jar:6.1.24] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.24.jar:6.1.24] at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:80) [sonar-application-2.8.jar:na] at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-2.8.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_26] at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_26] at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3] at java.lang.Thread.run(Unknown Source) [na:1.6.0_26] Caused by: java.lang.UnsatisfiedLinkError: The system cannot find the path specified at com.kenai.jffi.Init.loadFromJar(Init.java:151) [na:na] at com.kenai.jffi.Init.load(Init.java:78) [na:na] at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49) [na:na] at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45) [na:na] at com.kenai.jffi.Foreign.getInstance(Foreign.java:95) [na:na] at com.kenai.jffi.Internals.getErrnoSaveFunction(Internals.java:44) [na:na] at com.kenai.jaffl.provider.jffi.StubCompiler.getErrnoSaveFunction(StubCompiler.java:68) [na:na] at com.kenai.jaffl.provider.jffi.StubCompiler.<clinit>(StubCompiler.java:18) [na:na] at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:146) [na:na] at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110) [na:na] at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31) [na:na] at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25) [na:na] at com.kenai.jaffl.Library.loadLibrary(Library.java:76) [na:na] at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:127) [na:na] at org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider.getLibC(POSIXFactory.java:131) [na:na] at org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:29) [na:na] at org.jruby.ext.posix.WindowsPOSIX.<init>(WindowsPOSIX.java:121) [na:na] at org.jruby.ext.posix.POSIXFactory.loadWindowsPOSIX(POSIXFactory.java:87) [na:na] at org.jruby.ext.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:36) [na:na] at org.jruby.ext.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:28) [na:na] at org.jruby.ext.posix.LazyPOSIX.posix(LazyPOSIX.java:24) [na:na] ... 76 common frames omitted 2011.08.01 16:22:43 INFO org.sonar.INFO Sonar started: http://0.0.0.0:9000/
        Hide
        Olivier Gaudin added a comment -

        Please do not log bugs directly in tracker. First go to user mailing list to get help

        Show
        Olivier Gaudin added a comment - Please do not log bugs directly in tracker. First go to user mailing list to get help
        Hide
        Freddy Mallet added a comment -

        This error happens when the temporary file path specified for the Local System doesn't exist. Assuming that environment variables have their default settings and that Windows is installed on the ‘C’ drive, the following paths should exist:

        Windows Server 2003, Windows XP : C:\Windows\system32\config\systemprofile\Local Settings\Temp
        Windows Server 2008, Windows 7, Windows Vista: C:\Windows\system32\config\systemprofile\AppData\Local\Temp

        In most cases, the “Temp” folder is missing and should be created.

        Show
        Freddy Mallet added a comment - This error happens when the temporary file path specified for the Local System doesn't exist. Assuming that environment variables have their default settings and that Windows is installed on the ‘C’ drive, the following paths should exist: Windows Server 2003, Windows XP : C:\Windows\system32\config\systemprofile\Local Settings\Temp Windows Server 2008, Windows 7, Windows Vista: C:\Windows\system32\config\systemprofile\AppData\Local\Temp In most cases, the “Temp” folder is missing and should be created.
        Hide
        Freddy Mallet added a comment -

        Evgeny's proposal to fix this issue :

        1- Create directory "tmp" in distribution ( sonar-application.zip ), update wrapper.conf and add "wrapper.java.additional.3=-Djava.io.tmpdir=../../tmp/", thus to use temp directory, which is located in Sonar home directory and fully under user and our control (no dependency on Windows). This will cover case when Sonar launched as a standalone application. And when Sonar deployed as WAR in some container - temp directory will depend on how container was configured and installed, i.e. if container works fine with temp files, then it should be fine for Sonar too.
        2- During startup of Sonar we can perform check that temporary directory exists and can be used for new files. This check should be done on early stage (before JRuby, in fact even before anything) in order to hide misleading exception "UnsatisfiedLinkError" and provide more meaningful. I'm sure that this can be done for standalone mode and not sure about WAR, however for WAR it might be useless.

        Show
        Freddy Mallet added a comment - Evgeny's proposal to fix this issue : 1- Create directory "tmp" in distribution ( sonar-application.zip ), update wrapper.conf and add "wrapper.java.additional.3=-Djava.io.tmpdir=../../tmp/", thus to use temp directory, which is located in Sonar home directory and fully under user and our control (no dependency on Windows). This will cover case when Sonar launched as a standalone application. And when Sonar deployed as WAR in some container - temp directory will depend on how container was configured and installed, i.e. if container works fine with temp files, then it should be fine for Sonar too. 2- During startup of Sonar we can perform check that temporary directory exists and can be used for new files. This check should be done on early stage (before JRuby, in fact even before anything) in order to hide misleading exception "UnsatisfiedLinkError" and provide more meaningful. I'm sure that this can be done for standalone mode and not sure about WAR, however for WAR it might be useless.
        Hide
        Evgeny Mandrikov added a comment -

        Added check that temporary directory is available for new files - 79e09a2.
        Note that this check executed only in Standalone mode.
        Can be verified as following :

        1. modify "conf/wrapper.conf" and specify "java.io.tmpdir" as like "wrapper.java.additional.3=-Djava.io.tmpdir=/tmp/sonar-tmp/"
        2. directory "/tmp/sonar-tmp" does not exist, so exception will be thrown during server startup:
          java.lang.IllegalStateException: Unable to create file in temporary directory, please check existence of it and permissions: /tmp/sonar-tmp/
          
        3. create directory and start server - normal startup
        Show
        Evgeny Mandrikov added a comment - Added check that temporary directory is available for new files - 79e09a2 . Note that this check executed only in Standalone mode. Can be verified as following : modify "conf/wrapper.conf" and specify "java.io.tmpdir" as like "wrapper.java.additional.3=-Djava.io.tmpdir=/tmp/sonar-tmp/" directory "/tmp/sonar-tmp" does not exist, so exception will be thrown during server startup: java.lang.IllegalStateException: Unable to create file in temporary directory, please check existence of it and permissions: /tmp/sonar-tmp/ create directory and start server - normal startup
        Hide
        Freddy Mallet added a comment -

        Manually tested

        Show
        Freddy Mallet added a comment - Manually tested

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Eugen Paraschiv
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: