Hi Richard,
How do you log in and to what? What do you mean with it doesn't work? That
Tomcat creates a new session?
I tried what you did: Accessed some webapp in FF and pasted the URL including
jsessionid in IE - got the same session.
I don't think Tomcat cares about anything else than the js
I fear you are right :-)
Due to the fact that you cannot read twice from the same ServletInputStream
(unfortunately you are again right here :-)) I did the following in the mean
time:
[snip]
in = request.getInputStream();
ByteArrayInputStream bais;
ByteArrayOutputStream baos;
try {
byte [] bu
I have been trying to use JAXB with tomcat, but I have been have some
problems. I began trying to use the following class loader:
this.getClass().getClassLoader()
That didn't work. I don't actually understand much about those class
loader things. So I browsed the Internet for a solution a
Hi Chris,
>>https://struts.apache.org/ does not respond to a request. Perhaps that's the
>>problem?
I did not modify struts.xml. It contains only http://struts.apache.org/ (not
https).
The problem is that I start my web application - it starts without erros,
then I exlore my web applicatio
Hi friends,
Please let me know is there a way to find out connection leak in my java
code , when its deployed in tomcat. Am using tomcat 6.0.18
Regards,
Arun.
Dear All,
When passing a jsessionid on the URL such as...
http://foo.com;jsessionid=123
...does Tomcat do something clever, like checking the User-Agent, before
agreeing to hook into the existing '123' session?
If I log in using, say, Firefox and note the jsessionid, then open a new
Firefox
Probably the reason why he's seeing one instance of tomcat moving quicker
than 2 instances is the fact that there is some form of contention for
resources on that single machine assuming that the 2 instances are
configured identically in every aspect (other than ports).
The idea is not to give you
Michael Ludwig schrieb am 12.11.2008 um 02:37:29 (+0100):
> But even with my Filter overriding both getOutputStream() and
> getWriter() and substituting buffers that will be written to, there is
> a problem. Servlet S will write to one buffer, and the DefaultServlet
> will write to another one. The
> From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads
>
> you wont see that today any more, the executor has been fine tuned.
Good to know; thanks.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use o
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat threads
If you really want tight control over the thread management,
you should probably use an "executor"
The last I heard from Remy M was that the performance was
disappointing and they
This is in Tomcat 6.0.18 on Java 1.6.
A servlet S includes an HTML fragment via RequestDispatcher.include()
while being wrapped by a filter F and being passed a wrapped response
WR.
Servlet S generates header and footer using the PrintWriter.
The HTML fragment, being a static resource, is served
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads
>
> If you really want tight control over the thread management,
> you should probably use an "executor"
The last I heard from Remy M was that the performance was
disappointing and they shouldn't be used. Don't
For tomcat 6, when setting
if it reaches 50, it will not shrink.
but if you do
then it will shrink down to 25 if the threads are idle
Filip
|
André Warnier wrote:
Hi.
Only for my own intellectual advancement in matters Tomcat :
On this page : http://tomcat.apache.org/tomcat-6.0-doc/confi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> On this page : http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
> , referring to the third paragraph of the Introduction.
If you really want tight control over the thread management, you should
probably use an "e
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Tomcat threads
>
> http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
> , referring to the third paragraph of the Introduction.
Note that the 6.0 doc is missing some very important attributes for the
element. Apparently, the inten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
Mike Basinger wrote:
> My department has a tomcat server that has some minors issues. Our
> main problem is that is that we must restart the server when we change
> certain applets.
Applets or servlets? Applets should not affect the server at a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alberto,
Alberto Jesus La Rosa Agramonte wrote:
> [is ~25 Java processes normal for Tomcat?]
Yes. Most UNIX/Linux variants display individual threads as processes.
This means that you have around 25 threads within the JVM. What kernel
version are you
Hi.
Only for my own intellectual advancement in matters Tomcat :
On this page : http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
, referring to the third paragraph of the Introduction.
This paragraph explains that Tomcat will start additional threads as
required to process incoming req
Florian Hopf wrote:
> Hi,
>
> I am in a situation where I want to map a forward filter based on a
> servlet and an additional path. The path that is forwarded to looks
> something like this:
>
> /servlet/long/path.to/my.jsp
>
> The path info is mapped by the servlet to a JSP in the file system.
you're missing the membership elelemnt
className="org.apache.catalina.cluster.mcast.McastService"
mcastAddr="228.0.0.4"
mcastBindAddress="127.0.0.1"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nar,
Nar Karapetyan wrote:
> There is no error when connecting through http (versus https).
> The same web application, starts normally, works seamlessly over http,
> but gives that error "java.net.UnknownHostException: struts.apache.org"
> over strut
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
Markus Reis wrote:
> Our Tomcat 5.5 sends 30 cookie
> (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod;
> domain=null; path=/)
Are they all identical?
> and 900 Set-Cookie
> (header=Set-Cookie=JSESSIONID=2D79FB71207A83A09B32677B964
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sachin,
raverkar wrote:
> My application is using Jboss Cache. If I comment out the configuration of
> Jboss Cache from my xml file, there is no problem of Tomcat shutdown. That
> makes me think that Jboss Cache is causing the problem.
Sounds like a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jakob,
Jakob Ericsson wrote:
> We are also experiencing this problem.
> Our setup is running Windows 2003 Server with Apache 2.0.59 (no prefork),
> mod_jk 1.2.22 and Apache Tomcat/6.0.13.
>
> Will upgrading to latest mod_proxy_ajp in Apache httpd 2.2
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Deepak,
deepak a.l wrote:
> I'm facing the below error while starting the Tomcat Server V5.5, It gives me
> the below pop up message.
What is your exact Tomcat version? 5.5.what?
> Server Tomcat v5.5 Server at localhost was unable to start within 4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
Markus Reis wrote:
> OK (therefore I wrote POST data in the subject) - How could I log this (POST)
> data (or body)?
It doesn't look like there's an option in there for this:
http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/v
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
Brian Gillan wrote:
> We're using Rational Team Concert with Tomcat and authenticating with
> LDAP.
> I want to log authentication events for users accessing RTC so we can see
> who's authenticating, and if unsuccessfully, who they're trying
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Florian,
Florian Hopf wrote:
> Is a mapping containing a path info not supported for forwards?
So, just to clarify:
* You have a filter you'd like to apply to /servlet/long/path/my.jsp
* You configured the filter to be active on FORWARD dispatches
*
Alberto Jesus La Rosa Agramonte wrote:
The hardware only, the software is 32 bits, and the jvm too. The
problem that it's spawning too many processes.
Alberto,
what a couple of other people on this list have already tried to tell
you - without apparently triggering any reaction from you - is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pengtuck,
[EMAIL PROTECTED] wrote:
> So let me get this straight. You are reluctant to accept a
> configuration which gives you improved throughput ? :P
No, the OP is unwilling to use a configuration that doesn't make any
sense: one single Tomcat sho
My department has a tomcat server that has some minors issues. Our
main problem is that is that we must restart the server when we change
certain applets. On article from
http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html has
fixes, but it is five years old. Woud these fixes work on an
The hardware only, the software is 32 bits, and the jvm too. The
problem that it's spawning too many processes.
2008/11/12 David kerber <[EMAIL PROTECTED]>:
> Alberto Jesus La Rosa Agramonte wrote:
>>
>> The tomcat run many processes and each process consumes 6 to 7 mb and
>> in a Period of time t
> From: Nar Karapetyan [mailto:[EMAIL PROTECTED]
> Subject: Re: Issue on parsing struts.xml
>
> Does that parsing take place everey time when one connects to
> the web application?
No idea; that would be up to struts, not Tomcat. You might get more
knowledgeable answers on the struts mailing lis
Hello.
this number of processes in the tomcat is normal???
thanks
887 tomcat55 25 0 3836 1012 820 S 0.0 0.0 0:00.00 su
1891 tomcat55 18 0 7884 1788 1376 S 0.0 0.1 0:00.03 rotatelogs
1908 tomcat55 25 0 2759m 294m 7904 S 0.0 9.6 0:00.00 java
1909 tomcat55 15 0 2759m 2
Alberto Jesus La Rosa Agramonte wrote:
The tomcat run many processes and each process consumes 6 to 7 mb and
in a Period of time the server's memory is exhausted.
Is it running the "correct" number of processes, and you just don't have
enough memory for them, or is the problem that it's spawn
suns current jdk is always the best choice. the current one is 6.10
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/[EMAIL
PROTECTED]
regards
Leon
On Tue, Nov 11, 2008 at 7:49 PM, fred basset <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a site running wit
The platform is 64 bits.
Thanks
2008/11/12 Caldarale, Charles R <[EMAIL PROTECTED]>:
>> From: Alberto Jesus La Rosa Agramonte [mailto:[EMAIL PROTECTED]
>> Subject: tomcat 5.5 memory
>>
>> Hi, I have installed apache tomcat 5.5 and giving me problems with
>> memory, this is the configuration that
The tomcat run many processes and each process consumes 6 to 7 mb and
in a Period of time the server's memory is exhausted.
We install the tomcat from the backports repositories because it
needed to install the Java Virtual Machine 6, I use debian etch.
Thanks...
2008/11/12 Caldarale, Charles R
Thank you Chuck,
I'd guess that as well, but one thing I can't explain here
There is no error when connecting through http (versus https).
The same web application, starts normally, works seamlessly over http,
but gives that error "java.net.UnknownHostException: struts.apache.org"
over struts.xml
Hi All,
I have a site running with Tomcat 5.5.27 on Centos 5.2 32 bit. Which is the
best JVM on Linux to use with Tomcat?
I'm currently using Sun's JDK 1.6.0.
Thank you,
Fred
> From: Alberto Jesus La Rosa Agramonte [mailto:[EMAIL PROTECTED]
> Subject: tomcat 5.5 memory
>
> Hi, I have installed apache tomcat 5.5 and giving me problems with
> memory, this is the configuration that I have now
This is not a proper Tomcat installation, but rather a 3rd-party repackaged
ver
The tomcat run many processes and each process consumes 6 to 7 mb and
in a Period of time the server's memory is exhausted.
2008/11/12 David kerber <[EMAIL PROTECTED]>:
> Alberto Jesus La Rosa Agramonte wrote:
>>
>> Hi, I have installed apache tomcat 5.5 and giving me problems with
>> memory, this
Alberto Jesus La Rosa Agramonte wrote:
Hi, I have installed apache tomcat 5.5 and giving me problems with
memory, this is the configuration that I have now, someone can help me
to optimize this, or tell me if this right.The server have 3 gb of
RAM. Thanks
What kind of problems are you having?
Hi, I have installed apache tomcat 5.5 and giving me problems with
memory, this is the configuration that I have now, someone can help me
to optimize this, or tell me if this right.The server have 3 gb of
RAM. Thanks
# Run Tomcat as this user ID (default: tomcat55). Set this to an empty string
# t
So let me get this straight. You are reluctant to accept a configuration which
gives you improved throughput ? :P
Anyway, this is not an unusual approach, from what I understand this simply
makes full use of the resources available on that machine. Not uncommon in real
world to see app servers
> Sent: 2008 November 11, Tuesday 08:44
> Subject: Issue on parsing struts.xml
>
> An error occures on parsing struts.xml
> The message is the following "java.net.UnknownHostException:
> struts.apache.org"
I'm not a struts user, but I would guess that the XML in question has a DTD or
schema refer
Hello,
I forgot to mention that this error happens on linux (windows is OK),
and the "xr" variable is declared like
DocumentBuilder xr = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Thank you,
kind regards,Nareg Garabedian
--- Prevoius message-
Hello,
Hello, (sorry for the duplicate mail, the prevoius - incomplete - message just
went submitted accidentally).
I'm having a problem while using a tomcat deployed application over https.
http browsing though will run flawlessly.
An error occures on parsing struts.xml
The message is the following "
Hello,
I'm having a problem while using a tomcat deployed application over https.
http browsing though will run flawlessly.
An error occures on parsing struts.xml
The message is the following "java.net.UnknownHostException: struts.apache.org"
The faulty line is nothing but Document d = xr.p
OK (therefore I wrote POST data in the subject) - How could I log this (POST)
data (or body)?
Markus
Original-Nachricht
> Datum: Tue, 11 Nov 2008 11:40:16 +
> Von: Mark Thomas <[EMAIL PROTECTED]>
> An: Tomcat Users List
> Betreff: Re: log POST data
> Markus Reis wrote:
>
Markus Reis wrote:
> Yes, it should be x-P(nameOfParameter) ...
> ... BUT, the POST request sent contains no key/value POST parameters/values,
> but instead only one value (without a key) - so what could I use as
> "nameOfParameter" (I already tried '', , and "", but without any
> success)?
The
Yes, it should be x-P(nameOfParameter) ...
... BUT, the POST request sent contains no key/value POST parameters/values,
but instead only one value (without a key) - so what could I use as
"nameOfParameter" (I already tried '', , and "", but without any
success)?
Markus
PS: The request is sent
Our Tomcat 5.5 sends 30 cookie
(cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod; domain=null;
path=/) and 900 Set-Cookie
(header=Set-Cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod; Path=/;
Secure) headers in the http response header back to the external clients
(during the
Markus Reis wrote:
> in my server.xml, but the last pattern string "x-P()" always produced "-" in
> the log (instead of the only one post parameter that was present in the http
> post request)
Shouldn't that be x-P(nameOfParameter) ?
Mark
-
I war file gets unziped into to webapp directory so during the redeploy
i would not try to deploy whole war but just copy changes into the your
application directory.
Palko
On Mon, 2008-11-10 at 15:35 -0600, Tim Dean wrote:
> I have an application that requires some settings in a
> configurati
May be your tomcat is configured to server only limited number of
clients so it doesn't use all hardware power when you deploy two tomcats
you can serve twice as much clients.
I would say tune tomcat configuration to accept more clients
connections.
Palko
On Mon, 2008-11-10 at 11:56 +0530, Nish
http://www.nabble.com/file/p20435744/C.log C.log
My application is using Jboss Cache. If I comment out the configuration of
Jboss Cache from my xml file, there is no problem of Tomcat shutdown. That
makes me think that Jboss Cache is causing the problem.
I have attached the thread dump. Can anyb
Hi,
We are also experiencing this problem.
Our setup is running Windows 2003 Server with Apache 2.0.59 (no prefork),
mod_jk 1.2.22 and Apache Tomcat/6.0.13.
Will upgrading to latest mod_proxy_ajp in Apache httpd 2.2.X solve this
problem?
How did other people solve this problem?
Regards,
Jakob
I'd like to log post parameters/data of all/some http requests - Therefore I
tried
in my server.xml, but the last pattern string "x-P()" always produced "-" in
the log (instead of the only one post parameter that was present in the http
post request)
The http post requests I wa
59 matches
Mail list logo