geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacky Liu (JIRA)" <>
Subject [jira] [Created] (GERONIMO-5903) bank:DB Initialization Failure
Date Thu, 14 Apr 2011 09:04:05 GMT
bank:DB Initialization Failure

                 Key: GERONIMO-5903
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: sample apps
    Affects Versions: 3.0
         Environment: Windows XP SP3 x86
sun jdk 1.6.0_23
Geronimo build on 20110411
            Reporter: Jacky Liu
            Priority: Minor

1. start Geronimo v3.0 server
2. input "deploy deploy ..\repo\org\tranql\tranql-connector-derby-embed-xa\1.7\tranql-connector-derby-embed-xa-1.7.rar
..\WASCE-sample-datasource\src\main\plan\plan.xml" in cmd
3. input "deploy deploy ..\bank\bank-ear\target\bank-ear-" in cmd
4. go to "http://localhost:8080/bank/" and click on "View Exchange Rates"
5. Error Occured !!!

That means database hasn't been set up.


a. Create DB: BankDB use Geronimo console
b. Use DB: BankDB and Run SQL commands use Geronimo console. SQL commands can be found in
c. go to "http://localhost:8080/bank/" and click on "View Exchange Rates"
d. Exchange Rates CAN BE FOUND

Steps a~d mean View Exchange Rates works well.

I think something may be wrong with at least one of the following sections:

1. tranql-connector-ra-1.6.rar
2. bank-ear\..\BankPool.xml:

	<config-property-setting name="ConnectionURL">jdbc:derby:BankDB</config-property-setting>
3. dd\BankDB.sql
4. bank-ejb\..\persistence.xml

That's all I know and I hope it will be helpful!

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message