On 2002.02.22 18:15:10 -0500 Adrian Brock wrote: > Yet again the windows file url rears it ugly head :-) > > This time it is in EJBDeployer. > The ejbmodule has had it's ObjectName changed to > include the url.getPath();
Actually the ejb module used to be called Application and wasn't an mbean at all. > > On windows this url is > /C:/some/path/myapp.jar > > The : means the ObjectName is invalid and nothing deploys :-( > > Is this data informational? Can we just strip the > drive part? yes. Will do. I want to assure uniqueness: there's nothing stopping someone from deploying 2 different jars with the same name but different urls. I noticed url.toString didn't work because of the file: or whatever protocol, but forgot about windows.. How about replacing all : with say % in the url string? Or is there a better idea? An id number? Are there any other illegal characters in object names? david jencks > > Regards, > Adrian > > _________________________________________________________ > View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=9433 > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development