Grails 2.3.7 error when creating a new project - grails-2.3

I just a fresh install: I downloaded and installed JDK and GGTS. I then created a new Grails 2.3.7 project and I get the error message below. Is this a known issue or am I doing something wrong?
Command terminated with an exception: java.lang.Exception (see details for partial output)
Command: GrailsCommand(P/MangaReader> compile --non-interactive --refresh-dependencies)
---- System.out ----
Loading Grails 2.3.7
.
|Environment set to development
..........
|Compiling 79 source files
.Error
|
Compilation error: startup failed:
C:\Users\\Documents\workspace-ggts-3.5.0.RELEASE\MangaReader\target\work\plugins\database-migration-1.3.8\grails-app\controllers\grails\plugin\databasemigration\DbdocController.groovy: -1: Repetitive method name/signature for method 'java.lang.Object withFormat(groovy.lang.Closure)' in class 'grails.plugin.databasemigration.DbdocController'.
# line -1, column -1.
C:\Users\\Documents\workspace-ggts-3.5.0.RELEASE\MangaReader\target\work\plugins\database-migration-1.3.8\grails-app\controllers\grails\plugin\databasemigration\DbdocController.groovy: -1: Repetitive method name/signature for method 'java.lang.Object withFormat(groovy.lang.Closure)' in class 'grails.plugin.databasemigration.DbdocController'.
# line -1, column -1.
2 errors
Error |
org.codehaus.groovy.grails.cli.ScriptExitException
Error |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Error |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Error |
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
Error |
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
Error |
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:194)
Error |
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
Error |
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
Error |
at gant.Gant.withBuildListeners(Gant.groovy:427)
Error |
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
Error |
at gant.Gant$this$2$withBuildListeners$0.callCurrent(Unknown Source)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at gant.Gant$this$2$withBuildListeners$0.callCurrent(Unknown Source)
Error |
at gant.Gant.dispatch(Gant.groovy:415)
Error |
at gant.Gant.this$2$dispatch(Gant.groovy)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:733)
Error |
at gant.Gant.invokeMethod(Gant.groovy)
Error |
at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source)
Error |
at gant.Gant.executeTargets(Gant.groovy:591)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:57)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
Error |
at gant.Gant.executeTargets(Gant.groovy:590)
Error |
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:773)
Error |
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptFile(GrailsScriptRunner.java:571)
Error |
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:470)
Error |
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:421)
Error |
at org.grails.ide.api.impl.GrailsConnectorImpl.executeCommand(GrailsConnectorImpl.java:160)
Error |
at org.grails.ide.eclipse.longrunning.process.GrailsProcess.run(GrailsProcess.java:130)
Error |
at org.grails.ide.eclipse.longrunning.process.GrailsProcess.main(GrailsProcess.java:93)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:235)
Error |
at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:263)
Error |
Caused by: org.codehaus.groovy.grails.cli.ScriptExitException
Error |
at org.codehaus.groovy.grails.cli.api.BaseSettingsApi.exit(BaseSettingsApi.java:382)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:953)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1132)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1088)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at _GrailsCompile_groovy.withCompilationErrorHandling(_GrailsCompile_groovy:77)
Error |
at _GrailsCompile_groovy.this$4$withCompilationErrorHandling(_GrailsCompile_groovy)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1031)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:168)
Error |
at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
Error |
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1151)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1045)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at _GrailsCompile_groovy$_run_closure3_closure8.doCall(_GrailsCompile_groovy:60)
Error |
at _GrailsCompile_groovy$_run_closure3_closure8.doCall(_GrailsCompile_groovy)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.Closure.call(Closure.java:411)
Error |
at groovy.lang.Closure.call(Closure.java:405)
Error |
at org.codehaus.groovy.grails.cli.api.BaseSettingsApi.profile(BaseSettingsApi.java:354)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:953)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1132)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1088)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:731)
Error |
at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
Error |
at groovy.lang.Script.invokeMethod(Script.java:78)
Error |
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1151)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1045)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
Error |
at _GrailsCompile_groovy$_run_closure3.doCall(_GrailsCompile_groovy:57)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
Error |
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
Error |
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
Error |
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
Error |
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
Error |
at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
Error |
at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1031)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:731)
Error |
at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
Error |
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1151)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1045)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
Error |
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
Error |
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
Error |
at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.Closure.call(Closure.java:411)
Error |
at groovy.lang.Closure.call(Closure.java:405)
Error |
at org.codehaus.gant.GantMetaClass.processClosure(GantMetaClass.java:81)
Error |
at org.codehaus.gant.GantMetaClass.processArgument(GantMetaClass.java:95)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:128)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at _GrailsCompile_groovy$_run_closure2.doCall(_GrailsCompile_groovy:44)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)

