Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 72875 invoked from network); 8 Apr 2011 07:31:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 07:31:53 -0000 Received: (qmail 68661 invoked by uid 500); 8 Apr 2011 07:31:52 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 68611 invoked by uid 500); 8 Apr 2011 07:31:50 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 68604 invoked by uid 99); 8 Apr 2011 07:31:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 07:31:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 07:31:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B003298EFD for ; Fri, 8 Apr 2011 07:31:05 +0000 (UTC) Date: Fri, 8 Apr 2011 07:31:05 +0000 (UTC) From: "Jacky Liu (JIRA)" To: dev@geronimo.apache.org Message-ID: <1989801778.43229.1302247865717.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1822717969.40039.1302159785686.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (GERONIMO-5890) DBInitialization did not start because SQL resource file not found MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.(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.(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