scenarion
client sends a http request to tomcat
nos, is there anytime tomcat sends a response without parsing the header at
all
Guojun Zhu wrote:
Hi,
We are using Tomcat 5.5 in a linux box. And I am trying to set up the Realm
security for our webapp. I only want a password and username challenge for
this webapp only. So I guess I need to set up a role corresponding to it
directly. I look around and did not find much
On Tue, Jul 15, 2008 at 6:35 PM, Rainer Jung <[EMAIL PROTECTED]>
wrote:
What do you expect to be the value of the 'REMOTE_USER' variable? Do you
> expoect something else, than what you get from request.getRemoteUser()? What
> do you mean by variable? Maybe an httpd environment Variable?
>
>
Precis
> From: Olivier Fourel [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.5 hanged . Thread Dump Analyze
>
> our Tomcat production server hanged again.
> We made 2 thread dumps with few minutes between them.
The only thing I found suspicious is that PermGen is at 99% in both of them.
(You also have a
mod_jk does chunked encoding on all dynamic responses (e.g. From Tomcat)
that don¹t already have some form of response end set (e.g. A Content-Length
header).
To be accurate I think this is more a function of Apache than mod_jk.
All you should need to do is connect Tomcat to Apache using mod_jk and
Hi-
We're running Tomcat 5.5.16 behind Apache2 and one functionality of our
web app serves up ZIP files which are created on the fly.
We'd like to implement chunked-encoding to serve up the ZIP file so we
don't have to actually create a temporary file on disk first but also so
that we can im
Hi,
We are using Tomcat 5.5 in a linux box. And I am trying to set up the Realm
security for our webapp. I only want a password and username challenge for
this webapp only. So I guess I need to set up a role corresponding to it
directly. I look around and did not find much information about h
hooray ;-)
thanks!
[]
Kenji
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I figured out my problem, and I thought I should posted it, although I
apologize if I'm reducing the signal to noise here, as this is pretty specific,
and it didn't get a lot of attention to begin with. Here it is:
I mistakenly had iptables blocking traffic from localhost, which I think
blocke
> From: Leonardo K. Shikida [mailto:[EMAIL PROTECTED]
> Subject: Re: memory realm => tomcat 6 => null pointer exception
>
> yes I did
What about the UserDatabase under ? That
should also come out when using the MemoryRealm.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWIS
yes I did
:-(
[]
Kenji
On Tue, Jul 15, 2008 at 2:59 PM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
>> From: Leonardo K. Shikida [mailto:[EMAIL PROTECTED]
>> Subject: memory realm => tomcat 6 => null pointer exception
>>
>> when I add to server.xml
>>
>> right below
>>
>> I ca
> From: Leonardo K. Shikida [mailto:[EMAIL PROTECTED]
> Subject: memory realm => tomcat 6 => null pointer exception
>
> when I add to server.xml
>
> right below
>
> I can't start the server and I get the message
Works fine for me - as long as I comment out the existing ; did you do
when I add to server.xml
right below
I can't start the server and I get the message
Jul 15, 2008 2:29:07 PM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.NullPointerException
at sun.misc.Launcher$AppClassLoader.loadCla
Toby White wrote:
Hi,
I am a newbie in Tomcat so please be patient. =)
I have an application which uses apache tomcat to provide users with browser
access.
To deploy it I copied a war file into webapps directory.
The application uses Cyrillic characters. If I use the windows-based tool
everyth
Joe wrote:
> I'm not getting any exceptions on startup, and the exact war file that I'm
pointing is found because it's serving HTML
> and even my servlet just fine.
> But when I get a ServletContext, it's null. I've got a set of tomcat jars
in the classpath (catalina, annorations-api,
> tomcat-coy
Hi,
I am a newbie in Tomcat so please be patient. =)
I have an application which uses apache tomcat to provide users with browser
access.
To deploy it I copied a war file into webapps directory.
The application uses Cyrillic characters. If I use the windows-based tool
everything is shown OK.
If
Definitely a plan. I put the following in my context.xml:
validationQuery="select 1"
testWhileIdle="true"
timeBetweenEvictionRunsMillis="1000*60"
removeAbandoned="true"
I set connect_timeout=5 in /etc/my.cnf, and restarted both mysql and
tom
Maybe I missed some docs somewhere, but my embedded Tomcat isn't working
properly.
I doing essentially this:
Embedded embedded = new Embedded();
embedded.setCatalinaBase(".");
Engine engine = embedded.createEngine();
Host host = embedded.createHost("localhost", ".");
engine.addChild(host);
C
Thanks, Mark. When I first saw that security notice, I thought, "this is
it!". I don't think it is my problem, though, because I don't allow direct
SSL requests to get to the web servers. All HTTPS gets terminated to HTTP
at the load balancer. The load balancer sends the HTTP requests to Apach
Hi Rainer,
Thanks a lot for responding.
> You mean the number of threads inside Tomcat?
We use prefork mod_jk, so basically it is not the number of
threads but rather the number of processes created by Apache. When the
number of processes (client connections) on Apache side reaches 252,
m
On Tue, Jul 15, 2008 at 4:49 AM, stasins <[EMAIL PROTECTED]> wrote:
>
> Hi. Is there anybody who can explain me how could i configure tomcat server
> for saving files on its webapp using URLConnection or HttpClient. And in
> URLConnection API what Content-Type and Method must be setted?
Sorry, unc
On Tue, Jul 15, 2008 at 4:04 AM, Ken Bowen <[EMAIL PROTECTED]> wrote:
> The problem: With MySQL connect_timeout = 5, I'm getting timeout exceptions
> (below) even though I have a
> validation query set; Here's my app's META-INF/context-xml:
>
>
> maxActive="100" maxIdle="30" maxWait
dave.smith schrieb:
Yesterday, I upgraded our dev environment to mod_jk 1.2.26, which couldn't
have been easier. It will probably take me a couple of days before I can
get this done in production, though.
I terminate all HTTPS requests before they get to the web server, so from
what you have de
Yesterday, I upgraded our dev environment to mod_jk 1.2.26, which couldn't
have been easier. It will probably take me a couple of days before I can
get this done in production, though.
I terminate all HTTPS requests before they get to the web server, so from
what you have described, it is probab
> From: vibhuti [mailto:[EMAIL PROTECTED]
> Subject: RE: Setting context in tomcat6
>
> I will not be able to access my application using URL
> http://localhost:8080/myapp/, I'll just be able to access it using
> http://localhost:8080/
> I want the users of my web application to be able to access
>
vibhuti wrote:
Thanks a lot for the prompt reply. I have tried doing that but in that case
I will not be able to access my application using URL
http://localhost:8080/myapp/, I'll just be able to access it using
http://localhost:8080/
I want the users of my web application to be able to access it
Rainer Jung wrote:
Hi David,
dave.smith schrieb:
Hi Rainer,
Thanks a lot for the reply.
I am using Tomcat 5.5.25 (rpm from jpackage.org). CentOS Linux 2.6.18.
Could you be seeing CVE-2007-6286 ?
See http://tomcat.apache.org/security-5.html for info.
Mark
-
Thanks a lot for the prompt reply. I have tried doing that but in that case
I will not be able to access my application using URL
http://localhost:8080/myapp/, I'll just be able to access it using
http://localhost:8080/
I want the users of my web application to be able to access it using both
the U
Hi David,
dave.smith schrieb:
Hi Rainer,
Thanks a lot for the reply.
I am using Tomcat 5.5.25 (rpm from jpackage.org). CentOS Linux 2.6.18.
httpd was compiled in prefork mode. The prefork settings are:
StartServers 8
MinSpareServers5
MaxSpareServers 20
ServerLimit 256
MaxCl
Hi Rainer,
Thanks a lot for the reply.
I am using Tomcat 5.5.25 (rpm from jpackage.org). CentOS Linux 2.6.18.
httpd was compiled in prefork mode. The prefork settings are:
StartServers 8
MinSpareServers5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerCh
Rename your app ROOT (case is important here) and it will become the
default webapp.
--David
vibhuti wrote:
Hi
I've been trying to set my application as default application using tomcat6
but none of the approaches I tried worked.
First, I created a file .xml in /tomcat/conf/Catali
Hi
I've been trying to set my application as default application using tomcat6
but none of the approaches I tried worked.
First, I created a file .xml in /tomcat/conf/Catalina/localhost
folder but this did not make my application default. It worked on tomcat5
but not on tomcat6. Following
Thats right and clueful. Yes, I modifued my httpd.conf to include the webapp
location that I was going through and it updated the remote user, I was able
to use have the result now properly set from the request.getRemoteUser call.
Fine.
BUT, again, I was not able to pass the 'REMOTE_USER' vari
David...see below...
On Jul 15, 2008, at 8:28 AM, David Smith wrote:
Looks like for some reason your mysql db is closing the connection
in the middle of your query reads. This isn't normal behavior in a
tomcat/mysql setup. Setting connect_timeout only impacts the
initial handshake and va
Looks like for some reason your mysql db is closing the connection in
the middle of your query reads. This isn't normal behavior in a
tomcat/mysql setup. Setting connect_timeout only impacts the initial
handshake and validationQuery just tests the connection before you
borrow it. I wouldn't
Hello Mathias,
Mathias Walter wrote:
I don't know it exactly. The problem is that the sites are linked from
anywhere. I'm not sure, if a crawler that follows the link
http://mydomain:port/servlet/page.jsp, looks for the robots.txt in the ROOT
webapp.
Just last week we've installed a robots.txt
Hi. Is there anybody who can explain me how could i configure tomcat server
for saving files on its webapp using URLConnection or HttpClient. And in
URLConnection API what Content-Type and Method must be setted?
--
View this message in context:
http://www.nabble.com/Saving-file-tp18462771p184627
tomcat tom wrote:
I'm looking for a scenario like;
mod_rewrite and forbidden flag, wherein the server gives the 403 response
pls give me the link
Try searching the archives.
http://tomcat.apache.org/lists.html
On 7/15/08, Mark Thomas <[EMAIL PROTECTED]> wrote:
tomcat tom wrote:
does tomc
On Tue, Jul 15, 2008 at 2:23 PM, Rainer Jung <[EMAIL PROTECTED]>
wrote:
> Nikhil schrieb:
>
>> [Tue Jul 15 12:57:40 2008] [20026:0001] [debug] mod_jk.c (607): Service
>> protocol=HTTP/1.1 method=GET host=(null) addr=149.77.175.155 name=
>> is3.hyd.deshaw.com port=8080 auth=(null) user=(null)
>> la
t
2008/7/15 Antonio Petrelli <[EMAIL PROTECTED]>:
> 2008/7/15 Buddy wu <[EMAIL PROTECTED]>:
>> I'm so sorry.
>> but i don't find a websphere list. So I try fortune.
>
> Well, google "Websphere mailing list" and press "I'm feeling lucky",
> or simply go to:
> http://www.websphere.org/websphere/jsp
hi mark
I'm looking for a scenario like;
mod_rewrite and forbidden flag, wherein the server gives the 403 response
pls give me the link
On 7/15/08, Mark Thomas <[EMAIL PROTECTED]> wrote:
>
> tomcat tom wrote:
>
>> does tomcat do header parsing?
>>
>
> Yes.
>
>
>
>
> -
2008/7/15 Buddy wu <[EMAIL PROTECTED]>:
> I'm so sorry.
> but i don't find a websphere list. So I try fortune.
Well, google "Websphere mailing list" and press "I'm feeling lucky",
or simply go to:
http://www.websphere.org/websphere/jsp/listserv.jsp
Antonio
--
I'm so sorry.
but i don't find a websphere list. So I try fortune.
or is anyone can give me a list of websphere? I searched a lot , but
not found a working one yet
2008/7/15 Peter Crowther <[EMAIL PROTECTED]>:
> Why are you asking this on a Tomcat list?
>
>- Peter
>
>> -Origin
Hi All,
I get the feeling this was lost over the weekend when I sent it last
Saturday.
Does anyone have any thoughts on this?
Using: Tomcat 5.5.26 ; Java 1.5 ; MySQL 5.0.51 running on CentOs 5.0
hosted in a Virtuozzo container.
The problem: With MySQL connect_timeout = 5, I'm getting time
Why are you asking this on a Tomcat list?
- Peter
> -Original Message-
> From: Buddy wu [mailto:[EMAIL PROTECTED]
> Sent: 15 July 2008 11:43
> To: Tomcat Users List
> Subject: is there anyone use websphere. ibm http server? I
> have a question for it of cluster
>
> I insta
I installed ihs, plugins and was.
and I create a cluster named testCluster. and in the cluster, I
have created two mebers, named s1 ,s2. and the weight set to 2.
when I visite the site. the plugin, send my request to the two
servers alternatly. it means when i have 4 request, It send firs
Hi,
> > I've put a robots.txt in webapps/ROOT, but this file is not
> > read again.
>
> So, to check, the crawlers are not reading your robots.txt
> and are crawling your site anyway?
I don't know it exactly. The problem is that the sites are linked from
anywhere. I'm not sure, if a crawler tha
> From: Mathias Walter [mailto:[EMAIL PROTECTED]
> How can I prevent crawler and bots according to their user agent?
>
> I've put a robots.txt in webapps/ROOT, but this file is not
> read again.
So, to check, the crawlers are not reading your robots.txt and are crawling
your site anyway?
> I'd l
Hi,
I'm using Tomcat without the Apache Web Server. Now, some bots are crawling
my database driven website.
How can I prevent crawler and bots according to their user agent?
I've put a robots.txt in webapps/ROOT, but this file is not read again. I'd
like to stop crawlers by their useragent strin
tomcat tom wrote:
does tomcat have a rewrite engine of its own other then mod_rewrite of
apache?
No. There are filters available to do this. More info is available in the
archives.
-
To start a new topic, e-mail: users@tomc
tomcat tom wrote:
does tomcat do header parsing?
Yes.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bajbutovic, Zoran schrieb:
We have Apache and Tomcat running on different servers, using mod_jk.
From time to time we got the following errors from Tomcat.
[Thu Jul 10 16:43:21 2008] [jk_ajp_common.c (1250)]:
Tomcat is down or network problems. No response has been sent to the
does tomcat do header parsing?
does tomcat have a rewrite engine of its own other then mod_rewrite of
apache?
Tom
Nikhil schrieb:
[Tue Jul 15 12:57:40 2008] [20026:0001] [debug] mod_jk.c (607): Service
protocol=HTTP/1.1 method=GET host=(null) addr=149.77.175.155 name=
is3.hyd.deshaw.com port=8080 auth=(null) user=(null) laddr=149.77.160.20raddr=
149.77.175.155
--
If noticed, auth=(null) and use
Frank Fischer wrote:
To unsubscribe, send an e-mail to:
[EMAIL PROTECTED]
and reply to the automated confirmation message.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTEC
w.delacruz wrote:
Hi...when i deploy a java web application in Tomcat 6 i got this error
message,
Jul 14, 2008 10:30:00 PM org.apache.catalina.loader.WebappClassLoader
loadClass
INFO: Illegal access: this web application instance has been stopped
already. Could not load java.lang.Object. The
AngeloChen960 wrote:
Is there a web based email system that can be used with tomcat without the
need of a regular web server like Apache? thanks.
http://java-source.net/open-source/web-mail
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
--
We disabled the keep alive connections and our problem is gone...
Thanks guys
Tony
2008/7/4 Johnny Kewl <[EMAIL PROTECTED]>:
> Tony... just another thought...
> I want to change the philosophy a little
>
> If YOU open a stream... ie File f = new File Buffered streams etc...
> Then make ab
While I am at it, I found this interesting information from the jk_logs:
[Tue Jul 15 12:57:40 2008] [20026:0001] [debug] jk_uri_worker_map.c (589):
Attempting to map URI '/examples/jsp/rheaders.jsp' from 0 maps
[Tue Jul 15 12:57:40 2008] [20026:0001] [debug] jk_uri_
I am still not able to get this straight. Looking at the server.xml tells me
there is a userDatabase resource that is looked which I may need to
comment? Could you please confirm?
I am posting my server.xml (tomcat-6.0.16) for thoroughness so I do not miss
any points here : Please let me know if I
62 matches
Mail list logo