Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2C7C73D7 for ; Thu, 25 Aug 2011 14:12:54 +0000 (UTC) Received: (qmail 97886 invoked by uid 500); 25 Aug 2011 14:12:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 97452 invoked by uid 500); 25 Aug 2011 14:12:53 -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 97444 invoked by uid 99); 25 Aug 2011 14:12:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 14:12:53 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,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; Thu, 25 Aug 2011 14:12:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 76814CFF42 for ; Thu, 25 Aug 2011 14:12:28 +0000 (UTC) Date: Thu, 25 Aug 2011 14:12:28 +0000 (UTC) From: "Kevan Miller (JIRA)" To: dev@geronimo.apache.org Message-ID: <1983030175.13659.1314281548482.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <170796302.12765.1314260789226.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GERONIMO-6124) spring sample "task-basic" can't be deployed successfully because no deployer is able to handle it 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-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091027#comment-13091027 ] Kevan Miller commented on GERONIMO-6124: ---------------------------------------- task-basic is a Java SE jar. It's meant to be run as a main() method (e.g. java -cp target/org.springframework.samples.task.basic-1.0.0-SNAPSHOT.jar org.springframework.samples.task.basic.annotation.AnnotationDemo). So, there's nothing that an app server is going to do with the jar... That error message could be updated a bit to possibly make things clearer... In this case, there is no "J2EE descriptor". Should change that to Java EE and message should take OSGi into account, also. > spring sample "task-basic" can't be deployed successfully because no deployer is able to handle it > -------------------------------------------------------------------------------------------------- > > Key: GERONIMO-6124 > URL: https://issues.apache.org/jira/browse/GERONIMO-6124 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0 > Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20110203_74623 (JIT enabled, AOT enabled) > Reporter: Tina Li > Priority: Minor > > 1.Use Aug 23 build of Geronimo server,start the server if it's not started > 2.Download spring sample from svn: https://src.springframework.org/svn/spring-samples > 3.According to sample named "task-basic", modify the pom.xml file which under trunk folder: Change the element of spring vesion from 3.0.0.RELEASE to 3.0.6.RELEASE > 4.Build this sample successfully using cmd : mvn clean package, then can find the application: org.springframework.samples.task.basic-1.0.0-SNAPSHOT.jar under \task-basic\trunk\target folder > 5.Deploy this application via admin console, but find this application can'be deployed and the error message displayed: > The application was not deployed. > Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (moduleFile=D:\testServer\0823\geronimo-tomcat7-javaee6-3.0-SNAPSHOT-bin\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer7355734105222365838.tmpdir\org.springframework.samples.task.basic-1.0.0-SNAPSHOT.jar) > org.apache.geronimo.common.DeploymentException: Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (moduleFile=D:\testServer\0823\geronimo-tomcat7-javaee6-3.0-SNAPSHOT-bin\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer7355734105222365838.tmpdir\org.springframework.samples.task.basic-1.0.0-SNAPSHOT.jar) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:243) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > at java.lang.reflect.Method.invoke(Method.java:611) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) > at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:736) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira