I also tried to install the EXE Version of tomcat 4 on Windows 2000 as a
service, but when I start the service tomcat seem to hang up.
I get the following error message when I shut down the service after
some time :
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException: HTTP
Actually, I just found out that the IE6 we were using was the last beta
release before the final version. Haven't had a chance to try the actual
final release yet, from everyone's comments though, I assume it works.
-Original Message-
From: Jonathan Eric Miller [mailto:[EMAIL
Can anyone please tell me what is a local web application archive?
Another thing after I create this:
http://localhost:8181/manager/install?path=/testwar=file:///C:/Program
Files/Apache Tomcat 4.0/webapps/test/
Where do I store the class files and how do I invoke them?
Thanx in advance,
Jose
Thanks for the tip Larry!
Cheers!
Jon
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 1:05 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Issue with running the tests
There was an improvement in Ant 1.4 that is incompatible
with the GTest
If you use a file URL then it assumes that you are pointing to the file
or directory on the machine (server). That means you have to put the
application on the server first, FTP, or some other means. If you're
working locally it's much easier.
If you use some other url for the war parameter as
Well, I hope I'm getting this right. Any directory( or
*.war or *.tar.gz or *.jar file) right under webapps
that has the proper structure will be automatically
loaded as a context. What does your server.xml say
about the root, '/', context? What if you change the
root directory to another name
I am locally, and I did the install as I specified before:
http://localhost:8181/manager/install?path=/testwar=file:///C:/Program
Files/Apache Tomcat 4.0/webapps/test/
And if I go to http://localhost:8181/test/ServletName it says file not found
error
What should be inside a .war file?
Thanx
We just recently upgraded to Tomcat 4.0. To enable class reloading for
our webapp, I inserted:
Context path=/fms docBase=fms debug=0 reloadable=true/
into the server.xml file. Reloading seems to work about 75% of the
time. Other times we get a message of the form:
WebappClassLoader:
Do you have your workers file configured properly?
-Original Message-
From: Mapoteca Rio [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 1:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp
Thanks, Sriram.
I execute o apachectl status
I am trying to integrate JBoss-2.4.1_Tomcat-3.2.3 to Apache.
This was a question about why I don't have a mod_jk.conf-auto file. I still
don't have the file, and I also don't have an auto directory under conf. Has
anyone ever seen this before? The How-to makes it sound like all this should
be
I am attempting to use the build-unix.sh included with tomcat 3.3 release
to call the apxs command and build the mod_jk module.
I receive the following error:
apxs:Break: Command failed with rc=16711680
I modified the build-unix.sh file as indicated below, but I don't have a
directory named
i am using apache 1.3.20 +tomcat3.2.3
everything works fine when tomcat is running at port 8080
when I change tomcat to work at port 80 by changing
TOMCAT_HOME\conf\server.xml ...
it works for static files (html), but tomcat will crash
whenever i point to jsp/serlet, and the errorlog is shown
My problem isn't directly related to Tomcat, but
understanding how tomcat works may help me.
I am trying to modify the header of an Http request.
Specifically I am trying to modify the Authentication
info. I have been unable to find any useful
information on how to change this data. What i
I think the Struts Digester is a pretty good example - but I kinda'
doubt it's exactly what you're looking for.
Will Stranathan
Hunter Hillegas wrote:
Anyone have a good example of using an XML file to configure a Web app (i.e.
having an XML full of external data the Web app needs to start
Despite the fact that serialver shows all the objects that my app uses
to be serializable, i still get a NotSerializableException when I shut
down tomcat.
2001-10-04 15:32:15 StandardManager[/DLServlet] Cannot serialize session
attribute searchResults for session 84F5340285B3698849421230B8D9B2C3
check the source code
http://jakarta.apache.org/builds/jakarta-servletapi-4/nightly/src/
- Original Message -
From: A.L. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 3:21 PM
Subject: HttpServletRequest
My problem isn't directly related to Tomcat, but
I need to start Tomcat when the server is booting up, before Apache is stated. I am
running on Red Hat 6.2.
Got it ...
They mod_webapps are available at
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/
Regards,
Vinay
-Original Message-
From: menonv [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 10:54 PM
To: [EMAIL PROTECTED]; Tomcat Developer List
James,
I'm confused about what goes in the virtualhost section. Do my
WebAppConnection and WebAppDeploy go there? Can you point me to an
example - something like Tomcat4-Apache.HowTo
Thanks!
-- john
James Williamson wrote:
Actually, I am not setting up virtual hosts like you are, so the
Hi,
We have one sun box with two IPs, not name-based. I want to run one
apache, one tomcat but two tomcat web apps. They live in
/export/home/usrlocal/tomcat/webapps/ . Both have servlets and jsp. The
servlets live under
Vinay,
Sorry to follow this from one list to another, but I found the
tomcat4-mod_jk link:
http://jakarta.apache.org/~hgomez/ajp13-tc4.0/
However, you're right - mod_webapp (warp connections) is the preferred
interface to use with catalina, not mod_jk (ajp12/13 connections).
And, hopefully
Actually, you DON'T have to define your context(s) within VirtualHost
directives. I was finally able to get mod_webapp working against
standalone catalina (but not with jboss/catalina).
What I had to do was this:
1) drop mod_webapp.so in my modules directory
2) make sure ServerName localhost
I need to forward to a different website entirely from inside my servlet.
I tried using the following code:
RequestDispatcher rd =
getServletContext().getRequestDispatcher(//otherwebsite.com/page.html);
rd.forward(request, response);
But it didn't seem to want to forward anywhere. I
Hi,
I posted a long winded question but have a much simpler one now too!
I use perl to post up to a web site. The Apache log file says it got it. I
define a virtual host and this should pass it on to Tomcat. The perl program
says internal server error. I have two Tomcat's
Vinay,
Sorry to follow this from one list to another, but I found the
tomcat4-mod_jk link:
http://jakarta.apache.org/~hgomez/ajp13-tc4.0/
The AJP 1.3 JAR will be distributed with Tomcat 4.0.1. It won't be enabled
by default (since it lacks some real world testing), but there will be a
That begs the question - is that going to use the mod_webapp stuff as well?
Can one use the mod_webapp without the ajp13 connector. Didn't see anything
about using ajp13 anywhere.
Vinay
-Original Message-
From: Remy Maucherat [SMTP:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001
Doesn't the request dispatcher work within the context of the
application/container? Shouldn't you be using sendRedirect instead?
-Original Message-
From: Bob Byron [SMTP:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 12:11 AM
To: [EMAIL PROTECTED]
Subject: Forward to
You can't forward across contexts, I don't think. You can
response.sendRedirect() to any URL if that's all you need.
David
- Original Message -
From: Bob Byron [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 4:11 PM
Subject: Forward to different website.
I
On Fri, 5 Oct 2001, menonv wrote:
Doesn't the request dispatcher work within the context of the
application/container? Shouldn't you be using sendRedirect instead?
correct.
-Original Message-
From: Bob Byron [SMTP:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001
That begs the question - is that going to use the mod_webapp stuff as
well?
No.
Can one use the mod_webapp without the ajp13 connector.
Yes.
Remy
How do i solve this prob in Tomcat when im accessing JSP sample codes? :(
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
i think you need to include in your classpath tools.jar which is usually
found in jdk/lib. also remember to set your JAVA_HOME to your jdk
directory.
- Original Message -
From: Jovie Castaneda [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 05, 2001 7:40 AM
Subject: HELP
missing tools.jar
-Original Message-
From: Jovie Castaneda [SMTP:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 12:40 AM
To: [EMAIL PROTECTED]
Subject: HELP PLS
How do i solve this prob in Tomcat when im accessing JSP sample codes? :(
java.lang.NoClassDefFoundError:
Yepp got it thanls a lot it owrked now :)
-Original Message-
From: John Michael Luy [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 9:51 AM
To: [EMAIL PROTECTED]
Subject: Re: HELP PLS
i think you need to include in your classpath tools.jar which is usually
found in jdk/lib.
How do you get the environment variable passed from Apache 1.3 to Tomcat
4.0.
We had a way earlier in Tomcat 3.2 with mod_jk.so to specify JkEnvVar in the
httd.conf file of Apache. What is the equivalent of this with Tomcat 4 and
mod_webapp.so ?
Regards,
Kashyap
I get a null pointer exception at dispatcher.forward() am i doing something
wrong?
thanks
brian
request.setAttribute(custName,custName);
request.setAttribute(custStreet,custStreet);
request.setAttribute(custZip,custZip);
request.setAttribute(custEmail,custEmail);
I want apache's docroot to point to a webapp directory
containing static content as well as servlets and
jsp's.
I only have one site on this machine. do i still need
to set up a virtual server in httpd.conf like this:
VirtualHost 10.0.0.1:80
DocumentRoot /web/host1
ServerName
It looks like the request dispatcher isn't being found. try using
/vieworder.jsp or whatever the location relevant to your base is.
cheers
dim
On Thu, 4 Oct 2001, Brian Richards wrote:
I get a null pointer exception at dispatcher.forward() am i doing something
wrong?
thanks
brian
I'm setting up apache and tomcat to process some
credit card info and other personal data via verisign.
For the moment, Apache and tomcat live on the same
box. Do I need just one certificate or two? I will
read more on apache and ssl, but there isn't much to
the tomcat-ssl howto...
=
-
- Original Message -
From: David Ward [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 7:07 PM
Subject: Re: mod_webapp connector on linux - HELP!
PS: I'm still looking forward to seeing a mod_webapp-eapi.so release...
me too!!! has anyone gotten it to compile
I would like to achieve the following:
- allow user to login directly without first accessing a protected area.
After successful login, I want to forward the user to a default mypage.jsp.
To do the above, I have to detect if login page is accessed directly. If
so, I need to force in the
Hope to have some inputs from you. I'm having trouble implementing cookies
in Tomcat
I wrote the following codes
Cookie cookie1 = new Cookie(User_ID, Integer.toString(userid));
Cookie cookie2 = new Cookie(MerchantID, Integer.toString(merchantID));
Cookie cookie3 = new Cookie(SecurityLevel,
On Fri, 5 Oct 2001, Willie Vu wrote:
Date: Fri, 5 Oct 2001 11:27:59 +0800
From: Willie Vu [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Question on FORM based authentication in Tomcat 4.0
I would like to achieve the following:
- allow
Thanks for your prompt reply Craig.
Your advice leads me to another question. OK, say I don't do that. I let
Tomcat handle the login for me. However, you can bookmark the login page
that Tomcat forwards them to. In this case, there is no way to stop users
from access the login page directly.
On Fri, 5 Oct 2001, Willie Vu wrote:
Date: Fri, 5 Oct 2001 12:14:27 +0800
From: Willie Vu [EMAIL PROTECTED]
To: Craig R. McClanahan [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Question on FORM based authentication in Tomcat 4.0
Thanks for your prompt reply Craig.
Your advice
If i remember getServletContext has been deprecated and now returns a null
..
-Original Message-
From: Brian Richards [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 3:32 AM
To: [EMAIL PROTECTED]
Subject: Forward Request alogn with Parameters
I get a null pointer exception at
Just found something in the API docs that might be of help:
getRequestDispatcher
public RequestDispatcher getRequestDispatcher(java.lang.String path)
Returns a RequestDispatcher object that acts as a wrapper for the resource located at
the given path. A RequestDispatcher object can
be used to
101 - 148 of 148 matches
Mail list logo