hi all
i am trying to run a jsp file with a bean tag in
Apache Jserv.
i have been provided with a servlets directory and a
bean directory where the bean directory has been
included in classpath on the server.
the code for jsp file is
<% out.print(comment.getComment()); %>
th
On Thu, 31 May 2001 12:40:34
Remy Maucherat wrote:
>Quoting "Craig R. McClanahan" <[EMAIL PROTECTED]>:
>
>> See below.
>>
>> On Thu, 31 May 2001, Remy Maucherat wrote:
>>
>>
>> I'm not sure this proposed change would really make any difference.
>> The
>> "parent" classloader here is the web
But, since the WEB-INF directory may be used internally, it is actually a
nice place to stick some 'hidden' files.
Isn't there any way to distinguish internal requests from direct client
requests? If not, the WEB-INF directory should be filtered at a lower level
before the request is send to the
Hmm.. In fact (in 3.2.2 atleast), it does not even matter if the file exists
or not, since the FileHandler simply uses the originally requested file and
StaticInterceptor. So I suppose its the same bug alltogether.
If things are fixed in 3.2.3, I'm happy enough though. The dirty fix I
posted earl
craigmcc01/05/31 20:37:28
Modified:catalina/src/share/org/apache/catalina/connector/http
HttpRequestStream.java
Log:
Correct a potential NullPointerException where readLineFromStream() might
return null because of network errors or other transient condition
Yesterday I saw a bunch of 500 errors come up from a servlet we're
running.
Fortunately, it turned out that there was a full stacktrace in the log
file.
I think the error itself was due to transient network faults (or client
bugs)at the client end of things, so it's not a problem that tomcat
rej
Hi All,
This is my first attempt at using diff and submitting a patch, so I chose
something *extremely* simple.
Logger.java in TC 3.2.2 has the timestamp format using a 12-hour clock with
no am/pm designation, so it's difficult to tell afternoon from early morning
times ( 03 could mean 3am or 3p
craigmcc01/05/31 17:30:28
Modified:catalina build.xml
Added: catalina/src/test/org/apache/naming/resources
BaseDirContextTestCase.java
FileDirContextTestCase.java
WARDirContextTestCase.java
Log:
Infrastr
amyroh 01/05/31 17:24:54
Added: tester/web SSIExecCmd.shtml SSIExecCGI.shtml
Log:
Add SSI exec cgi tests.
Revision ChangesPath
1.1 jakarta-tomcat-4.0/tester/web/SSIExecCmd.shtml
Index: SSIExecCmd.shtml
==
amyroh 01/05/31 17:24:22
Added: tester/web/WEB-INF/cgi array.pl binary.pl chores.pl
concat.pl days.pl dowhile.pl else.pl elsif.pl
exponents.pl for.pl getday.pl helloperl.pl if.pl
increment.pl modifyall.pl prefere
amyroh 01/05/31 17:23:40
jakarta-tomcat-4.0/tester/web/WEB-INF/cgi - New directory
amyroh 01/05/31 17:23:14
Added: tester/web/golden SSIExecCGI.txt preference.txt
modifyall.txt increment.txt helloperl.txt
getday.txt exponents.txt elsif.txt else.txt
dowhile.txt days.txt concat.txt chores.txt
amyroh 01/05/31 17:22:39
Modified:tester/src/bin tester.xml
Log:
Add CGI and SSI exec cgi tests.
Revision ChangesPath
1.49 +65 -2 jakarta-tomcat-4.0/tester/src/bin/tester.xml
Index: tester.xml
=
amyroh 01/05/31 17:22:02
Modified:catalina/src/share/org/apache/catalina/util/ssi
SsiMediator.java SsiExec.java
Log:
Add SSI exec cgi feature.
Revision ChangesPath
1.6 +34 -4
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/ut
amyroh 01/05/31 17:21:15
Added: catalina/src/share/org/apache/catalina/util
ProcessHelper.java ProcessEnvironment.java
CGIProcessEnvironment.java
Log:
Add CGI supporting classes submitted by Martin Dengler.
Revision Changes
amyroh 01/05/31 17:20:32
Modified:catalina/src/share/org/apache/catalina/servlets
SsiInvokerServlet.java
Log:
no message
Revision ChangesPath
1.7 +16 -23
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/SsiInvokerServl
amyroh 01/05/31 17:20:21
Added: catalina/src/share/org/apache/catalina/servlets
CGIServlet.java
Log:
Add CGI servlet submitted by Martin Dengler.
Revision ChangesPath
1.1
jakarta-tomcat-4.0/catalina/src/share/org/apache/catali
amyroh 01/05/31 17:18:37
Modified:catalina/src/conf web.xml
Log:
Add CGI servlet and mapping info.
Revision ChangesPath
1.17 +32 -1 jakarta-tomcat-4.0/catalina/src/conf/web.xml
Index: web.xml
==
on 5/31/01 3:29 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> Grr, it wants/needs MySQL set up as well (have to download and
> configure).
Farg...yea, I just realized that this morning while I was thinking about it.
> In the mean time, could you try this with
> using tonight's nightly
craigmcc01/05/31 16:13:21
jakarta-tomcat-4.0/catalina/src/test/org/apache/naming/resources - New directory
craigmcc01/05/31 16:13:12
jakarta-tomcat-4.0/catalina/src/test/org/apache/naming - New directory
Grr, it wants/needs MySQL set up as well (have to download and
configure). In the mean time, could you try this with
using tonight's nightly build, if this is still an issue?
Craig
On Thu, 31 May 2001, Jon Stevens wrote:
> on 5/30/01 9:29 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
On Thu, 31 May 2001, Jon Stevens wrote:
> on 5/31/01 10:11 AM, "Remy Maucherat" <[EMAIL PROTECTED]> wrote:
>
> > Sorry.
> >
> > The latest nightly (05/31) should have the fix. Does it work now ?
> >
> > Remy
>
> It works "better"...now, I have another strange case that is going on...
>
To
craigmcc01/05/31 15:10:47
Modified:catalina/src/share/org/apache/catalina/loader
StandardLoader.java
Log:
Trickle down a non-zero debug setting to the web app class loader
(instance of StandardClassLoader) that we create. This will cause
voluminous outpu
craigmcc01/05/31 15:08:42
Modified:tester/src/tester/org/apache/tester SessionBean.java
Log:
Present a more useful rendering of itself when toString() is called.
Revision ChangesPath
1.3 +19 -1
jakarta-tomcat-4.0/tester/src/tester/org/apache/tester/SessionBean
bip 01/05/31 14:48:31
Modified:catalina build.xml
Log:
Added digest.sh to the list of files that should be given
a execute flag at build time.
Revision ChangesPath
1.42 +3 -0 jakarta-tomcat-4.0/catalina/build.xml
Index: build.xml
==
Quoting "Craig R. McClanahan" <[EMAIL PROTECTED]>:
> See below.
>
> On Thu, 31 May 2001, Remy Maucherat wrote:
>
>
> I'm not sure this proposed change would really make any difference.
> The
> "parent" classloader here is the web app classloader already, which is
> the
> same thing that the c
>I agree. I spent some time last week looking at possible
>optimizations. The general ideas were:
>
>- pool tag handler objects per application. This could
>still be turned on/off at runtime via module and is
>already available.
>
>- cache (re-use) handlers per page - i.e. only get the handler
>
Hey Mel,
I'll use this as a chance to explain some thoughts
I've recently had on tag pooling. Maybe you and
others have comments.
Mel Martinez wrote:
>
> Hi folks!
>
> I'm still overwhelmed with other priorities (new job,
> house-hunting, moving, etc.) to be able to help again,
> but I manag
on 5/31/01 10:11 AM, "Remy Maucherat" <[EMAIL PROTECTED]> wrote:
> Sorry.
>
> The latest nightly (05/31) should have the fix. Does it work now ?
>
> Remy
It works "better"...now, I have another strange case that is going on...
I followed my directions from before. Then, I hit a page that caus
See below.
On Thu, 31 May 2001, Remy Maucherat wrote:
> > i was litlle un detailed sorry but i try to explain.
> >
> > This can be test with Tomcat 4.0 b6-dev (last week CVS version at least i
> haven't see this to be fixed)
> >
> > and turn reloading on to test/ context then create servlet that
> i was litlle un detailed sorry but i try to explain.
>
> This can be test with Tomcat 4.0 b6-dev (last week CVS version at least i
haven't see this to be fixed)
>
> and turn reloading on to test/ context then create servlet that uses this
Class [test.TestIt] (i think you know how to do it) make
> on 5/30/01 9:16 PM, "Remy Maucherat" <[EMAIL PROTECTED]> wrote:
>
> > I have committed something which should fix it.
>
> Note: In the future, giving credit for the find in the CVS commit message
is
> appreciated. :-)
Sorry.
The latest nightly (05/31) should have the fix. Does it work now ?
R
This post is really not appropriate for this mailing list. This list is for
discussion of development of the Tomcat server. You're writing about web
application design issues / patterns. See:
http://jakarta.apache.org/site/mail.html.
This list is periodically consumed by flame wars (or "vigor
Yeah, this is probably off-topic, but...
I've had stuff hosted at SpinWeb (http://www.spinweb.net) for 1-2 years, and
they've been a total pleasure to deal with. Their "Developer Account", for
$35/month gives you Apache / Tomcat 3.2.1, MySQL, PHP, JSP, all sorts of
goodies. And they've been ver
Hi folks!
I'm still overwhelmed with other priorities (new job,
house-hunting, moving, etc.) to be able to help again,
but I managed over the last day or so to get caught up
with the list (for the most part - skipped some major
threads along the way).
On tag-pooling: I am +1 on implementing a t
Thanks - good point about the null. So what's the deal with a
non-FilesystemBased context, i.e. what are they? In the original version of
the source only URL's with a protocol of "file" were processed. The prob
was that "file" resources are now being handed back with a protocol of
"jndi". So
Right. And what I'm suggesting is that internal components may be entering
through the same path and having their requests denied too. I wanted to
raise it as a possible explanation for why these problems are happening.
I'm guessing at this based on the fact that methods like getResource require
GOMEZ Henri wrote:
>
> >Hi,
> >
> >I have added support for static linking of mod_jk (for
> >Apache-1.3.x). I have
> >used automake to reach it, it has side effects I would like to comment:
> >- apxs cannot be used build mod_jk.so.
> >- It needs autoconf/automake for prepare the *.in file. (Only
Read the specification, section 9.4:
A special directory exists within the application hierarchy named WEB-INF.
This directory
contains all things related to the application that arent in the document
root of the application. It is
important to note that the WEB-INF node is not part of the pub
kevin seguin wrote:
>
> >
> > We could add it to jakarta-tomcat-connector ?
> >
>
> +1 -- so long as andy will help fix bugs in it when/if they come :)
Of course ;-) We'll be actively using it here for a long time to come,
so we'll have a vested interest in keeping it sweet.
--
Andy Armstrong
I've taken a quick crawl through the code and want to re-suggest a possible
cause for the problems we're seeing on 3.2.2 dealing with requests to the
WEB-INF directory.
First of all, this is really the first time I've been through the tomcat
code, and I've done it quickly so there's a high chance
I would appreciate comments on the following draft of an article I've
just added to the Web Application site. Go to
http://virtualschool.edu/wap and click "The Problem" in the left
column for the original.
I plan to change the name WAP to reduce confusion with the WAP
wireless protocol. I'm s
>
> We could add it to jakarta-tomcat-connector ?
>
+1 -- so long as andy will help fix bugs in it when/if they come :)
> -
> Henri Gomez ___[_]
> EMAIL : [EMAIL PROTECTED](. .)
> PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
> PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC
[EMAIL PROTECTED] wrote:
>
> Wasn't one of the 3.2.2 changes that you could not request URLs from the
> WEB-INF directory? Possibly its just that and not really all relative URLs.
The IIS and Domino connectors certainly explicitly veto access to the
web-inf directory.
--
Andy Armstrong, Tag
Wasn't one of the 3.2.2 changes that you could not request URLs from the
WEB-INF directory? Possibly its just that and not really all relative URLs.
Brian Flynn
-Original Message-
From: Stevenson, Chris (SSABSA) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 2:44 AM
To: [EMAIL
what i'm saying is, from my (limited) experience, multithreaded modules
don't play nice with singlethreaded apache 1.3. i tried it once, a
while ago, and had nothing but troubles. which is not suprising at
all. i wouldn't expect mixing threading models to be anything but
dangerous. so, if it w
>Hi,
>
>I have added support for static linking of mod_jk (for
>Apache-1.3.x). I have
>used automake to reach it, it has side effects I would like to comment:
>- apxs cannot be used build mod_jk.so.
>- It needs autoconf/automake for prepare the *.in file. (Only
>for develloppers).
>- It needs li
I'll take a look at it late and see how to include in
JTC !)
-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .)
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-Original Message-
>
Hi,
I use apache 1.3.19 and jakarta-tomcat-4.0-20010530.tar.gz
under linux, the test.jsp is:
***
<%@ page session="false"%>
JSP Test
Page
<%
out.println("Hello, World !");
%>
That would be super cool with me ;-)
GOMEZ Henri wrote:
>
> We could add it to jakarta-tomcat-connector ?
>
> -
> Henri Gomez ___[_]
> EMAIL : [EMAIL PROTECTED](. .)
> PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
> PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F
We could add it to jakarta-tomcat-connector ?
-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .)
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-Original Message-
>From: Andy Arm
I was wondering whether anybody who's got tomcat to start up on a debug JVM
would be kind enough to add another option to catalina.[bat|sh] and possibly
a debugstartup.[bat|sh]?
Failing that, if somebody would tell me how, I'd be willing to do so.
Thanks,
John.
PS, I'm looking to use Netbeans
Hi Pier,
It's using AJP at the mo, though it could, I think, also use JNI. Not
using Domino's bundled VM tho.
"Pier P. Fumagalli" wrote:
>
> Andy Armstrong at [EMAIL PROTECTED] wrote:
>
> > I've written a Tomcat for Lotus Domino in the spirit of the IIS and
> > Netscape connectors making it po
Hi,
Can any one recommend a good web host that supports tomcat 3+
Bugdet $20-$30 per month
Fixed in TC 3.3 CVS and JTC
-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .)
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-Original Message-
>From: [EMAIL PROTECTED] [mail
on 5/30/01 9:16 PM, "Remy Maucherat" <[EMAIL PROTECTED]> wrote:
> I have committed something which should fix it.
Note: In the future, giving credit for the find in the CVS commit message is
appreciated. :-)
-jon
on 5/30/01 9:29 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> Jon, could you give me one of your patented "cookbooks" for recreating
> this just in case?
#1. Check Scarab out of CVS (I'm assuming you remember how).
#2. cd scarab/build
#3. ./build.sh
#4. cd ../target
#4. ./scarab.sh &
#5
i was litlle un detailed sorry but i try to explain.
This can be test with Tomcat 4.0 b6-dev (last week CVS version at least i haven't see
this to be fixed)
make app dir like test/ then create index.jsp.
make some class like test.testIt that context is like
package test;
public class TestIt
59 matches
Mail list logo