You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Joerg Heinicke <jh...@virbus.de> on 2003/11/26 21:33:31 UTC

Linotype stopped working

The Linotype sample in our CVS does no longer work:

uncaught JavaScript exception: at main 
(file:/D:/cocoon-2.1/build/webapp/samples/linotype/flow.js, Line 33) at 
login (file:/D:/cocoon-2.1/build/webapp/samples/linotype/flow.js, Line 
55): java.io.FileNotFoundException: 
D:\cocoon-2.1\build\webappsamples\linotype\linotype.users.properties 
(Das System kann den angegebenen Pfad nicht finden)


D:\cocoon-2.1\build\webappsamples\linotype\linotype.users.properties 
should of course be 
D:\cocoon-2.1\build\webapp\samples\linotype\linotype.users.properties.

The first part "D:\cocoon-2.1\build\webapp" comes from {realpath:/} in 
the sitemap. It's a Jetty issue, because after replacing the recent 
4.2.14 with 4.2.9 it works as expected. Tomcat also works with current 
Linotype code.

You can also test the different behaviour on the realpath input module 
sample page: http://127.0.0.1:8888/samples/modules/realpath.xsp.

		Accessor	Value
Jetty 4.2.9	/		D:\cocoon-2.1\build\webapp\
		/images		D:\cocoon-2.1\build\webapp\images
Jetty 4.2.14	/		D:\cocoon-2.1\build\webapp
		/images		D:\cocoon-2.1\build\webapp\images

So how to fix it? Is our input module broken or Jetty? Shall we ignore 
it, but give a bug report to Jetty?

Joerg