Re: url changes

2006-07-10 Thread Bill Barker
"Graham Reeds" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am setting up a website. Part of the site is employee blogs. As well as >the blogs there will be forums, products, etc. making: > > http://www.company.com/blogs/employee.name > http://www.company.com/forums/ > http:/

Re: 302 Redirect on Tomcat 5.x+

2006-07-10 Thread Bill Barker
"Rob L" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I heard somewhere that tomcat 4 and below uses a 302 redirect on the home >(index) page. Is this still the case with 5.x+? > No. Tomcat 5.x+ serves http://www.myserver.com/myapp/ directly. However, it will 302 a request fo

Re: Running Tomcat Embedded

2006-07-10 Thread Bill Barker
"Mike Wannamaker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I wish to run Tomcat from within my own JVM. I would like it to run just > like Tomcat does today, however I'd just like to setup the various paths, > for like web app root directory, config directory, lib directory

302 Redirect on Tomcat 5.x+

2006-07-10 Thread Rob L
I heard somewhere that tomcat 4 and below uses a 302 redirect on the home (index) page. Is this still the case with 5.x+? Thanks! _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm0020

Re: problem accessing the webpages using specific hostname

2006-07-10 Thread sbandha2
I opened the port in the firewall and its now working. Thanks for all the help. -Sruthi Original message >Date: Mon, 10 Jul 2006 16:33:45 -0700 >From: "Brian Munroe" <[EMAIL PROTECTED]> >Subject: Re: problem accessing the webpages using specific hostname >To: "Tomcat Users List" >

Re: problem accessing the webpages using specific hostname

2006-07-10 Thread Martin Gainty
Locate the hosts file and place this entry in your hosts file 127.0.0.1 xyz.abc.edu and you will resolve that name Martin -- * This email message and any files transmitted with it contain confidential information intended only for

Re: problem accessing the webpages using specific hostname

2006-07-10 Thread Brian Munroe
On 7/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I am using Suse Linux 9.0 and I might be behind a firewall. I will try to see if I can open up this port. Also if you do a 'netstat -a | grep -i listen' as root, it may show you what is running on which ports. If you see anything like

Re: problem accessing the webpages using specific hostname

2006-07-10 Thread sbandha2
I am using Suse Linux 9.0 and I might be behind a firewall. I will try to see if I can open up this port. Thanks, Sruthi Original message >Date: Mon, 10 Jul 2006 16:33:45 -0700 >From: "Brian Munroe" <[EMAIL PROTECTED]> >Subject: Re: problem accessing the webpages using specific hostn

Re: problem accessing the webpages using specific hostname

2006-07-10 Thread Shinya Koizumi
If the firewall is on, won't be able to pin. SK - Original Message - From: "Brian Munroe" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, July 10, 2006 4:33 PM Subject: Re: problem accessing the webpages using specific hostname > On 7/10/06, [EMAIL PROTECTED] <[EMAIL PROTECT

Re: problem accessing the webpages using specific hostname

2006-07-10 Thread Brian Munroe
On 7/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Yes, I could ping "xyz.ab.edu" from my pc, but not "xyz.ab.edu:8181" (8181 is the port number on which tomcat is receiving requests). If I use "telnet localhost 8181" from xyz.ab.edu, it lets me in... but "telnet xyz.ab.edu 8181" doesnt wo

Re: problem accessing the webpages using specific hostname

2006-07-10 Thread sbandha2
Yes, I could ping "xyz.ab.edu" from my pc, but not "xyz.ab.edu:8181" (8181 is the port number on which tomcat is receiving requests). If I use "telnet localhost 8181" from xyz.ab.edu, it lets me in... but "telnet xyz.ab.edu 8181" doesnt work. Thanks, Sruthi Can you ping "xyz.ab.edu" from your pc?

Re: problem accessing the webpages using specific hostname

2006-07-10 Thread Shinya Koizumi
Can you ping "xyz.ab.edu" from your pc? I am thinking the name resolutoin( ip -> pc name) is not working properly. SK - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, July 10, 2006 3:49 PM Subject: problem accessing the webpages using specific hostname > Hi, > > I i

problem accessing the webpages using specific hostname

