Hi all,
I try to use file system session persistence implementation in tomcat
cluster that has three member.
I'm confused a little bit about configuration.
The configuration for :
1. Which configuration file must this manager configuration be defined in?
conf/server.xml or webappl
On Thu, March 6, 2008 1:40 am, pbdavey wrote:
>
> I've been looking through a lot of tutorials regarding using JNDI for
> datasources and ldap authentication and was wondering if someone could
> explain things.
>
> Most of what I've come across has authentication completely seperate from
> the data
Hi David, Would you have any suggestions on the below query ??
-Original Message-
From: Quodras, Naveen
Sent: Thursday, March 06, 2008 1:57 AM
To: 'Tomcat Users List'
Subject: CVS check-out
Hi,
Don't know if this would be the right place to ask this kinda
question.
But wo
Hi,
Don't know if this would be the right place to ask this kinda
question.
But would anybody out here know , How do I check-out only the
folder structure from CVS without checking-out the files that are within
those
folders. (As I don't want my Disc to be cluttered with all those
f
> From: Andrew R Feller [mailto:[EMAIL PROTECTED]
> Subject: RE: Storing sessions to disk like Apache HTTP server
>
> The student registration application's load consists of
> thousands of students pounding at a handful of servers
> constantly in hopes they can schedule their classes before
> th
> From: Richard Dunne [mailto:[EMAIL PROTECTED]
> Subject: Re: viewing servlets on Tomcat
>
> If it should be, it's not. webapps contains docs,
> host-manager, manager and ROOT.
I think a reinstall is in your future. I prefer installing from the
.zip rather than the .exe, since it gives you
> From: Angelo Chen [mailto:[EMAIL PROTECTED]
> Subject: multiple domains
>
> www.domain1.com will call the app1
> www.domain2.com will call the app2
In conf/server.xml, configure two elements, one for each domain.
Create a separate appBase directory for each , and configure the
appBase in each
> From: Frank Demion [mailto:[EMAIL PROTECTED]
> Subject: Using tomcat to serve up directory
>
> What configuration files do I need to modify to achieve this?
Look at conf/web.xml in the DefaultServlet section. Set the value of
listings to true.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFID
Oops. Try now please.
-Original Message-
From: David Rees [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 10:44 PM
To: Tomcat Users List
Subject: Re: Tomcat Status Metrics: RRDTool Graph: Analysis
On Wed, Mar 5, 2008 at 7:26 PM, David Smithson
<[EMAIL PROTECTED]> wrote:
> I gu
Apologies if this is a really simple question. I want to use Tomcat to serve up
an simple directory of files on a server. Basically, I want to be able the see
the files on the file system by typing http://localhost:8080/myfiles where
myfiles is a directory somewhere on the file system. In essenc
On Wed, Mar 5, 2008 at 7:26 PM, David Smithson
<[EMAIL PROTECTED]> wrote:
> I guess the list doesn't support attachments, so I've staged this on a
> web server. Here's the link to the graph:
> https://littleblue.activsupport.com/tomcat_graph.png
404 Forbidden.
-Dave
--
I guess the list doesn't support attachments, so I've staged this on a
web server. Here's the link to the graph:
https://littleblue.activsupport.com/tomcat_graph.png
-Original Message-
From: David Smithson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 10:18 PM
To: users@tomc
Hi all,
I was recently asked to create a way to analyze Tomcat performance. I
decided to grab stats from the /manager/status?XML=true page and push
those metrics into rrdtool. There are all sorts of other details to the
analysis which I will leave out. In any case, I was wondering if
someone co
dont send me tomcat hereafter!!
- Original Message -
From: "Angelo Chen" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 06, 2008 8:29 AM
Subject: multiple domains
Hi guys,
I have this server that has two domains pointing at it, the tomcat server
5
is running there, I have two wep
Hi guys,
I have this server that has two domains pointing at it, the tomcat server 5
is running there, I have two wep applications for the two domains, so i
like:
www.domain1.com will call the app1
www.domain2.com will call the app2
how to configure tomcat to work like this? thanks
Angelo
--
favor is returned? I guess there's a first time for everything..
ap_ctx_get is a mod_ssl function which can be downloaded at
http://www.modssl.org
#install as LoadModule in $APACHE_HOME/conf/httpd.conf e.g.
#Also make sure you have the correct mod_ssl.so for your Operating System!
LoadModule ssl
dont send me tomcat hereafter!! im not a member of t!!!.
- Original Message -
From: "ChrisS" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, March 06, 2008 7:57 AM
Subject: Re: mod_jk gmake recursion error on solaris 10 x86
ChrisS wrote:
Rainer Jung wrote:
Unfort
dont send me tomcat hereafter!!
- Original Message -
From: "ChrisS" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, March 06, 2008 6:57 AM
Subject: Re: mod_jk gmake recursion error on solaris 10 x86
Rainer Jung wrote:
Unfortunately I have some difficulties to understand,
dont send me tomcat hereafter!!
- Original Message -
From: "Rainer Jung" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, March 06, 2008 5:56 AM
Subject: Re: mod_jk gmake recursion error on solaris 10 x86
Hi Chris,
ChrisS schrieb:
I installed Sun Studio 11 and included it
ChrisS wrote:
Rainer Jung wrote:
Unfortunately I have some difficulties to understand, what you want
to tell me:
Ok Rainer that solves that one, I do have a built in Apache Solaris 10
What solves what?
dist this is:
bash-3.00# /usr/apache2/bin/httpd -l
Compiled in modules:
core.c
prefo
Rainer Jung wrote:
Unfortunately I have some difficulties to understand, what you want to
tell me:
Ok Rainer that solves that one, I do have a built in Apache Solaris 10
What solves what?
dist this is:
bash-3.00# /usr/apache2/bin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core
Unfortunately I have some difficulties to understand, what you want to
tell me:
Ok Rainer that solves that one, I do have a built in Apache Solaris 10
What solves what?
dist this is:
bash-3.00# /usr/apache2/bin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
bash-3.
Rainer Jung wrote:
Hi Chris,
ChrisS schrieb:
I installed Sun Studio 11 and included it first in the $PATH env
variable. This cleaned up the nasty warnings about CC. Then I built
it with: gmake and then gmake clean this was also successful. Libtool
was then used to pass the mod_jk.so file to i
I've been looking through a lot of tutorials regarding using JNDI for
datasources and ldap authentication and was wondering if someone could
explain things.
Most of what I've come across has authentication completely seperate from
the datasource, or, in the case of JDBCRealms, the user/credential
Hi Chris,
ChrisS schrieb:
I installed Sun Studio 11 and included it first in the $PATH env
variable. This cleaned up the nasty warnings about CC. Then I built it
with: gmake and then gmake clean this was also successful. Libtool was
then used to pass the mod_jk.so file to its location in this
Hi Chuck,
If it should be, it's not. webapps contains docs, host-manager, manager and
ROOT. theres no examples folder which worries me if it should be there. any
suggestions?
Richard.
- Original Message
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: Tomcat Users List
Sen
We are trying to port an application from Weblogic to Tomcat. Our JDBC
entry looks like this
The weblogic works fine with setup. The jdbc datasource is setup through
weblogic console.
On Tomcat, we noticed that we would have to modify the above entry like
this
Rainer Jung wrote:
Hi Chris,
ChrisS schrieb:
I am trying to compile mod_jk current on Solaris 10 x86 (intel).
After spending a huge amount of time, I finally get it to compile and
this is the output I receive.
bash-3.00#./configure --with-apxs=/usr/apache/bin/apxs
checking build system type.
> From: Richard Dunne [mailto:[EMAIL PROTECTED]
> Subject: Re: viewing servlets on Tomcat
>
> I had a look at my localhost directory
> c:\Program Files\Apache Software Foundation\Tomcat
> 6.0\webapps\ROOT and there is no examples folder.
Nor should there be. The webapps/ROOT directory contains
Tomcat 6.0.14, JDK 1.5.0_06, WinXPSP2.
I sometimes run Tomcat from "startup.bat", and I sometimes run it from
Eclipse. Several times I've seen a situation where I will change my app
and restart the server, and my test indicates that my change didn't get
deployed. This isn't an HTML caching issue
Dear Tomcat Users List
I followed the instructions from Richard Mundell on "Mini HOW-TO:
Tomcat as a service on Windows Server 2003 64-bit edition" (possibly
viewable here: http://marc.info/?l=tomcat-user&m=114951978732081&w=2),
but have run into problems.
When I try to start the service from the
I tried that. Didn't help. The service is writing to stdout log file.
Anyway, I upgraded to Tomcat 6 and installed using the windows
installer, and everything works. It does seem like a permission problem
though.
Thanks
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
S
Kaderabek, Kevin (TS) wrote:
Here's my problem.
We've been runing an application under Tomcat for 7 years now, but
usually on Linux. Just now, I have need to run Tomcat as a Windows
service. I did this by running service.bat, and everything seems to
work fine, except the logging. The only log
One explanation might be this. I had a look at my localhost directory
c:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT and there
is no examples folder. If the resource does not not exist one might expect a
HTTP error. should I try a re-install?
- Original Message
F
> From: GF [mailto:[EMAIL PROTECTED]
> Subject: Re: handle with a single .war all the request to N subdomains
>
> i'm trying to find a way to that all the requests to:
> *.myhost.com/myapp/
> can be handled by a single war.
Unless you've fiddled with the config in server.xml, they by
default th
Thank you! for you quick reply!
My problem is a little different, in few words, i'm still at the
previous step, i'm trying to find a way to that all the requests to:
*.myhost.com/myapp/
can be handled by a single war.
So first of all i'm looking if Tomcat handle in someway the wildcard
for sudoma
Look at the Host header to see how the browser addressed your
webserver and then you can specialize your output.
theHostString = theHttpServletRequest.getHeader("Host");
if (theHostString != null && theHostString.trim().length > ) {
if (theHostString.startsWith("sub1.")) {
doSub1Content(...);
>-Original Message-
>From: David Delbecq [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 04, 2008 10:50 PM
>To: Tomcat Users List
>Subject: Re: weird log output
>
>En l'instant précis du 05/03/08 06:10, Lessie Z. Mitch s'exprimait en
>ces termes:
>>
>>
>> Running TC5.5.23 as lone web se
Hello,
I have a web application that runs on:
www.myhost.com/myapp/
I would like that the deploy a single .war can handle all the requests such as:
sub1.myhost.com/myapp/
sub2.myhost.com/myapp/
sub3.myhost.com/myapp/
And of course i want to receive the parameter on which subdomains the
request
sorry, having a bad day! head all over the place. I have checked the logs at
c:\Program Files\Apache Software Foundation\Tomcat 6.0\logs and there is
nothing logged for this.
HTTP Status 404 - /examples/servlets/
type Status report
message /examples/servlets/
description The requested resour
Does anyone know about recommended configurations for file I/O in Open VMS?
I'm having serious performance issues when parsing a file which takes
1/10th the time under Linux.
Thank you,
Alex
Alex Chelminsky
[EMAIL PROTECTED]
781-290-1620 (office)
617-650-5453 (cell)
781-890-1208 (fax)
CSC Con
On Wed, Mar 5, 2008 at 11:42 AM, Richard Dunne
<[EMAIL PROTECTED]> wrote:
> Of course, Tomcat 6, jre1.6.0_04, jdk1.6.0_04 installed on XP
logs? actual error?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To
Of course, Tomcat 6, jre1.6.0_04, jdk1.6.0_04 installed on XP
- Original Message
From: Hassan Schroeder <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Wednesday, March 5, 2008 7:06:16 PM
Subject: Re: viewing servlets on Tomcat
On Wed, Mar 5, 2008 at 10:12 AM, Richard Dunne
<[EMAIL PR
Hi Chris,
ChrisS schrieb:
I am trying to compile mod_jk current on Solaris 10 x86 (intel). After
spending a huge amount of time, I finally get it to compile and this is
the output I receive.
bash-3.00#./configure --with-apxs=/usr/apache/bin/apxs
checking build system type... i386-pc-solaris2.
> From: Enrique Arizón [mailto:[EMAIL PROTECTED]
> Subject: Tomcat tool similar to "top"
>
> Time to time one of those apps gets out of control,
> but standard OS tools like top just show the java
> process running up to 200% of CPU usage.
I'd be suspicious of that tool :-)
> Still jconsole doe
Here's my problem.
We've been runing an application under Tomcat for 7 years now, but
usually on Linux. Just now, I have need to run Tomcat as a Windows
service. I did this by running service.bat, and everything seems to
work fine, except the logging. The only log files I get are the stdout
and
On Wed, Mar 5, 2008 at 10:12 AM, Richard Dunne
<[EMAIL PROTECTED]> wrote:
> I have Tomcat installed, but I am unable to view the servlets examples
> I have changed param-value for listing to true. I have uncommented the
> invoker servlet.
You shouldn't do the latter at all, and neither has anyt
Hi,
I have a tomcat server with around 50 diferents small
apps running on it.
Time to time one of those apps gets out of control,
but standard OS tools like top just show the java
process running up to 200% of CPU usage.
I setup tomcat to allow jconsole to connect and
monitor it. Still jconso
I have Tomcat installed, but I am unable to view the servlets examples from the
Tomcat homepage http://localhost In Web.xml, I have changed param-value for
listing to true. I have uncommented the invoker servlet. Is there any other
configs that I might be missing?
Richard.
__
Hi Ken-
Speaking of confusion..whart is Strong Brain ?
Please reply offline
Thanks/
M
- Original Message -
From: "Ken Bowen" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, March 05, 2008 12:00 PM
Subject: Apologies
> Apologies for the confused reply to MK. Mixed up my m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tom,
Tom van Wietmarschen wrote:
| What I want to change is how the session id is communicated to the
| client and back. Basically, I want to change the object that retrieves
| the session ID from the HTTP request and feeds it to the session
| manage
Apologies for the confused reply to MK. Mixed up my mailTime for
another couple of cups of coffee. ):
--KB
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Mohamed,
I think you sent me a reply meant for someone else. Here is the message
I sent:
---
Hi guys,
I just discovered that my strong-brain.com app wasn't running, and found
the following it's catalina.out log:
ERROR | wrapper | 2008/03/03 03:12:11 | JVM exited unex
Tom this is 100% correct "there is no way to even instantiate a session
object from a self-supplied session-id let alone replace the current
session object in the HttpRequest." but I am still a little curious as
to why Tomcats generated session id is not adequate, is it purely
because you ca
Hi,
Try putting the jar file in TOMCAT_HOME/common/lib or in your application
WEB-INF/lib directory.
>
> Hi
> Am getting this error when running a servlet.
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter Stavrinides wrote:
| Tom this is 100% correct "there is no way to even instantiate a session
| object from a self-supplied session-id let alone replace the current
| session object in the HttpRequest."
That depends on your definition o
Seems to me you are using Apache as a front-end to
TC. In which case you are telling Apache that whatever is
under /examples should be handled by TC, everything else
is local... Right so far?
If so, then you for SURE do not what to configure Apache
as a forward proxy, which is what you are doing
Thanks for the replies Chuck as always; I meant to say that sooner. =P
I am also sorry this reply is a week overdue, however I have been tied
up for a week. Let me explain the situation a little more thoroughly
and see what your thoughts are then:
For several critical applications such as SSO and
Eran,
That´s what I meant "add all JkMounts to your ssl VirualHost".
Thanks Rainer for the explanation, I think I didn´t make my self
clear previously.
Regards,
Rafael
On 3/4/08, Rainer Jung <[EMAIL PROTECTED]> wrote:
> Rafael Rossetto schrieb:
>
> > Eran,
> >
> > Ensure that y
> From: Raghavan_sat [mailto:[EMAIL PROTECTED]
> Subject: Problem in running servlet
>
> Am getting this error when running a servlet.
You need to install a real Tomcat and a real JVM. The GNU JVM is pretty
much just a toy; get rid of it and install a proper one for your
platform from java.sun.
> From: amit kumar [mailto:[EMAIL PROTECTED]
> Subject: Re: difference between TC5.5 and TC6
>
> Is there any documentation available where I can read about
> all the changes that has happened from TC 5 to TC6.
http://tomcat.apache.org/tomcat-6.0-doc/changelog.html
- Chuck
THIS COMMUNICATIO
Hi
The following line in my code just prints a null array.
" Set hostsON = mBeanServer.queryNames(queryHosts, null);"
Is mbeanserver not having anything. am new to this. help me on this
try
{
String msg="\n";
String msg2="null";
int flag=0;
String onStr = "JMImplementation:type=MBean
Hi
Am getting this error when running a servlet.
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Wrapper cannot find servlet class
tomcat.impl.PluginServlet or a cla
Is there any documentation available where I can read about all the changes
that has happened from TC 5 to TC6. I have been facing problem in figuring
out the changed structure of classes and or replaced classes if
any.(specifically for developing valves for tomcat 6)
Regards.
Amit
On Wed, Mar 5
Regarding specs, tomcat 6 also supports servlet spec 2.5.
Regarding tomcat specific stuff, the default folder layout with respect
to where to place jar files was optimized slightly.
--David
Markus Schönhaber wrote:
Edward Quick wrote:
I have a question about the difference between TC
Edward Quick wrote:
> I have a question about the difference between TC 5.5 and 6. We use
> 5.5 as our standard, but a vendor we are working with is insisting
> their webapp will only work with TC6 because they have coded to JSP
> standard 2.2 (may be 2.1?)
JSP 2.1 is supported by Tomcat 6 (and i
Phil, Thanks.. I'll take a look.
jfk
-Original Message-
From: Phil Steitz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2008 10:41 PM
To: Tomcat Users List
Subject: Re: Getting the URL of a DataSource
On Mon, Mar 3, 2008 at 2:08 PM, Katilie, John
<[EMAIL PROTECTED]> wrote:
> All, t
stunnel
On Mon, 2008-03-03 at 18:39 -0800, David Rees wrote:
> On Mon, Mar 3, 2008 at 9:26 AM, James Ellis <[EMAIL PROTECTED]> wrote:
> > Do you think that little hollow voice can clarify how IPSec would solve this
> > problem by giving an example of a software that I could implement to
> > a
I have a question about the difference between TC 5.5 and 6.
We use 5.5 as our standard, but a vendor we are working with is insisting their
webapp will only work with TC6 because they have coded to JSP standard 2.2 (may
be 2.1?)
I have a couple of questions about this:
Where do I go to check
En l'instant précis du 05/03/08 09:50, David Delbecq s'exprimait en ces
termes:
nice, since you are on tomcat, did you try a
Please read "since you are on linux"
--
http://www.devlog.be (a belgian developer's logs)
-
To st
En l'instant précis du 05/03/08 06:10, Lessie Z. Mitch s'exprimait en
ces termes:
Running TC5.5.23 as lone web server on RHE4 box
Official tomcat, or redhat provided tomcat. In second case, get rid of
it and download a clean official tomcat, mailing list won't offer much
help on refurbish
Tom this is 100% correct "there is no way to even instantiate a session
object from a self-supplied session-id let alone replace the current
session object in the HttpRequest." but I am still a little curious as
to why Tomcats generated session id is not adequate, is it purely
because you can'
72 matches
Mail list logo