Hi all,
I'm lost in the woods.
Some time ago we built an application that required us to extend
the TC 5.5 DefaultServlet. All we did was point it to an external path
(outside the war file). It works great.
However, I now realize that I've somehow broken the
mechanism for our extended servlet.
You may read more about the log4j error at
http://marc.info/?l=log4j-user&m=120897082320333&w=2
So, that seems to be a normal behaviour in Tomcat.
Maybe we should conclude that this is an expected side-effect of using
antiResourceLocking?
:-)
On 4/23/08, Caldarale, Charles R <[EMAIL PROTECTED]
The only thing is that in my real app, I send the response (via responseWriter)
in my facade. Whereas in the EchoServlet, all processing is done in the servlet
proper. I tried moving the response sending back up to the handling servlet and
still no dice. I'll have to rip everything out and add s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Timothy Washington wrote:
| Oh, that's a good point. I actually have an EchoSservlet to test
| stuff like this and the JSESSIONID is being passed back in that case.
| I've copied it's process method which is called by doGet/doPost.
So, what's t
Oh, that's a good point. I actually have an EchoSservlet to test stuff like
this and the JSESSIONID is being passed back in that case. I've copied it's
process method which is called by doGet/doPost.
LiveHTTPHeader output:
http://localhost:8080/webkell/echo
GET /webkell/echo HTTP/1.1
Host: lo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zach,
Zach Cox wrote:
| Hi Chris - I'm not sure what this will accomplish:
|
| public Request(Request wrapped)
| {
| ~this.wrapped = wrapped;
| }
|
| public whatever doWhatever(args)
| {
| ~super.doWhatever(args);
| }
|
| 1) this.wrapped is n
Hi Chris - I'm not sure what this will accomplish:
public Request(Request wrapped)
{
~this.wrapped = wrapped;
}
public whatever doWhatever(args)
{
~super.doWhatever(args);
}
1) this.wrapped is never used so what's the point of saving it?
2) why override all of the methods just to call t
Razat Gupta (razgupta) wrote:
Can any one help me on this, I am posting it for the second time.
1. Stop posting the same question multiple times.
2. Read the response(s) you do get.
3. Respond to the questions in those responses.
Hint: There are responses you don't appear to have read yet.
Ma
what OS are you on, if you are on a Unix system, you can issue a "kill
-3 "
and that will generate a thread dump in your std.out
looking at this file, you can see where the "processors" are taken up,
and if they are locked up somewhere in your code, or simply busy with
other connections (if yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Timothy,
Timothy Washington wrote:
| Yes, the client and server are both on my localhost (I also tried
| 127.0.0.1), and that is the requesting/sending url. Hmmm, I tried
| setting that specific header (resp.addHeader("my-custom-header",
| "foo");),
Yes, the client and server are both on my localhost (I also tried 127.0.0.1),
and that is the requesting/sending url. Hmmm, I tried setting that specific
header (resp.addHeader("my-custom-header", "foo");), but there's no indication
it's sending(from RequestDumpervalse output) or receiving(from
I have tried with wget, and with my client application and the problem
was the firefox. Now I have to go to another forum: solr. Solr really
takes 3 minutes to make what my test version makes in 6 seconds.
Thank you every one!
Regards.
Bruno Matos wrote:
Thank you a lot.
Alan Chaney wrote:
I
Thank you a lot.
Alan Chaney wrote:
I do a lot of downloads of large files (several 10's of MB). Firefox
seems to limit its transfer rate to about 100 kbps (that is, kilobits
per sec). If you are using linux, try doing a 'wget' on the file
instead of using a browser.
300,000 bytes is 2,400,0
I do a lot of downloads of large files (several 10's of MB). Firefox
seems to limit its transfer rate to about 100 kbps (that is, kilobits
per sec). If you are using linux, try doing a 'wget' on the file instead
of using a browser.
300,000 bytes is 2,400,000 bits (approx) so to take 2 minutes
Hello,
Tank you every one.
I connect to localhost and my CPU stays in 100% all the time.
Open directly the xml file take no time at all.
Alan Chaney wrote:
One a similar vein, exactly how do you connect firefox to the server?
Directly, or via some kind of network connection. If its a network,
One a similar vein, exactly how do you connect firefox to the server?
Directly, or via some kind of network connection. If its a network,
what's the bandwidth?
Alan Chaney
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno,
Bruno Matos wrote:
| I'm getting docum
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Gundersen, Richard wrote:
| I'm using the standard JNDIRealm class to authenticate users. However if
| the login is unsuccessful, I am unable report the *reason* for the
| failure.
Yup. That's just how the realms are written. The code catch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno,
Bruno Matos wrote:
| I'm getting documents from lucene and creating a string with all the
| results with string buffer. The string creation takes 2 seconds and the
|
| outResponse.print(out.toString());
|
| takes 1 second. Closing the writer t
On Apr 22, 2008, at 11:39 AM, Mark Thomas wrote:
Rajeev Angal wrote:
You indiated earlier on this thread that a "patch for 6.0.16" is
being worked on to fix the v1 cookies issue - any idea when it
will be released?
There has been some discussion of this on the dev list. No specific
timet
This topic comes up on the list very frequently, you ask ten developers
this question you may even get eleven opinions. Your answer is it
depends on your use case and security requirements (for example: I may
not care, in a shopping cart application, if I write a product id in the
URL, but I ma
Hi All
Can any one help me on this, I am posting it for the second time.
Regards
Razat
-Original Message-
From: Razat Gupta (razgupta)
Sent: Thursday, April 17, 2008 12:19 PM
To: users@tomcat.apache.org
Subject: Tomcat ModJK Issues!!!
Hi All,
We are using Tomcat 4.1.29, Apache
Hello,
I'm using tomcat to run my servlet. This is the code of processReuqest
method:
response.setContentType("text/xml;charset=UTF-8");
PrintWriter outResponse = response.getWriter();
StringBuffer out = new StringBuffer();
try {
Stri
Hi
I'm using the standard JNDIRealm class to authenticate users. However if
the login is unsuccessful, I am unable report the *reason* for the
failure.
The code for JNDIRealm.java tries to return a valid Principal object.
If logging on fails - which could be for several reasons e.g. bad
passwor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Timothy Washington wrote:
| Thanks for the feedback so far. I actually kept the interactions as
| simple as possible exactly to minimize any unknown behaviour. There's no
| SSL or filters in the application yet.
So, there's pretty much nothing
Fabien D. wrote:
Hi everybody,
I'm using tomcat6 and trying to use datasource for mysql connexion (and
hibernate). I have looked to the tomcat 6 official documentation, and in the
$CATALINA_HOME/conf/context.xml, i have declared :
You do want this to be available to *every* webapp don't you?
Thanks for the feedback so far. I actually kept the interactions as simple as
possible exactly to minimize any unknown behaviour. There's no SSL or filters
in the application yet. So my code looks something like the following (by path
of execution, I assume you mean the code's call sequence). So
Hey, thanks for responding. I'm using Firefox 2.0.0.14, so it definitely
supports cookies. It's just weird because it looks like the JSESSIONID cookie
is not even being sent to it. I'll try URL encoding as a last resort.
Tim
- Original Message
From: Martin Gainty <[EMAIL PROTECTED]
What is in tomat's lib directory? And what's in the ...
section of your web.xml?
Commenting on your resource definition below, remove autoReconnect=true
as it's not recommended by the mysql folks. Add validationQuery="select
1" to have the pool test connections on borrow. This works a *lo
> From: hezjing [mailto:[EMAIL PROTECTED]
> Subject: Re: Directories in Tomcat 5.5\temp
>
> log4j:ERROR LogMananger.repositorySelector was null likely due to
> error in class reloading, using NOPLoggerRepository.
Not likely to be the problem, but I can't be sure.
> 23-Apr-2008 21:06:31
Hi everybody,
I'm using tomcat6 and trying to use datasource for mysql connexion (and
hibernate). I have looked to the tomcat 6 official documentation, and in the
$CATALINA_HOME/conf/context.xml, i have declared :
In my hibernate.cfg.xml, I have done this (add the first line, to re
The Monitor Tomcat is one of the menu items created by Tomcat installer.
You can find it from Windows Start -> Programs -> Apache Tomcat 5.5 ->
Monitor Tomcat
where it's target is pointing to Tomcat 5.5\bin\tomcat5w.exe.
My application is using log4j release 1.2.15 and now, I noticed the
following
Thanks. I'm running on IIS. I think I roughly know how to get it done now.
Thank you for your advices.
- Original Message
From: David Smith <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Wednesday, 23 April 2008 7:51:32
Subject: Re: How do I co-exist both tomcat and java in one window
The JDKs are no problem -- they just get installed each in their own
directory.
The tomcat's can also be installed each in their own directory. You'll
have to modify the server.xml of each to make sure there are no
conflicts in the shutdown ports or any of the connetors.
I'm going to ventur
Thanks. I'm trying to install tomcat 5.0 and tomcat 6.0 and java 1.4 and java
1.6 in a box. How do I define CATALINA_HOME and JAVA_HOME and jk connector for
each tomcat?
- Original Message
From: David Smith <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Wednesday, 23 April 2008 5:42:
Tomcat requires java. There's never been a problem with them on the
same box. Can you be a little more specific on what you're asking?
--David
Nix Hanwei wrote:
Hi Gurus,
How do I co-exist both tomcat and java in one windows server?
Thanks in advance.
_
Hi Gurus,
How do I co-exist both tomcat and java in one windows server?
Thanks in advance.
__
Tired of visiting multiple sites for showtimes?
Yahoo! Movies is all you need
http://sg.movies.yahoo.com
--
FR wrote:
The standard workaround mentioned is to place user information in
session, but that won't work across webapps using Single Sign On. I
have a bunch of webapps, only one of which is protected and requires
login, the rest work fine without logging in, but display different
information whe
37 matches
Mail list logo