head	1.5;
access;
symbols;
locks
	nobody:1.5; strict;
comment	@# @;


1.5
date	99.06.10.17.36.13;	author nobody;	state Exp;
branches;
next	1.4;

1.4
date	99.06.09.21.22.27;	author nobody;	state Exp;
branches;
next	1.3;

1.3
date	99.06.09.21.22.17;	author nobody;	state Exp;
branches;
next	1.2;

1.2
date	99.06.09.21.21.59;	author nobody;	state Exp;
branches;
next	1.1;

1.1
date	99.06.09.21.21.32;	author nobody;	state Exp;
branches;
next	;


desc
@null
@


1.5
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 2
IDependOn-Set: 203
IDependOn-Set: 207
IDependOn-Set: 215
IDependOn-Set: 7
LastModifiedSecs: 928963347
Parent: 7
SequenceNumber: 2
Title: Case sensitivity and Win32
Part: 0
Author-Set: jon@@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 928963347
Type: monospaced
Lines: 46


----------
From: "Craig R. McClanahan" <cmcclanahan@@mytownnet.com>
To: Java Apache Servlet List <java-apache@@list.working-dogs.com>
Subject: Re: Potential Bug - Case Sensitivity
Date: Wed, Jun 9, 1999, 1:29 PM


Michael Prescott wrote:

> I have a strange situation occurring (it's not a problem for me, but a
> colleague suggested I mention it here).  If I misspell the URL to my
> servlet, as expected, I get a 404 error.  But if I get the case wrong, as
> in:
>
> http://localhost/servlet/Simpleservlet
>
> I get a 500 Internal Server Error, and my jserv.log contains:
>
> [09/06/1999 15:44:39:544 EDT] java.lang.ClassFormatError: Wrong name
>  at java.lang.ClassLoader.defineClass(ClassLoader.java:219)
>  at org.apache.java.lang.AdaptiveClassLoader.loadClass(Compiled Code)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:154)
>  at
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:421)
>  at
> org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:38
> 3)
>  at org.apache.jserv.JServConnection.run(JServConnection.java:301)
>  at java.lang.Thread.run(Thread.java:466)
>
> I'm using Jserv 1.0b3, Apache 1.3.6 with JDK 1.1.8, JSDK 2.0, under Windows
> NT.
>
> Michael Prescott
>

This is due to the fact that Windows is not case sensitive on filenames, but
Java is.  From the Java perspective, "Simpleservlet" and "SimpleServlet" are
not the same, even though Windows isn't smart enough to know that.  By the way,
this will affect any reference to a class in any Java program on Windows, not
just servlets under Apache JServ.

Craig McClanahan

EndPart: 0
@


1.4
log
@null
@
text
@d5 1
@


1.3
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 928963337
d8 1
a8 1
SequenceNumber: 1
d10 53
@


1.2
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 928963291
d8 2
a9 2
SequenceNumber: 0
Title: New Item
@


1.1
log
@null
@
text
@d3 1
@