2006-07-10 Thread sbandha2
Hi, I installed the tomcat server as a standalone server. I could access all the pages through the url http://localhost:8080.. but I cannot access it using the hostname(say http://xyz.abc.edu:8080) of the host on which I installed tomcat. Is there any configuration file in which I have to specify

problem accessing the webpages using specific hostname

2006-07-10 Thread sbandha2
Hi, I installed the tomcat server as a standalone server. I could access all the pages through the url http://localhost:8080.. but I cannot access it using the hostname(say http://xyz.abc.edu:8080) of the host on which I installed tomcat. Is there any configuration file in which I have to specify

starting with windows service

2006-07-10 Thread Shinya Koizumi
Recently i take over project developed by servlet. Currently whenever start the web server I have to click on the mycompany.bat file in CATALINA_HOME/bin folder mycompany.bat=== @echo off rem set CATALINA_OPTS=-Djava.security.debug=all cd %CATALINA_HOME%\bin\ catalina

url changes

2006-07-10 Thread Graham Reeds
I am setting up a website. Part of the site is employee blogs. As well as the blogs there will be forums, products, etc. making: http://www.company.com/blogs/employee.name http://www.company.com/forums/ http://www.company.com/products/product.name For the blogging software I chose Blojsom. N

Not able to start server

2006-07-10 Thread McRaven, Brian
I have two separate installations of tomcat. One is version 5.5 and the other is something I downloaded from www.coreservlets.com that is a preconfigured version of tomcat 5.5.9. I have two separate errors with these programs when I go to start up the server. A solution to either would be great.

question on client authentication

2006-07-10 Thread Sean Machin
Hi All, I've got a couple of questions on using client authentication with Tomcat. I have multiple clients that need to communicate with a single Tomcat server. It would be ideal if those clients could be authenticated before data is exchanged. 1) Does each client need a certificate signed by a t

Re: Tomcat 5.5 Load Balancing Rule Classes

2006-07-10 Thread Michael Echerer
Madhur K Tanwani wrote: > I am trying to build a > load balancer which enforces the following :- >- chooses from the available "alive" workers from the cluster, > in a Round-Robin / Least-Load-First manner >- implements session affinity See: http://tomcat.apache.org/connectors-doc/ >

Re: Tomcat manager URL configuration for 2 tomcat instances, Apache + mod_jk

2006-07-10 Thread Brian Munroe
On 7/10/06, David Smith <[EMAIL PROTECTED]> wrote: No, that won't work. Copying jar files from server/lib will cause classloader problems. There is a simpler way: 1. Rename manager.xml in conf/Catalina/localhost to manager-5028.xml 2. Change the path attribute in manager-5028.xml to manager-5

Re: Tomcat manager URL configuration for 2 tomcat instances, Apache + mod_jk

2006-07-10 Thread David Smith
No, that won't work. Copying jar files from server/lib will cause classloader problems. There is a simpler way: 1. Rename manager.xml in conf/Catalina/localhost to manager-5028.xml 2. Change the path attribute in manager-5028.xml to manager-5028 3. Restart tomcat (or start if it's already stop

Re: Tomcat manager URL configuration for 2 tomcat instances, Apache + mod_jk

2006-07-10 Thread Brian Munroe
I'm still scheming up a way to handle this. One idea was to try and copy the manager web application from server/webapps and place it in to the regular webapps directory as manager-5028/ I don't know if this is any kind of security risk, but I'll worry about that after I get things working. Any

Re: Error configuring SSL with Tomcat

2006-07-10 Thread Anandi Vyagrapuri
Yes, the keystore file is in C:\Documents And Settings\user\.keystore . I have followed the steps in configuring SSL . --- manivannan_palanichamy <[EMAIL PROTECTED]> wrote: > > Did you put the keystore file in correct location? > Have you followed the steps properly as mentioned in > the Tomca

Re: Error configuring SSL with Tomcat

2006-07-10 Thread manivannan_palanichamy
Did you put the keystore file in correct location? Have you followed the steps properly as mentioned in the Tomcat - SSL Documentaion? - Manivannan Palanichamy http://geocities.com/manivannan57 -- View this message in context: http://www.nabble.com/Error-configuring-SSL-with-Tomcat-tf1918879.