I found this thread:
Does Grails 2.3.x Support JDK 8
I backed my JDK from version 8 to version 7 (1.7.0_45). That fixed the issue.
Basically grails 2.3.7 (and below) does not support JDK 8 yet.

It's the GGTS, if you just use the command line Grails 2.3.7 works just fine on JDK 8 (also, make sure you have the latest JDK 8).

It's de jdk version and the eclipse.ini file, you will need to install JDK 1.7 or lessen the version.
Change it in
Window>Preferences>Java>Installed JREs
In eclipse.ini add the next two lines
-vm
C:\Program Files\Java\jdk1.7.0_79\bin

grails 2.5.0 and jdk8 does not work either.
tried thru cmd and ggts

Related

Vulas backend cannot connect to database

I am trying to run the Vulas docker setup on my local machine. I followed this guide. When I perform the Run stage of the documentation, the backend service fails to start. When the processes start, they return the following error:
vulas-os-rest-backend | Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
vulas-os-rest-backend | Unable to obtain database connection
vulas-os-rest-backend | ------------------------------------
vulas-os-rest-backend | SQL State : 08004
vulas-os-rest-backend | Error Code : 0
vulas-os-rest-backend | Message : The server requested password-based authentication, but no password was provided.
vulas-os-rest-backend |
vulas-os-rest-backend | at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:57) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | at org.flywaydb.core.Flyway.execute(Flyway.java:1634) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | at org.flywaydb.core.Flyway.migrate(Flyway.java:1168) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66) ~[spring-boot-autoconfigure-1.5.15.RELEASE.jar!/:1.5.15.RELEASE]
vulas-os-rest-backend | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1692) ~[spring-beans-4.3.18.RELEASE.jar!/:4.3.18.RELEASE]
vulas-os-rest-backend | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1630) ~[spring-beans-4.3.18.RELEASE.jar!/:4.3.18.RELEASE]
vulas-os-rest-backend | ... 95 common frames omitted
vulas-os-rest-backend | Caused by: org.postgresql.util.PSQLException: The server requested password-based authentication, but no password was provided.
vulas-os-rest-backend | at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:484) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:208) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:215) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.Driver.makeConnection(Driver.java:406) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.Driver.connect(Driver.java:274) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:736) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:668) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | ... 101 common frames omitted
It seems to indicate an .env problem, however, it is configured as indicated in the installation guide. My .env is:
# Vulas
VULAS_RELEASE=3.0.15
VULAS_ENV=prod
# *** MANDATORY SETTINGS ***
# PostgreSQL
POSTGRES_USER=admin
POSTGRES_PASSWORD=secret
# Spring (should be equal to the values in PostgreSQL section above)
spring.datasource.username=admin
spring.datasource.password=secret
# HAProxy
HAPROXY_STATS_USER=admin
HAPROXY_STATS_PASSWORD=secret
# Frontend Bugs Frontend
FRONTEND_BUGS_USER=admin
FRONTEND_BUGS_PASSWORD=secret
# *** OPTIONAL SETTINGS ***
# Jira (optional)
JIRA_USER=
JIRA_PASSWORD=
# Proxy
HTTP_PROXY_HOST=
HTTPS_PROXY_HOST=
HTTP_PROXY_PORT=
HTTPS_PROXY_PORT=
NON_PROXY_HOSTS=
http_proxy=
https_proxy=
no_proxy=
I tried this but it didn't work!
From the comments above I can understand that it was a problem with your .env file. Basically in your .env the VULAS_RELEASE was set to 3.0.15 but probably you built the artifacts tagged with version 3.0.15-SNAPSHOT.
A general rule is to always check what's the VULAS_RELEASE in the .env.sample and use that value in the custom .env.
Consider also that at every release the VULAS_RELEASE is incremented, so you have to update your .env every time you pull the code that is on a newer release.

