wrote in message
news:2139500381.6699651248905929000.javamail.r...@sz0016a.emeryville.ca.mail.comcast.net...
>All the vHosts are to be situated on the same server.
>The server may be addressed using any loopback address
>or any non-loopback addressed configured on the NICs of the
>server.
>
>Hen
Excellent! Thank you for that little nugget, I've been more than
frustrated wondering why it wasn't logging properly.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]
Sent: Thursday, 30 July 2009 10:00 a.m.
To: Tomcat Users List
Subject: Re: java.util.logger
O
uma...@comcast.net wrote:
All the vHosts are to be situated on the same server.
The server may be addressed using any loopback address
or any non-loopback addressed configured on the NICs of the
server.
Hence I have the mapping
127.0.0.9 -> vhost1
127.0.0.10 -> vhost 2
Let's say that a re
All the vHosts are to be situated on the same server.
The server may be addressed using any loopback address
or any non-loopback addressed configured on the NICs of the
server.
Hence I have the mapping
127.0.0.9 -> vhost1
127.0.0.10 -> vhost 2
Let's say that a request arrives at address 10.
Mark,
If I wanted to use the same SSL certificate for all virtual hosts
does it follow that
a) I cannot use name based vHosts (because Tomcat SSL connector
uses the Host: entry in the request as the common name) and must
use IP-based vHosts.
b) or define name-based vHosts on
On 07/28/2009 04:42 AM, Geofrey Rainey wrote:
auth.DatasourceLoginModule.handlers = 1lm.org.apache.juli.FileHandler
add
auth.DatasourceLoginModule.level = FINEST
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache
uma...@comcast.net wrote:
Thanks much for the clarification.In this case, how do I nominate the default
virtual host?
Is there something called default connector, such as that which may be needed if
a request arrives into an unconfigured loopback address (say, 127.0.0.200)?
Are you sure you don
Thanks for the quick reply Pierre - I've been reading up since, checked and my
installation is OK.
However, I think I may have found the problem. Sometimes a class loader will
throw a NoClassDefFound when a static block throws an Exception. I think the
hibernate and jgroup classes in question
Thanks much for the clarification.In this case, how do I nominate the default
virtual host?
Is there something called default connector, such as that which may be needed if
a request arrives into an unconfigured loopback address (say, 127.0.0.200)?
My second issue is perhaps more serious: is the
Well, Chris is almost correct here. But Connectors are nested as the Service
level, not at the Engine level. The engine doc he refers you to even specifies
this at the top of the page. Here is the way to do it correctly:
Add a properly configured tag group to your web.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Uma,
On 7/29/2009 3:41 PM, uma...@comcast.net wrote:
> The documentation
> (http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html)
> as well as examples of it seem to illustrate the use of name-based virtual
> hosting:
>
>
>
b.henr...@pepperone.be wrote:
> We have sometimes Tomcat (5.x) who consume all the CPU (or 50 %) of the
> CPU constantly in our productions servers (Linux or Windows).
Adding to the thread dump mentioned by Leon, on Linux you can run
"ps -fLp "
to see CPU time usage per thread. Running this twice
uma...@comcast.net wrote:
> I am using Tomcat6.0.18 on RHEL5.
>
> I would like to set up IP-based virtual hosting using Tomcat alone ( as
> opposed
> to using Apache front-end).
>
> The documentation
> (http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html)
> as well as examples of
Nikolay Diulgerov wrote:
> About the double deployment ... you seems to be right
Odd that...
> but if I dont want
> to rename the app to ROOT can I move it to for example
> /myapp
> and then to have
>
Yes. If the docBase is outside of the Host's appBase then you can do that.
> And second ... is
Nikolay Diulgerov wrote:
> Mark,
> what do you mean by
> separation of httpd and Tomcat
I mean that my own view is that httpd and Tomcat should not be serving
content from the same directory structure. That way only Tomcat can
possibly serve the files Tomcat is meant to serve and only httpd can
se
I am using Tomcat6.0.18 on RHEL5.
I would like to set up IP-based virtual hosting using Tomcat alone ( as opposed
to using Apache front-end).
The documentation
(http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html)
as well as examples of it seem to illustrate the use of name-based
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohit,
On 7/29/2009 12:49 AM, Mohit Anchlia wrote:
> How do I setup authentication?
You sure do ask a lot of questions on the list without reading anything
in advance. If you've read all the responses to all of the stupid
questions you've asked over
About the double deployment ... you seems to be right but if I dont want
to rename the app to ROOT can I move it to for example
/myapp
and then to have
And second ... is there an option to change so not
/tomcat/webapps/ROOT is the default but
/tomcat/webapps/myapp is the default.
Nikolay
Mark,
what do you mean by
separation of httpd and Tomcat
Do you mean that httpd should redirect all requests to tomcat and not
serve static files?
Or that httpd should have alias /myapp
and still serve static files for it.
Or something different?
Mark Thomas wrote:
Nikolay Diulgerov
could be the class location mechanism is broken
find your class in your classloader..you could use Spring Framework's
ClassLoaderUtils
http://static.springsource.org/spring/docs/1.2.x/api/org/springframework/util/ClassLoaderUtils.htm
org.springframework.util.ClassLoaderUtils(Class.forName("Your
Nikolay Diulgerov wrote:
> I wonder then if I can use in server.xml
>
> To change the default application serving when someone requests
> myserver.com:8080
No. That will result in double deployment. Just rename webapps/myapp to
webapps/ROOT
> And then in apache to use
>
> DocumentRoot "/tomcat/
I wonder then if I can use in server.xml
To change the default application serving when someone requests
myserver.com:8080
And then in apache to use
DocumentRoot "/tomcat/webapps/myapp"
Options FollowSymlinks
DirectoryIndex index.html login.jsp
AllowOverride None
Allow from all
Peter Flynn wrote:
Hassan Schroeder wrote:
On Tue, Jun 23, 2009 at 7:37 AM, Peter Flynn wrote:
I've been using Tomcat5 with Apache2 under RH5 to run Cocoon, but I
now need to add Lucene and eXist. Is it possible to run multiple
applications like this on the same machine using the same Tomcat
s
Hello,
I've never encountered such a situation myself, but it may be because of a
duplicate jar in your classpath. As you may know, looking in WEB-INF/lib
should not be enough.
Maybe you should have a look at this, in order to know where to look :
http://tomcat.apache.org/tomcat-6.0-doc/class-l
Hi All,
I'm running tomcat apache-tomcat-6.0.18 with a single application that has
heavy spring and hibernate usage. One of the deployments mainly deals with
batch processing from Quartz. After a couple days worth of processing I
suddenly get NoClassDefFound errors (usually from some random hi
Bram de Kruijff wrote:
> Hi all,
>
> I am seeing a ConcurrentModificationException in the jasper compiler every
> now and then (v 6.0.18). Can not reproduce it on the spot (as it is probably
> a concurrency issue), but it always seems to occur when dispatching from my
> servlet to a jsp file.
Nikolay Diulgerov wrote:
> hello there,
> I just wonder if there is an option to configure apache to serve as
> document root /tomcat/webapps/myapp
Unless you are very careful (and you haven't been - /WEB-INF/ &
/META-INF/ are wide open), that is a really bad idea from a security
point of view. It
hello there,
I just wonder if there is an option to configure apache to serve as
document root /tomcat/webapps/myapp
I have in apache
DocumentRoot "/tomcat/webapps/myapp"
Options FollowSymlinks
DirectoryIndex index.jsp
AllowOverride None
Allow from all
JkMount /*.jsp ajp13
Jk
Hi all,
I am seeing a ConcurrentModificationException in the jasper compiler every now
and then (v 6.0.18). Can not reproduce it on the spot (as it is probably a
concurrency issue), but it always seems to occur when dispatching from my
servlet to a jsp file.
Code:
RequestDispatcher req
On Wed, Jul 29, 2009 at 12:30 PM, wrote:
> Thank you Leon,
>
> I will try kill -QUIT next time the problem will happen.
> But the problem occurred with two applications with Tomcat 5.0.28 and
> with Tomcat 5.5 .
Well, if its a but in your application or one of the libs in your
applications, that
Hassan Schroeder wrote:
On Tue, Jun 23, 2009 at 7:37 AM, Peter Flynn wrote:
I've been using Tomcat5 with Apache2 under RH5 to run Cocoon, but I
now need to add Lucene and eXist. Is it possible to run multiple
applications like this on the same machine using the same Tomcat
server?
Yes.
I on
Thank you Leon,
I will try kill -QUIT next time the problem will happen.
But the problem occurred with two applications with Tomcat 5.0.28 and
with Tomcat 5.5 .
Regards,
Benjamin
-Original Message-
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Sent: mercredi 29 juillet 2
Hello Benjamin,
This sounds like an infinite loop - a bug in your application. This can happen
if you don't use synchronization properly, for example write and read
to/from Hashmap without synchronization from 2 parallel threads.
When you detect this behaviour again, create a full thread dump by
s
Hello,
We have sometimes Tomcat (5.x) who consume all the CPU (or 50 %) of the
CPU constantly in our productions servers (Linux or Windows).
Our applications aren't doing anything and the only solution is to
restart Tomcat.
I don't know if the problem is related to Tomcat or to the JVM (Sun)
Mohit Anchlia wrote:
> How can I limit access to the home page so that people are not able to
> access the home page?
By not creating the home page (/index.html, /index.jsp, ...) at all,
and making sure that directory indexing is disabled?
Or is there a use case in your application where the home
Are the other pages free to access?
Is the situation that you want to limit the number of people viewing the
page? Or do you want to control who visits it?
If its who visits it you need authentication ?
See http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html for the basics
of authenticatio
I thought that you only had to set up on apache (httpd server). Thats the
way I got it working.
see
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html#SSL%20and%20Tomcatrelevenat
excet below
*SSL and Tomcat*
*It is important to note that configuring Tomcat to take advantage of secure
sockets
Mohit Anchlia wrote:
tomcat 6:
How can I limit access to the home page so that people are not able to
access the home page?
Now that is an interesting question.
Usually people come here for information about the opposite problem :
their page does not show up, and they want to know why.
So may
38 matches
Mail list logo