Re: URL Redirection in tomcat

2006-07-10 Thread Hassan Schroeder
On 6/29/06, santhoshs <[EMAIL PROTECTED]> wrote: Am using Tomcat 5.0 . My requirement is to redirect the URL "http://username.mysite.com"; to "http://username.site.com/application.do?login_name=username";. My Question is whether should i use apache for this redirection or can i achieve this u

RE: Running multiple instances of 5.5x as Win services

2006-07-10 Thread Marc Richards
Thanks for the quick answer Peter, this was my suspicion - glad to have it confirmed. -marc --- Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Marc Richards [mailto:[EMAIL PROTECTED] > > Also, can someone explain the difference between > > CATALINA_HOME and CATALINA_BASE environment > vari

Re: Running multiple instances of 5.5x as Win services

2006-07-10 Thread Marc Richards
Thanks so much. I did search google of course, but did not know the location of these archives - I notice there are instructions at the bottom of distribution emails detailing how to post new items and get help, perhaps a link to the searchable archives would be a helpful addition to that list? -

Problem with sessions

2006-07-10 Thread Juba
Hi all, First: I don't know English very well. Second: I am using Tomcat 5.5.17 and when I run my application I notice that Tomcat creates more than 1 session when an user log in my application. And when this happen I can't recover information about the users and the application's applets can't lo

Re: Running multiple instances of 5.5x as Win services

2006-07-10 Thread Len Popp
Instructions for running multiple Tomcat services have been posted to this list before: http://www.nabble.com/Re%3A-running-two-instances-of-tomcat-p3560229.html service.bat and other useful batch files are not included in the Windows setup program, for some reason. Download the .zip Tomcat distr

Tomcat 5.5 Load Balancing Rule Classes

2006-07-10 Thread Madhur K Tanwani
Hi, Greetings to all in my first mail on the list. I've read the article on "How To Ask Questions The Smart Way" - will try to adhere to it, but please don't mind a few misses :). First with some background. This request is regarding the classes that implements the rules, as used in the rules.xml

RE: Running multiple instances of 5.5x as Win services

2006-07-10 Thread Peter Crowther
> From: Marc Richards [mailto:[EMAIL PROTECTED] > Also, can someone explain the difference between > CATALINA_HOME and CATALINA_BASE environment variables? Best done with an example - here's a snippet of my startup script for one of my Tomcat instances. -- snip -- set JAVA_HOME=C:\java\jdk1.5.0_

Re: Running multiple instances of 5.5x as Win services

2006-07-10 Thread Marc Richards
Hi again, sorry, but I forgot to mention that my distribution did not include the frequently mentioned service.bat. I would be willing to give this a shot if anybody would be so kind as to provide a link. Also, can someone explain the difference between CATALINA_HOME and CATALINA_BASE environment

(assunto em branco)

2006-07-10 Thread Juba
Hello, I don't English very well neither about Tomcat. I have a problem with my application and I am not finding nothing to help me. My application when I log in creates 3 sessions and because of this I can´t restore the informations about the user. When I log in localy I don't have any problem. Wh

Running multiple instances of 5.5x as Win services

2006-07-10 Thread Marc Richards
Hi all, I would like to run multiple instances of Tomcat on a single Windows box for the purposes of instantiating multiple jvm's (to keep the heap small and use more of the system's available memory and cpu) and then balance between them. I currently have one instance setup as a service - this wa

Error configuring SSL with Tomcat

2006-07-10 Thread Anandi Vyagrapuri
Hi, I am trying to get Tomcat to work with SSL on a Windows machine. I have a root certificate and site certificte from Equifax which i converted to binary and stored it in the keystore . I stored the root certificate under the alias geotrust and the site certificate with alias tomcat. I have al

Using "java -server" in Tomcat start-up script

2006-07-10 Thread Dhaval Patel
Hi, I saw a performance gain by using "java -server" compared to "java". I also searched on google and found that it increase performance of application by providing more resources to program (CPU, RAM, etc.) I was wonder why it is not used in starting up Tomcat (by default). Any one has

forward SSL-Certificate to ActionContext with Tomcat Native

