Hi! We are installing cocoon 2.0.2 on jakarta tomcat 3.3a (as a war file), all on a netware server. The JVM version is 1.3.1 (recently upgraded from 1.1.7b). When we are trying to access cocoon servlet to test it at the URL http://host:8080/cocoon/ we get this message:
javax.servlet.ServletException: Unable to determine servlet context URL. at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:269) at org.apache.tomcat.facade.ServletHandler.doInit(Unknown Source) at org.apache.tomcat.facade.ServletHandler.init(Unknown Source) at org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(Unknown Source) at org.apache.tomcat.core.Context.init(Unknown Source) at org.apache.tomcat.core.ContextManager.init(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source) at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source) at org.apache.tomcat.startup.Main.execute(Unknown Source) at org.apache.tomcat.startup.Main.main(Unknown Source) Root cause: java.net.MalformedURLException: unknown protocol: sys at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:264) at org.apache.tomcat.facade.ServletHandler.doInit(Unknown Source) at org.apache.tomcat.facade.ServletHandler.init(Unknown Source) at org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(Unknown Source) at org.apache.tomcat.core.Context.init(Unknown Source) at org.apache.tomcat.core.ContextManager.init(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source) at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown Source) at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source) at org.apache.tomcat.startup.Main.execute(Unknown Source) at org.apache.tomcat.startup.Main.main(Unknown Source) We get the source code of "CocoonServlet.java" at lines 264 and 269, and the code is : try { if (path.indexOf(':') > 1) { this.servletContextURL = new URL(path); } else { this.servletContextURL = (new File(path)).toURL(); } } catch (java.net.MalformedURLException me) { throw new ServletException("Unable to determine servlet context URL.", me); } When we inspect the log file "access.log" it has the line: DEBUG (2002-04-04) 18:23.13:178 [access](Unknown-URI) Unknown-thread/CocoonServlet: getRealPath for /: SYS:\jakarta-tomcat-3.3a\webapps\cocoon\ Finally, and having all this information, it seems cocoon is unable of translate the real path to a context URL. You know how we can solve this? The problem is caused by "netware and its caracteristic path"? May we install an old version of cocoon, as a servlet on tomcat, insteat of a web application ? Thanx a lot! -- Adolfo Amo Tčcnic Mitjā Serveis Informātics Distribuīts Facultat de Cičncies --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>