Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 71245 invoked from network); 17 Apr 2008 16:00:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 16:00:35 -0000 Received: (qmail 18034 invoked by uid 500); 17 Apr 2008 16:00:34 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 17986 invoked by uid 500); 17 Apr 2008 16:00:34 -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 17975 invoked by uid 99); 17 Apr 2008 16:00:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 09:00:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 15:59:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C0DAF234C0DA for ; Thu, 17 Apr 2008 08:57:21 -0700 (PDT) Message-ID: <1227842300.1208447841788.JavaMail.jira@brutus> Date: Thu, 17 Apr 2008 08:57:21 -0700 (PDT) From: "Donald Woods (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-3466) car-maven-plugin can not generate server plugin which includes EJB In-Reply-To: <6886026.1189478609727.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated GERONIMO-3466: ----------------------------------- Affects Version/s: 2.2 2.1.x 2.1.1 2.0.x 2.1 Fix Version/s: (was: 2.0.x) > car-maven-plugin can not generate server plugin which includes EJB > ------------------------------------------------------------------ > > Key: GERONIMO-3466 > URL: https://issues.apache.org/jira/browse/GERONIMO-3466 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: car-maven-plugin > Affects Versions: 2.0.1, 2.0.x, 2.1, 2.1.1, 2.1.x, 2.2 > Reporter: YunFeng Ma > Assignee: David Jencks > Attachments: calculator-stateless-ear.zip > > > openejb-deployer configuration depends on openejb configuration, and openejb configuration depends on j2ee-server configuration. That means car-maven-plugin has to start all the depended configurations, not only the openejb-deployer configuration. This caused the following error. > {code} > [INFO] Scanning for projects... > [INFO] ------------------------------------------------------------------------- > --- > [INFO] Building daytrader-derby-tomcat > [INFO] task-segment: [install] > [INFO] ------------------------------------------------------------------------- > --- > [INFO] [dependency:unpack {execution: unpack-distribution}] > [INFO] Configured Artifact: org.apache.geronimo.daytrader:daytrader-ear:2.0:ear > [INFO] daytrader-ear-2.0.ear already unpacked. > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [car:prepare-plan] > [INFO] Generated: F:\WASCE\samples_v2\plugins\daytrader-derby-tomcat\target\plan > \plan.xml > log4j:WARN No appenders could be found for logger (org.codehaus.mojo.pluginsuppo > rt.logging.Logging). > log4j:WARN Please initialize the log4j system properly. > [INFO] [car:package] > [INFO] Packaging module configuration: F:\WASCE\samples_v2\plugins\daytrader-der > by-tomcat\target\plan\plan.xml > [INFO] ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] start of org.apache.geronimo.configs/openejb-deployer/2.0.1/car failed > Configuration org.apache.geronimo.configs/j2ee-system/2.0.1/car failed to start > due to the following reasons: > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=GBean,name=ServerInfo did not start because Could not determine geronimo > installation directory > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=Repository,name=Repository did not start because org.apache.geronimo.conf > igs/j2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/ > 2.0.1/car,j2eeType=GBean,name=ServerInfo did not start. > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=ConfigurationStore,name=Local did not start because org.apache.geronimo.c > onfigs/j2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-syst > em/2.0.1/car,j2eeType=Repository,name=Repository did not start. > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=AttributeStore,name=AttributeManager did not start because org.apache.ger > onimo.configs/j2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2 > ee-system/2.0.1/car,j2eeType=GBean,name=ServerInfo did not start. > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=ArtifactResolver,name=ArtifactResolver did not start because org.apache.g > eronimo.configs/j2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/ > j2ee-system/2.0.1/car,j2eeType=GBean,name=ServerInfo did not start. > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=ConfigurationManager,name=ConfigurationManager did not start because the > following dependent services did not start: [org.apache.geronimo.configs/j2ee-sy > stem/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j > 2eeType=ArtifactResolver,name=ArtifactResolver, org.apache.geronimo.configs/j2ee > -system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/ca > r,j2eeType=AttributeStore,name=AttributeManager] > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=SystemLog,name=Logger did not start because org.apache.geronimo.configs/j > 2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1 > /car,j2eeType=GBean,name=ServerInfo did not start. > [INFO] ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: start of org.apache.gero > nimo.configs/openejb-deployer/2.0.1/car failed > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:564) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:480) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:459) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:278) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:143) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:64) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoExecutionException: start of org.apache.g > eronimo.configs/openejb-deployer/2.0.1/car failed > at org.codehaus.mojo.pluginsupport.MojoSupport.execute(MojoSupport.java: > 137) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:443) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:539) > ... 16 more > Caused by: org.apache.geronimo.kernel.config.LifecycleException: start of org.ap > ache.geronimo.configs/openejb-deployer/2.0.1/car failed > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon > figuration(SimpleConfigurationManager.java:547) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon > figuration(SimpleConfigurationManager.java:511) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla > ssByCGLIB$$ce77a924.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod > Invoker.java:38) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio > n.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. > java:830) > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5 > 7) > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat > ionInvoker.java:35) > at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro > xyMethodInterceptor.java:96) > at org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGL > IB$$c499ccca.startConfiguration() > at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(Package > Mojo.java:479) > at org.apache.geronimo.mavenplugins.car.PackageMojo.doExecute(PackageMoj > o.java:302) > at org.codehaus.mojo.pluginsupport.MojoSupport.execute(MojoSupport.java: > 122) > ... 18 more > Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown sta > rt exception > at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio > nGBeans(ConfigurationUtil.java:514) > at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke > rnelConfigurationManager.java:187) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon > figuration(SimpleConfigurationManager.java:530) > ... 31 more > Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuratio > n org.apache.geronimo.configs/j2ee-system/2.0.1/car failed to start due to the f > ollowing reasons: > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=GBean,name=ServerInfo did not start because Could not determine geronimo > installation directory > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=Repository,name=Repository did not start because org.apache.geronimo.conf > igs/j2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/ > 2.0.1/car,j2eeType=GBean,name=ServerInfo did not start. > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=ConfigurationStore,name=Local did not start because org.apache.geronimo.c > onfigs/j2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-syst > em/2.0.1/car,j2eeType=Repository,name=Repository did not start. > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=AttributeStore,name=AttributeManager did not start because org.apache.ger > onimo.configs/j2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2 > ee-system/2.0.1/car,j2eeType=GBean,name=ServerInfo did not start. > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=ArtifactResolver,name=ArtifactResolver did not start because org.apache.g > eronimo.configs/j2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/ > j2ee-system/2.0.1/car,j2eeType=GBean,name=ServerInfo did not start. > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=ConfigurationManager,name=ConfigurationManager did not start because the > following dependent services did not start: [org.apache.geronimo.configs/j2ee-sy > stem/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j > 2eeType=ArtifactResolver,name=ArtifactResolver, org.apache.geronimo.configs/j2ee > -system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/ca > r,j2eeType=AttributeStore,name=AttributeManager] > The service ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1/car,j2 > eeType=SystemLog,name=Logger did not start because org.apache.geronimo.configs/j > 2ee-system/2.0.1/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/2.0.1 > /car,j2eeType=GBean,name=ServerInfo did not start. > at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio > nGBeans(ConfigurationUtil.java:477) > ... 33 more > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.