2009/7/21 Tomas Pollak <[email protected]>: > Hello all, > > I'm having a problem with the maven-tomcat-plugin. > My web application uses RMI to call a server. When I deploy to a standalone > Tomcat (installation path with or without spaces) it works. > However, when I start the application with mvn tomcat:run, the RMI call > fails with this message: > > MalformedURLException: unkown protocol: and > > By debugging the java.rmi.server.RMIClassLoader.newDefaultProviderInstance() > method I've noticed that the URLs for the codebase are not escaped if the > jar paths contain spaces. > > The strange thing is that the maven-jetty-plugin works, even when debugging > the spaces in the URLs are escaped. So this is apparently related to the > maven-tomcat-plugin. > > I've already posted a message in the Tomcat users list, but didn't get much > help there > (http://www.nabble.com/RMI-call-fails-when-URL-contain-spaces-td24580827.html). > > Could someone confirm if this is a bug, or if there is a workaround?
I haven't heard of this one before. First step would be to raise an issue and attach a project that demonstrates the problem here: http://jira.codehaus.org/browse/MTOMCAT Mark --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
