You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <ji...@apache.org> on 2011/05/23 07:22:47 UTC

[jira] [Reopened] (GERONIMO-5890) DBInitialization did not start because SQL resource file not found

     [ https://issues.apache.org/jira/browse/GERONIMO-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Xia reopened GERONIMO-5890:
-----------------------------------

      Assignee: Forrest Xia

The proposed resolution is just a workaround for this issue. I will make another resolution.

> DBInitialization did not start because SQL resource file not found
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-5890
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5890
>             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 20110407
>            Reporter: Jacky Liu
>            Assignee: Forrest Xia
>            Priority: Minor
>              Labels: samples
>             Fix For: 3.0
>
>         Attachments: bank-ear-3.0-SNAPSHOT.ear, solution.patch
>
>
> 1. cd ...\samples\trunk\samples\javaee5\bank\bank-ear and mvn clean install -> successful
> 2. deploy bank-ear-3.0-SNAPSHOT.ear on geronimo using geronimo console -> successful but can't start bank-ear-3.0-SNAPSHOT.car
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.samples/bank-ear/3.0-SNAPSHOT/car failed to start due to the following reasons:
>   The service J2EEApplication=org.apache.geronimo.samples/bank-ear/3.0-SNAPSHOT/car,j2eeType=GBean,name=DBInitialization did not start because SQL resource file not found: BankDB.sql
> java.lang.Exception: SQL resource file not found: BankDB.sql
> at org.apache.geronimo.connector.wrapper.DatabaseInitializationGBean.getSQLInput(DatabaseInitializationGBean.java:136)
> at org.apache.geronimo.connector.wrapper.DatabaseInitializationGBean.<init>(DatabaseInitializationGBean.java:85)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)
> at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:933)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
> at java.lang.Thread.run(Thread.java:662)
> Same error occured when I tried to deploy customer-ear-3.0-SNAPSHOT.ear and DataCDInfo-ear-3.0-SNAPSHOT.ear

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira