You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Łukasz Budnik (JIRA)" <ji...@apache.org> on 2010/01/04 14:53:54 UTC
[jira] Created: (GERONIMO-5012) "Redeploy application" in Web
console does not work (G2.2)
"Redeploy application" in Web console does not work (G2.2)
----------------------------------------------------------
Key: GERONIMO-5012
URL: https://issues.apache.org/jira/browse/GERONIMO-5012
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Environment: G 2.2 with Tomcat 6, Windows XP, Java 6
Reporter: Łukasz Budnik
Priority: Minor
When using http://localhost/console/portal/Applications/Deploy%20New to redeploy the application I keep getting the following message:
Unable to identify modules to replace. Check if it has already been stopped or undeployed.
null
(no exceptions logged in geronimo.out)
I have to uninstall the application using http://localhost/console/portal/Applications/Web%20App%20WARs or http://localhost/console/portal/Applications/EJB%20JARs and then deploy it from the scratch.
not a blocker, but quite annoying.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5012) "Redeploy application" in Web
console does not work (G2.2)
Posted by "Łukasz Budnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796574#action_12796574 ]
Łukasz Budnik commented on GERONIMO-5012:
-----------------------------------------
Hi Ivan,
I use Geronimo deployment plan. I know that if you don't provide groupId and artifactId it will be generated using timestamp.
But I set it.
On EJB Jars page I see:
org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car
when I try to deploy the application without checking "Redeploy application" option I get the following message:
The application was not deployed.
Module org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car already exists in the server. Try to undeploy it first or use the redeploy command.
org.apache.geronimo.common.DeploymentException: Module org.xh.studies.ws.ejb/secure-ejb-web-service/0.0.1-SNAPSHOT/car already exists in the server. Try to undeploy it first or use the redeploy command.
at org.apache.geronimo.deployment.Deployer.getConfigID(Deployer.java:313)
...
...
...
When I check "Redeploy application" I get:
Unable to identify modules to replace. Check if it has already been stopped or undeployed.
null
To reproduce this issue you can use the Maven project I attached to issue 5011.
thanks,
Łukasz
> "Redeploy application" in Web console does not work (G2.2)
> ----------------------------------------------------------
>
> Key: GERONIMO-5012
> URL: https://issues.apache.org/jira/browse/GERONIMO-5012
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Environment: G 2.2 with Tomcat 6, Windows XP, Java 6
> Reporter: Łukasz Budnik
> Priority: Minor
>
> When using http://localhost/console/portal/Applications/Deploy%20New to redeploy the application I keep getting the following message:
> Unable to identify modules to replace. Check if it has already been stopped or undeployed.
> null
> (no exceptions logged in geronimo.out)
> I have to uninstall the application using http://localhost/console/portal/Applications/Web%20App%20WARs or http://localhost/console/portal/Applications/EJB%20JARs and then deploy it from the scratch.
> not a blocker, but quite annoying.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5012) "Redeploy application" in Web
console does not work (G2.2)
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797010#action_12797010 ]
Ivan commented on GERONIMO-5012:
--------------------------------
Hi, Łukasz
It is a bug in Geronimo, and I think it should exist for a long time. However, you could add a empty ejb-jar.xml file in the META-INF folder to workaround it. The reason is that Geronimo finds the module ID according to the standard Java EE deployment file it finds. e.g. Once it found a ejb-jar.xml in the META-INF folder, it would check the openejb-jar.xml file. But in EJB 3.0, ejb-jar.xml is not a must file.
Thanks for pointing it out !
Ivan
> "Redeploy application" in Web console does not work (G2.2)
> ----------------------------------------------------------
>
> Key: GERONIMO-5012
> URL: https://issues.apache.org/jira/browse/GERONIMO-5012
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Environment: G 2.2 with Tomcat 6, Windows XP, Java 6
> Reporter: Łukasz Budnik
> Priority: Minor
>
> When using http://localhost/console/portal/Applications/Deploy%20New to redeploy the application I keep getting the following message:
> Unable to identify modules to replace. Check if it has already been stopped or undeployed.
> null
> (no exceptions logged in geronimo.out)
> I have to uninstall the application using http://localhost/console/portal/Applications/Web%20App%20WARs or http://localhost/console/portal/Applications/EJB%20JARs and then deploy it from the scratch.
> not a blocker, but quite annoying.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5012) "Redeploy application" in Web
console does not work (G2.2)
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796192#action_12796192 ]
Ivan commented on GERONIMO-5012:
--------------------------------
I guess that you did not provide a Geronimo specific deployment plan in your web application, for Geronimo use a Maven like name to identify the application, if not provided, Geronimo could not know which application it needs to stop.
> "Redeploy application" in Web console does not work (G2.2)
> ----------------------------------------------------------
>
> Key: GERONIMO-5012
> URL: https://issues.apache.org/jira/browse/GERONIMO-5012
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Environment: G 2.2 with Tomcat 6, Windows XP, Java 6
> Reporter: Łukasz Budnik
> Priority: Minor
>
> When using http://localhost/console/portal/Applications/Deploy%20New to redeploy the application I keep getting the following message:
> Unable to identify modules to replace. Check if it has already been stopped or undeployed.
> null
> (no exceptions logged in geronimo.out)
> I have to uninstall the application using http://localhost/console/portal/Applications/Web%20App%20WARs or http://localhost/console/portal/Applications/EJB%20JARs and then deploy it from the scratch.
> not a blocker, but quite annoying.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.