How to configure a Spring boot project with Jetty and JPA?

I'm developing an API in Spring Boot and I want to deploy it using Jetty (9.4.1.v20170120) that is already installed in my server, but I have had a lot of problems trying it, my question is, does anyone know what is the basic configuration to start a project with Spring Boot + Jetty + JPA + MySQL? If you have a template that I can use, I will appreciate it! Now, if you think that you can explain me and you want money just tell me! I'm very stressed to try to make it work and I've been wasting my time searching on Google but I have not found useful things :( Thanks in advance!
UPD: Among all the things that I tried, as Dirk says, I changed my pom.xml and it looks as follows:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.vibradeporte</groupId>
<artifactId>jetty-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>jetty-test</name>
<description></description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Then, if I try to execute it locally, it runs without problems but when I upload my war file to my server (I have installed jetty 9.4.1.v20170120), the server shows me this:
** WARNING: JETTY_LOGS is Deprecated. Please configure logging within the jetty base.
Starting Jetty: 2018-05-21 13:33:10.930:INFO::main: Logging initialized #144ms to org.eclipse.jetty.util.log.StdErrLog
2018-05-21 13:33:11.141:WARN:oejs.HomeBaseWarning:main: This instance of Jetty is not running from a separate {jetty.base} directory, this is not recommended. See documentation at http://www.eclipse.org/jetty/documentation/current/startup.html
2018-05-21 13:33:11.196:INFO:oejs.Server:main: jetty-9.4.1.v20170120
2018-05-21 13:33:11.228:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///usr/share/jetty/jetty-distribution-9.4.1.v20170120/webapps/] at interval 1
2018-05-21 13:33:13.446:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=1770ms
2018-05-21 13:33:13.447:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext#5ae9a829{/jetty-test-0.0.1-SNAPSHOT,file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/,UNAVAILABLE}{/jetty-test-0.0.1-SNAPSHOT.war}
MultiException[java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-tree-6.1.1.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-6.1.1.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-analysis-6.1.1.jar, java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/StackLocator.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-commons-6.1.1.jar]
at org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:452)
at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:365)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:512)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1437)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:788)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:452)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561)
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:452)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:419)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1511)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1438)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1437)
Suppressed:
|java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-6.1.1.jar
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
Suppressed:
|java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-analysis-6.1.1.jar
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
Suppressed:
|MultiException[java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/StackLocator.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar]
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:878)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Suppressed:
| |java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/StackLocator.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| | at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| | at java.lang.Thread.run(Thread.java:748)
| |Caused by:
| |java.lang.IllegalArgumentException
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| | at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| | at java.lang.Thread.run(Thread.java:748)
|Suppressed:
| |java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| | at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| | at java.lang.Thread.run(Thread.java:748)
| |Caused by:
| |java.lang.IllegalArgumentException
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| | at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| | at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
Suppressed:
|java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-commons-6.1.1.jar
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
Caused by:
java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-tree-6.1.1.jar
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
at java.lang.Thread.run(Thread.java:748)
Caused by:
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
at java.lang.Thread.run(Thread.java:748)
2018-05-21 13:33:14.139:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=230ms
FAILED Mon May 21 13:33:14 -05 2018
exclude tomcat and add jetty
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
Finally, I could solve it, two things to take into account:
Install the lastest version of jetty on your server, for this case 9.4.10.v20180503.
Add to your dependencies (I hava installed JDK 10), (Error creating bean with name 'entityManagerFactory' defined in class path resource : Invocation of init method failed):
<dependency>
< groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
That is all!

MQ connection throwing null pointer during context.lookup in tomcat

