geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6124) spring sample "task-basic" can't be deployed successfully because no deployer is able to handle it
Date Thu, 25 Aug 2011 14:12:28 GMT

    [ 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 <spring.version>3.0.0.RELEASE</spring.version>
to <spring.version>3.0.6.RELEASE</spring.version>
> 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

        

Mime
View raw message