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
haracters are ok, e.g. >> $ echo bla # 1 >> bla >> $ echo bla#1 >> bla#1 >> $ echo bla# >> bla# >> >> Fargusson.Alan wrote: >>> The # character starts a comment in the shell. Try quoting the pathname, >>> or put a \ in

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

2007-08-08 Thread ben short
> > -Original Message- > > From: Markus Schiegl [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, August 08, 2007 1:54 PM > > To: users@tomcat.apache.org > > Subject: Tomcat and path with pound sign (#) -> ClassNotFoundException > > > > > &g

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

2007-08-08 Thread Markus Schiegl
x27;t do what you think they did. > > -Original Message- > From: Markus Schiegl [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 08, 2007 1:54 PM > To: users@tomcat.apache.org > Subject: Tomcat and path with pound sign (#) -> ClassNotFoundException > > > Hi t

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
1:54 PM To: users@tomcat.apache.org Subject: Tomcat and path with pound sign (#) -> ClassNotFoundException 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

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

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

2007-08-08 Thread Markus Schiegl
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.13 example: - mkdir /export/home/markus/tomcat#1 - extract tomcat within this directory - expo