Hi.
I have the following behaviour in Tomcat 3.2b6 on Windows NT.
I protect a page P using security-constraint in the deployment
descriptor. So when I call this page, the browser asks me for a
login/password.
Now, I have a JSP page which isjsp:forward page "P".
When I call the JSP page, I
_
wanadoo.esDirección I+D / Portal y Servicios MultimediaJ.
Salvador Mira Gregori / [EMAIL PROTECTED]Tel: +34 96 504 0031
http://www.wanadoo.es
__
Is it possible to redirect to a custom error page when recieving an Error
500 from Tomcat?
Eg. something equal to Apache's ErrorDocument directive.
/Fred
Hi Sterling,
Basically, your description of the process to set
up a new webapp below is correct.
I suggest that you consider this process as
having two parts:
(a) setting up tomcat
(b) setting up apache
You can configure tomcat, then check that it
is all correct by using tomcat's http port
I would remove the original WebAppA's work
(%TOMCAT_HOME%\work\yourWebAppA)directory to be sure you are not
picking-up anything from there. Do this before you restart Tomcat after
you have done your directory renames.
--- Wolfgang Egger [EMAIL PROTECTED] wrote:
Yes, but only if there's a web server calling Tomcat (Apache). Put the
ErrorDocument command in Apache's httpd.conf :
VirtualHost 192.168.0.13:80
ServerName www.fotoptica.com.br
DirectoryIndex index.jsp index.html
ApJServMount / ajpv12://192.168.0.13:8007
ErrorDocument 500 /erros/error500.html
Hello,
I am running a windows98 in a win32 platform. As u have
mentioned i unzipped the folder and renamed the folder to tomcat..Also i set the
required env variables..
1. set TOMCAT_HOME=c:\tomcat
2.set JAVA_HOME=c:/jdk1.23. set PATH=%PATH%;%JAVA_HOME%\bin
I restarted the machine after
-Original Message-
From: Kitching Simon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 10:24 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Execute JSP's in a different directory - sans-examples.
Hi Sterling,
Basically, your description of the process to set
up a new webapp
Hi,
right now I work with tomcat-3.2-beta-6. Is it better to move to 4m3?
What is the reason of having both versions?
Zsolt
--
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017
Hi Tomcat developers,
I'd love to see some info on the release plans
for these products too. I presume that those of
you with "committer" status have some
general long-term plans
I understand that software development schedules
(and esp. open-source projects) are difficult to
estimate, but
Hi,
I want to do the same.
Belong the Servlet-Spec 2.2 we have to edit web.xml like this:
...
web-app
...
error-page
error-code404/error-code
location/404.html/location
/error-page
/web-app
But my tomcat hangs in an endless loop. He does not find 404.html. In my
I am using apache but I can not get it to serve my custom Error
I have included the:
ErrorDocument 500 "The server made a boo boo.
in my httpd but still I only get the stack-trace from tomcat with Error: 500
/Fred
-Original Message-
From: Sergio Stateri Jr [SMTP:[EMAIL PROTECTED]]
To unsubscribe from this list
mailto:[EMAIL PROTECTED]
To stop subscription for an alternate account
(e.g. [EMAIL PROTECTED]) send an eMail to
[EMAIL PROTECTED]
Before posting any questions ---
+ We welcome open discussion of Tomcat issues at both
I've a servlet loaded on startup.
It has a class viariable (static or not static) that I inizialize in the
init() method.
I give it an instance of a connection pool class.
This variable is shared with jsp and servlets by
appletContext.setAttribute and
moreover i have a static metod
I'm new to Tomcat /
Apache and trying to get the example JSP pages working. I'm running W2K, Tomcat
3.1, and JDK 1.3 installed. I thought I followed the configuration instructions
correctly. I can see the static page listing the examples, but when I try to run
one of the example pages I get
You need to put %JAVA_HOME%/lib/tools.jar in your classpath, as is
needed to compile JSPs..
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Nathan Wilhelmi [mailto:[EMAIL PROTECTED]]
Enviado el: martes 31 de octubre de 2000 17:37
Para: '[EMAIL PROTECTED]'
Asunto: Getting the
There's a file called tools.jar that must be in your
classpath.
Add a
line to your "tomcat.bat file", as follows:
set
CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
Ed
I'm new to Tomcat
/ Apache and trying to get the example JSP pages working. I'm running W2K,
Tomcat 3.1, and JDK
You can also just modify the batch file properties to change the 'initial
environment' to 2806 like it says in the docs somewhere
Dan
-Original Message-
From: David Harris [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 1:15 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Win98
Thanks
for the response all -
Here
is my tomcat.bat file:
@echo
offrem A batch file to start/stop tomcat server.
rem
This batch file written and tested under Windows NTrem Improvements to this
file are welcome
rem
Guess TOMCAT_HOME if it is not present
if not "%TOMCAT_HOME%" == ""
I get the following exception:
HANDLER THREAD PROBLEM: java.io.IOException: Stream closed prematurely
java.io.IOException: Stream closed prematurely
at
org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextReque
st(Ajp12ConnectionHandler.java, Compiled Code)
at
Yes, I consider tomcat to be broken, in this regard.
But I make it .jsp and it works fine.
Also, if you have virtual hosts, this hangs (as opposed to a loop),
so I just made an default context to one of the virtual hosts, so it would
pick up the WEB-INF/web.xml... probably causes some other
Carole HEBRARD wrote:
Hi.
I have the following behaviour in Tomcat 3.2b6 on Windows NT.
I protect a page P using security-constraint in the deployment
descriptor. So when I call this page, the browser asks me for a
login/password.
Now, I have a JSP page which isjsp:forward page "P".
H-
Thank you for the clarity. Being a newbie, still not sure how Tomcat does what
it does. So the confirmation on key points is very helpful.
I'll go through the process and hopefully everything will work out alright.
If not I'm sure the mailing list will be hearing my cries of pain and anguish
Yes, a page modeled after:
http://us1.samba.org/samba/development.html
would indeed kick ass.. I think the tomcat cvs is too
intimidating... There should be a document explaining the tags...
Anycase, my theory is that 3.3 (note that apache doesn't follow the even
version number scheme of the
I run Tomcat 3.1 Final on win2k at work. I can say with certainty that it works. If I were you, I would not run tomcat in a directory that has spaces in its pathname. While this can work, You always have to be so damn careful with your quoting that I find it is not worth the effort.
Another
try asking on tomcat-dev
Mike
-Original Message-
From: Mark Porter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 1:27 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Builds/Releases
Why are the nightly builds broken (still!) and why is no-one answering
Your
classpath statements look good. The only thing that I can advise at this point
is to doublecheck your JAVA_HOME value, and ensure
that
it's pointing to the right place. I have sometimes seen cases where JAVA_HOME
was pointing to the JRE, but the JAR file was in the JDK's
Java
lib
Looks
like there was a problem parsing an xml file. Since tomcat.log doesn't exist,
your server.xml file may have a problem. Did you modify it?
-Original Message-From: Gregory Guthrie
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 31, 2000 9:51
AMTo: [EMAIL PROTECTED]Cc:
Are you using a secure Apache server like the one with mod_ssl or Raven or
anything like that?
Also did you just dowload mod_jserv binary?
What you need to do is compile the mod_jserv binary using the Apache apxs
script and make it a part of EAPI (note that I'm not sure exactely what I'm
talking
Greetings,
I wrote a script to make it easy for me to control tomcats
on my virtual hosts. It works well for me so I thought I'd
share it, just in case someone else might find it useful.
It provides easy start/stop/restart control over one or
all of the servers.
I call it 'tomcat', and store
From: "David Knaack" [EMAIL PROTECTED]
It uses the startup.sh and shutdown.sh scripts with the -f
parameter to specify what server.xml file to use with each
virtual domain. Check the config section at the top to
set up variables for your installation.
Note that in the server.xml file you
Hi,
Am using Tomcat 3.1.
For a webapp, I have a bunch of JARs. How do I ensure that
it gets picked up in the CLASSPATH ?
Putting them in either the web-inf/lib or web-inf/classes does
not help.
From the FAQ on Jakarta site, one person recommends adding it to
the system CLASSPATH.
Maybe it
Metamata is pleased to announce the release of the Metamata Development
Environment, version 2.0. Key features include remote debugging, JSP
source level debugging, servlet output stream monitoring, customized
viewing of common servlet API data types, method and statement coverage,
fix and
Add servlet.jar to your classpath.
Aaron Knauf
Systems Integrator
Genie Systems Ltd
Auckland, New Zealand
Ph. +64-9-573 3310 x812
email: [EMAIL PROTECTED]
http://www.geniesystems.com
I am not remotely interested in seeing spam on this type of email on this mailing list. In my opinion, it is one step short of spam. (The one step required would be to send it from some anonymous address - at least this guy wasn't trying to be underhanded.)
I would like to see this guy issued
To follow up on a few of the items from my perspective as a Tomcat
developer:
Kitching Simon wrote:
Hi Tomcat developers,
I'd love to see some info on the release plans
for these products too. I presume that those of
you with "committer" status have some
general long-term plans
I
Aaron Knauf wrote:
I am not remotely interested in seeing spam on this type of email on
this mailing list. In my opinion, it is one step short of spam. (The
one step required would be to send it from some anonymous address - at
least this guy wasn't trying to be underhanded.)
I would
Have you checked your servlet logs to see if the UnavailableException errors
actually are being thrown? You don't say what version of Tomcat you are using,
but (if I remember correctly) version 3.1 did not actually honor
UnavailableExceptions thrown from init().
Craig McClanahan
Tom O'Connor
Alex Tang wrote:
Hi folks.
I've got a servlet (actually a couple) that are doing some XML parsing
(Mainly SAX, some DOM).
The only problem I seem to be having is that when if I have a XML file
that looks like this:
?xml version="1.0" encoding="UTF-8"?
!DOCTYPE taglist SYSTEM
Hi, Joe,
You may have any directory structure for your HTML pages as long as you
comply with a minimum set of requirements:
- each application should be declared (as a "context") in the server.xml
file of Tomcat. The organization of that diectory is up to you, with the
exception of the
It may be that a) you have another process that is using port 8080, or b)
you already have an instance of tomcat running that is using that port.
In case a), change in server.xml the port number Tomcat is listening to.
Julio Serje
Calian Tech.
- Original Message -
From: John Howay
Please respond to my email address since I'm not (yet)
subscribed to the mailing list.
Hi all,
I can't get apache to forward jsp pages to tomcat.
I'm quite familiar (as a user) with tomcat so I've
tried troubleshooting it but to no avail.
I'm using:
OS: Linux RedHat 6.2
apache 1.3.12
tomcat
I believe the 'correct' place to put jars is in the WEB-INF/lib directory of
the context. I run tomcat 3.2beta6 on jdk1.3 and can say that it behaves
correctly on redhat 6.2 and win NT and win98. Note that WEB-INF must be
capital letters on unix/linux platforms, it doesn't matter on win32.
Dear Tomcat support team,
I have problem in running jk_nt_service.exe. The output is some
random characters with an error message at the end:
L=!This program cannot be run in DOS mode.
n.b. my computer is running NT4.0 with SP5 on.
William Brogden [EMAIL PROTECTED] wrote:
Crashed my Netscape 4.61 but I don't think it was a virus,
just some really weird data.
--
WBB
It's just an ad in Chinese. Netscape crashed? I think that happens. My Chinese version
of Netscape gives me an error message every time I exit it.
Hi all,
when using the log method from SessionContext(), the written output looks
like the follwing:
Context log path="" : here goes the log message string
What is that "Context log path" thing? When I'm using log("...") the context
log path is always empty.
What is the meaning of the path
Why are the nightly builds broken (still!) and why is no-one answering
questions about builds/releases?!?
Mark
--
Mark D. Porter
Exchange Solutions Inc.
[EMAIL PROTECTED]
I installed tomcat on my Debian Linux system from
Apache runs fine, but I have tomcat problems.
1) How do I test it with their examples? There is a webapps/examples.war;
how do I invoke it?
2) Do I have to manually start it (per the Install how to run
instructions?), or shouldn't it be
48 matches
Mail list logo