-
1. Re: java.net.MalformedURLException from Turbine
normann Oct 4, 2001 2:06 PM (in response to cisbrh)I've received the same kind of exception trying to look up an EJB home interface from an initial context in a Cocoon 2 XSP page under Tomcat 4.0. It said:
java.net.MalformedURLException: unknown protocol: Tomcat
Does anyone have any idea what I'm doing wrong? -
2. Re: java.net.MalformedURLException from Turbine
roytruelove Nov 9, 2001 4:16 PM (in response to cisbrh)Hey guys,
I've been told that this is a JVM bug. I find that hard to believe, because I would assume that it would happen more often. I'm having the same problem. What does work, is to move the directory of Turbine, or Tomcat, or whatever your client is sitting on to a directory with no spaces. IE :
c:\program files\tomcat
won't do, but
c:\tomcat
should be fine. It's the spaces that the URL parser has a problem with. When or how this will be fixed (?) who knows.
Take it easy,
Roy -
3. Re: java.net.MalformedURLException from Turbine
riverfour Nov 14, 2001 3:21 PM (in response to cisbrh)You are the man. I just moved the Tomcat under "Program Files" to the root as a folder "Tomcat", and everything is working. I used to encounter MalformedURLException to contact a UNIX server's RMI port. Sun should fix this bug.
Thanks a lot.