[jboss-cvs] JBossAS SVN: r57883 - trunk/ejb3/src/main/org/jboss/ejb3/deployers

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 27 01:21:56 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-10-27 01:21:51 -0400 (Fri, 27 Oct 2006)
New Revision: 57883

Modified:
   trunk/ejb3/src/main/org/jboss/ejb3/deployers/JBoss5DeploymentScope.java
Log:
Use the deployment vfs path name as the short name as the url form is an invalid jmx name.

Modified: trunk/ejb3/src/main/org/jboss/ejb3/deployers/JBoss5DeploymentScope.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/ejb3/deployers/JBoss5DeploymentScope.java	2006-10-27 05:14:45 UTC (rev 57882)
+++ trunk/ejb3/src/main/org/jboss/ejb3/deployers/JBoss5DeploymentScope.java	2006-10-27 05:21:51 UTC (rev 57883)
@@ -44,7 +44,8 @@
 
    public JBoss5DeploymentScope(DeploymentContext parent)
    {
-      this.shortName = parent.getName();
+      // Use the root vfs path name
+      this.shortName = parent.getRoot().getPathName();
       // this is a hack because VFS has gay URL name.
       if (shortName.endsWith("!/"))
       {




More information about the jboss-cvs-commits mailing list