Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-16 Thread Markus Schiegl
Hi (Len), got feedback from sun today and they confirmed our findings, i.e. it's a problem known for a long time. All efforts fixing this failed due to other incompatibilities, for example see sun-bug-ids 4273532 & 6243815 and their relatives. The proposed software workaround is using File.toURI(

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-13 Thread Len Popp
There are a few problems caused by "#" in directory names, and it looks to me like they're at least partly Tomcat's fault. 1. The classloader problem that you reported: Tomcat converts file pathnames to URLs for URLClassLoader, using File.toURL which handles "#" poorly. This could be Sun's fault,

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-12 Thread Markus Schiegl
Hi, Len Popp wrote: > I'm not sure the topic is ready to be nailed shut just yet... > Oh, i have no objections keeping it alive. Unfortunately my java skills are limited so reporting and testing is the best i can do to help. > The problem is due to the way Tomcat converts pathnames to URLs when

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-10 Thread Len Popp
a line, and it will invariably break the code? > >>> Because I thought some on this list were integrating Tomcat with > >>> those languages. > >>> > >>> -Original Message- > >>> From: Hassan Schroeder [mailto:[EMAIL PROTECTED] &

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-09 Thread Alexey Solofnenko
line, and it will invariably break the code? Because I thought some on this list were integrating Tomcat with those languages. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 7:58 AM To: Tomcat Users List Subject: Re: Tomcat and path wi

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-09 Thread Markus Schiegl
;> Because I thought some on this list were integrating Tomcat with >>> those languages. >>> >>> -Original Message- >>> From: Hassan Schroeder [mailto:[EMAIL PROTECTED] >>> Sent: Thursday, August 09, 2007 7:58 AM >>> To: Tomcat Us

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-09 Thread Markus Schiegl
like PHP, Python and Perl >>> the # is to comment out a line, and it will invariably break the code? >>> Because I thought some on this list were integrating Tomcat with >>> those languages. >>> >>> -Original Message- >>> From: Hassan

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-09 Thread Alexey Solofnenko
to comment out a line, and it will invariably break the code? Because I thought some on this list were integrating Tomcat with those languages. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 7:58 AM To: Tomcat Users List Subject: Re: T

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-09 Thread Markus Schiegl
ursday, August 09, 2007 7:58 AM > To: Tomcat Users List > Subject: Re: Tomcat and path with pound sign (#) -> > ClassNotFoundException > > > On 8/8/07, Markus Schiegl <[EMAIL PROTECTED]> wrote: > >> Has anybody been able to start a tomcat server from such a dire

RE: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-09 Thread Propes, Barry L
EMAIL PROTECTED] Sent: Thursday, August 09, 2007 7:58 AM To: Tomcat Users List Subject: Re: Tomcat and path with pound sign (#) -> ClassNotFoundException On 8/8/07, Markus Schiegl <[EMAIL PROTECTED]> wrote: > Has anybody been able to start a tomcat server from such a directory? I

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-09 Thread Hassan Schroeder
On 8/8/07, Markus Schiegl <[EMAIL PROTECTED]> wrote: > Has anybody been able to start a tomcat server from such a directory? I copied a working installation from /usr/local/apache-tomcat-6.0.13 to /usr/local/apache-tomcat#6.0.13, set CATALINA_HOME and got this: > ./bin/catalina.sh run Using CATA

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-08 Thread Markus Schiegl
Hi Ben, this is exactly the question. As these directories are created and used by other software changing the # sign to something else involves modifications to these programs and therefore hours/days of work too. I've decided to put in a few hours to evaluate the situation before making a conclu

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-08 Thread ben short
Why not just change it to /export/home/markus/tomcat_1 or something and be done with it. Is trying to make it work with a # really worth the time an effort? Think in terms of hours spent * hourly rate or hour spent that you could be doing something else. Just my opinion. On 8/8/07, Markus Schiegl

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-08 Thread Markus Schiegl
Hi, as far as i see the shell has no problems passing the # character. I've added "ps auxwww |grep java" after the java call in catalina.sh, just to verify the java-program itself is called with the correct values, see below: $ ~/tomcat#1/apache-tomcat-6.0.13/bin$ ./startup.sh Using CATALINA_BASE

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-08 Thread Markus Schiegl
Hi, being root (for these tests) should give me enough permissions. I have no problems creating sym-links at all (with or without #) although my test-case involves no symbolic links. Any specific test? kind regards, Markus Alexey Solofnenko wrote: > Are you allowed to create symbolic links w

RE: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-08 Thread Fargusson.Alan
The # character starts a comment in the shell. Try quoting the pathname, or put a \ in front of the #. I would bet that your mkdir and cd commands didn't do what you think they did. -Original Message- From: Markus Schiegl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 1:54 P

Re: Tomcat and path with pound sign (#) -> ClassNotFoundException

2007-08-08 Thread Alexey Solofnenko
Are you allowed to create symbolic links with normal names? - Alexey. Markus Schiegl wrote: Hi there, starting Tomcat from a path containing a pound sign (#) somewhere results in a ClassNotFoundException. I've checked this with - Solaris Sparc/X86 + Mac OS X - Java 5 + 6 - Tomcat 5.5.23 + 6.0