can't find package servlet.http*
Is that what your source file says?? Your import should look like this:
import javax.servlet.http.*;
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Nothing out there is going to defeat a very skilled and determined hacker,
but SSL will defeat most of them. Of course that only protects your http
traffic. You should also use a firewall to block access to the rest of the
server ports. Your web site is only as secure as the server it's running
I catch a lot of Internal Server Error from the
org.apache.catalina.connector on our website.
Heres an example of the lines Ive got.:
org.apache.catalina.connector.HttpRequestBase.parseParameters(HttpRequestBas
e.java:658)
Hello,
I've been experimenting with WAR's on my dev server and have found that after a WAR is
deployed for the first time, it is not redeployed on subsequent server bounces. I've
looked through the functionality in /manager and can find nothing that allows you to
have a web app redeploy the
With 4.x you can add a Loader checkInterval=15 / element nested
inside your Context. The default checkInterval is 15
See docs for other Loader options.
- Andrew
-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 9:52 AM
To: '[EMAIL
Do you include the mod_jk.conf in your httpd.conf file? If so,
at what point in the file do u include it? I've tried taking the VirtualHost
tag off but then I get syntax errors when reading httpd.conf. It
doesnt like the JkMount directives.
-Chris
- Original Message -
From: Shannon
At 10.47 26/07/2002 -0400, you wrote:
Where are you storing your test.jsp?
It's in /home/sites/www.blacknightsolutions.com/web/test.jsp
As defined in the current configuration of my server.xml :
Server port=8005 shutdown=SHUTDOWN debug=0
Service name=Tomcat-Apache
Connector debug=0
And if you can afford it for your project get a good highend firewall
that inspects the requests prior to allowing them through. And a good
IDS system of some sort, preferably one that'll work with your firewall
or that will at least send out alerts.
--mikej
-=-
mike jackson
[EMAIL
Don't mean to start with a RTM reply, but,
Check out the man pages on 'magic'
The 'magic' file itself is usually /etc/magic.
It usually contains offset other interesting info.
Also try,
file mod_jk.so
This will use the local magic file to determine the file type is
sop you only needs to map jsp files? all other content goes to iis ?
try
/*.jsp=$(default.worker)
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: news [mailto:[EMAIL PROTECTED]]En nombre de George Hester
Enviado el: 26 de julio de 2002 0:47
Para: [EMAIL PROTECTED]
Asunto:
Yesterday, the init() method of a servlet of mine started to be called
twice. The hash code of the servlet object proved that there were two
separate instances of the servlet. The archives mention some causes of this
situation, but mine was caused by another one. I'm posting this here in case
Hmm, I see a few problems below
-Original Message-
From: Michele Neylon -Blacknight Solutions
[mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 1:11 PM
To: Tomcat Users List
Subject: RE: Tomcat 4, mod_jk, Apache 1.3.20
At 10.47 26/07/2002 -0400, you wrote:
Where are
Hi,
Besides the obvious .html, servlet, and JSP, what are the other features
supported by Tomcat4? Such as JNDI, JDBC etc.
Is there a document explains the supported feature set?
Thanks!
Zhenxin Wang
DoCoMo USA Labs
Hi Tomcat folks,
I'm trying to put my servlet under http://www.myserver.com/myservlet
(instead
of whole www.myserv.com/myapp/servlet/myservlet line) by using Apache2
mod_jk2. In general, I need a more simple URL, or noone will remember to
visit my site ;)
Everything went fine: I get rid of the
You might try cleaning up the HTML and re-testing it. I ran it through the
HTML validator at validator.w3.org and got this:
* Line 23, column 64:
TDInput Type=CheckBox Name=FACNO Value=/Input/TD
^
Error: end
The virtual host entry in the mod_jk says ServerName localhost. You
should change that to the domain-name (like www.shannonscott.com).
RS
Shannon Scott [EMAIL PROTECTED] on 07/26/2002 11:10:26 AM
Please respond to Tomcat Users List [EMAIL PROTECTED]
To:Tomcat Users List [EMAIL
Thank you for your help...
I removed the VirtualHost tags from the mod_jk.conf, and everything is
working the way I expected.
Thank You EveryOne
Shannon
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, July 26, 2002 12:13 PM
Subject:
For mod_jk you can try the binaries for tomcat 3.3:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux
/i386/
From http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/
:
NOTE: AJP 1.3 native connectors binaries for Tomcat 3.2 and 3.3 are
fully
compatible
To really make sure it gets deployed you have to delete the webapp from the
~/tomcat/work/servername directory.
So, if you want, add something to your startup.sh script (or startup.bat)
like
rm -rf /tomcathome/work/servername/webappname
That will clear it completely and force Tomcat to redeploy
The first step is to estimate following numbers
- Number of new users per time unit
- Average session length
- Number of requests per user and time unit
Break the requests down to request for
- static resources
- simple dynamic pages
- dynamic pages with database access
estimate the
To really make sure it gets deployed you have to delete the webapp from the
~/tomcat/work/servername directory.
So, if you want, add something to your startup.sh script (or startup.bat)
like
rm -rf /tomcathome/work/servername/webappname
That will clear it completely and force Tomcat to redeploy
Thanks for your help. I'm not confused anymore. But still cannot download
the mod_jk from anywhere.
Google indeed gives so many links. But I tried that before. This list was my
last resource... The google links are or broken or getting me to the
download page for tomcat 3.x.
I have CVS on my
Do you include the mod_jk.conf in your httpd.conf file?
Yes.
Include /var/tomcat4/conf/mod_jk.conf
If so,
at what point in the file do u include it?
It is the last line in the httpd.conf file.
I've tried taking the VirtualHost
tag off but then I get syntax errors when reading httpd.conf. It
Hello Juha
Thanks for replying.
I tried to uninstal tomcat 4.0.3. Restart my computer. Installed Tomcat
4.0.3 again. Restart my computer
and when I run Tomcat again. It has this Internal Server Problem.
I don't know why?
tHEN i UNISTALL IT AGAIN AND IN DIFFERENT DIRECTORY INSTALLED TOMCAT 4.0.4
John,
I am not using any VirtualHost containers... although I noticed some
removed
comments in that part of httpd.conf that reference ssl.
Actually these removed comments are below the /VirtualHost tag.
Sorry about the confusion.
Shannon
- Original Message -
From: Turner, John [EMAIL
Subject: Re: architecting large sites
From: Vic C [EMAIL PROTECTED]
===
I have done stress testing to 1000 users with a 2 cpu box quite nicely.
So 2 boxes (each with 2 CPUs) and 1.5 gig ram at least would be a start.
Also... JRockit VM and Tower J VM and IBM VM (in that order) should be
used
set your pages to no-cache, which forces the browser to always get it
from the server. Is that what you're looking for?
peter
Steve Russell wrote:
Hi;
My boss wants to expire our jsp pages.
In other words, if a user hits backspace, instead of getting the jsp
page s/he just left s/he
Hi;
My boss wants to expire our jsp pages.
In other words, if a user hits backspace, instead of getting the jsp
page s/he just left s/he would see a notice that the page expired.
I've seen snippets of code to do this on google, but I haven't been able
to get them to work.
Can Tomcat 4.03
Has anybody compared these two products, esp. when they integrate with
Tomcat?
Thanks!
Zhenxin Wang
DoCoMo USA Labs
Where can I get documentation on how to integrate tomcat with apache? I
looked on the site, but I can't find a definitive answer (at least in my
opinion).
Thanks.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
This is a code red worm attack or something, when you map /* to tomcat (
as in my first response to your questions ), then all the requests
without context are redirected to tomcat, hence you see i_r.dll refusing
to map that bad request, and you see the result in logs..
if you use the second
Subject: Re: architecting large sites
From: Vic C [EMAIL PROTECTED]
===
Oh and a ... sticky IP on CISCO
Vic C wrote:
I have done stress testing to 1000 users with a 2 cpu box quite nicely.
So 2 boxes (each with 2 CPUs) and 1.5 gig ram at least would be a start.
Also... JRockit VM and Tower
Hello,
We are building an application using Tomcat 4.0.2 and Apache 1.3.20 ( mod_jk APJ13 )
on RedHat Linux 7.2.
When the jsp pages are accessed from the localhost ( Webserver with apache and Tomcat
) everything works fine, but when we try to use another machine on the local network,
it does
On Fri, 26 Jul 2002, Gord Tomlin wrote:
Date: Fri, 26 Jul 2002 13:03:53 -0400
From: Gord Tomlin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Servlet init() called twice - another cause
Yesterday, the init() method of a servlet of mine
Click on the link at the bottom of the email. Are you using the same address
that you subscribed with?
I'm just a temp user. It can be overwhelming.
Tim
-Original Message-
From: Martin [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 9:32 AM
To: Tomcat Users List
Subject: Problems
It would help if you could give us more information, such as target
operating system, etc.
In general, there are all sorts of resources available, such as this one
from the tomcat site:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
and this one, also from the tomcat site:
You don't have to recompile tomcat.
The change of JAVA_HOME is enough.
I think your problem is caused by the fact that
with the new JDK a different xerces library is
found than with the older version.
-Ursprüngliche Nachricht-
Von: Andrew Ferayorni [mailto:[EMAIL PROTECTED]]
Well, I had same problem. I just installed tomcat again. Do u have another
programs w use localhost?
Terveisin,
x--- Juha Halmu ---y
http://portal.halmu.net
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 26. heinakuuta 2002 22:05
To: [EMAIL PROTECTED]
For the Exception that caused the stacktrace I didn't know it because we
made an automatic that send us an email when an Exception of type
Exception is throw.
I will put the exception type in the automatic mail next time I'll put our
web site online.
Here's all the stack trace :
Howdy,
I hope this message isn't a joke? ;)
You need the servlet.jar in your classpath. It can be found in the
Tomcat common/lib directory.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Wiwi Wiwi [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 1:30 PM
To:
Howdy,
It's more likely to be the webapps directory itself.
So if you have webapps/MyApp.war when you run you will have
webapps/MyApp.war and webapps/MyApp/[expanded WAR].
That said: if you deploy in a WAR, you should not make assumptions about
how/where it will be unpacked. I'm assuming you
On Fri, 26 Jul 2002, Craig R. McClanahan wrote:
On Fri, 26 Jul 2002, Martin wrote:
Date: Fri, 26 Jul 2002 09:31:44 -0400
From: Martin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Problems with forum
I have sent 3
Hmm... for some reason I am getting a different set of output. This is what I get:
TR
TDInput Type=CheckBox Name=FACNO Value=46464/TD
TDStraub Jr./TD
TDDetmar W./TD
TDA
you have not got the servlet package in your classpath.
-Original Message-
From: Wiwi Wiwi [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 12:30 PM
To: [EMAIL PROTECTED]
Subject: Servlet file CAN'T BE COMPILE!!!
dear all, I have found that my j2sdk1.4 couldn't compile servlet,
You might try looking at it in Mozilla. It looks totally wrong there. When you type in
an author first name and lastname, and hit submit you get a TOTALLY blank page.
-Original Message-
From: Chua Eng Huang, Cecil [mailto:[EMAIL PROTECTED]]
Sent: 26 July, 2002 7:30 PM
To: Tomcat Users
Tomcat 4.1 includes the file server/lib/catalina-ant.jar which contains
the code for the documented Ant tasks. Just put this in your
$ANT_HOME/lib directory to enable them.
I fixed my own from the tomcat4.1 src file. Just jar'ed it and put into the
lib directory, and of course added these
That is the error reported for the Macintosh/IE combination. Does anyone know why?
(Even with faulty HTML, I'd think the browser would still get faulty HTML instead of
nothing).
Cecil Chua
-Original Message-
From: Sexton, George [mailto:[EMAIL PROTECTED]]
I have used OptimizeIt to profile an XML Server that runs under Tomcast.
The results were very helpful, haven't used it in a while though. Actually
Borland
just proactively sent me the upgrade disk which really surprised me. A
year ago
when I first purchased it, it was the best product for the
I'm not positive if you can make an NT Login, but TC 4.1.x has a
JAASRealm class which extends the Realm class.
I didn't see any docs except the source. You probably want to get
familiar with Realms first, then tackle JAASRealm. As a side not, if
you are using Active Directory, you could use
Thanks to whoever has been following this.
dwh, your pet theory about maximum packet size is right.
This explains it.
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q294769;
-Original Message-
From: Saravanan Bellan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25,
When configuring TC 4.1.8 to work with mod_jk2.dll (jul-19 nightly), I
ran into an odd configuration issue with j_security_check.
When using extension mapping, the only way to get j_security_check to be
sent to Tomcat was to make a directory redirect for it.
snip
[uri:/TimeOff/*.jsp]
Hey, I was just noticing that the names of two of the interfaces
defined in the Tomcat 2.3 spec (two of the Lifecycle listeners) don't
match the classnames in the Tomcat library. Which one is right?
According to the spec (servlet-2_3-fcs-spec.pdf page 70, marked final,
dated 8/13/01) the
I am using tomcat 4.0.3 version.
Everything was working fine until I restarted my computer and now I cannot
have my JSP examples
of tomcat running.
Before restarting my computer JSP, SOAP examples and my own examples were
running
great. Now when I
try to run JSP example at http://localhost:8080
53 matches
Mail list logo