Someone should tell Apache about this.
The recommended file location is - "C:\Program Files\Apache Software Foundation\Tomcat 5.5" which seems to be full of spaces.

If this is the recommended/default location, the Lenya and Cocoon install should be able to handle it.

I have had to deal with this in passing data back and forth between Flash applications and servers so I understand the need. But if you encode a string, you also have to unencode it before trying to use it. Just the rules of the game.

Who replaced the spaces in the file names? Would it not be possible to fix the file names before they are put into configuration and data files.

Can we not just fix the build to actually preserve file names regardless of what is in them. It just looks like someone replaced the spaces in order to make parsing easier and then forgot to remove them before writing them out.
Any idea where this is done?

Ron

Stephen Blass wrote:

Seems to me the docs still recommend not installing tomcat into
directories with spaces in the name.  Java struggles with spaces but can
sometimes cope.  Other handlers that parse on whitespace puke every
time.
From http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html...

"In an effort to reduce convoluted path names in windows try to choose
install directories with short names.  Also try not to use spaces in the
names, Apache and Tomcat and as far as I know all XML files have
problems with it and require you to double quote any path name that
includes spaces.  Save yourself some headaches and just don't do it."

-
Steve



-----Original Message-----
From: Ron Wheeler [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 10:43 AM
To: Lenya User forum
Subject: spaces converted to %20 in lenya install for Tomcat made by
Eclipse

From my Tomcat stdout.log
Caused by: org.apache.cocoon.components.serializers.encoding.CharsetFactory$Charset FactoryException: Unable to access JAR
"jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.
5/webapps/lenya/WEB-INF/lib/cocoon-serializers-charsets-0.1.jar!/org/apa
che/cocoon/components/serializers/encoding/cs_US_ASCII.class"


How did the spaces get converted to %20?
I suspect that this may be the reason why Lenya does not run.

Ron



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to