geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacky Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GERONIMO-5890) DBInitialization did not start because SQL resource file not found
Date Fri, 08 Apr 2011 07:31:05 GMT

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

Jacky Liu updated GERONIMO-5890:
--------------------------------

    Description: 
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


  was:
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

Same error occured when I tried to deploy customer-ear-3.0-SNAPSHOT.ear and DataCDInfo-ear-3.0-SNAPSHOT.ear



> 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
>            Priority: Minor
>              Labels: samples
>         Attachments: bank-ear-3.0-SNAPSHOT.ear
>
>
> 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

Mime
View raw message