At 08:51 AM 07/27/2000 +0200, you wrote:
>Hi!
>
>Ken Jenks wrote:
> > >java.net.MalformedURLExcption: no protocol:Files/jboss2/lib/ext/jboss.jar]
> >
> > That means you've installed jBoss in C:\Program Files\jboss2 (the default
> > location) and the space in the URL is throwing off the whole URL. Try
> > installing in a different directory (like C:\jboss2\) or using "progra~1"
> > instead of "Program Files".
>
>I guess most of this could be fixed by changing the way the
>ClassPathExtension MBean adds URL's. Currently it does
>getCanonicalFile() on the name, hence removing any ".." in order to get
>the absolute filename. Remove that and it should work fine.
>
>Another way would be to, as Kalle suggested, use java.net.URLEncoder on
>the filename before turning it into a URL. Of course this should be done
>by java.io.File.toURL(), but this doesn't seem to be the case.

Bug 162 posted.

-- Ken Jenks, http://abiblion.com/

    Tools for reading.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to