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?
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 :
won't do, but
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,
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.