Quantcast

Database dialect error

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Database dialect error

Spencer
I searched through the archives and could find anything that was relevant.

I am using sonar 3.1 on a test box.   I was able to get it to work "out of the box" with very few issues, and I was able to build postgreSQL and get it to work with postgreSQL as well.

However, long term my DBAs are going to require me to use DB2/UDB.    I understand this is not supported, but since this is JDBC based , I figured it could not be too hard.   So I found the right type of connection URI for UDB and tried it.   I was generally encouraged (figured it would not even connect or something).   However, I am getting the error:

2012.06.22 09:51:47 ERROR o.s.s.p.Platform  Unable to determine database dialect to use within sonar with dialect null jdbc url jdbc:db2://localhost:50000/sonar

I am sort of at a loss as to what sonar is expecting and how, through URI configuration and DB set-up, I can fix it.

ANy thoughts?    I have the full stack below  

Thanks!

Spencer

STATUS | wrapper  | 2012/06/22 10:12:41 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2012/06/22 10:12:41 | Java Service Wrapper Community Edition
 32-bit 3.5.14
STATUS | wrapper  | 2012/06/22 10:12:41 |   Copyright (C) 1999-2011 Tanuki Softw
are, Ltd. All Rights Reserved.
STATUS | wrapper  | 2012/06/22 10:12:41 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2012/06/22 10:12:41 |
STATUS | wrapper  | 2012/06/22 10:12:42 | Launching a JVM...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: Initializing...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: WARNING - Unable to lo
ad the Wrapper's native library because none of the
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           following fi
les:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:             libwrapper
-aix-ppc-64.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:             libwrapper
.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           could be loc
ated on the following java.library.path:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:             /usr/local
/cpptmp/sonar/sonar-3.1/bin/aix/./lib
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           Please see t
he documentation for the wrapper.java.library.path
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           configuratio
n property.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           System signa
ls will not be handled correctly.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22 10:12:43.079:INFO::Logging
to STDERR via org.mortbay.log.StdErrLog
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22 10:12:43.118:INFO::jetty-6.
1.25
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22 10:12:43.332:INFO::NO JSP S
upport for /, did not find org.apache.jasper.servlet.JspServlet
2012.06.22 10:12:43 ERROR o.s.s.p.Platform  Unable to determine database dialect
 to use within sonar with dialect null jdbc url jdbc:db2://localhost:50000/sonar
org.sonar.api.utils.SonarException: Unable to determine database dialect to use
within sonar with dialect null jdbc url jdbc:db2://localhost:50000/sonar
        at org.sonar.core.persistence.dialect.DialectUtils.find(DialectUtils.jav
a:40) ~[sonar-core-3.1.jar:na]
        at org.sonar.core.persistence.DefaultDatabase.initDialect(DefaultDatabas
e.java:83) ~[sonar-core-3.1.jar:na]
        at org.sonar.core.persistence.DefaultDatabase.initSettings(DefaultDataba
se.java:70) ~[sonar-core-3.1.jar:na]
        at org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java
:59) ~[sonar-core-3.1.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.
0]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
        at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
        at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(
ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na]
        at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(Reflect
ionLifecycleStrategy.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.j
ava:169) ~[picocontainer-2.14.1.jar:na]
        at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Store
d.java:132) ~[picocontainer-2.14.1.jar:na]
        at org.picocontainer.behaviors.Stored.start(Stored.java:110) ~[picoconta
iner-2.14.1.jar:na]
        at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(Defaul
tPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na]
        at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoConta
iner.java:1002) ~[picocontainer-2.14.1.jar:na]
        at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.jav
a:760) ~[picocontainer-2.14.1.jar:na]
        at org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo
ntainer.java:70) ~[sonar-plugin-api-3.1.jar:na]
        at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.j
ava:153) ~[classes/:na]
        at org.sonar.server.platform.Platform.init(Platform.java:102) ~[classes/
:na]
        at org.sonar.server.platform.PlatformLifecycleListener.contextInitialize
d(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) [jet
ty-6.1.25.jar:6.1.25]
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a: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) [son
ar-application-3.1.jar:na]
        at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-ap
plication-3.1.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.
0]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
        at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
        at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java
