This is fixed.
Cause :  3.0.1  is supposed to use  h2  version  1.1.112. But 
orbit/pom.xml has a <scope>compile</scope> tag which enforces build to 
use 1.1.112, only during compilation. During runtime if there exists 
later version of h2, it will be picked up. I guess, people who have 
built trunk has a later version of h2 than 1.1.112. (I am having 
1.2.140). Seems to be 1.2.140 is not compatible with the script 
execution in 3.0.1. Therefore tables were not created during 
core/distribution build. Anyhow i didnt find a specific reason for not 
creating tables with 1.2.140.
As a resolution i removed <scope> tag from orbit/pom.xml for h2 dependency.

Thanks
AmilaJ


Amila Jayasekara wrote:
> Hi,
>    I will look into this issue.
> Thanks
> AmilaJ
>
> Rajika Kumarasiri wrote:
>> I faced with the same issue.
>>
>> Rajika
>>
>> On Wed, Sep 1, 2010 at 5:19 PM, Isuru Suriarachchi <[email protected] 
>> <mailto:[email protected]>> wrote:
>>
>>     Hi all,
>>
>>     I'm getting the following DB creation issue on Carbon core 3.0.1
>>     startup..
>>
>>     [2010-09-01 17:12:42,714] ERROR -  Database Error - Table
>>     UM_DIALECT not found; SQL statement:
>>     SELECT COUNT(UM_ID) FROM UM_DIALECT WHERE UM_TENANT_ID=? [42102-112]
>>     org.h2.jdbc.JdbcSQLException: Table UM_DIALECT not found; SQL
>>     statement:
>>     SELECT COUNT(UM_ID) FROM UM_DIALECT WHERE UM_TENANT_ID=? [42102-112]
>>         at org.h2.message.Message.getSQLException(Message.java:107)
>>         at org.h2.message.Message.getSQLException(Message.java:118)
>>         at org.h2.message.Message.getSQLException(Message.java:77)
>>         at org.h2.command.Parser.readTableOrView(Parser.java:4259)
>>         at org.h2.command.Parser.readTableFilter(Parser.java:972)
>>         at
>>     org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1503)
>>
>>     But it starts up properly with -Dsetup option..
>>
>>     Thanks,
>>     ~Isuru
>>
>>     --     Isuru Suriarachchi
>>     Technical Lead & Product Manager, WSO2 Web Services Application 
>> Server
>>     WSO2 Inc. http://wso2.com
>>     email : [email protected] <mailto:[email protected]>
>>     blog : http://isurues.wordpress.com/
>>
>>     lean . enterprise . middleware
>>
>>
>>     _______________________________________________
>>     Carbon-dev mailing list
>>     [email protected] <mailto:[email protected]>
>>     https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>   
>
>


_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to