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(
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,
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
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]
&
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
;> 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
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
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
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
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
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
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
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
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
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
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
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
17 matches
Mail list logo