RE: Virtual Hosting with WAR files

2005-08-17 Thread Mahesh S Kudva
Thanks to all. This setup has been tested on Apache2+JBoss+mod_jk-1.2.14_for MacOSX. And am sure it will work on other platforms as well. This setup also handles Apache related webapps.. Make the required entries in the DNS webapp.war: Extract the war file using zip and rename the folder

Re: virtual host and JkMount with jk1.2.14

2005-08-17 Thread Mladen Turk
Danico Lee wrote: i got tomcat5, apache1.3 and jk1.2.14. i'm very confused with JkMount. in my http.conf, i have: VirtualHost our_server:80 ServerName our_server DocumentRoot ${tomcat_home}/webapps/test1 JkAutoAlias ${tomcat_home}/webapps JkMount /test1/* worker1

Re: Advice for Hosting Many Individual Webapps?

2005-08-17 Thread Radek Wierzbicki
Hi, I very often deploy client's applications in multiple tomcat instances. It is normal and each application does not affect another. You just need a strong multiprocessor server with a lot of memory to sustain the last :) The only difference is that I often configure a separate apache instance

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-08-17 Thread Mark Thomas
Tony Tomcat wrote: Does the RemoteHostValve work? There are no examples in the Tomcat 5 docs and the tomcat 4 docs have the following.. Valve className=org.apache.catalina.valves.RemoteHostValve allow=*.mycompany.com,www.yourcompany.com/ The docs have been updated for 4 and 5 not

RE: Calculating required memory

