Re: Cannot see cluster MBean

2008-09-22 Thread Filip Hanik - Dev Lists
this is work in progress Filip Landry Stephane Zeng Eyindanga wrote: Hi all, Here I come again. Can anyone help me please ? I am working on an application that uses tomcat clusters (tomcat 6). I follow all the steps on clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.ht

RE: Tomcat 6 Context Configuration

2008-09-22 Thread Caldarale, Charles R
> From: mookiegp [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 6 Context Configuration > > Inside the the directory on the E: drive is a copy of the > default Tomcat index.html file for testing purposes. That's not correct. Each webapp must be in a directory (or .war file) immediately under t

RE: Tomcat 6 Context Configuration

2008-09-22 Thread mookiegp
Ok. I changed the following in C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\server.xml Changed this: http://66.39.112.245/tmp/tomcat-screenshot.jpg http://66.39.112.245/tmp/tomcat-screenshot.jpg Is there other conf file I need to change? Caldarale, Charles R wrote: > >> From:

RE: Tomcat 6 Context Configuration

2008-09-22 Thread Caldarale, Charles R
> From: mookiegp [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 Context Configuration > > I can't seem to figure out where in the configuration > files I can change Tomcat to change the path to my web > apps on the E drive. If you want Tomcat to use just the webapps on your E: drive and not any of

Tomcat 6 Context Configuration

2008-09-22 Thread mookiegp
Hi! I have Tomcat 6 installed and by default the web apps are stored here: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps However, all of my files and web applications live on a different hard drive here: E:\Public\Files\My Docs\Web\Sites I can't seem to figure out where in the

Script will not start Tomcat6 on restart

2008-09-22 Thread Robert Gonzales
current EnviornmentRHEL 5JDK 1.5.0Tomcat6Virtual Machine Hello all,I am looking at our existing script we are trying to find out why our script will not start Tomcat6. We have checked the following. Run level is 3 checked /etc/rc3.d for symbolic link, here is what is listedS80tomcat6 ->

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
I actually think I got it up and running. I have assigned 2 addresses to the same ethernet card and added 2 ssl connectors to server.xml and tomcat did not crash. So I guess it was my lack of knowledge that did this. I must have an mx record for the new ipaddress to know for a fact but thanks al

Re: Redirection after Tomcat restart

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Dubuc wrote: > The problem that I am facing is that since the application is using a > new session, there might be some session based variables that are not > initialized. If you want your application to work properly in this situation

Re: [OT] question about realm auth and digest attribute

2008-09-22 Thread André Warnier
Mark Thomas wrote: [...] It took me less than a minute to find the JavaDoc for java.security.MessageDigest It's by saying things like that that you provoke this kind of question.. It takes us mere mortals ages to find anything there. :-) ---

Re: question about realm auth and digest attribute

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Joe A wrote: > i'm talking about the part of configuration that lets you choose specify how > the passwords are stored in the users table. I think for DIGEST auth, you don't want /any/ hashing for the password in the user's table. You want the v

Re: question about realm auth and digest attribute

2008-09-22 Thread Mark Thomas
Joe A wrote: > in the docs it says "The value for this attribute must be one of the digest > algorithms supported by the java.security.MessageDigest class (SHA, MD2, or > MD5). " > > so if i encrypt using the sha1 algorithm, do you know if i should specify > sha1 or sha-1 or sha? Is it really too

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: Re: Share war file / virtual hosts > > Yes thanks for pointing that out Pointing what out? Many comments have been made. > Is there anyway of testing this using local servers? You can test it on one box, but you'll still have to c

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Yes thanks for pointing that out Is there anyway of testing this using local servers? -- View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19616056.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: question about realm auth and digest attribute

2008-09-22 Thread Joe A
in the docs it says "The value for this attribute must be one of the digest algorithms supported by the java.security.MessageDigest class (SHA, MD2, or MD5). " so if i encrypt using the sha1 algorithm, do you know if i should specify sha1 or sha-1 or sha? thanks, joe On Mon, Sep 22, 2008 at 3:06

Re: Share war file / virtual hosts

2008-09-22 Thread Hassan Schroeder
On Mon, Sep 22, 2008 at 1:22 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Ok! I tested with port 8080 and 8443 as ssl port with no luck. > I only have 2 domains but tomcat complains about java.net.BindException: > Cannot assign requested address: JVM_Bind:8080. Now I guess this isn't > co

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
Mathias P.W Nilsson wrote: Ok! I tested with port 8080 and 8443 as ssl port with no luck. I only have 2 domains but tomcat complains about java.net.BindException: Cannot assign requested address: JVM_Bind:8080. Now I guess this isn't configured right so any pointers here would be greatly apprecia

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Ok! I tested with port 8080 and 8443 as ssl port with no luck. I only have 2 domains but tomcat complains about java.net.BindException: Cannot assign requested address: JVM_Bind:8080. Now I guess this isn't configured right so any pointers here would be greatly appreciated.

Redirection after Tomcat restart

2008-09-22 Thread Martin Dubuc
I am running Tomcat 6.0.18. My application uses form based authentication. I am not sure how to handle the case where a user navigates to one of the secure page after logging in and Tomcat is restarted. The problem is that from the secured page, if the user clicks on any of the links after the re

Re: question about realm auth and digest attribute

2008-09-22 Thread Mark Thomas
Joe A wrote: > i'm talking about the part of configuration that lets you choose specify how > the passwords are stored in the users table. To repeat my previous answer, any digest that is supported by the JVM you are using is fine for this. Mark

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
Mathias P.W Nilsson wrote: Thanks very much! [...] By reading your thread I guess that a tomcat solution is out of the question? No, I would not even dare to suggest that ! I don't want to be expelled from this list. ;-) I was just proposing an alternative using things I know better than T

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: Re: Share war file / virtual hosts > > The last one about apache as a frontend would work. I wouldn't recommend adding another node and associated complexity and overhead to fix the problem. Please try the suggested server.xml chan

Re: question about realm auth and digest attribute

2008-09-22 Thread Joe A
i'm talking about the part of configuration that lets you choose specify how the passwords are stored in the users table. On Mon, Sep 22, 2008 at 2:27 PM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Joe, > > Joe A wrote: > > i'm talking ab

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Thanks very much! The last one about apache as a frontend would work. ( I'm very new to this, server set up as you probably seen. ) I am reading the headers to look at the request. I'm using a Wicket solution with Spring and Hibernate. The Wicket handles 3 different looks with the exact same jav

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: RE: Share war file / virtual hosts > > connectionTimeout="2" >redirectPort="443" /> I think you need three port 80 elements, one for each IP address. You may also want another pair for IP a

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
Mathias P.W Nilsson wrote: [...] From the questions and answers ping-pong here, I get the impression that you are trying to square the circle, and either bump into a Tomcat issue or a Hibernate one (whatever that is). Summary : - for some reason I don't know nor would understand, you want only

Re: question about realm auth and digest attribute

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Joe A wrote: > i'm talking about this part of configuration: > http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html Sorry, I should have been more clear. Although Tomcat allows you to pick the hashing algorithm for DIGEST auth, there is no w

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Here is the configure. Of course the IP address are real addresses. www.domain1.se www.domain1.com domain2.com

RE: How to make my application run outside of apache directory.

2008-09-22 Thread Caldarale, Charles R
> From: NetbeanUser [mailto:[EMAIL PROTECTED] > Subject: How to make my application run outside of apache directory. > > It's a whole tree of dependencies I have under ~/a/b, does > it mean that I've to get all classes from that tree under my > apache tree. If by "apache tree" you mean the webapp'

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: RE: Share war file / virtual hosts > > I can't add port 443 to 3 of them because > then tomcat casts an error. Each must have a unique IP address. You should also have three non-SSL elements, one for each IP address, using port 80

Re: Share war file / virtual hosts

2008-09-22 Thread Hassan Schroeder
On Mon, Sep 22, 2008 at 11:36 AM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Yes, but how should I configure those connectors? I can't add port 443 to 3 > of them because > then tomcat casts an error. You can if each has a separate IP address, which is what you need to make this work. --

How to make my application run outside of apache directory.

2008-09-22 Thread NetbeanUser
Hello, I've created a web application using servlets and jsp My servlet and other required class files are in let's say path ~/a/b/c/d/*.class, some of these have dependencies on classes from ~/a/b/e/f/*.class While building my back end, I get jar files with classes from the location /a/b/c/d.

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Yes, but how should I configure those connectors? I can't add port 443 to 3 of them because then tomcat casts an error. I can only have one host otherwise hibernate will start 3 times and that is bad. -- View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp1960

Re: mod_ajp and Load-Balancing Issue

2008-09-22 Thread Stephen Nelson-Smith
On Mon, Sep 22, 2008 at 1:45 AM, Shaun Senecal <[EMAIL PROTECTED]> wrote: > Are you using the ClusterSingleSignOn Valve? I'm not, no. I have httpd 2.2 on the front-end, with a balancer pool thus: ProxyRequests Off ProxyVia Off ProxyPreserveHost On ProxyErrorOverride On ProxyTimeout 60 B

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: Re: Share war file / virtual hosts > > >unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > www.domain1.se > www.domain1.com > www.domain2.se > > >

Re: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Just to get this straight. Suppose I have this Host setting in server.xml www.domain1.se www.domain1.com www.domain2.se How can I make 3 connectors to match this. There baught from Thawte with the www.domain1.se, www.domain1.com, www.domain2.se -

Re: Share war file / virtual hosts

2008-09-22 Thread Pid
Mathias P.W Nilsson wrote: > The problem is this. > > I would like to set up 3 connector that points to 3 different domains > One Host element and many aliases. Can this be done? The connectors are > https. > > > > > > > > yes it can, you just need to set your hostname to be the default

Re: jstack and Tomcat 6 on Windows

2008-09-22 Thread Johnny Kewl
- Original Message - From: "Brian Clark" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, September 22, 2008 6:11 PM Subject: Re: jstack and Tomcat 6 on Windows Thanks again for all of our suggestions. The Eclipse Memory Analyzer Tool looks very interesting and helpful. It

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
The problem is this. I would like to set up 3 connector that points to 3 different domains One Host element and many aliases. Can this be done? The connectors are https. -- View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19611322.html Sent

Re: jstack and Tomcat 6 on Windows

2008-09-22 Thread Brian Clark
Thanks again for all of our suggestions. The Eclipse Memory Analyzer Tool looks very interesting and helpful. It also calls out the JAVA_OPT -XX:+HeapDumpOnOutOfMemoryError to auto generate a heap dump for me. I was originally looking for a way to automatically generate a thread dump, but this

RE: Apache 2.0 Authentication LDAP

2008-09-22 Thread Arun Raj Ramkumar
Thanks a lot Andre.. Will get back to you.. After verifying the docs -Original Message- From: André Warnier [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 5:55 PM To: Tomcat Users List Subject: Re: Apache 2.0 Authentication LDAP André Warnier wrote: >

Re: How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread DeanM
jlar310 wrote: > > Not exactly. The Apache proxy would be independent of Tomcat. Your > link in the servlet would simply link to the local, proxied address > served by Apache. > > See ProxyPass and ProxyPassReverse in the Apache docs. > OK thanks I'll go and have a read. -- View this messag

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: RE: Share war file / virtual hosts > > Can The Host element support multiple ip addresses? A element doesn't care about IP addresses; only a does, and hen only if it's configured for a specific IP address. Each is concerned onl

Re: How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread Jeff
On Mon, Sep 22, 2008 at 10:46 AM, DeanM <[EMAIL PROTECTED]> wrote: > > You need to write (or find) a proxy/reverse-proxy servlet. > > Alternatively, you could use Apache httpd that purpose. More moving > parts, but possibly less work. :-) > > > > > So you mean set up Apache and have Tomcat "plug in

Re: How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread DeanM
You need to write (or find) a proxy/reverse-proxy servlet. Alternatively, you could use Apache httpd that purpose. More moving parts, but possibly less work. :-) So you mean set up Apache and have Tomcat "plug in" to it? In other words, make Apache the front end my browser talks to, instead o

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
I think it does, but then I have another ;) Can The Host element support multiple ip addresses? -- View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19610708.html Sent from the Tomcat - User mailing list archive at Nabble.com. --

Re: How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread Hassan Schroeder
On Mon, Sep 22, 2008 at 8:35 AM, DeanM <[EMAIL PROTECTED]> wrote: > So, question is, how do I set up a mechanism so that you click on a link on > the index page for the URL you want, Tomcat takes this and sends the request > to the secure server, the secure server sends the page(s) back to Tomcat

Re: question about realm auth and digest attribute

2008-09-22 Thread Joe A
i'm talking about this part of configuration: http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html On Thu, Sep 18, 2008 at 3:18 PM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Joe, > > Joe A wrote: > > if i'm going to be using sha-1 fo

How to redirect a web page from Tomcat to your browser?

2008-09-22 Thread DeanM
This question's probably been asked a hundred times but it's new to me and I haven't found anything directly helpful in my newbieness. I have a servlet running on Tomcat on a remote machine. The application is a web site. What I want to do is have some links on the index page that go to a secure s

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: RE: Share war file / virtual hosts > > Can I use Connectors to Aliases? A operates with all elements in the same ; the only cares about IP address and port number, not DNS names. (Not sure if that answers your question.) - Chu

RE: Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Can I use Connectors to Aliases? -- View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19610201.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new t

Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-22 Thread Johnny Kewl
- Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, September 22, 2008 3:14 PM Subject: Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sinoea, si

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Subject: Share war file / virtual hosts > > I have 3 different virtual hosts. Is there anyway these can > share the same war file and instance? If you are using entries for a single , then the webapp will be deployed only once. If you are

Re: jstack and Tomcat 6 on Windows

2008-09-22 Thread Johnny Kewl
- Original Message - From: "Surendrakumar Viswanathan -X (suviswan - HCL at Cisco)" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, September 22, 2008 11:55 AM Subject: RE: jstack and Tomcat 6 on Windows Check Eclipse Memory Analyzer Tool www.eclipse.org/mat/. This is alte

RE: Problems upgrading from 6.0.14 to 6.0.18

2008-09-22 Thread Martin Gainty
Heiko- can you use lsof to determine which processes are creating the file handles? http://spatula.net/blog/archive/2007_10_01_spatula_archive.html also try to bring up one webapp at a time for an hour or 2 until you determine where this bug occurs running lsof? I would also suggest disengage

RE: tomcat5.5 and ubuntu hardy heron

2008-09-22 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Marcus Better > Subject: Re: tomcat5.5 and ubuntu hardy heron > > wwuster wrote: > > In usr/share/tomcat5.5-webapps I don't see a manager subdirectory. > > You need the tomcat5.5-admin package. I have no idea where the Ubuntu shuffled Tomcat puts

Re: j_security_check Tomcat user status

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tokajac, Tokajac wrote: > Now, i want to check another column on login: userstatus. Value of the > column can be 0 or 1. Only users with correct username and status 1 can > login. > > How can i do this with j_security_check? Mark's suggestion of usi

Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: > If a datasource in DBCP represents the pool... you cant, you'd make a > million data pools... No, the DataSource object does not represent the pool per se. It's just a factory that produces Connection objects (which, in t

Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sinoea, sinoea kaabi wrote: > Christopher Schultz wrote: >> You aren't using any class-level members in your static methods so >> you should be fine. > > This means that I cannot declare a: > > public class Data { > > private static DataSource data

Re: Server Maintenance Across Timezones (global)

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peng, Peng Tuck Kwok wrote: > There's a lot of good suggestions here, maybe you could also justify > maintaining a separate instance for the American customers. That would at > least allow at a minimum to roll out changes specific for them, conform to

Re: request for servlet filter

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > > The rule means that any request including Basic authentication > will be redirected to the indicated page. > > BASIC_AUTH > ^/.*$ > type="temporary-redirect

Re: [OT] RE: HTTPS and Virtual Hosts

2008-09-22 Thread Johnny Kewl
- Original Message - From: "Peter Crowther" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Monday, September 22, 2008 2:30 PM Subject: [OT] RE: HTTPS and Virtual Hosts [Marked OT as this is not even remotely about Tomcat] From: Johnny Kewl [mailto:[EMAIL PROTECTED] http://supp

Problems upgrading from 6.0.14 to 6.0.18

2008-09-22 Thread Heiko Klein
Due to the announce security bug http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2938 I wanted to upgrade tomcat from 6.0.14 to 6.0.18. Tomcat is running on a VPS on a Linux box with kernel 2.6.18. The application has been running for a while without any problems with tomcat 6.0.14. Lo

Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier
André Warnier wrote: Then, if there is something you do not understand, you can always come back here with a precise question. I forgot to say that if your problem is related to the Apache httpd setup of LDAP, then you would be better off trying the Apache httpd support list. Issues related t

[OT] RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
[Marked OT as this is not even remotely about Tomcat] > From: Johnny Kewl [mailto:[EMAIL PROTECTED] > http://support.microsoft.com/kb/257591 ... OK... > If it send the HOST info in step one ... which it doesn't as far as I can see... > and the server chose the correct > cert I see no p

Re: HTTPS and Virtual Hosts

2008-09-22 Thread Johnny Kewl
- Original Message - From: "André Warnier" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, September 22, 2008 12:21 PM Subject: Re: HTTPS and Virtual Hosts Mark Thomas wrote: Ognjen Blagojevic wrote: André Warnier wrote: Is the above, very roughly and approximatively st

Re: HTTPS and Virtual Hosts

2008-09-22 Thread Johnny Kewl
- Original Message - From: "Peter Crowther" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Monday, September 22, 2008 12:19 PM Subject: RE: HTTPS and Virtual Hosts From: Johnny Kewl [mailto:[EMAIL PROTECTED] I actually cant see any reason why the hand shake couldnt be extended

RE: Connector problem

2008-09-22 Thread Peter Crowther
> From: Jörg Fröber [mailto:[EMAIL PROTECTED] > Sorry to kind of hijack this thread, but would it be possible > to use one > of the certificates linked below with tomcat, when only 1 IP and 1 > SSL-Connector is used for different elements? > > http://www.geotrusteurope.com/products/ssl_certificate

Share war file / virtual hosts

2008-09-22 Thread Mathias P.W Nilsson
Hi! I have 3 different virtual hosts. Is there anyway these can share the same war file and instance? What I mean is that tomcat does not deploy the war file 3 times but uses the same war instance? -- View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902

Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier
Arun Raj Ramkumar wrote: Hi, Yes , that is my scenario. Please let me know what are the settings or changes I need to do for Apache authentication via LDAP. I already did. Just click on the link I provided in the previous answer. This is a help forum, and we do what we can. But people who ask

RE: Apache 2.0 Authentication LDAP

2008-09-22 Thread Arun Raj Ramkumar
Hi, Yes , that is my scenario. Please let me know what are the settings or changes I need to do for Apache authentication via LDAP. Regards, Arun -Original Message- From: André Warnier [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 4:19 PM To: Tomcat Users List Subject: Re:

Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier
Arun Raj Ramkumar wrote: Hi Friends, I have recently migrated my webapp from tomcat 4.x to 6.0 . Please let me know how to set up Apache 2.0 for authentication(using LDAP) by connecting it with tomcat 6.0 . Please let me know the steps to be followed like changes in httpd.conf . I am using Li

Re: Connector problem

2008-09-22 Thread Jörg Fröber
Am 22.09.2008, 12:17 Uhr, schrieb Peter Crowther <[EMAIL PROTECTED]>: From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Let's say I want a user to access the website in this fashion https://www.domain1.com ( SSL from thawte ) https://www.domain2.com ( SSL from thawte ) https://www.domain1.s

Apache 2.0 Authentication LDAP

2008-09-22 Thread Arun Raj Ramkumar
Hi Friends, I have recently migrated my webapp from tomcat 4.x to 6.0 . Please let me know how to set up Apache 2.0 for authentication(using LDAP) by connecting it with tomcat 6.0 . Please let me know the steps to be followed like changes in httpd.conf . I am using Linux server. Is there any se

RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
> From: André Warnier [mailto:[EMAIL PROTECTED] > I seem to remember that there was talk about a scheme or a > protocol that > would allow (very roughly) a client/server pair to start a > session using > HTTP (not SSL), negociate, then in the course of the session "upgrade" > this link to HTTPS. A

RE: Connector problem

2008-09-22 Thread Peter Crowther
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > When a user access www.domain1.se then I read the > HTTPServletRequest host > name to see what site > he/she want's to access. This is because I do not want 3 > hibernate access to > the same database because that won't work. I would get a lot

Re: HTTPS and Virtual Hosts

2008-09-22 Thread André Warnier
Mark Thomas wrote: Ognjen Blagojevic wrote: André Warnier wrote: Is the above, very roughly and approximatively still a valid explanation of what happens, or is it totally wrong, or has something changed in-between that I am unaware of ? Yes, that's about it. Here is the official explanation:

RE: Connector problem

2008-09-22 Thread Mathias P.W Nilsson
Ok thanks! The problem is that I need the host to run under the same tomcat instance. When a user access www.domain1.se then I read the HTTPServletRequest host name to see what site he/she want's to access. This is because I do not want 3 hibernate access to the same database because that won't

RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > I actually cant see any > reason why the hand shake couldnt be extended to look at the > incoming URL... Because the URL (or at least the host header) would have to be sent over the wire in cleartext, as it's before the encrypted connection is negot

RE: Connector problem

2008-09-22 Thread Peter Crowther
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] > Let's say I want a user to access the website in this fashion > > https://www.domain1.com ( SSL from thawte ) > https://www.domain2.com ( SSL from thawte ) > https://www.domain1.se ( SSL from thawte ) > > What would I have to do to make this w

Re: HTTPS and Virtual Hosts

2008-09-22 Thread Johnny Kewl
- Original Message - From: "André Warnier" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, September 22, 2008 10:57 AM Subject: HTTPS and Virtual Hosts Hi. I'm not an expert at anything below, that's why I am asking. I am also not looking for a very precise answer, just a

Re: HTTPS and Virtual Hosts

2008-09-22 Thread Johnny Kewl
- Original Message - From: "André Warnier" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, September 22, 2008 10:57 AM Subject: HTTPS and Virtual Hosts Hi. I'm not an expert at anything below, that's why I am asking. I am also not looking for a very precise answer, just a

Re: Connector problem

2008-09-22 Thread Mathias P.W Nilsson
OK! How would that setup look like? Let's say I want a user to access the website in this fashion https://www.domain1.com ( SSL from thawte ) https://www.domain2.com ( SSL from thawte ) https://www.domain1.se ( SSL from thawte ) What would I have to do to make this work? I only have one server

Cannot see cluster MBean

2008-09-22 Thread Landry Stephane Zeng Eyindanga
Hi all, Here I come again. Can anyone help me please ? I am working on an application that uses tomcat clusters (tomcat 6). I follow all the steps on clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). I see all the MBeans but not the cluster MBean. is it a bug ? Is t

RE: jstack and Tomcat 6 on Windows

2008-09-22 Thread Surendrakumar Viswanathan -X (suviswan - HCL at Cisco)
OOPS It's alternate to JHAT and not JMAP. Suren > -Original Message- > From: Surendrakumar Viswanathan -X (suviswan - HCL at Cisco) > Sent: Monday, September 22, 2008 3:25 PM > To: 'Tomcat Users List' > Subject: RE: jstack and Tomcat 6 on Windows > > Check Eclipse Memory Analyzer Tool

RE: jstack and Tomcat 6 on Windows

2008-09-22 Thread Surendrakumar Viswanathan -X (suviswan - HCL at Cisco)
Check Eclipse Memory Analyzer Tool www.eclipse.org/mat/. This is alternate to JMAP, but it can parse the hprof file faster and have a very visual GUI. Thanks Suren > -Original Message- > From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 20, 2008 4:40 PM > To: Tomca

Re: [OT] RE: HTTPS and Virtual Hosts

2008-09-22 Thread Ognjen Blagojevic
Peter Crowther wrote: Or configure multiple IP addresses on one card - almost all operating systems these days allow multiple IP addresses on one adapter. Cheaper, and you don't run out of card slots so fast :-). Didn't know that. That's definitely better. -Ognjen -

Re: HTTPS and Virtual Hosts

2008-09-22 Thread Mark Thomas
Ognjen Blagojevic wrote: > André Warnier wrote: >> Is the above, very roughly and approximatively still a valid >> explanation of what happens, or is it totally wrong, or has something >> changed in-between that I am unaware of ? > > Yes, that's about it. Here is the official explanation: > > h

[OT] RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
> From: Ognjen Blagojevic [mailto:[EMAIL PROTECTED] > For instance, you > could put 2 or more network cards in the server, and than > configure one virtual host for each of these cards. Or configure multiple IP addresses on one card - almost all operating systems these days allow multiple IP addr

Re: HTTPS and Virtual Hosts

2008-09-22 Thread Ognjen Blagojevic
André Warnier wrote: Is the above, very roughly and approximatively still a valid explanation of what happens, or is it totally wrong, or has something changed in-between that I am unaware of ? Yes, that's about it. Here is the official explanation: http://httpd.apache.org/docs/2.0/ssl/ssl_

RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
> From: André Warnier [mailto:[EMAIL PROTECTED] > As I remember from reading about this a while ago, there is/was a > fundamental incompatibility between the HTTP Virtual Host > mechanism, and > HTTPS/SSL, in the sense that there is some egg-and-chicken problem > involved, which roughly goes like t

HTTPS and Virtual Hosts

2008-09-22 Thread André Warnier
Hi. I'm not an expert at anything below, that's why I am asking. I am also not looking for a very precise answer, just a rough summary. The question : As I remember from reading about this a while ago, there is/was a fundamental incompatibility between the HTTP Virtual Host mechanism, and HTT

Re: Connector problem

2008-09-22 Thread Mark Thomas
Mathias P.W Nilsson wrote: > Hi! > > I have this setup in my server.xml > > maxThreads="150" scheme="https" secure="true" > clientAuth="false" sslProtocol="TLS" >keystoreFile="c:/keystore" >keystorePass="pass" /> > > unpackWARs="true" autoDeploy="true" >

Re: tomcat5.5 and ubuntu hardy heron

2008-09-22 Thread Marcus Better
wwuster wrote: > In usr/share/tomcat5.5-webapps I don't see a manager subdirectory. You need the tomcat5.5-admin package. Cheers, Marcus - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL P

Connector problem

2008-09-22 Thread Mathias P.W Nilsson
Hi! I have this setup in my server.xml www.alias1.se www.alias1.com www.alias2.com How can I install a connector for each site on the 443 port? My application is running under ROOT.war. Hibernate is not glad if I run multipl