Please help me.. I currently have Apache 1.3.12 passing any .jsp to
Tomcat. (I'm new at this). How do I turn off the Directory listing in
Tomcat? I've tried editing every file I can think of. This is getting VERY
frustrating. Thanks in advance, Greg
Give your StaticInterceptor in
-Message d'origine-
De : Rick Goeltz [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 5 décembre 2000 19:07
À : [EMAIL PROTECTED]
Objet : Re: VAJ and Tomcat 3.2
Dear Rick,
I thank you for your great help, but I have some comment :
You're correct : IVJ doesn't close sockets even if the
Does Tomcat support user-authentication just like the Apache stuff?
If so, how is it done?
Thanks in advance...
begin:vcard
n:Viluan;John
tel;work:Pacific Analyst (Phils), Inc.
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:John Viluan
end:vcard
Sorry if this may be a FAQ but I went to the
jakarta.apache.org homepage and didn't find
a word on this nor in the FAQ:
I have written an intranet web application for
a custom purpose and want to ship it to my customer.
Can I include apache and tomcat on the CD?
Or can I tell the customer: get
There is a file name LICENSE in the root directory
of the tomcat distribution which tells you
which rules apply to you:
* 1. Redistributions of source code must retain the above copyright
*notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary
At the IBM site you can find 2 classes to start and stop tomcat inside VAJ.
If you can't find it I can send it to you directly
andrea
At 09.42 06/12/2000 +0100, you wrote:
-Message d'origine-
De : Rick Goeltz [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 5 décembre 2000 19:07
À : [EMAIL
Hello,
I have the following trouble with Tomcat 3.1 running as a NT service (using
the JK_NT_service.exe program).
Even though the service is running under the system account, when I log off
the current NT user, the service dies. When I log on again, it is stopped, I
have to start it manually.
Are you using JDK 1.3 ? This is a known bug. I'm not sure it was already
corrected. Try the newest or JDK1.2.2 that sure works.
Wellington
-Original Message-
From: Bezpalec, Marek [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2000 11:13
This is a FAQ.
It is a problem with JDK 1.3 - not Tomcat. Apparently reverting to 1.2x is
the solution...gack
-Original Message-
From: Bezpalec, Marek [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2000 10:13
To: '[EMAIL PROTECTED]'
Subject: Tomcat as an NT service
Hello,
I have the
Is it a must to have JDK 1.2 or more for tomcat 3.2 ? i
I have been successful in running tomcat 3.2 with SSL on linux. But I am
struggling for AIX. I did whatever I did in case of linux except that I
dont have jdk1.2, but I have jdk1.1.8 on AIX. But the tomcat is starting up
only for plain
On Tue, 5 Dec 2000, Kevin Sangeelee wrote:
Hi, thanks for trying to help :)
The tags you describe below look almost exactly the same as those I
created myself just today, and it works OK.
Hate it when it's only me... and it's even worse when it's not an obvious
error I'm making
Where
try including tools.jar to the classpath. Check which java interpreter is
called.
You can adjust the Path env.
Regards,
Nagaraj.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 11:48 PM
To: [EMAIL PROTECTED]
Subject: Unable to run
Why not?
I did compile mod_jk with apxs, but it still give me an error form Apache
side.
It seem, that Apache can't find my apjv12, or module I tried
evrythings...
Anyway, now I'm installing RedHat 7 .. new start.
I'll give a feedback after this.
SuSe Linux 6.4 and Redhat linux 7;
You will certainly need JDK1.2.2 or later for SSL support, since JSSE
requires it.
Wellington
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2000 11:25
To: Trevor Little;
On Wed, 6 Dec 2000, Kedar Choudary wrote:
Regarding the second question, unfortunately, there seems to be no way to
specify a servelt, in place of a "welcome-file". So, I guess, easiest way to
setup your servlet as welcome-file, will be to have a index.jsp in your
context's root directory
hi there!!
i have installed apache web server and tomcat 3.1 on my pc,but when i start
tomcat it says tomcat home not found and terminates.
can u help me please.
if possible can u mail me ur autoexec.bat file as an attachment so that i
will see exactly how u have set classpath and path also coz
I am facing some trouble when i am using jsp pages that need relative path adressing.
I guess this is a configuration issue, problem description follows:
1) I developed a simple jsp that lists me certain files in a directory submitted by a
querystring. My thought was it references the path
Hello Ananad,
My name is Manjunath( from WROX Press) and I'am collecting all the
information possible regarding the cocoon and it's handling of XML, it's involvement
with Xerces and Xalan, it's advantages , it's history, the need which brought about
the idea of the Apache-XML
- Original Message -
From: "G.Nagarajan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 06, 2000 12:19 AM
Subject: RE: IE Netscape
Hi,
Try setting the content type to "text/html".
Regards
Nagaraj.
-Original Message-
From: Adress,
Try this. (Its also explained in the archives, I'm sure)
head
meta http-equiv="pragma" content="no-cache"
meta http-equiv="cache-control" content="no-store"!-- HTTP 1.1 --
% response.setDateHeader ("Expires", 0); %!-- disable caching
at proxy server --
/head
You need to put it
Hi All,
I'm using Tomcat as an Application server with Apache for an ecom site.
I want to implement SSL in Apache server.With this regard , can anybody
comment on following issues:
1) Is it necessary to implement SSL support in Tomcat also ?
2) Does any specific version of Tomcat supports SSL
Hi all.. If any body could help I would be extremely
grateful.
Using Tomcat 3.1, whenever I place new class files in
the WEB-INF directory, the relaoding mechanism returns
one of the following scenarios..
1. Reloads after about 10-15 minutes
2. Doesn't reload at all!
3. Works fine for about
Thanks for ur reply i am sorry i typed \ insted of /
in my message but in my conf file its typed correct.
The error i am getting is Alias take two arguments, a
fakename and a realname in the file
tomcat-apache.conf...
which was created by the apache server when included
the
the Include path..
Title: RE: URGENT HELP!!! Reloading
First of all, does it happen with every single class you are loading or with only the classes you are writting? Have you tried to load one the example classs provided? If the problem happens every time you load any class then there must be something wrong
Hi Thanks,
But i am not sure how to do with tomcat.conf file
as this is the first time i am using..
I will be thankfull to u if u provide me what i should
add in that file and how i should run the programs of
PROJSP by Wrox..
Even i am new to JSP and Servlets..
Thanks in Advance
boppana
---
Ok, I'll try this again..
Hello all,
I have a problem someone may be able to help with. I tried to compile mod_jk.so
seperate from my apache source, and after enabling it in got the error about it
being a garbled module. So then I tried to compile it with the apache source
tree
(as a
Right now my page looks like this and it's still caching ?
head
meta HTTP-EQUIV="pragma" CONTENT="no-cache"
meta HTTP-EQUIV="cache-control" CONTENT="no-store"
% response.setDateHeader("Expires",0); %
/head
html
head
meta HTTP-EQUIV="pragma"
This is the response I already posted to a tomcat-user with the same
problem.. I thought the problem was only on FreeBsd!! Which is the os
you use?
---
I'm not sure where is the error in the makefile because I'm not a shell
expert, but I
Title: Tomcat, JNI and HP-UX
I know
that the library is be loaded, and I am fairly certain that the linkage is
correct because the class performs as expected when invoking interactively, e.g.
java Hello. I failed to mention earlier that this works on NT, but not
HP-UX. I have also read
i am trying to write an jsp where a bean is instaniated and has it data
initialized on one jsp page. and then another page should be able to
read the data from the bean. i have set the scope of the bean to
request, but when it goes to the other page, i noticed that it is
creating a new bean
You have to put your .jar files in the appropriate
webapps/yourcontext/WEB-INF/lib directory
automatic reload only works in this directory. Further more they must not be
set in your classpath.
BTW: I recommend upgrading to Tomcat 3.2
Regards,
Andreas
-Original Message-
From: Riley,R
head
meta http-equiv="pragma" content="no-cache"
meta http-equiv="cache-control" content="no-store"!-- HTTP 1.1 --
% response.setDateHeader ("Expires", 0); %!-- disable caching
at proxy server --
/head
You need to put it at the top of the page, as you would expect, and
It works now. A bit strange cause the command you gave was the same I was using
(except for the BSD stuff since I'm on linux) with the exception of the
-I/usr/local/apache/include bit because the mod_jk documentation didn't mention
it. I guess that made all the difference. Thanks a bunch.
Andreas
Thanks for responding.
I've done everything that you suggest (except upgrade) and still have the
same result.
I'll try re-installing tomcat.
Regards
Ron
-Original Message-
From: Stubenrauch,Andreas [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, 06 December 2000 16:25
To:
I've just been experimenting, and I've found that if I replace error.html
with an error.jsp instead, it does work
Hmmm. time for a bug report I think.
Catherine
Hi,
We have tried from different machines. So, it cannot be a browser
fault. In
fact, we do shift+refresh, and we clear the cache in the browser before
refreshing it. It must be a tomcat setting that we are missing
out. We have
observed this- if we change the jsp code sitting on the server
Hi Peter
try setting scope to session instead of request, so the bean should
only be instantiated once a session and your project should work.
Pascal Mainini
[EMAIL PROTECTED]
Web Developer
Raptus AG/SA
Burgweg 1
CH-2563 Ipsach
Tel/Fax: +41 32 331 29 03
http://www.raptus.com
Ursprüngliche
Also, are you using a forward or redirect? A redirect makes a new request
from the browser, a forward does it all internally (ie same request).
-Original Message-
From: Edson Carlos Ericksson Richter
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 12:48 PM
To: [EMAIL
George McKInney typed the following on 08:52 06/12/2000 -0800
General consensus here seems (in hindsight) to be that TOMCAT_HOME/lib is
***NOT*** the place to put .jar files UNLESS the Tomcat administrator can
ensure that every app that will be installed will be happy with them.
Otherwise,
set the scope to session or application request scope is just while the
page is loading
Peter Choe wrote:
i am trying to write an jsp where a bean is instaniated and has it data
initialized on one jsp page. and then another page should be able to
read the data from the bean. i have set
give each developer a separate jvm and context;
give each jvm its own classpath;
give each application its own "webapps" directory and load app-specific jars in the
WEB-INF.
For example, we provide a base directory with common jars (ie a customized mailer,
security services (we use kerberos)
Hi, I'm trying to compile mod_jk on a Red Hat 7.0
system with the latest Apache rpm, Tomcat 3.2, etc. but can't find the "apxs"
command anywhere. I'm beginning to wonder if the problems I've had trying to get
Tomcat and Apache working together come from that the Apache I'm using is
Eric,
I have just finished integrating a large amount of 'C' code into servlets using JNI.
One useful tool I used was trace (or truss on Solaris, there is a eqivalent on HP but
I can't
remember what is is.) This traces all the system calls and you shoud see that library
it is
trying to load
/usr/local/tomcat/webapps/netconsole/WEB-INF/web.xml looks
like thisservlet-name
I think you need perl to run the apxs command. There is a
howto on apache website that tells you what you need. I don't remember the url
but if you go to www.apache.org and then to
tomcat's online documentation you'll be able to find it
Yong
Yong BooneSoftware Engineer Ix14942(801)
Title: RE: VAJ and Tomcat 3.2
Here are my settings. Maybe this helps.
Run properties \ Program :: set tomcat home variable
tomcat.home=d:\Tomcat
Run properties \ classpath
d:\Tomcat\_classes\jasper.jar;
d:\Tomcat\_classes\servlet.jar;
d:\Tomcat\_classes\webserver.jar;
From a Linux newbie!
What's the best way of getting Tomcat to run on port 80 on Linux (without
running it as root)?
I've re-configured Apache to run on 8080, I can start Tomcat as su on 80,
but I'd like it to run on my account on 80.
Anyone?
Kevin Jones
DevelopMentor
www.develop.com
Has anone compiled a list of ISP's that support
Tomcat ??
If you use response.sendRedirect then you are telling the browser (ie
client) to open the supplied URL. The browser then makes a new request for
that URL. So, if your bean is scoped to a request, then it will be out of
scope for the redirect. If it is scoped for the session or application,
My apxs was in apache/bin and
it is indeed in perl. If the perl interpreter is not found, than a likely
error message will be that apxs is not found.
-Original
Message-From: Yong Boone
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 06, 2000 01:54
PMTo: [EMAIL
anybody can send me the mod.jserv.so file for tomcat 3.2 final and linux?
thanks
When I try to config tomcat, I encounted a a problem.
After I config and start the tomcat, when I execute
the servlet examples. It doesn't work. I check the log files, and it reads
HTTP 404.
But the class files is right in the web-inf/classes directory, And I tried
snoop, it doesn't work
I am in the process of setting up a isp that will support tomcat...under
linux (redhat 6.2 or 7.0)
How soon are you looking to go online?
I will be ready to go online by the end of the month, probally sooner.
-Original Message-
From: John Gentilin [mailto:[EMAIL PROTECTED]]
Sent:
Hi David,
That was a great link there at theaimsgroup.com.
Thanks for the link.
Cheers!!!
-seidhi
--- David Rees [EMAIL PROTECTED] wrote:
The one I use is here:
http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2
The archives go back to March of 2000.
There is another archive, but the
The most often cited list is the following:
http://www.adrenalinegroup.com/jwsisp.html
If you don't mind the plug, please consider my company which supports
Tomcat with our Developer Accounts:
http://www.spinweb.net/hosting/developer_accounts/
Duane Gran
spinweb.net
On Wed, 6 Dec 2000,
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hi. I have a completely stock install of tomcat 3.2 and JDK 1.3 on
solaris 2.6
I reconfigured my startupscripts to find my classpath and what not. I
start up the Tomcat server and don't get any wierd error messages. I
I had the same problem for RedHat 6.2 but once I installed the apache-devel
(apache development) RPM all was good.
Name : apache-devel Relocations: (not relocateable)
Version : 1.3.12 Vendor: Red Hat, Inc.
Release : 2 Build Date: Wed 01 Mar 2000 12:37:55
PM CST
Install date: Tue 28 Nov 2000
Landaluze Produktions IS - Carlos wrote:
anybody can send me the mod.jserv.so file for tomcat 3.2 final and linux?
thanks
Just download the tomcat and apache source and do the following, replace
TOMCAT_HOME with your tomcat home directory and likewise with
APACHE_HOME:
cd
Did you add the following line in httpd.conf?
AddModule mod_jk.c
Did you copy mod_jk.so in apache/libexec? Also mod_rewrite.so should be there.
Did you configure tomcat/conf/workers.properties? You need to update 3 parameters:
workers.tomcat_home=/jakarta-tomcat
Kevin Jones wrote:
From a Linux newbie!
What's the best way of getting Tomcat to run on port 80 on Linux (without
running it as root)?
I've re-configured Apache to run on 8080, I can start Tomcat as su on 80,
but I'd like it to run on my account on 80.
[snip]
I believe that ports
Never mind -- figured it out. We needed to add the
"home"
parameter to the ContextManager.
Thanks,
Dave
- Original Message -
From:
Dave Smith
To: [EMAIL PROTECTED]
Sent: Thursday, October 05, 2000 8:37
PM
Subject: Web.xml Getting Ignored
Greetings,
check out the servlet 2.2 specification.
http://java.sun.com/products/servlet/download.html
Mike Campbell wrote:
Can someone point me to where these varying scopes are
defined? Specifically, where does a "session" begin and end? Page
and request I think I can figure out.
Thanks.
begin:vcard
Section 1.4.3 of the JSP 1.1 Final Spec (page 24). Its available at
http://www.javasoft.com/products/jsp/download.html
http://www.javasoft.com/products/jsp/download.html
My own understanding: Session starts at the first time a user in a
particular web browser instance requests a "resource"
Is there some way I can make my server not allow users to type in URL's
directly to servlets in the WEB-INF/classes directory?
I only want these servlets to be accessed by my own jsp pages on my server.
This error usually happens when tools.jar from JAVA_HOME is not found.
Try this
edit tomcat.bat to explicitly add the above jar file
HTH
- Original Message -
From: "Bill Long" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 06, 2000 3:52 PM
Subject: Help Please with
There may be a compatibility problem between the XML-related classes that
Tomcat uses
and the ones you need for your own processing. That's been my experience
trying to
use the jaxp1.1ea (early access) software, in any case. Can you compile
your classes
with Tomcat's XML-related jar files?
Yes, I'm using it successfully now. The problem you're seeing is
because the xalan class files can't be found. Look at your class path
and make sure the xalan.jar is referenced somewhere. If that doesn't
work, sometimes, for some reason, I've had to unjar the classes for
tomcat to find them.
| Subject: mod_jk compile error
|
| When I use the apxs command I get an error that the jni.h can't be found
|
| ../jk/jk_jni_worker.c:67:17 jni.h No such file or directory
| ...
| apxs:Break:Command failed with rc=3D1
|
It means it can't find jni.h from the JDK. You need to give
Sure, just set the user and group directives in httpd.conf and httpd
won't have priveleges beyond that user.
Paul
Cato Førrisdahl wrote:
Kevin Jones wrote:
From a Linux newbie!
What's the best way of getting Tomcat to run on port 80 on Linux (without
running it as root)?
I've
I realize this topic has been covered nearly two months ago, but all the
solutions given here have not worked for my environment.
Here are the details:
IIS 5.0, W2KPro, Tomcat 3.2
I've configured everything according to the Tomcat-IIS HowTo and confirmed
the following are working:
-Tomcat
Append logs excerpts please, i have the same conf working like a
charm..
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Kintzer, Michael [mailto:[EMAIL PROTECTED]]
Enviado el: jueves 7 de diciembre de 2000 2:47
Para: '[EMAIL PROTECTED]'
Asunto: RE: 404 error w/
The
December issue of Java-pro magazine has an issue on Tomcat installation. It's
worth checking out if you are a newbie.
As a suggestion, to help making sure that a page is not cached, add a
random parameter to the link, something like
a href="whateverlink.html?rnd=%=(int)(Math.random()*1000)%
So at least every time the user reload this page the link will be different.
Of course this technique presents
Hi,
Tomcat 3.x and 4.0 have a Cache-Control Bug.
But, none of Tomcat commiters know that.
Because I am not a commiter, I cannot fix the Bug of Tomcat.
Try to check my page:
http://www.javaclue.org/tomcat/patch32/dopatch.html
Kim
On Wed, 6 Dec 2000, Paulo Gaspar wrote:
That looks
Duane Morse wrote:
There may be a compatibility problem between the XML-related classes that
Tomcat uses and the ones you need for your own processing.
Yes, that's what I figured, but I'm clueless as to how to fix it.
That's been my experience
trying to
use the jaxp1.1ea (early access)
Well, then I think your next best bet is in the Tomcat 4.0 release which has
the new Filter and Valve features. My only knowledge of these is from one of
Craig McLanahan's posts, but if you check the spec, it will probably
describe them in detail. My understanding, is that these would allow you
Hi Anand,
I want to get in touch with you for the following clarifications.
cocoon and it's handling of XML, it's involvement with Xerces and Xalan, it's
advantages , it's history, the need which brought about the idea of the Apache-XML
Project, it's present users(the
I would also greatly appreciate anybody who can get in touch with me regarding the
same
Hi Anand,
I want to get in touch with you for the following clarifications.
cocoon and it's handling of XML, it's involvement with Xerces and Xalan, it's
advantages , it's history, the
Hi there ,
Currently i need the following info about Tomcat. I want to know what
necessitated the Tomcat project. The advantages of this project in comparison with
Apache. The individualistic views on this project or the jakarta project as a whole,
it's stand today and
Hi,
This an intermitten problem that crops up once in a while.
A java object SearchResult is put into the Session object
by servlet1 and taken out by servlet2 which type cast it back
to (SearchResult), if it's not null.
Ocassionally, servlet2 will throw java.lang.ClassCastException.
However,
80 matches
Mail list logo