2006-07-10 Thread Florian Rock
Hello guys, I verify clients by Certificate in my Application. X509Certificate[] certs = (X509Certificate[])context.getRequest().getAttribute("javax.servlet.request.X509Certificate"); this works fine with connector like: but i want to use Apache Portable Runtime with Tomcat (libtcnative). becau

Running Tomcat Embedded

2006-07-10 Thread Mike Wannamaker
I wish to run Tomcat from within my own JVM. I would like it to run just like Tomcat does today, however I'd just like to setup the various paths, for like web app root directory, config directory, lib directory etc Is there anyway to do this easily? Like I said I just want to create an inst

RE: Installing My Own DirContext

2006-07-10 Thread Mike Wannamaker
I'm not sure I understand. That shows installed applications? What I want is through some config settings install my own DirContext.class so that when the web app is trying to get resources like pages, it'll use my DirContext to try to find them. This way I can have some common files located out

Re: Installing My Own DirContext

2006-07-10 Thread Martin Gainty
Good Morning Mike For listing applications and determining properties/attributes for each take a look at the features and functions available thru the Manager webapp http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html#List%20Currently%20Deployed%20and%20Installed%20Applications HTH, Marti

Re: URL Redirection in tomcat

2006-07-10 Thread 0 8
Look into mod_rewrite. On 6/29/06, santhoshs <[EMAIL PROTECTED]> wrote: Hi Everybody, Am using Tomcat 5.0 . My requirement is to redirect the URL "http://username.mysite.com"; to "http://username.site.com/application.do?login_name=username";. The URL should be nice URL , in the sense the New U

Request forwarding ...

2006-07-10 Thread Dragon Fly
Hi, Is there a way to forward a request to another URL by changing Tomcat configuration file(s)? For example, the MyServlet.class used to be in old.war and the user can execute the servlet by http://host/old/servlet/MyServlet Now, the MyServlet.class has been moved to new.war. Is there a way to

RE: Interrupted system call and Tomcat dies

2006-07-10 Thread Seetha Rao
Thanks for your reply. I had overlooked that it is refering to gnu java classes. Trying to get Sun's JVM installed Regards Seetha -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 4:41 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Interr

Installing My Own DirContext

2006-07-10 Thread Mike Wannamaker
Hi, I need to be able to install my own DirContext into all applications that start within Tomcat so that I can get content that is outside the web app globally for all web apps. Also I would like to be able to install one as well for each web app independent of each other. How would I go about d

Re: URGENT HELP NEEDED: mod_jk loadbalancing issues

2006-07-10 Thread Edmon Begoli
Each Tomcat machine is running in 512 MB Max. (We recently increased that to ~850 MB. We are trying not to go up to far to avoid prolonged garbage collector pauses) CPU, I/O utilization under heavy loads is not excessive. 80% max usually 60% Max. thread settings are default. I was thinking to b

RE: Interrupted system call and Tomcat dies

2006-07-10 Thread Tim Lucia
> -Original Message- > From: Seetha Rao [mailto:[EMAIL PROTECTED] > Sent: Monday, July 10, 2006 7:09 AM > To: users@tomcat.apache.org > Subject: Interrupted system call and Tomcat dies > > Hi, > > I have 2 webapps, one of them is file upload/download application. Both > apps > use singl

Re: users digest attachment problem

2006-07-10 Thread Mark Thomas
Eickvonder Bjoern wrote: > Hi, > > I've subscribed the tomcat users digest mailing list, so that I regulary > receive one mail containing the single messages as attachments. > Now since the 26.06.2006 the attachments do neither show the subject, > nor the from-address any more. All attachments are

Interrupted system call and Tomcat dies

2006-07-10 Thread Seetha Rao
Hi, I have 2 webapps, one of them is file upload/download application. Both apps use single sign on. If I go to this file manager app from another webapp and don't do anything; leave it idle, Tomcat server occasionaly shutsdown with the following Exception: StandardServer.await: accept: java.io.I

Importing server certificate

2006-07-10 Thread Roberto Ruiz Sabroso
Hi. I'm creating a client web service against an external server through https. I have the server certificate (.cer) but I don´t know how to import it into tomcat. Thanks. Responses to [EMAIL PROTECTED]