:290) [wrapper-3.2.3.jar:3.5.14]
        at java.lang.Thread.run(Thread.java:736) [na:1.6.0]
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22 10:12:44.000:WARN::Failed s
tartup of context org.mortbay.jetty.webapp.WebAppContext@39443944{/,file:/usr/lo
cal/cpptmp/sonar/sonar-3.1/war/sonar-server}
INFO   | jvm 1    | 2012/06/22 10:12:44 | org.sonar.api.utils.SonarException: Un
able to determine database dialect to use within sonar with dialect null jdbc ur
l jdbc:db2://localhost:50000/sonar
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.core.persistence.di
alect.DialectUtils.find(DialectUtils.java:40)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.core.persistence.De
faultDatabase.initDialect(DefaultDatabase.java:83)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.core.persistence.De
faultDatabase.initSettings(DefaultDatabase.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.core.persistence.De
faultDatabase.start(DefaultDatabase.java:59)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.injectors.A
bstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.behaviors.A
bstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.behaviors.S
tored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.behaviors.S
tored.start(Stored.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.DefaultPico
Container.potentiallyStartAdapter(DefaultPicoContainer.java:1009)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.DefaultPico
Container.startAdapters(DefaultPicoContainer.java:1002)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.picocontainer.DefaultPico
Container.start(DefaultPicoContainer.java:760)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.api.platform.Compon
entContainer.startComponents(ComponentContainer.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.server.platform.Pla
tform.startDatabaseConnectors(Platform.java:153)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.server.platform.Pla
tform.init(Platform.java:102)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.server.platform.Pla
tformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.jetty.handler.Con
textHandler.startContext(ContextHandler.java:548)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.jetty.servlet.Con
text.startContext(Context.java:136)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.jetty.webapp.WebA
ppContext.startContext(WebAppContext.java:1272)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.jetty.handler.Con
textHandler.doStart(ContextHandler.java:517)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.jetty.webapp.WebA
ppContext.doStart(WebAppContext.java:489)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.jetty.handler.Han
dlerWrapper.doStart(HandlerWrapper.java:130)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.jetty.Server.doSt
art(Server.java:224)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.application.JettyEm
bedder.start(JettyEmbedder.java:72)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.sonar.application.StartSe
rver.main(StartServer.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at org.tanukisoftware.wrapper.Wr
apperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at java.lang.Thread.run(Thread.j
ava:736)
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22 10:12:44.046:INFO::Started
SelectChannelConnector@dev53.0998.lowes.com:7071
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Database dialect error

Olivier Gaudin-2
Hi Spencer,

To add a dialect, you are going to need to make a modification to Sonar.

Olivier


On Fri, Jun 22, 2012 at 4:15 PM, Spencer <[hidden email]> wrote:
I searched through the archives and could find anything that was relevant.

I am using sonar 3.1 on a test box.   I was able to get it to work "out of
the box" with very few issues, and I was able to build postgreSQL and get it
to work with postgreSQL as well.

However, long term my DBAs are going to require me to use DB2/UDB.    I
understand this is not supported, but since this is JDBC based , I figured
it could not be too hard.   So I found the right type of connection URI for
UDB and tried it.   I was generally encouraged (figured it would not even
connect or something).   However, I am getting the error:

2012.06.22 09:51:47 ERROR o.s.s.p.Platform  Unable to determine database
dialect to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar

I am sort of at a loss as to what sonar is expecting and how, through URI
configuration and DB set-up, I can fix it.

ANy thoughts?    I have the full stack below

Thanks!

Spencer

STATUS | wrapper  | 2012/06/22 10:12:41 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2012/06/22 10:12:41 | Java Service Wrapper Community
Edition
 32-bit <a href="tel:3.5.14" value="+333514">3.5.14
STATUS | wrapper  | 2012/06/22 10:12:41 |   Copyright (C) 1999-2011 Tanuki
Softw
are, Ltd. All Rights Reserved.
STATUS | wrapper  | 2012/06/22 10:12:41 |
http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2012/06/22 10:12:41 |
STATUS | wrapper  | 2012/06/22 10:12:42 | Launching a JVM...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: Initializing...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: WARNING - Unable
to lo
ad the Wrapper's native library because none of the
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
following fi
les:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
-aix-ppc-64.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           could be
loc
ated on the following java.library.path:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
/usr/local
/cpptmp/sonar/sonar-3.1/bin/aix/./lib
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           Please
see t
he documentation for the wrapper.java.library.path
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
configuratio
n property.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           System
signa
ls will not be handled correctly.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.079:INFO::Logging
to STDERR via org.mortbay.log.StdErrLog
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.118:INFO::jetty-6.
1.25
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22 10:12:43.332:INFO::NO
JSP S
upport for /, did not find org.apache.jasper.servlet.JspServlet
2012.06.22 10:12:43 ERROR o.s.s.p.Platform  Unable to determine database
dialect
 to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar
org.sonar.api.utils.SonarException: Unable to determine database dialect to
use
within sonar with dialect null jdbc url jdbc:db2://localhost:50000/sonar
       at
org.sonar.core.persistence.dialect.DialectUtils.find(DialectUtils.jav
a:40) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initDialect(DefaultDatabas
e.java:83) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initSettings(DefaultDataba
se.java:70) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java
:59) ~[sonar-core-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(
ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(Reflect
ionLifecycleStrategy.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.j
ava:169) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Store
d.java:132) ~[picocontainer-2.14.1.jar:na]
       at org.picocontainer.behaviors.Stored.start(Stored.java:110)
~[picoconta
iner-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(Defaul
tPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoConta
iner.java:1002) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.jav
a:760) ~[picocontainer-2.14.1.jar:na]
       at
org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo
ntainer.java:70) ~[sonar-plugin-api-3.1.jar:na]
       at
org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.j
ava:153) ~[classes/:na]
       at org.sonar.server.platform.Platform.init(Platform.java:102)
~[classes/
:na]
       at
org.sonar.server.platform.PlatformLifecycleListener.contextInitialize
d(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)
[jet
ty-6.1.25.jar:6.1.25]
       at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a: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)
[son
ar-application-3.1.jar:na]
       at org.sonar.application.StartServer.main(StartServer.java:48)
[sonar-ap
plication-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java
:290) [wrapper-3.2.3.jar:3.5.14]
       at java.lang.Thread.run(Thread.java:736) [na:1.6.0]
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.000:WARN::Failed s
tartup of context
org.mortbay.jetty.webapp.WebAppContext@39443944{/,file:/usr/lo
cal/cpptmp/sonar/sonar-3.1/war/sonar-server}
INFO   | jvm 1    | 2012/06/22 10:12:44 |
org.sonar.api.utils.SonarException: Un
able to determine database dialect to use within sonar with dialect null
jdbc ur
l jdbc:db2://localhost:50000/sonar
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.di
alect.DialectUtils.find(DialectUtils.java:40)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initDialect(DefaultDatabase.java:83)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initSettings(DefaultDatabase.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.start(DefaultDatabase.java:59)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.injectors.A
bstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.A
bstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored.start(Stored.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.potentiallyStartAdapter(DefaultPicoContainer.java:1009)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.startAdapters(DefaultPicoContainer.java:1002)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.start(DefaultPicoContainer.java:760)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.api.platform.Compon
entContainer.startComponents(ComponentContainer.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.startDatabaseConnectors(Platform.java:153)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.init(Platform.java:102)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.startContext(ContextHandler.java:548)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.servlet.Con
text.startContext(Context.java:136)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.startContext(WebAppContext.java:1272)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.doStart(ContextHandler.java:517)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.doStart(WebAppContext.java:489)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Han
dlerWrapper.doStart(HandlerWrapper.java:130)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.Server.doSt
art(Server.java:224)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.JettyEm
bedder.start(JettyEmbedder.java:72)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.StartSe
rver.main(StartServer.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.tanukisoftware.wrapper.Wr
apperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.Thread.run(Thread.j
ava:736)
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.046:INFO::Started
SelectChannelConnector@...:7071

--
View this message in context: http://sonar.15.n6.nabble.com/Database-dialect-error-tp5000133.html
Sent from the Sonar user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Database dialect error

Freddy Mallet
But in any case, my friendly advise is "don't try to do it" as we won't support you in this effort to make Sonar work with DB2. Indeed the technical JDBC API is the same one but that's not at all the case for the SQL dialect. Internally we've lot of integration tests to really support Derby, MySQL, MsSQL, PostgreSql and Oracle and to detect as soon as possible any regression or performance issue. 

Supporting 5 different DB was probably already a mistake so we're not ready at all to support another DB even with a provided patch. 

Thanks for your understanding.
Freddy

-----
Sonar for Continuous Inspection



On Sat, Jun 23, 2012 at 10:13 AM, Olivier Gaudin <[hidden email]> wrote:
Hi Spencer,

To add a dialect, you are going to need to make a modification to Sonar.

Olivier



On Fri, Jun 22, 2012 at 4:15 PM, Spencer <[hidden email]> wrote:
I searched through the archives and could find anything that was relevant.

I am using sonar 3.1 on a test box.   I was able to get it to work "out of
the box" with very few issues, and I was able to build postgreSQL and get it
to work with postgreSQL as well.

However, long term my DBAs are going to require me to use DB2/UDB.    I
understand this is not supported, but since this is JDBC based , I figured
it could not be too hard.   So I found the right type of connection URI for
UDB and tried it.   I was generally encouraged (figured it would not even
connect or something).   However, I am getting the error:

<a href="tel:2012.06.22%2009" value="+12012062209" target="_blank">2012.06.22 09:51:47 ERROR o.s.s.p.Platform  Unable to determine database
dialect to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar

I am sort of at a loss as to what sonar is expecting and how, through URI
configuration and DB set-up, I can fix it.

ANy thoughts?    I have the full stack below

Thanks!

Spencer

STATUS | wrapper  | 2012/06/22 10:12:41 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2012/06/22 10:12:41 | Java Service Wrapper Community
Edition
 32-bit <a href="tel:3.5.14" value="+333514" target="_blank">3.5.14
STATUS | wrapper  | 2012/06/22 10:12:41 |   Copyright (C) 1999-2011 Tanuki
Softw
are, Ltd. All Rights Reserved.
STATUS | wrapper  | 2012/06/22 10:12:41 |
http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2012/06/22 10:12:41 |
STATUS | wrapper  | 2012/06/22 10:12:42 | Launching a JVM...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: Initializing...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: WARNING - Unable
to lo
ad the Wrapper's native library because none of the
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
following fi
les:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
-aix-ppc-64.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           could be
loc
ated on the following java.library.path:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
/usr/local
/cpptmp/sonar/sonar-3.1/bin/aix/./lib
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           Please
see t
he documentation for the wrapper.java.library.path
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
configuratio
n property.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           System
signa
ls will not be handled correctly.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.079:INFO::Logging
to STDERR via org.mortbay.log.StdErrLog
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.118:INFO::jetty-6.
1.25
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22 10:12:43.332:INFO::NO
JSP S
upport for /, did not find org.apache.jasper.servlet.JspServlet
<a href="tel:2012.06.22%2010" value="+12012062210" target="_blank">2012.06.22 10:12:43 ERROR o.s.s.p.Platform  Unable to determine database
dialect
 to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar
org.sonar.api.utils.SonarException: Unable to determine database dialect to
use
within sonar with dialect null jdbc url jdbc:db2://localhost:50000/sonar
       at
org.sonar.core.persistence.dialect.DialectUtils.find(DialectUtils.jav
a:40) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initDialect(DefaultDatabas
e.java:83) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initSettings(DefaultDataba
se.java:70) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java
:59) ~[sonar-core-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(
ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(Reflect
ionLifecycleStrategy.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.j
ava:169) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Store
d.java:132) ~[picocontainer-2.14.1.jar:na]
       at org.picocontainer.behaviors.Stored.start(Stored.java:110)
~[picoconta
iner-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(Defaul
tPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoConta
iner.java:1002) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.jav
a:760) ~[picocontainer-2.14.1.jar:na]
       at
org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo
ntainer.java:70) ~[sonar-plugin-api-3.1.jar:na]
       at
org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.j
ava:153) ~[classes/:na]
       at org.sonar.server.platform.Platform.init(Platform.java:102)
~[classes/
:na]
       at
org.sonar.server.platform.PlatformLifecycleListener.contextInitialize
d(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)
[jet
ty-6.1.25.jar:6.1.25]
       at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a: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)
[son
ar-application-3.1.jar:na]
       at org.sonar.application.StartServer.main(StartServer.java:48)
[sonar-ap
plication-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java
:290) [wrapper-3.2.3.jar:3.5.14]
       at java.lang.Thread.run(Thread.java:736) [na:1.6.0]
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.000:WARN::Failed s
tartup of context
org.mortbay.jetty.webapp.WebAppContext@39443944{/,file:/usr/lo
cal/cpptmp/sonar/sonar-3.1/war/sonar-server}
INFO   | jvm 1    | 2012/06/22 10:12:44 |
org.sonar.api.utils.SonarException: Un
able to determine database dialect to use within sonar with dialect null
jdbc ur
l jdbc:db2://localhost:50000/sonar
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.di
alect.DialectUtils.find(DialectUtils.java:40)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initDialect(DefaultDatabase.java:83)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initSettings(DefaultDatabase.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.start(DefaultDatabase.java:59)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.injectors.A
bstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.A
bstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored.start(Stored.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.potentiallyStartAdapter(DefaultPicoContainer.java:1009)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.startAdapters(DefaultPicoContainer.java:1002)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.start(DefaultPicoContainer.java:760)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.api.platform.Compon
entContainer.startComponents(ComponentContainer.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.startDatabaseConnectors(Platform.java:153)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.init(Platform.java:102)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.startContext(ContextHandler.java:548)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.servlet.Con
text.startContext(Context.java:136)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.startContext(WebAppContext.java:1272)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.doStart(ContextHandler.java:517)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.doStart(WebAppContext.java:489)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Han
dlerWrapper.doStart(HandlerWrapper.java:130)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.Server.doSt
art(Server.java:224)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.JettyEm
bedder.start(JettyEmbedder.java:72)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.StartSe
rver.main(StartServer.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.tanukisoftware.wrapper.Wr
apperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.Thread.run(Thread.j
ava:736)
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.046:INFO::Started
SelectChannelConnector@...:7071

--
View this message in context: http://sonar.15.n6.nabble.com/Database-dialect-error-tp5000133.html
Sent from the Sonar user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Database dialect error

Spencer
Thanks - I'm hoping I can take this info to our DBAs and it will convince them to allow us to install postgreSQL on our development server.

Spencer

Sent from my iPhone

On Jun 24, 2012, at 5:37, Freddy Mallet <[hidden email]> wrote:

But in any case, my friendly advise is "don't try to do it" as we won't support you in this effort to make Sonar work with DB2. Indeed the technical JDBC API is the same one but that's not at all the case for the SQL dialect. Internally we've lot of integration tests to really support Derby, MySQL, MsSQL, PostgreSql and Oracle and to detect as soon as possible any regression or performance issue. 

Supporting 5 different DB was probably already a mistake so we're not ready at all to support another DB even with a provided patch. 

Thanks for your understanding.
Freddy

-----
Sonar for Continuous Inspection



On Sat, Jun 23, 2012 at 10:13 AM, Olivier Gaudin <[hidden email]> wrote:
Hi Spencer,

To add a dialect, you are going to need to make a modification to Sonar.

Olivier



On Fri, Jun 22, 2012 at 4:15 PM, Spencer <[hidden email]> wrote:
I searched through the archives and could find anything that was relevant.

I am using sonar 3.1 on a test box.   I was able to get it to work "out of
the box" with very few issues, and I was able to build postgreSQL and get it
to work with postgreSQL as well.

However, long term my DBAs are going to require me to use DB2/UDB.    I
understand this is not supported, but since this is JDBC based , I figured
it could not be too hard.   So I found the right type of connection URI for
UDB and tried it.   I was generally encouraged (figured it would not even
connect or something).   However, I am getting the error:

<a href="tel:2012.06.22%2009" value="+12012062209" target="_blank">2012.06.22 09:51:47 ERROR o.s.s.p.Platform  Unable to determine database
dialect to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar

I am sort of at a loss as to what sonar is expecting and how, through URI
configuration and DB set-up, I can fix it.

ANy thoughts?    I have the full stack below

Thanks!

Spencer

STATUS | wrapper  | 2012/06/22 10:12:41 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2012/06/22 10:12:41 | Java Service Wrapper Community
Edition
 32-bit <a href="tel:3.5.14" value="+333514" target="_blank">3.5.14
STATUS | wrapper  | 2012/06/22 10:12:41 |   Copyright (C) 1999-2011 Tanuki
Softw
are, Ltd. All Rights Reserved.
STATUS | wrapper  | 2012/06/22 10:12:41 |
http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2012/06/22 10:12:41 |
STATUS | wrapper  | 2012/06/22 10:12:42 | Launching a JVM...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: Initializing...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: WARNING - Unable
to lo
ad the Wrapper's native library because none of the
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
following fi
les:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
-aix-ppc-64.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           could be
loc
ated on the following java.library.path:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
/usr/local
/cpptmp/sonar/sonar-3.1/bin/aix/./lib
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           Please
see t
he documentation for the wrapper.java.library.path
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
configuratio
n property.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           System
signa
ls will not be handled correctly.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.079:INFO::Logging
to STDERR via org.mortbay.log.StdErrLog
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.118:INFO::jetty-6.
1.25
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22 10:12:43.332:INFO::NO
JSP S
upport for /, did not find org.apache.jasper.servlet.JspServlet
<a href="tel:2012.06.22%2010" value="+12012062210" target="_blank">2012.06.22 10:12:43 ERROR o.s.s.p.Platform  Unable to determine database
dialect
 to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar
org.sonar.api.utils.SonarException: Unable to determine database dialect to
use
within sonar with dialect null jdbc url jdbc:db2://localhost:50000/sonar
       at
org.sonar.core.persistence.dialect.DialectUtils.find(DialectUtils.jav
a:40) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initDialect(DefaultDatabas
e.java:83) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initSettings(DefaultDataba
se.java:70) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java
:59) ~[sonar-core-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(
ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(Reflect
ionLifecycleStrategy.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.j
ava:169) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Store
d.java:132) ~[picocontainer-2.14.1.jar:na]
       at org.picocontainer.behaviors.Stored.start(Stored.java:110)
~[picoconta
iner-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(Defaul
tPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoConta
iner.java:1002) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.jav
a:760) ~[picocontainer-2.14.1.jar:na]
       at
org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo
ntainer.java:70) ~[sonar-plugin-api-3.1.jar:na]
       at
org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.j
ava:153) ~[classes/:na]
       at org.sonar.server.platform.Platform.init(Platform.java:102)
~[classes/
:na]
       at
org.sonar.server.platform.PlatformLifecycleListener.contextInitialize
d(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)
[jet
ty-6.1.25.jar:6.1.25]
       at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a: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)
[son
ar-application-3.1.jar:na]
       at org.sonar.application.StartServer.main(StartServer.java:48)
[sonar-ap
plication-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java
:290) [wrapper-3.2.3.jar:3.5.14]
       at java.lang.Thread.run(Thread.java:736) [na:1.6.0]
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.000:WARN::Failed s
tartup of context
org.mortbay.jetty.webapp.WebAppContext@39443944{/,file:/usr/lo
cal/cpptmp/sonar/sonar-3.1/war/sonar-server}
INFO   | jvm 1    | 2012/06/22 10:12:44 |
org.sonar.api.utils.SonarException: Un
able to determine database dialect to use within sonar with dialect null
jdbc ur
l jdbc:db2://localhost:50000/sonar
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.di
alect.DialectUtils.find(DialectUtils.java:40)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initDialect(DefaultDatabase.java:83)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initSettings(DefaultDatabase.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.start(DefaultDatabase.java:59)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.injectors.A
bstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.A
bstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored.start(Stored.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.potentiallyStartAdapter(DefaultPicoContainer.java:1009)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.startAdapters(DefaultPicoContainer.java:1002)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.start(DefaultPicoContainer.java:760)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.api.platform.Compon
entContainer.startComponents(ComponentContainer.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.startDatabaseConnectors(Platform.java:153)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.init(Platform.java:102)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.startContext(ContextHandler.java:548)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.servlet.Con
text.startContext(Context.java:136)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.startContext(WebAppContext.java:1272)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.doStart(ContextHandler.java:517)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.doStart(WebAppContext.java:489)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Han
dlerWrapper.doStart(HandlerWrapper.java:130)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.Server.doSt
art(Server.java:224)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.JettyEm
bedder.start(JettyEmbedder.java:72)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.StartSe
rver.main(StartServer.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.tanukisoftware.wrapper.Wr
apperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.Thread.run(Thread.j
ava:736)
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.046:INFO::Started
SelectChannelConnector@...:7071

--
View this message in context: http://sonar.15.n6.nabble.com/Database-dialect-error-tp5000133.html
Sent from the Sonar user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Database dialect error

Patroklos Papapetrou
Hi Spencer

I think that the best db for Sonar is MySql and in IMHO is very memory and cpu friendly. If I were you I would consider it as a choice :)
Regards
Patroklos

2012/6/24 Spencer Yost <[hidden email]>
Thanks - I'm hoping I can take this info to our DBAs and it will convince them to allow us to install postgreSQL on our development server.

Spencer

Sent from my iPhone

On Jun 24, 2012, at 5:37, Freddy Mallet <[hidden email]> wrote:

But in any case, my friendly advise is "don't try to do it" as we won't support you in this effort to make Sonar work with DB2. Indeed the technical JDBC API is the same one but that's not at all the case for the SQL dialect. Internally we've lot of integration tests to really support Derby, MySQL, MsSQL, PostgreSql and Oracle and to detect as soon as possible any regression or performance issue. 

Supporting 5 different DB was probably already a mistake so we're not ready at all to support another DB even with a provided patch. 

Thanks for your understanding.
Freddy

-----
Sonar for Continuous Inspection



On Sat, Jun 23, 2012 at 10:13 AM, Olivier Gaudin <[hidden email]> wrote:
Hi Spencer,

To add a dialect, you are going to need to make a modification to Sonar.

Olivier



On Fri, Jun 22, 2012 at 4:15 PM, Spencer <[hidden email]> wrote:
I searched through the archives and could find anything that was relevant.

I am using sonar 3.1 on a test box.   I was able to get it to work "out of
the box" with very few issues, and I was able to build postgreSQL and get it
to work with postgreSQL as well.

However, long term my DBAs are going to require me to use DB2/UDB.    I
understand this is not supported, but since this is JDBC based , I figured
it could not be too hard.   So I found the right type of connection URI for
UDB and tried it.   I was generally encouraged (figured it would not even
connect or something).   However, I am getting the error:

<a href="tel:2012.06.22%2009" value="+12012062209" target="_blank">2012.06.22 09:51:47 ERROR o.s.s.p.Platform  Unable to determine database
dialect to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar

I am sort of at a loss as to what sonar is expecting and how, through URI
configuration and DB set-up, I can fix it.

ANy thoughts?    I have the full stack below

Thanks!

Spencer

STATUS | wrapper  | 2012/06/22 10:12:41 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2012/06/22 10:12:41 | Java Service Wrapper Community
Edition
 32-bit <a href="tel:3.5.14" value="+333514" target="_blank">3.5.14
STATUS | wrapper  | 2012/06/22 10:12:41 |   Copyright (C) 1999-2011 Tanuki
Softw
are, Ltd. All Rights Reserved.
STATUS | wrapper  | 2012/06/22 10:12:41 |
http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2012/06/22 10:12:41 |
STATUS | wrapper  | 2012/06/22 10:12:42 | Launching a JVM...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: Initializing...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: WARNING - Unable
to lo
ad the Wrapper's native library because none of the
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
following fi
les:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
-aix-ppc-64.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           could be
loc
ated on the following java.library.path:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
/usr/local
/cpptmp/sonar/sonar-3.1/bin/aix/./lib
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           Please
see t
he documentation for the wrapper.java.library.path
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
configuratio
n property.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           System
signa
ls will not be handled correctly.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.079:INFO::Logging
to STDERR via org.mortbay.log.StdErrLog
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.118:INFO::jetty-6.
1.25
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22 10:12:43.332:INFO::NO
JSP S
upport for /, did not find org.apache.jasper.servlet.JspServlet
<a href="tel:2012.06.22%2010" value="+12012062210" target="_blank">2012.06.22 10:12:43 ERROR o.s.s.p.Platform  Unable to determine database
dialect
 to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar
org.sonar.api.utils.SonarException: Unable to determine database dialect to
use
within sonar with dialect null jdbc url jdbc:db2://localhost:50000/sonar
       at
org.sonar.core.persistence.dialect.DialectUtils.find(DialectUtils.jav
a:40) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initDialect(DefaultDatabas
e.java:83) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initSettings(DefaultDataba
se.java:70) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java
:59) ~[sonar-core-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(
ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(Reflect
ionLifecycleStrategy.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.j
ava:169) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Store
d.java:132) ~[picocontainer-2.14.1.jar:na]
       at org.picocontainer.behaviors.Stored.start(Stored.java:110)
~[picoconta
iner-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(Defaul
tPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoConta
iner.java:1002) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.jav
a:760) ~[picocontainer-2.14.1.jar:na]
       at
org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo
ntainer.java:70) ~[sonar-plugin-api-3.1.jar:na]
       at
org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.j
ava:153) ~[classes/:na]
       at org.sonar.server.platform.Platform.init(Platform.java:102)
~[classes/
:na]
       at
org.sonar.server.platform.PlatformLifecycleListener.contextInitialize
d(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)
[jet
ty-6.1.25.jar:6.1.25]
       at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a: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)
[son
ar-application-3.1.jar:na]
       at org.sonar.application.StartServer.main(StartServer.java:48)
[sonar-ap
plication-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java
:290) [wrapper-3.2.3.jar:3.5.14]
       at java.lang.Thread.run(Thread.java:736) [na:1.6.0]
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.000:WARN::Failed s
tartup of context
org.mortbay.jetty.webapp.WebAppContext@39443944{/,file:/usr/lo
cal/cpptmp/sonar/sonar-3.1/war/sonar-server}
INFO   | jvm 1    | 2012/06/22 10:12:44 |
org.sonar.api.utils.SonarException: Un
able to determine database dialect to use within sonar with dialect null
jdbc ur
l jdbc:db2://localhost:50000/sonar
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.di
alect.DialectUtils.find(DialectUtils.java:40)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initDialect(DefaultDatabase.java:83)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initSettings(DefaultDatabase.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.start(DefaultDatabase.java:59)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.injectors.A
bstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.A
bstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored.start(Stored.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.potentiallyStartAdapter(DefaultPicoContainer.java:1009)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.startAdapters(DefaultPicoContainer.java:1002)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.start(DefaultPicoContainer.java:760)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.api.platform.Compon
entContainer.startComponents(ComponentContainer.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.startDatabaseConnectors(Platform.java:153)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.init(Platform.java:102)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.startContext(ContextHandler.java:548)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.servlet.Con
text.startContext(Context.java:136)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.startContext(WebAppContext.java:1272)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.doStart(ContextHandler.java:517)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.doStart(WebAppContext.java:489)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Han
dlerWrapper.doStart(HandlerWrapper.java:130)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.Server.doSt
art(Server.java:224)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.JettyEm
bedder.start(JettyEmbedder.java:72)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.StartSe
rver.main(StartServer.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.tanukisoftware.wrapper.Wr
apperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.Thread.run(Thread.j
ava:736)
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.046:INFO::Started
SelectChannelConnector@...:7071

--
View this message in context: http://sonar.15.n6.nabble.com/Database-dialect-error-tp5000133.html
Sent from the Sonar user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Database dialect error

Evgeny Mandrikov
Hi,

Just my two cents: I don't agree about MySQL and would prefer PostgreSQL ;)

On Sun, Jun 24, 2012 at 11:30 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
Hi Spencer

I think that the best db for Sonar is MySql and in IMHO is very memory and cpu friendly. If I were you I would consider it as a choice :)
Regards
Patroklos

2012/6/24 Spencer Yost <[hidden email]>
Thanks - I'm hoping I can take this info to our DBAs and it will convince them to allow us to install postgreSQL on our development server.

Spencer

Sent from my iPhone

On Jun 24, 2012, at 5:37, Freddy Mallet <[hidden email]> wrote:

But in any case, my friendly advise is "don't try to do it" as we won't support you in this effort to make Sonar work with DB2. Indeed the technical JDBC API is the same one but that's not at all the case for the SQL dialect. Internally we've lot of integration tests to really support Derby, MySQL, MsSQL, PostgreSql and Oracle and to detect as soon as possible any regression or performance issue. 

Supporting 5 different DB was probably already a mistake so we're not ready at all to support another DB even with a provided patch. 

Thanks for your understanding.
Freddy

-----
Sonar for Continuous Inspection



On Sat, Jun 23, 2012 at 10:13 AM, Olivier Gaudin <[hidden email]> wrote:
Hi Spencer,

To add a dialect, you are going to need to make a modification to Sonar.

Olivier



On Fri, Jun 22, 2012 at 4:15 PM, Spencer <[hidden email]> wrote:
I searched through the archives and could find anything that was relevant.

I am using sonar 3.1 on a test box.   I was able to get it to work "out of
the box" with very few issues, and I was able to build postgreSQL and get it
to work with postgreSQL as well.

However, long term my DBAs are going to require me to use DB2/UDB.    I
understand this is not supported, but since this is JDBC based , I figured
it could not be too hard.   So I found the right type of connection URI for
UDB and tried it.   I was generally encouraged (figured it would not even
connect or something).   However, I am getting the error:

<a href="tel:2012.06.22%2009" value="+12012062209" target="_blank">2012.06.22 09:51:47 ERROR o.s.s.p.Platform  Unable to determine database
dialect to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar

I am sort of at a loss as to what sonar is expecting and how, through URI
configuration and DB set-up, I can fix it.

ANy thoughts?    I have the full stack below

Thanks!

Spencer

STATUS | wrapper  | 2012/06/22 10:12:41 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2012/06/22 10:12:41 | Java Service Wrapper Community
Edition
 32-bit <a href="tel:3.5.14" value="+333514" target="_blank">3.5.14
STATUS | wrapper  | 2012/06/22 10:12:41 |   Copyright (C) 1999-2011 Tanuki
Softw
are, Ltd. All Rights Reserved.
STATUS | wrapper  | 2012/06/22 10:12:41 |
http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2012/06/22 10:12:41 |
STATUS | wrapper  | 2012/06/22 10:12:42 | Launching a JVM...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: Initializing...
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager: WARNING - Unable
to lo
ad the Wrapper's native library because none of the
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
following fi
les:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
-aix-ppc-64.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
libwrapper
.a
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           could be
loc
ated on the following java.library.path:
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
/usr/local
/cpptmp/sonar/sonar-3.1/bin/aix/./lib
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           Please
see t
he documentation for the wrapper.java.library.path
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
configuratio
n property.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:           System
signa
ls will not be handled correctly.
INFO   | jvm 1    | 2012/06/22 10:12:42 | WrapperManager:
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.079:INFO::Logging
to STDERR via org.mortbay.log.StdErrLog
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22
10:12:43.118:INFO::jetty-6.
1.25
INFO   | jvm 1    | 2012/06/22 10:12:43 | 2012-06-22 10:12:43.332:INFO::NO
JSP S
upport for /, did not find org.apache.jasper.servlet.JspServlet
<a href="tel:2012.06.22%2010" value="+12012062210" target="_blank">2012.06.22 10:12:43 ERROR o.s.s.p.Platform  Unable to determine database
dialect
 to use within sonar with dialect null jdbc url
jdbc:db2://localhost:50000/sonar
org.sonar.api.utils.SonarException: Unable to determine database dialect to
use
within sonar with dialect null jdbc url jdbc:db2://localhost:50000/sonar
       at
org.sonar.core.persistence.dialect.DialectUtils.find(DialectUtils.jav
a:40) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initDialect(DefaultDatabas
e.java:83) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.initSettings(DefaultDataba
se.java:70) ~[sonar-core-3.1.jar:na]
       at
org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java
:59) ~[sonar-core-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(
ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(Reflect
ionLifecycleStrategy.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.j
ava:169) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Store
d.java:132) ~[picocontainer-2.14.1.jar:na]
       at org.picocontainer.behaviors.Stored.start(Stored.java:110)
~[picoconta
iner-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(Defaul
tPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoConta
iner.java:1002) ~[picocontainer-2.14.1.jar:na]
       at
org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.jav
a:760) ~[picocontainer-2.14.1.jar:na]
       at
org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo
ntainer.java:70) ~[sonar-plugin-api-3.1.jar:na]
       at
org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.j
ava:153) ~[classes/:na]
       at org.sonar.server.platform.Platform.init(Platform.java:102)
~[classes/
:na]
       at
org.sonar.server.platform.PlatformLifecycleListener.contextInitialize
d(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)
[jet
ty-6.1.25.jar:6.1.25]
       at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a: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)
[son
ar-application-3.1.jar:na]
       at org.sonar.application.StartServer.main(StartServer.java:48)
[sonar-ap
plication-3.1.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.
0]
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:48) ~[na:1.6.0]
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25) ~[na:1.6.0]
       at java.lang.reflect.Method.invoke(Method.java:600) ~[na:1.6.0]
       at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java
:290) [wrapper-3.2.3.jar:3.5.14]
       at java.lang.Thread.run(Thread.java:736) [na:1.6.0]
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.000:WARN::Failed s
tartup of context
org.mortbay.jetty.webapp.WebAppContext@39443944{/,file:/usr/lo
cal/cpptmp/sonar/sonar-3.1/war/sonar-server}
INFO   | jvm 1    | 2012/06/22 10:12:44 |
org.sonar.api.utils.SonarException: Un
able to determine database dialect to use within sonar with dialect null
jdbc ur
l jdbc:db2://localhost:50000/sonar
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.di
alect.DialectUtils.find(DialectUtils.java:40)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initDialect(DefaultDatabase.java:83)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.initSettings(DefaultDatabase.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.core.persistence.De
faultDatabase.start(DefaultDatabase.java:59)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.lifecycle.R
eflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.injectors.A
bstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.A
bstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.behaviors.S
tored.start(Stored.java:110)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.potentiallyStartAdapter(DefaultPicoContainer.java:1009)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.startAdapters(DefaultPicoContainer.java:1002)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.picocontainer.DefaultPico
Container.start(DefaultPicoContainer.java:760)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.api.platform.Compon
entContainer.startComponents(ComponentContainer.java:70)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.startDatabaseConnectors(Platform.java:153)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tform.init(Platform.java:102)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.server.platform.Pla
tformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.startContext(ContextHandler.java:548)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.servlet.Con
text.startContext(Context.java:136)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.startContext(WebAppContext.java:1272)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Con
textHandler.doStart(ContextHandler.java:517)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.webapp.WebA
ppContext.doStart(WebAppContext.java:489)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.handler.Han
dlerWrapper.doStart(HandlerWrapper.java:130)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.jetty.Server.doSt
art(Server.java:224)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.mortbay.component.Abstrac
tLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.JettyEm
bedder.start(JettyEmbedder.java:72)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.sonar.application.StartSe
rver.main(StartServer.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.NativeMethodAcces
sorImpl.invoke(NativeMethodAccessorImpl.java:48)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
sun.reflect.DelegatingMethodA
ccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.reflect.Method.invo
ke(Method.java:600)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
org.tanukisoftware.wrapper.Wr
apperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2012/06/22 10:12:44 |       at
java.lang.Thread.run(Thread.j
ava:736)
INFO   | jvm 1    | 2012/06/22 10:12:44 | 2012-06-22
10:12:44.046:INFO::Started
SelectChannelConnector@...:7071

--
View this message in context: http://sonar.15.n6.nabble.com/Database-dialect-error-tp5000133.html
Sent from the Sonar user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email








--
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_
Loading...