I am trying to connect to MQ using JNDI lookup defined in context.xml of tomcat. While starting the application, i am getting a NamingException and a NullPointer in FFDC. Below is what logged. I am not able to make out what is wrong. Any indication on how to debug this will help.
MQ VERSION:
[tomcat#catlx0004 ~]$ /opt/mqm/bin/dspmqver -a
Name: WebSphere MQ
Version: 7.0.1.12
CMVC level: p701-112-140319
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 2.6.32-358.2.1.el6.x86_64
Exception in logs:
FFDC called in uninitialized Trace module
FDCTitle
Product :- ProductName
Date/Time :- Thu May 28 19:05:48 UTC 2015
System time :- 1432839948804
Operating System :- Linux
UserID :- tomcat
Java Vendor :- Oracle Corporation
Java Version :- 24.45-b08
Source Class :- com.ibm.msg.client.commonservices.nls.PINLSServices
Source Method :- createException(String,HashMap)
ProbeID :- XC003001
Thread :- name=localhost-startStop-1 priority=5 group=main ccl=WebappClassLoader
context: /CWL_UserSettings
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader#7dc3d69c
Data
----
Data :- none
No Components Found
Stack trace
-----------
Stack trace to show the location of the FFST call
| FFST Location :- java.lang.Exception
| at com.ibm.msg.client.commonservices.trace.Trace.getCurrentPosition(Trace.java:1854)
| at com.ibm.msg.client.commonservices.trace.Trace.createFFSTString(Trace.java:1793)
| at com.ibm.msg.client.commonservices.trace.Trace.ffstInternal(Trace.java:1674)
| at com.ibm.msg.client.commonservices.trace.Trace.ffst(Trace.java:1491)
| at com.ibm.msg.client.commonservices.nls.PINLSServices.createException(PINLSServices.java:115)
| at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:388)
| at com.ibm.msg.client.jms.internal.JmsErrorUtils.createException(JmsErrorUtils.java:104)
| at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getInstance(JmsFactoryFactoryImpl.java:167)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(JmsFactoryFactory.java:183)
| at com.ibm.mq.jms.MQConnectionFactory.initialiseMQConnectionFactory(MQConnectionFactory.java:3330)
| at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:275)
| at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
| at com.ibm.mq.jms.MQQueueConnectionFactoryFactory.getObjectInstance(MQQueueConnectionFactoryFactory.java:73)
| at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java
..........
Property Store Contents
-----------------------
All currently set properties
| EKMC_PROPERTY :- /apps/ekmc/devcell/devnode/tomcat/certs/ekmcconfig.dev.properties
| MQJMS_TRACE_DIR :-
| MQJMS_TRACE_LEVEL :-
| WXSGRIDNAME :- TARGET_SSA_DEV_GRID
| java.runtime.name :- Java(TM) SE Runtime Environment
| java.runtime.version :- 1.7.0_45-b18
| java.security.egd :- file:/dev/./urandom
| java.specification.name :- Java Platform API Specification
| java.specification.vendor :- Oracle Corporation
| java.specification.version :- 1.7
| shared.loader :- ${catalina.home}/shared/*.jar,${catalina.home}/shared/EKMC/*.jar,${catalina.home}/shared/WXSClient/*.jar,${catalina.home}/shared/servlet/*.jar,/opt/mqm/java/lib/*.jar,/opt/mqm/java/lib/*.jar
| sun.boot.class.path :- /apps/install/tomcat7.59/shared/WXSClient/ibmorbapi.jar:/apps/install/tomcat7.59/shared/WXSClient/ibmcfw.jar:/apps/install/tomcat7.59/shared/WXSClient/ibmorb.jar:/apps/install/tomcat7.59/shared/WXSClient/ogclient.jar:/apps/install/java/jre1.7.0_45/lib/resources.jar:/apps/install/java/jre1.7.0_45/lib/rt.jar:/apps/install/java/jre1.7.0_45/lib/sunrsasign.jar:/apps/install/java/jre1.7.0_45/lib/jsse.jar:/apps/install/java/jre1.7.0_45/lib/jce.jar:/apps/install/java/jre1.7.0_45/lib/charsets.jar:/apps/install/java/jre1.7.0_45/lib/jfr.jar:/apps/install/java/jre1.7.0_45/classes
......
FDCTitle
Product :- ProductName
Date/Time :- Thu May 28 19:05:48 UTC 2015
System time :- 1432839948830
Operating System :- Linux
UserID :- tomcat
Java Vendor :- Oracle Corporation
Java Version :- 24.45-b08
Source Class :- JmsFactoryFactory
Source Method :- getIntance(int)
ProbeID :- XI001005
Thread :- name=localhost-startStop-1 priority=5 group=main ccl=WebappClassLoader
context: /CWL_UserSettings
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader#7dc3d69c
Data
----
| connectionTypeName :- com.ibm.msg.client.wmq
| exception :- ExceptionDepth is 3
| exception :-
| | Cause:1 :- java.lang.reflect.InvocationTargetException
| | Cause:2 :- java.lang.NullPointerException
| | StackTrace:1 :- java.lang.reflect.InvocationTargetException
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(JmsFactoryFactory.java:183)
| | at com.ibm.mq.jms.MQConnectionFactory.initialiseMQConnectionFactory(MQConnectionFactory.java:3330)
| | at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:275)
| | at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
| | at com.ibm.mq.jms.MQQueueConnectionFactoryFactory.getObjectInstance(MQQueueConnectionFactoryFactory.java:73)
| | at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)
| | at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:842)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:167)
| | at org.apache.naming.SelectorContext.lookup(SelectorContext.java:156)
| | at javax.naming.InitialContext.lookup(Unknown Source)
| | at com.tgt.cwl.msg.config.MessagingConfig.mqQueueConnectionFactory(MessagingConfig.java:41)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.CGLIB$mqQueueConnectionFactory$1(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578$$FastClassBySpringCGLIB$$99d29d2a.invoke(<generated>)
| | at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.mqQueueConnectionFactory(<generated>)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
| | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.mqQueueConnectionFactory(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig.userConnectionFactory(MessagingConfig.java:57)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.CGLIB$userConnectionFactory$0(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578$$FastClassBySpringCGLIB$$99d29d2a.invoke(<generated>)
| | at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.userConnectionFactory(<generated>)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
| | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.userConnectionFactory(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig.connectionFactory(MessagingConfig.java:72)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.CGLIB$connectionFactory$4(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578$$FastClassBySpringCGLIB$$99d29d2a.invoke(<generated>)
| | at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.connectionFactory(<generated>)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
| | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| | at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
| | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
| | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
| | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
| | at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
| | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
| | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
| | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
| | at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:663)
| | at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:629)
| | at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:677)
| | at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:548)
| | at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:489)
| | at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
| | at javax.servlet.GenericServlet.init(GenericServlet.java:158)
| | at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
| | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
| | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
| | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
| | at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
| | at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
| | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
| | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
| | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
| | at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
| | at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
| | at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
| | at java.util.concurrent.FutureTask.run(Unknown Source)
| | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
| | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| | at java.lang.Thread.run(Unknown Source)
| | Caused by: java.lang.NullPointerException
| | at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getInstance(JmsFactoryFactoryImpl.java:169)
| | ... 124 more
| |
| | StackTrace:2 :- java.lang.NullPointerException
| | at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getInstance(JmsFactoryFactoryImpl.java:169)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(JmsFactoryFactory.java:183)
| | at com.ibm.mq.jms.MQConnectionFactory.initialiseMQConnectionFactory(MQConnectionFactory.java:3330)
| | at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:275)
| | at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
| | at com.ibm.mq.jms.MQQueueConnectionFactoryFactory.getObjectInstance(MQQueueConnectionFactoryFactory.java:73)
.......
No Components Found
Stack trace
-----------
Stack trace to show the location of the FFST call
| FFST Location :- java.lang.Exception
| at com.ibm.msg.client.commonservices.trace.Trace.getCurrentPosition(Trace.java:1854)
| at com.ibm.msg.client.commonservices.trace.Trace.createFFSTString(Trace.java:1793)
| at com.ibm.msg.client.commonservices.trace.Trace.ffstInternal(Trace.java:1674)
| at com.ibm.msg.client.commonservices.trace.Trace.ffst(Trace.java:1540)
| at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(JmsFactoryFactory.java:215)
| at com.ibm.mq.jms.MQConnectionFactory.initialiseMQConnectionFactory(MQConnectionFactory.java:3330)
| at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:275)
| at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
| at com.ibm.mq.jms.MQQueueConnectionFactoryFactory.getObjectInstance(MQQueueConnectionFactoryFactory.java:73)
| at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)
| at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:842)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
I finally solved it. It was due to the class loading hierarchy of tomcat. The mq classes were loaded by a different class loader and the javax.jms classes were loaded by a different class loader.

SonarQube exception even following tutorials

I've downloaded mysql 5.6 and sonarqube. I'm following the tutorials on SonarQube' site. And I'm getting exceptions when I run SonarQube.
This is my sonar.properties' file:
...
sonar.web.host: 0.0.0.1
sonar.web.port: 80
sonar.web.context: /sonar
...
#----- Credentials
# Permissions to create tables and indexes must be granted to JDBC user.
# The schema must be created first.
sonar.jdbc.username: sonar
sonar.jdbc.password: sonar
...
#----- MySQL 5.x
# Comment the embedded database and uncomment the following line to use MySQL
sonar.jdbc.url:jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
...
The following shows my exceptions:
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2013-09-16 15:21:04.651:INFO:oejs.Server:jetty-7.6.11.v20130520
jvm 1 | JRuby limited openssl loaded. http://jruby.org/openssl
jvm 1 | gem install jruby-openssl for full support.
jvm 1 | 2013-09-16 15:21:18.395:INFO:oejsh.ContextHandler:started o.e.j.w.Web
AppContext{/sonar,file:/C:/sonar-3.7/war/sonar-server/},file:/C:/sonar-3.7/war/s
onar-server
jvm 1 | 2013-09-16 15:21:18.700:WARN:oejuc.AbstractLifeCycle:FAILED SelectCha
nnelConnector#0.0.0.1:80: java.net.BindException: Cannot assign requested addres
s: bind
jvm 1 | java.net.BindException: Cannot assign requested address: bind
jvm 1 | at sun.nio.ch.Net.bind0(Native Method)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.open(Sele
ctChannelConnector.java:187)
jvm 1 | at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractCo
nnector.java:316)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(S
electChannelConnector.java:265)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:292)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:
67)
jvm 1 | at org.sonar.application.StartServer.main(StartServer.java:47)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc
e)
jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple
App.java:240)
jvm 1 | at java.lang.Thread.run(Unknown Source)
jvm 1 | 2013-09-16 15:21:18.701:WARN:oejuc.AbstractLifeCycle:FAILED org.eclip
se.jetty.server.Server#11597f2: java.net.BindException: Cannot assign requested
address: bind
jvm 1 | java.net.BindException: Cannot assign requested address: bind
jvm 1 | at sun.nio.ch.Net.bind0(Native Method)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.open(Sele
ctChannelConnector.java:187)
jvm 1 | at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractCo
nnector.java:316)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(S
electChannelConnector.java:265)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:292)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:
67)
jvm 1 | at org.sonar.application.StartServer.main(StartServer.java:47)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc
e)
jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple
App.java:240)
jvm 1 | at java.lang.Thread.run(Unknown Source)
jvm 1 |
jvm 1 | WrapperSimpleApp: Encountered an error running main: java.net.BindExc
eption: Cannot assign requested address: bind
jvm 1 | java.net.BindException: Cannot assign requested address: bind
jvm 1 | at sun.nio.ch.Net.bind0(Native Method)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.open(Sele
ctChannelConnector.java:187)
jvm 1 | at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractCo
nnector.java:316)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(S
electChannelConnector.java:265)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:292)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:
67)
jvm 1 | at org.sonar.application.StartServer.main(StartServer.java:47)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc
e)
jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple
App.java:240)
jvm 1 | at java.lang.Thread.run(Unknown Source)
wrapper | <-- Wrapper Stopped
Is there any additional file do I need to change to get things done?

unable to access sonar through web

i have installed sonar on rhel 6.3 64 bit machine but when trying to access the application through web using "http://10.217.14.40:13385/sonar" i get HTTP Error 503 Service Unavailable
Following is the last 100 lines from the log
[root#RHEL-6 logs]# tail -100 sonar.log
INFO | jvm 1 | 2012/09/25 07:58:21 | 07:58:21,136 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to INFO
INFO | jvm 1 | 2012/09/25 07:58:21 | 07:58:21,136 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [SONAR_FILE] to Logger[ROOT]
INFO | jvm 1 | 2012/09/25 07:58:21 | 07:58:21,136 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#77435978 - Registering current configuration as safe fallback point
INFO | jvm 1 | 2012/09/25 07:58:21 |
2012.09.25 07:58:21 INFO o.s.s.p.ServerImpl Sonar Server / 3.2 / d9303b2d9d4c1e75f8536e4144028f1999f727f4
2012.09.25 07:58:21 INFO o.s.s.d.EmbeddedDatabase Starting embedded database on port 9092 with url jdbc:h2:tcp://10.217.14.40:13384/sonar
2012.09.25 07:58:21 ERROR o.s.s.p.Platform Unable to start database
org.sonar.api.utils.SonarException: Unable to start database
at org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:75) ~[classes/:na]
at org.sonar.server.database.EmbeddedDatabaseFactory.start(EmbeddedDatabaseFactory.java:41) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_07]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_07]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_07]
at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_07]
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.behaviors.Stored.start(Stored.java:110) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:760) ~[picocontainer-2.14.1.jar:na]
at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70) ~[sonar-plugin-api-3.2.jar:na]
at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:166) ~[classes/:na]
at org.sonar.server.platform.Platform.init(Platform.java:114) ~[classes/:na]
at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33) [classes/:na]
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.25.jar:6.1.25]
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.25.jar:6.1.25]
at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:72) [sonar-application-3.2.jar:na]
at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-3.2.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_07]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_07]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_07]
at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_07]
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_07]
Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-167]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) ~[h2-1.3.167.jar:1.3.167]
at org.h2.message.DbException.get(DbException.java:158) ~[h2-1.3.167.jar:1.3.167]
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:190) ~[h2-1.3.167.jar:1.3.167]
at org.h2.util.NetUtils.createServerSocket(NetUtils.java:156) ~[h2-1.3.167.jar:1.3.167]
at org.h2.server.TcpServer.start(TcpServer.java:222) ~[h2-1.3.167.jar:1.3.167]
at org.h2.tools.Server.start(Server.java:455) ~[h2-1.3.167.jar:1.3.167]
at org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:71) ~[classes/:na]
... 35 common frames omitted
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method) ~[na:1.7.0_07]
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_07]
at java.net.ServerSocket.bind(ServerSocket.java:376) ~[na:1.7.0_07]
at java.net.ServerSocket.<init>(ServerSocket.java:237) ~[na:1.7.0_07]
at java.net.ServerSocket.<init>(ServerSocket.java:128) ~[na:1.7.0_07]
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:186) ~[h2-1.3.167.jar:1.3.167]
... 39 common frames omitted
INFO | jvm 1 | 2012/09/25 07:58:21 | 2012-09-25 07:58:21.716:WARN::Failed startup of context org.mortbay.jetty.webapp.WebAppContext#1778db3{/,file:/home/BuildTools/sonar-3.2/war/sonar-server}
INFO | jvm 1 | 2012/09/25 07:58:21 | org.sonar.api.utils.SonarException: Unable to start database
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:75)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.database.EmbeddedDatabaseFactory.start(EmbeddedDatabaseFactory.java:41)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2012/09/25 07:58:21 | at java.lang.reflect.Method.invoke(Method.java:601)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.behaviors.Stored.start(Stored.java:110)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1009)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:760)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:166)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.platform.Platform.init(Platform.java:114)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.Server.doStart(Server.java:224)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:72)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.application.StartServer.main(StartServer.java:48)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2012/09/25 07:58:21 | at java.lang.reflect.Method.invoke(Method.java:601)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2012/09/25 07:58:21 | at java.lang.Thread.run(Thread.java:722)
INFO | jvm 1 | 2012/09/25 07:58:21 | 2012-09-25 07:58:21.737:INFO::Started SelectChannelConnector#10.217.14.40:13385
As you can read in your log, Sonar fails to start because H2 database cannot be started. It can't be started because the port 9092 is already used:
Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use"
This means that you already have another process that uses this port - probably another Sonar instance that is already started...

Resources