2005-08-17 Thread Peter Crowther
From: Oleg [mailto:[EMAIL PROTECTED] I am trying to approximate the amount of memory my server will need running tomcat. I understand that a lot depends on how the appication handles resources, however at this point I am trying to figure out what will be the mimimum needed. In my case

can't find libjvm.so

2005-08-17 Thread michel . brabants
Hello, I'm trying to setup java (edition from sun) on a linux(Scientific linux-Redhat Entreprise Edition 3)/intel Xeon 64 bit computer. I am not sure if this problem is related to that, but I'm getting the following problem when I try to startup tomcat: jsvc.exec debug: user changed to 'tomcat'

Re: persistence with sessions distributable attribute

2005-08-17 Thread Christoph Kutzinski
Hi Nishant, where did you read that distributable will *enforce* serializability? AFAIK distributable only means that your sessions can be distributed to different tomcat nodes (i.e. a cluster). It doesn't enforce anything, you have to make sure that your session attributes are serializable by

Tomcat 5.5.9: Resource not found

2005-08-17 Thread Deepak Joshi
Hi, I have setup Tomcat 5.5.9 on Linux ES3. Initial configurations are completed. I'm also able to access the HTML files which are under the $CATALINA_HOME/webapps/jsp-examples through the web-server. But, if I put some HTMLs under my own directory under $CATALINA_HOME/webapps , I cannot access

Re: Tomcat 5.5.9: Resource not found

2005-08-17 Thread Litty Preeth
Hi Deepak, I had same problem with servlets. That can be resolved by adding servlet and servlet-mapping elements to the web.xml file. But i never faced a problem with the jsp or static content files. With Regards Litty Preeth --- Deepak Joshi [EMAIL PROTECTED] wrote: Hi, I have setup

RE: Tomcat 5.5.9: Resource not found

2005-08-17 Thread Sharma, Tripurari
You need to configure the server.xml and web.xml file Under conf folder -Original Message- From: Litty Preeth [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 6:26 AM To: Tomcat Users List Subject: Re: Tomcat 5.5.9: Resource not found Hi Deepak, I had same problem with

Re: Tomcat 5.5.9: Resource not found

2005-08-17 Thread Litty Preeth
Deepak , I forgot to tell smthing. U wont be able to access the resources directly if u r puttng them in the WEB-INF dir. But u wud be able to access them if u r putting them directly under ur appln dir. --- Litty Preeth [EMAIL PROTECTED] wrote: Hi Deepak, I had same problem with

Enabling CGI/Perl in Tomcat 5.5.9

2005-08-17 Thread A Madhusudan-A5324C
Hi, I am facing some problems with enabling CGI in Tomcat 5.5.9. I followed the instructions given in the Manual, and renamed the servlets-cgi.renametojar under jakarta-tomcat-5.5.9\server\lib\ to servlets-cgi.jar. Further I modified the web.xml files to uncomment the CGI enabling part. Here

Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hey everyone, I am new to this whole thing. I just bought a domain HYPERLINK www.xxx.com www.xxx.com and will start developing my own app/website and will deploy it under Tomcat (The hosting company supports it). Now my friend has a domain HYPERLINK

StandardManager EOFException

2005-08-17 Thread Edouard Dalla-Costa
Hello, I am using Tomcat 5.0.28 which have always run fine but today I stopped tomcat to update my anti-virus and since that update, I am having the following error during tomcat starting: 17 août 2005 12:55:14 org.apache.catalina.session.StandardManager doLoad GRAVE: IOException lors du

Apache and Tomcat on separate hosts?

2005-08-17 Thread Jeff Schroeder
I finally got Apache2 + mod_jk2 + tomcat 4.1 working with tomcat doing vhosting on my laptop for development. The management said that is great that I should now roll it over to the dev servers before putting it into production. I started setting up everything and was down to creating the vhost

Re: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Hassan Schroeder
The question is how am I gonna host these two sites on the same tomcat instance ? Is this done through tomcat ? Is it even possible ? The hosting company supports having multiple domains under one main domain. Any suggestions ? Yes -- read the excellent Tomcat Configuration reference for the

Re: Apache and Tomcat on separate hosts?

2005-08-17 Thread Viorel Dragomir
You can have the servers on different machines. Look more on mod_jk2 configuration. As I know, mod_jk2 project is no longer maintained so it's better to switch to mod_jk. Viorel Dragomir . .. --- - Original Message -

RE: Apache and Tomcat on separate hosts?

2005-08-17 Thread Raghupathy,Gurumoorthy
Try ... In the workers2.properties Change host=ipaddressoftheremotemachine Regards Guru -Original Message- From: Jeff Schroeder [mailto:[EMAIL PROTECTED] Sent: 17 August 2005 14:17 To: tomcat-user@jakarta.apache.org Subject: Apache and Tomcat on separate hosts? I finally got

Re: Re: Apache and Tomcat on separate hosts?

2005-08-17 Thread Jeff Schroeder
As I know, mod_jk2 project is no longer maintained so it's better to switch to mod_jk. With our java apps, mod_jk has an issue that causes apache to crash every 3-4 days. mod_jk2 does not, so it's doubtful we will be changing. Jeff Schroeder Web Administrator Comair, Inc.

RE: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hassan, I appreciate your input. I went onto the site and I can't seem to find what I need. Could anyone please supply me with the URL of a reference manual ? I am using version 5.5.8 Thanks in advance. -Original Message- From: Hassan

RE: TomCat 5.5.9 - 8443

2005-08-17 Thread Tom Spence
Now TomCat 5.5.9 can run with 8443 that I am so happy but need to have a certificate. I don't have any certificate so is there anyway for us to get free instead of pay to verisign? Paul Kimbrel [EMAIL PROTECTED] wrote: I've only used keytool - and it worked like a charm for me. -Original

Re: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Hassan Schroeder
I appreciate your input. I went onto the site and I can't seem to find what I need. Could anyone please supply me with the URL of a reference manual ? I am using version 5.5.8 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ Good luck, -- Hassan Schroeder -

RE: TomCat 5.5.9 - 8443

2005-08-17 Thread Paul Kimbrel
Well, I don't know of any trusted certificate authorities that operate for free, but GoDaddy.com offers them for much less than Verisign (to the tune of $30/year rather than $350/year). On 8/17/2005, Tom Spence [EMAIL PROTECTED] wrote: Now TomCat 5.5.9 can run with 8443 that I am so happy but

Re: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Parsons Technical Services
Start here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/engine.html Then read the link for host. Simply put, for each website put a host element in for that site. But make sure you understand the default host. Doug - Original Message - From: Hassan Schroeder [EMAIL

RE: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Thanks for all your help. -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 10:21 AM To: Tomcat Users List Subject: Re: Multiple virtual hosts NEWBIE (UNCLASSIFIED) Start here:

Re: webapp loading order...

2005-08-17 Thread Brian Cook
Well Tomcat is not likely to do this for you so you would probably need to structure the app2 to wait for a trigger from app1. You could have app1 POST to a servlet in app2 and have that be the trigger for the dependent steps. Or have app1 write to a file that app2 will poll until it sees

how to delete log files (not append) ?

2005-08-17 Thread Ben Anderson
Hi, Hopefully this is an easy one... I'm running tomcat 4.1.31 and would like to have the log files delete each time I restart tomcat. Currently it's just appending to the log files. Here's a snippet of my server.xml is that helps: Server port=8005 shutdown=SHUTDOWN debug=0 Service

RE: how to delete log files (not append) ?

2005-08-17 Thread Marius Hanganu
You can gain more control over Tomcat's logging process by using a log4j.properties file. Follow the instructions at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html For generating the log file each time you restart the server, add to the log4j.properties file a new one:

Re: persistence with sessions distributable attribute

2005-08-17 Thread Lintang JP
I'm referring to this document on : http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=2 The words Serializable here would mean for session replication, right ? CMIIW. On 8/17/05, Christoph Kutzinski [EMAIL PROTECTED] wrote: Hi Nishant, where did you read that

session problems when using mod_jk (1.2.14) load balancing

2005-08-17 Thread Mott Leroy
Hi - I'm unable to get mod_jk load balancing working. The usual mod_jk setup works just fine, but using a load balancing worker however, is not. [Oddly, my webserver crashed during testing of this, but that could very well be unrelated] The problem is with user sessions. The instances

Re: persistence with sessions distributable attribute

2005-08-17 Thread Christoph Kutzinski
I didn't say that distributables don't have to implement java.io.Serializable. In fact they have to. I just had the impression (from your first post) that you thought by putting an non-serializable Attribute into a HashMap, the attribute would become serializable, too. Example: If you want to

Re: session problems when using mod_jk (1.2.14) load balancing

2005-08-17 Thread Edgar Alves
Try adding these two lines to worker.properties: worker.bl_worker_dev.domain=dev_alexis worker.bl_worker_noah.domain=noah_alexis -- Edgar Alves Mott Leroy wrote: Hi - I'm unable to get mod_jk load balancing working. The usual mod_jk setup works just fine, but using a load balancing worker

Re: session problems when using mod_jk (1.2.14) load balancing

2005-08-17 Thread Mott Leroy
Beautiful - worked like a charm. That might take the cake as far as longest question to quickest, shortest answer goes. ha. Thanks a bunch. I might have to gripe about doucmentation in a second (nother thread).. Noah Edgar Alves wrote: Try adding these two lines to worker.properties:

mod_jk documentation

2005-08-17 Thread Mott Leroy
Before I go gripe too, too much, let me just say that the mod_jk documentation has improved immensely since I start looking into it. Some of it might be simplied by the fact that I no longer consider jk2 in the picture which seemed to be adding some confusion. I don't know who is responsible

JSP Precompilation

2005-08-17 Thread Ramnish Kalsi
I am trying to use jasper2 to pre-compile the JSPs as part of build process. The compiler is complaining with the message: ERROR - the file 'blah/blah/jsp' generated the following general exception: java.lang.NullPointerException' After spending some time, i realized that the jsp files which had

Re: What to do if you receive a 554 delivery error when posting

2005-08-17 Thread Mark Thomas
All, I believe I have tracked down and fixed the root cause of this issue. If anyone is still receiving these messages or starts to receive them in the future please forward them as per below. Mark Mark Thomas wrote: If you receive a 554 delivery failure message please forward the message

Re: session problems when using mod_jk (1.2.14) load balancing

2005-08-17 Thread Rainer Jung
That should not work! The correct way to configure session stickyness is to use jvmRoute (which you already did) and then giving the workers the same names as the jvmRoute. That is instead of bl_worker_dev use dev_alexis and instead of bl_worker_noah use noah_alexis as the worker names. You

Re: session problems when using mod_jk (1.2.14) load balancing

2005-08-17 Thread Mott Leroy
Ok - noted. I changed it. It works without the domain as you noted. Thanks. Rainer Jung wrote: That should not work! The correct way to configure session stickyness is to use jvmRoute (which you already did) and then giving the workers the same names as the jvmRoute. That is instead of

Re: Enabling CGI/Perl in Tomcat 5.5.9

2005-08-17 Thread Mark Thomas
I haven't tested any of this, I am working entirely from memory and the documentation. I think you have a security problem. As your system is configured a request for http://foo.bar.com/3gflex/3gcgi/somedir/myscript.cgi will look for the script at /usr/prod/3gflex/somedir/myscript.cgi but a

Apache2...TC4.1.30...mod_jk odd behavior

2005-08-17 Thread Chris Pat
Hello I am getting odd behavior w/TC4.1.30 and the configurations below. www.vhost01.com www.vhost01.com/hello.jsp work and as expected www.vhost02.com www.vhost02.com/sb/hello.jsp work NOT as expected. As implied in the server.xml snipette the tomcat serving directory is the typical

Http-status 500 error in Tomcat 4.1

2005-08-17 Thread subi
Hello All, I am using Tomcat 4.1. I just started working in it, so this asking may be childish, if so, pls don't mistake me. Here is my webapp structure: 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes -here i have my servlet classes 2.