2009/11/5 Caldarale, Charles R
> > From: maven apache [mailto:apachemav...@gmail.com]
> > Subject: Re: remote debug
> >
> > In a word,I have two choice:
> > 1 use the tomcat.zip of version 5.5 or 6.x.
> > 2 use the tomcat.exe of version 6.x?
>
> The version of Tomcat doesn't matter, although unl
> From: maven apache [mailto:apachemav...@gmail.com]
> Subject: Re: remote debug
>
> In a word,I have two choice:
> 1 use the tomcat.zip of version 5.5 or 6.x.
> 2 use the tomcat.exe of version 6.x?
The version of Tomcat doesn't matter, although unless you have a compelling
reason to use an old
2009/11/5 Caldarale, Charles R
> > From: maven apache [mailto:apachemav...@gmail.com]
> > Subject: Re: remote debug
> >
> > > > %CATALINA_HOME%\bin\tomcat6w.exe //ES//tomcat6
> > >
> > > One of the above two statements is wrong. Which version
> > > of Tomcat are you really using?\
> >
> > I am u
> From: maven apache [mailto:apachemav...@gmail.com]
> Subject: Re: remote debug
>
> > > %CATALINA_HOME%\bin\tomcat6w.exe //ES//tomcat6
> >
> > One of the above two statements is wrong. Which version
> > of Tomcat are you really using?\
>
> I am using apache-tomcat-5.5.27(.
Then how it is poss
Alan Kennedy-13 wrote:
>
> [Alan]
I need to find out what is the difference between running Tomcat 6 as
a Windows Service and running it from the command line.
The reason is that I'm getting a bizarre bug when a jython based
servlet is run under Tomcat6-as-Service. But t
2009/11/4 Caldarale, Charles R
> > From: maven apache [mailto:apachemav...@gmail.com]
> > Subject: remote debug
> >
> > my web container is tomcat of version of 5.5
> >
> > %CATALINA_HOME%\bin\tomcat6w.exe //ES//tomcat6
>
> One of the above two statements is wrong. Which version of Tomcat are yo
As far as I remember, "abandoned" is a connection that was not closed. So if
you call recycle on a connection it will not generate abandoned message. The
messages that you see are from connections that you do not close. I also
remember that closing a connection closes statements and result sets, bu
No, you don't need the load balancer if you only have one Tomcat behind your
Apache server.
The status worker is not needed either, but it allows you to monitor the state
of the load balancer and the workers from a browser. (You can even
enable/disable workers)
-Original Message-
From:
Thanks to all. I am at home now but will try your suggestions tomorrow.
I was just wondering why I would need a load balancer, uriproperties file or
a status worker just because it is a HTTP POST SOAP request?
I am able to get all other http requests forwarded to my tomcat server
without the abo
Hi again.
My server.xml:
-->
I run Tomcat as "user".
I followed this guide:
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
Maybe my cert password is not the same as keystore??
I thougt my keystore containing the cert was created with
"keytool -genkey -alias tomcat -keyalg RSA" ?
Chris,
Thanks for all you help :) . We tried commenting out that method (just
to see if it was the root of the problem) and Tomcat behaved like it is
supposed to! Now we can work on implementing a work-around for the
functionality.
Thanks!
---
Your uriworkermap.properties must send the requests to the laod balancer worker
Here is a sample uriworkermap.properties
-Jorge
# This file provides mapping for the wlb worker
# defined in workers.properties.
# The general syntax for this file is:
# [URL]=[Worker name]
/yourappcontext=wlb
/yourap
Did you add a "load blancer worker" to your workers.properties?
Below is what I use to perform load balancing over two Tomcat servers.
I have a similar scenario: Apache in front of two (or more Tomcats).
Apache forwards the requests using mod_jk.
My client is sending SOAP requests using Axis2.
> From: Maurice Yarrow [mailto:maurice.yar...@comcast.net]
> Subject: Re: Multi-level context starting at ROOT
>
> I still have no working context xml configuration that allow
> a multi-level-subcontext to be specified inside a ROOT-level
> web app, even though such a multi-level-subcontext works
There are 87 webservices, initially served by 2 tomcat;
The idea was, put (if possible) most of the libs in the common area and
eventually split the whole work into 4 tomcats each one serving 20
webservices.
No hope about different contexts :(
Ok for the commons-logging/log4j part
I don't know if p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
On 11/4/2009 12:11 PM, Josh Gooding wrote:
> type="javax.sql.DataSource"
[snip]
> javax.sql.DataSource
I believe it is these types that must match, and they do. Don't change a
thing.
- -chris
-BEGIN PGP SIGNATURE-
Ver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 11/4/2009 1:17 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: ConnectionPool question
>>
>> I believe both the real connection and the wrapper are discarded.
>
> Yes; I s
Thanks for the link...I will look into this
Curtis
On Wed, Nov 4, 2009 at 12:20 PM, Caldarale, Charles R
wrote:
>> From: Curtis Garman [mailto:curt.gar...@gmail.com]
>> Subject: Thread issue - org.apache.tomcat.util.threads.ThreadPool
>> logFull
>>
>> Does anyone know what would cause the follow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Konstantin,
On 11/4/2009 12:06 PM, Konstantin Kolinko wrote:
> 2009/11/4 Christopher Schultz :
>>
>> For Cocoon, everything is a URL. When Cocoon tries to build URLs to
>> point to, say, files on the disk in the deployment directory, it gets a
>> URL
Hello Tomcat Users Group and Chuck Caldarale and David Smith:
Chuck, thanks for clearing this up for me. I guess a simple session obj
test
would have sufficed to test equality of the two session objects so obtained
from a context and similarly path-named multi-level-subcontext.
Nevertheless,
> From: Curtis Garman [mailto:curt.gar...@gmail.com]
> Subject: Thread issue - org.apache.tomcat.util.threads.ThreadPool
> logFull
>
> Does anyone know what would cause the following error
>
> Nov 4, 2009 9:30:28 AM org.apache.tomcat.util.threads.ThreadPool
> logFull
> SEVERE: All threads (150) a
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: ConnectionPool question
>
> I believe both the real connection and the wrapper are discarded.
Yes; I should have said the real connection is closed and a new real one
created for the pool.
- Chuck
THIS COMMUNICA
> From: Maurice Yarrow [mailto:maurice.yar...@comcast.net]
> Subject: Re: Multi-level context starting at ROOT
>
> My use-case is embedding meshcms inside my primary web app and
> in a way that they can both share the same session.
If you think multi-level contexts share sessions with other conte
breako wrote:
...
I wonder couild this be something do with Apache only knowing about the
tomcat server's AJP port and not it's http port?
I have to go right now, but I will answer this one quickly :
You do not have to use mod_jk as a connector between Apache and Tomcat.
There are two other wa
> ... but I am not acquainted with "multilevelcontext.xml".
I'm just using your description as written below w/o the hyphens.
> ROOT#multi-level-context.xml
So what you really want is for your ROOT app and this other app to share
the same session. H I so rarely do much of anything with
Hello Tomcat User Group and in particular, David Smith:
My use-case is embedding meshcms inside my primary web app and
in a way that they can both share the same session.
David, I appear to correctly understand and use the
contextname#multi-level-contextname.xml
context file, but I am not a
Note, I turned off MIME boundaries as I thought this was the problem. That
is what the HTTP request as spotted by TCPMOM does not contain MIME
boundaries.
The corresponding Mod_JK is...
ed Nov 04 16:52:55 2009] [5024:4688] [debug] jk_ajp_common.c (1070): sending
to ajp13 pos=4 len=216 max=8192
Chris,
I would imagine that you are correct, unless I store the RSMD in anther
object (like a Map or AL).
Now that I have started closing my resources something strange has actually
happened now. I've hit the connectionpool limit faster.
I was digging and realized that I changed my context.xml
You are correct it is a post and it is missing a body.
However, I used a utility tool TCPMon, to sniff what was being sent to the
Apache Http Server.
This does include a body, wrapped in tags. I do not know why Apache
Http Server does not forward this to my tomcat server.
The difference betwee
2009/11/4 Christopher Schultz :
>
> For Cocoon, everything is a URL. When Cocoon tries to build URLs to
> point to, say, files on the disk in the deployment directory, it gets a
> URL like "file:///home/path/to/tomcat/webapps/foo#bar/some/file" which
> ends up trying to access "file:///home/path/to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 11/4/2009 11:47 AM, Ognjen Blagojevic wrote:
> Torleif wrote:
>> By "default place" I mean /home/user/.keystore
>
> /home/user/.keystore? That's strange. Is it maybe
> /home/tomcat/.keystore? Or you have a user "user" on your system? Under
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christian,
On 11/4/2009 4:17 AM, Christian Stöber wrote:
> Hello list,
>
> I've the problem that some (yes, really some) HttpSessions won't be
> removed. Here are some details from the manager app of two these
> sessions. Please consider the TTL an t
Does anyone know what would cause the following error
Nov 4, 2009 9:30:28 AM org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (150) are currently busy, waiting. Increase
maxThreads (150) or check the servlet status
I'm fronting apache tomcat 5.5.26 with apache 2.2.8 and mod_j
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 11/4/2009 10:06 AM, Caldarale, Charles R wrote:
> If a webapp fails to close a
> connection wrapper and its associated real connection stays idle
> beyond the configured limit, the association between the wrapper and
> real connection is sev
Torleif wrote:
By "default place" I mean /home/user/.keystore
/home/user/.keystore? That's strange. Is it maybe
/home/tomcat/.keystore? Or you have a user "user" on your system? Under
what user did you create .keystore file?
If I choose a different password and modify "server.xml" accord
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
On 11/3/2009 3:24 PM, Josh Gooding wrote:
> If I close the RS, can I still use the MD?
I see you've already answered this, but note the error is that the
Connection is closed, not the ResultSet.
I would expect that ResultSetMetaData requires t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm trying to use the foo#bar convention for a deployment path yielding
"/foo/bar" as my context path and everything seems to work as expected.
Except that I'm using Cocoon with one of my projects.
For Cocoon, everything is a URL. When Cocoon t
I'm still wondering why you'd want to do ROOT#multilevelcontext.xml when
it's functionally the same as multilevelcontext.xml. What use case do
you have for such a thing?
--David
Maurice Yarrow wrote:
> Hello Tomcat Users Grp and in particular, Pid and Konstantin Kolinko:
>
> Thanks for your repl
Hello Tomcat Users Grp and in particular, Pid and Konstantin Kolinko:
Thanks for your replies.
However, I evidently did not clearly state the problem I am having:
I can define the following context xml files in conf/Catalina/localhost:
contextname.xml
and
contextname#multi-level-contextn
Hello,
I am new at this, but am having some trouble getting Tomcat 5.5.20 installed
the way I would like to. I am trying to install the Windows EXE for version
5.5.20 which seems to work fine. The next part is where I am having issues. I
am trying to set it up to run Single Sign On through I
> From: maven apache [mailto:apachemav...@gmail.com]
> Subject: remote debug
>
> my web container is tomcat of version of 5.5
>
> %CATALINA_HOME%\bin\tomcat6w.exe //ES//tomcat6
One of the above two statements is wrong. Which version of Tomcat are you
really using?
> Failed to connect to remot
> From: Josh Gooding [mailto:josh.good...@gmail.com]
> Subject: Re: ConnectionPool question
>
> everytime I recycle a connection (close RS, statement, and the
> connection) does it place it back into the pool or is that what the
> abandoned connection messages are for letting me know they were
> a
Yes, It releases the connection back to the pool.
On Wed, Nov 4, 2009 at 9:43 AM, Carsten Pohl wrote:
> Hi,
>
> if you close the connection, it will be recycled. So, close() does not
> really close, but releases the connection.
>
> Regards,
> Carsten Pohl
> - Original Message -
> From
See at bottom.
breako wrote:
Thanks so much for getting back to me.
It's just a java process that is supposed to process requests from docy.
This all works when it's just one tomcat as a client and one tomcat as a
server with no apache http server infront of the server.
Here is part of the req
Hi,
if you close the connection, it will be recycled. So, close() does not really
close, but releases the connection.
Regards,
Carsten Pohl
- Original Message -
From: "Josh Gooding"
To: "Tomcat Users List"
Sent: Wednesday, 4 November, 2009 14:56:20 GMT +01:00 Amsterdam / Berlin / Bern
Hi
Thanks for all your help!!
I am using Debian Lenny as OS.
I am trying to set up a funambol server witch use Tomcat. (
http://bionicmessage.net/?q=node/18 )
I am not sure witch version of Tomcat it uses. (I am at work right now and
cant check)
By "default place" I mean /home/user/.
Joseph Morgan wrote:
So commons-logging is not safe in common lib area.
I think, that OP's environment is a production one. So redeployment is
not a problem. I mean it's not common to redeploy webapps often in
production environment.
But depending on design of webapps, classes loaded from sh
HOLY MOLY I am getting a TON of abandoned connection warnings now. I
see I have logAbandoned="true". My Catalina log grew fast! Now here is a
question, everytime I recycle a connection (close RS, statement, and the
connection) does it place it back into the pool or is that what the
abandoned
Thanks so much for getting back to me.
It's just a java process that is supposed to process requests from docy.
This all works when it's just one tomcat as a client and one tomcat as a
server with no apache http server infront of the server.
Here is part of the request I edited out...
[Tue Nov
I think you're right:
http://stackoverflow.com/questions/217929/problem-with-commons-logging-l
og4j-setup-in-spring-webapp-with-tomcat-6
So commons-logging is not safe in common lib area.
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Wednesday, November 04, 2009 7:23 AM
On 04/11/2009 13:17, Joseph Morgan wrote:
Michele,
It looks like all of the jar files you mention can safely be deployed in
Tomcat's common lib area.
I'm not sure that's true of commons-logging or log4j.
Someone else might have a better memory than me, but I've a feeling that
they hold onto
Michele,
It looks like all of the jar files you mention can safely be deployed in
Tomcat's common lib area.
Another question, though, to ask yourself and your developers is, do you
really need 100 individual web apps to support the web services you
have?
In other words, there is no requirement t
On 04/11/2009 11:13, Maurice Yarrow wrote:
Hello Tomcat Users Group
I have no problem configuring a multi-level context originating
at the context uri level, e.g.:
http://www.domain.com/context/multi-level-sub-context/servletname
and I have no problem creating a web-app context at the ROOT lev
Hi,
We intend to monitor a J2EE application deployed in Tomcat 5.5 using IBM Tivoli
Monitor (ITM) 6.1 over SNMP. It'll be really helpful if some information on
this is provided. To be more specific the information I am looking forward to
is:
1) Whether Tomcat 5.5 supports SNMP?
2) If the ans
breako wrote:
Thanks so much for replies. Very much appreciated.
In response to the questions:
1. I have an apache server in front of my tomcat.
2. The reason why I am doing this is because I wish to use multiple tomcats
and have some load balancing.
That didn't work, so in trying to diagnose
2009/11/4 Maurice Yarrow :
> Hello Tomcat Users Group
>
> I have no problem configuring a multi-level context originating
> at the context uri level, e.g.:
>
> http://www.domain.com/context/multi-level-sub-context/servletname
>
See http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
and
I had the same problem while I was installing Tomcat 5.5.9 and I observed
that there was a service defined for tomcat installed previously of version
6.
Once I uninstalled that version of Tomcat the problem was fixed.
Hope this would others having same problem!
---
Chamin De Silva
Hez wrote:
Michele Mase' wrote:
ps: there are 100 webservices, not webapps
Pls, help me: I'm not a developer ... and I don't understand the
disadvantages of "static classes/fields loaded from common classloader will
be shared among all webapps", Could you be a little more specific about the
disadvantages?
Thanks. I just tried out the command and got the list of users including
tomcat.
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files-outside-tomcat-directory-tp26160054p26194539.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
--
Hello Tomcat Users Group
I have no problem configuring a multi-level context originating
at the context uri level, e.g.:
http://www.domain.com/context/multi-level-sub-context/servletname
and I have no problem creating a web-app context at the ROOT level, e.g.:
http://www.domain.com/servl
Michele Mase' wrote:
I've 100 webapps on one single tomcat instance.
Every webapps has in his WEB-INF/lib the same jars
I've some permgen memory problems too
Moving all the shared libs in tomcat's root/common/lib should help me
reducing the perm gen memory usage?
Should it be a good pratics?
No
Thanx 4 you answer;
ps: there are 100 webservices, not webapps
Pls, help me: I'm not a developer ... and I don't understand the
disadvantages of "static classes/fields loaded from common classloader will
be shared among all webapps", Could you be a little more specific about the
disadvantages?
Your
Hi:
I have a project and want to use the remote debug manner,my web
container is tomcat of version of 5.5,I have seen the faq in wiki of
tomcat.
I follow the instruction:
--
%CATALINA_HOME%\bin\tomcat6w.exe //ES//tomcat6
Select the Java tab in the properties dialog box,
Add the following
Michele Mase' wrote:
I've 100 webapps on one single tomcat instance.
Every webapps has in his WEB-INF/lib the same jars
I've some permgen memory problems too
Moving all the shared libs in tomcat's root/common/lib should help me
reducing the perm gen memory usage?
Should it be a good pratics
It wi
noobie45 wrote:
Thank you so much.
I am absolutely new to Tomcat on Linux.
I need to figure out what you mean by "user-id under which Tomcat runs".
Every process on Linux is ran by a certain user. With command "ps -ef",
you can list all the processes and users that run them (first column
fr
I've 100 webapps on one single tomcat instance.
Every webapps has in his WEB-INF/lib the same jars
I've some permgen memory problems too
Moving all the shared libs in tomcat's root/common/lib should help me
reducing the perm gen memory usage?
Should it be a good pratics?
Michele
Tobias Crefeld wrote:
schrieb Sergio Arrighi :
Is it possible to have a tomcat webapp listening on a port different
from the port which is in use by the server itself??
AFAIK it is not possible to setup 2 http-connectors for one tomcat, but
you can install another tomcat in its own JVM with ot
Am Wed, 04 Nov 2009 09:43:54 +0100
schrieb Sergio Arrighi :
> Is it possible to have a tomcat webapp listening on a port different
> from the port which is in use by the server itself??
> Example:
> I have a tomcat server listening on port 80 and I want the 'A' webapp
> to be listening on port 10
Torleif wrote:
I am trying to set up tomcat to use https.
I used "keytool -genkey -alias tomcat -keyalg RSA"
If I use "changeit" as password for keystore everything works ok.
If I use a different password it does not work.
I have modified "server.xml" with keystorePass="newpassword"
My .keystore
Hello list,
I've the problem that some (yes, really some) HttpSessions won't be
removed. Here are some details from the manager app of two these
sessions. Please consider the TTL an the Inactive Time value. I've just
take a copy of the manager output!
Details for Session A2B3FF68F366B9533CFE
Thanks so much for replies. Very much appreciated.
In response to the questions:
1. I have an apache server in front of my tomcat.
2. The reason why I am doing this is because I wish to use multiple tomcats
and have some load balancing.
That didn't work, so in trying to diagnose the problem, I
Hello to everyone,
I'm pretty new with tomcat and I've a newbie question.
Is it possible to have a tomcat webapp listening on a port different
from the port which is in use by the server itself??
Example:
I have a tomcat server listening on port 80 and I want the 'A' webapp to
be listening on
72 matches
Mail list logo