[jboss-jira] [JBoss JIRA] Commented: (JBAS-5640) Wars embedded in sars have discrepencies in deployment Name
Charles Crouch (JIRA)
jira-events at lists.jboss.org
Tue Nov 25 19:04:36 EST 2008
[ https://jira.jboss.org/jira/browse/JBAS-5640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439752#action_12439752 ]
Charles Crouch commented on JBAS-5640:
--------------------------------------
I'm seeing this as of r81421for certain .wars and jboss-service.xml.
Here is the class doing the logging is http://anonsvn.jboss.org/repos/jopr/trunk/modules/plugins/jboss-as-5/src/main/java/org/rhq/plugins/jbossas5/ManagedDeploymentDiscoveryComponent.java
17:53:46,234 INFO [DeploymentResourceDiscoveryComponent] Discovering Web Application (WAR) Resources...
17:53:46,250 ERROR [DeploymentResourceDiscoveryComponent] ManagementView.getDeploymentNamesForType() returned [vfsfile:/C:/u
sr/apps/jboss/jboss-5.0.0.r81421/server/default/deploy/jbossws.sar/jbossws-management.war/] as a deployment name, but callin
g getDeployment() with that name failed.
17:53:46,265 ERROR [DeploymentResourceDiscoveryComponent] ManagementView.getDeploymentNamesForType() returned [vfsfile:/C:/u
sr/apps/jboss/jboss-5.0.0.r81421/server/default/deploy/http-invoker.sar/invoker.war/] as a deployment name, but calling getD
eployment() with that name failed.
17:53:46,265 ERROR [DeploymentResourceDiscoveryComponent] ManagementView.getDeploymentNamesForType() returned [vfsfile:/C:/u
sr/apps/jboss/jboss-5.0.0.r81421/server/default/deploy/management/console-mgr.sar/web-console.war/] as a deployment name, bu
t calling getDeployment() with that name failed.
17:53:46,265 INFO [DeploymentResourceDiscoveryComponent] Discovered 3 Web Application (WAR) Resources.
17:53:46,265 INFO [DeploymentResourceDiscoveryComponent] Discovering EJB Application (JAR) Resources...
17:53:46,265 INFO [DeploymentResourceDiscoveryComponent] Discovered 0 EJB Application (JAR) Resources.
17:53:46,281 INFO [DeploymentResourceDiscoveryComponent] Discovering JBoss Service (SAR) Resources...
17:53:46,312 ERROR [DeploymentResourceDiscoveryComponent] ManagementView.getDeploymentNamesForType() returned [vfsfile:/C:/u
sr/apps/jboss/jboss-5.0.0.r81421/server/default/conf/jboss-service.xml] as a deployment name, but calling getDeployment() wi
th that name failed.
> Wars embedded in sars have discrepencies in deployment Name
> -----------------------------------------------------------
>
> Key: JBAS-5640
> URL: https://jira.jboss.org/jira/browse/JBAS-5640
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: ProfileService
> Affects Versions: JBossAS-5.0.0.Beta4
> Reporter: Mark Spritzler
>
> When receiving the Collection of deploymentNames from the mgtView by deployment type, the wars that are returned that are embedded within sars, maybe other types, the String in the collection will have a "/" at the end of the string. Then if you use the ManagementView.getDeployment with that String, it will return null and not find the ManagedDeployment objects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list