Apache Portable Runtime ?
I am running a standalone tomcat 6.0.18 on a centOS 5.3 system. Is it a good idea to install the Apache Portable Runtime? Would I see performance increase? And, are there any drawbacks/cons to doing so? Thanks for any advice you might have on this - John -- View this message in context: http://www.nabble.com/Apache-Portable-Runtime---tp23786125p23786125.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Portable Runtime ?
I wanted to add a little clarity to my question: I am not using SSL or serving any significant amount of static content - just good ol fashioned Jsp/Jstl's with a standalone tomcat (no Apache). A very svelt and simple web app that I am designing for performance. Given that, is it still a preferred idea to install APR? Is installing the APR considered a 'must do' for anyone looking to maximize the performance of Tomcat in production? Or is this something in the category of 'not neccessary/adviseable unless you need it'? Thanks -- View this message in context: http://www.nabble.com/Apache-Portable-Runtime---tp23786125p23786703.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Which listeners required in server.xml?
Running tomcat 6.0.18 server.xml has the following listener's enabled by default: !--APR library loader. Documentation at /docs/apr.html -- Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / !--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -- Listener className=org.apache.catalina.core.JasperListener / !-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / I am using standalone tomcat (no apache) without SSL, without APR, I am not using any manager or host-manager applications .. Do I need these listeners or can I remove some/all of them? -- View this message in context: http://www.nabble.com/Which-listeners-required-in-server.xml--tp23787784p23787784.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Which listeners required in server.xml?
mgainty wrote: Do I need these listeners or can I remove some/all of them? DONT_NEEDIf No Apr then remove AprLifecycleListener DONT_NEEDIf No Jsp then remove JasperListener DONT_NEEDIf No MBean then remove ServerLifecycleListener DONT_NEEDIf No JNDI then remove GlobalResourcesLifecycleListener Thank you very much. I am not explicitly using JNDI or MBean in my app, but I am not sure if Tomcat relies on this functionality either internally or with Spring? -- View this message in context: http://www.nabble.com/Which-listeners-required-in-server.xml--tp23787784p23788146.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to configure Access logs to ignore images
Thanks Tim. Your bonus point approach is quite slick and tidy..I am quite tempted to go that route. Of course that now begs me to overthink this and wonder if there is any performance difference between having the web.xml filter-mapping do the logic or embedding that logic in the filter itself... -- View this message in context: http://www.nabble.com/How-to-configure-Access-logs-to-ignore-images-tp23714046p23729600.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
How to configure Access logs to ignore images
I have set up an Access Log in Tomcat 6. Can someone tell me how to limit access logging to only .jsp's and .html pages? I have read numerous posts and it is amazing how many responses there are to similiar questions that all point to the 'condition' parameter documentation...which I have thoroughly read. Checking the ServletRequest for a null attribute, however, does not intuitively appear to be applicable to filtering requests that are logged based on file extension. Can this be done withouth re-writing your application to specifically pass parameters just to trigger logging? If so, could someone offer an example? Thanks! Host name=localhost appBase=webapps unpackWARs=true autoDeploy=false xmlValidation=false xmlNamespaceAware=false Valve className=org.apache.catalina.valves.FastCommonAccessLogValve directory=logs/access prefix=access_log. suffix=.txt pattern=common resolveHosts=false/ /Host -- View this message in context: http://www.nabble.com/How-to-configure-Access-logs-to-ignore-images-tp23714046p23714046.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: How to configure Access logs to ignore images
Thanks for your help. I do understand now the concept. I am quite surprised however how much code it actually took. Here is my filter configuration that is working correctly. This configuration basically filters out everything I don't want in my access logs, including a couple of redundant frameset pages that I do not want to count. LoggingFilter.java is the filter class that adds a parameter to the request object of any page it processes. The tomcat accesslogvalve then only logs requests that do not have the dLog parameter: LoggingFilter.java: package com.mg.filters; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public final class LoggingFilter implements Filter { private FilterConfig filterConfig = null; public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { request.setAttribute(filterConfig.getInitParameter(logParam),t); chain.doFilter(request, response); } public void destroy() { this.filterConfig = null; } public void init(FilterConfig filterConfig) { this.filterConfig = filterConfig; } } Tomcat server.xml: Valve className=org.apache.catalina.valves.FastCommonAccessLogValve directory=logs prefix=access_log. suffix=.txt pattern=common resolveHosts=false condition=dLog / web.xml: !-- The following url patterns will not be written to the access logs -- filter filter-nameLoggingFilter/filter-name filter-classcom.mg.filters.LoggingFilter/filter-class init-param param-namelogParam/param-name param-valuedLog/param-value /init-param /filter filter-mapping filter-nameLoggingFilter/filter-name url-pattern/images/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher /filter-mapping filter-mapping filter-nameLoggingFilter/filter-name url-pattern/css/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher /filter-mapping filter-mapping filter-nameLoggingFilter/filter-name url-pattern/js/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher /filter-mapping filter-mapping filter-nameLoggingFilter/filter-name url-pattern/audio/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher /filter-mapping filter-mapping filter-nameLoggingFilter/filter-name url-pattern/dwr/*/url-pattern dispatcherREQUEST/dispatcher /filter-mapping filter-mapping filter-nameLoggingFilter/filter-name url-pattern//url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher /filter-mapping filter-mapping filter-nameLoggingFilter/filter-name url-pattern/index.html/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher /filter-mapping filter-mapping filter-nameLoggingFilter/filter-name url-pattern/talk.htm/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher /filter-mapping filter-mapping filter-nameLoggingFilter/filter-name url-pattern/core.htm/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher dispatcherERROR/dispatcher /filter-mapping Any comments or suggestions on this approach? I am not sure if it is neccessary to include all of those dispatcher elements, but it seems to me like it would be necessary to be complete... -- View this message in context: http://www.nabble.com/How-to-configure-Access-logs-to-ignore-images-tp23714046p23716977.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Deploy Tomcat Standalone - good idea or not?
It took me quite a while but I finally got a tomcat startup script working using jsvc to start as a tomcat user running on port 80. Are there any drawbacks/cons to this method as opposed to NOT using jsvc and instead running tomcat on 8080 and having the firewall redirect to this port? Does using jsvc have any hidden ramifications? Also, I am posting the startup file I came up with in the hopes that it will either serve as a good example for anyone needing this solution or else someone perhaps can spot any mistakes/problems it may contain. It is working on my system but I am not sure if I am missing anything. Thanks! #!/bin/sh # # chkconfig: 2345 85 15 # description: tomcat starts and stops apache-tomcat services. # processname: tomcat # pidfile: /var/run/tomcat.pid # Source function library. . /etc/init.d/functions # Read JAVA_HOME, JAVA_JRE, CATALINA_HOME environment variables . /etc/profile # Adapt the following lines to your configuration DAEMON_HOME=$CATALINA_HOME/bin/jsvc TOMCAT_USER=tomcat # for multi instances adapt those lines. TMP_DIR=/var/tmp PID_FILE=/var/run/tomcat.pid CATALINA_BASE=/usr/share/tomcat CATALINA_HOME=/usr/share/tomcat CATALINA_OPTS=-jvm server -Xms256M -Xmx256M -XX:MaxPermSize=256M CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar RETVAL=0 start(){ # # Start Tomcat # echo -n Starting tomcat: chown -R $TOMCAT_USER:$TOMCAT_USER /usr/share/tomcat/* $DAEMON_HOME \ -user $TOMCAT_USER \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Dcatalina.base=$CATALINA_BASE \ -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \ -Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties \ -Djava.io.tmpdir=$TMP_DIR \ -Djava.awt.headless=true \ -wait 10 \ -pidfile $PID_FILE \ -outfile /var/log/tomcat/catalina.out \ -errfile /var/log/tomcat/catalina.err \ $CATALINA_OPTS \ -cp $CLASSPATH \ org.apache.catalina.startup.Bootstrap # # To get a verbose JVM #-verbose \ # To get a debug of jsvc. #-debug \ } stop(){ # # Stop Tomcat # echo -n Stopping tomcat: $DAEMON_HOME \ -stop \ -pidfile $PID_FILE \ org.apache.catalina.startup.Bootstrap } # See how we were called. case $1 in start) if [ -f $PID_FILE ] ; then echo Apache-Tomcat already running! Try STOP first... else start fi ;; stop) stop ;; restart) stop sleep 5 start ;; status) if [[ -f $PID_FILE ]] then echo found a pidfile so we are probably up and running. else echo no pidfile so we are probably down. fi exit 1 ;; *) echo Usage: $0 {start|stop|restart|status} exit 1 esac exit $RETVAL -- View this message in context: http://www.nabble.com/Deploy-Tomcat-Standalone---good-idea-or-not--tp23623352p23632388.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Deploy Tomcat Standalone - good idea or not?
Marcus Better wrote: Tomcat in Debian (and Ubuntu) also runs with jsvc as a non-root user by default, you can have a look at their startup scripts too. Where would I look to find such scripts? Thanks -- View this message in context: http://www.nabble.com/Deploy-Tomcat-Standalone---good-idea-or-not--tp23623352p23641030.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Deploy Tomcat Standalone - good idea or not?
I am going to be deploying a webapp on CentOS (Spring/Hibernate/Tomcat) that is JSP based and has hardly any static content..I am planning to start out with 1 tomcat server and 1 db server. I think that I do not need an apache front end and can simply run tomcat standalone. Is this a bad idea? The two options I am considering are: 1. Have a firewall redirect traffic directly to my tomcat server on port 8080 or 2. Have a firewall route traffic to an apache instance on port 80 running on the same machine as tomcat server. Apache would then function merely to redirect requests to tomcat on port 8080. Which is a better idea? Or are neither preferred? At this point I do not want to run a third machine just for apache, but would it cause performance decrease to run apache on the same machine as my main tomcat server? Is it neccessary ? -- View this message in context: http://www.nabble.com/Deploy-Tomcat-Standalone---good-idea-or-not--tp23623352p23623352.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Deploy Tomcat Standalone - good idea or not?
George Sexton wrote: Use JSVC to run tomcat on Port 80 without having it run as root. Unpack the source for jsvc from the bin directory and compile it. Thank you for your comments. I would love to simply run tomcat on port 80 as tomcat user. I have not yet discovered how to do this and have been running as 'tomcat' user on port 8080. I had seen some posts mentioning JSVC but I remain unclear about what this is for. I actually already compiled that package on my test server but was not sure what I need to do with it. I will research that some more but if you can offer any more explanation on how to do this I would greatly appreciate it as I have had a hard time figuring this out. I already have my tomcat startup script in /etc/init.d working great running as tomcat user ...is there a simple change I need to make there to run on port 80? Thank you so much -- View this message in context: http://www.nabble.com/Deploy-Tomcat-Standalone---good-idea-or-not--tp23623352p23624163.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat better on single or multi core?
I will be deploying a spring/hibernate web app using Tomcat 6, dbcp and MySql5.1. I must decide on my initial tomcat dedicated deployment server configuration and am looking for some advice: (I am starting with one dedicated Tomcat server..will scale in time) Based on budget, the affordable options I have to choose from appear to be: 1 single core @3Ghz or 1 dual core @~2.1Ghz or 1 Quad core @~2.1Ghz My question is: Which processor configuration do you think would benefit tomcat more? Given the limited/basic options I have,would tomcat benefit more from 2 or more cores or is speed more important? -- View this message in context: http://www.nabble.com/Tomcat-better-on-single-or-multi-core--tp23604529p23604529.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Is it possible to move Tomcat logfiles?
I am setting up a CentOS 5 server running tomcat and wanted to know whether the best practice is to leave the Tomcat logfiles in their default location: /usr/share/apache-tomcat-6.0.18/logs or whether I should place them in another directory like /var/log/tomcat. Is this possible, and/or preferred? I am new to Linux, but my understanding so far was that changing data like logfiles should not be under /usr/ but instead under /var/. Is that a correct interpretation in this case? Thanks -- View this message in context: http://www.nabble.com/Is-it-possible-to-move-Tomcat-logfiles--tp23467178p23467178.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: setup default webapp in tomcat 6 and apache
Caldarale, Charles R wrote: Isn't this a very standard thing to do? No; one normally deploys webapps under the Host appBase. - Chuck Ok, I would like to follow the normal, best practices way. If you will indulge me one more try: What is the best way to configure/deploy an app so that it will be accessed from the url: http://localhost/index.jsp -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488197p21505190.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
setup default webapp in tomcat 6 and apache
I am setting up apache 2.2 and tomcat 6 on XP. I have apache handling all requests and forwarding JSPs to Tomcat like so: (From apache/conf/httpd.conf:) LoadModulejk_module C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so JkWorkersFile C:/Program Files/Apache Software Foundation/apache-tomcat-6.0.18/conf/workers.properties JkShmFile C:/Program Files/Apache Software Foundation/apache-tomcat-6.0.18/logs/mod_jk.shm JkLogFileC:/Program Files/Apache Software Foundation/apache-tomcat-6.0.18/logs/mod_jk.log JkLogLeveldebug JkLogStampFormat [%a %b %d %H:%M:%S %Y] Alias /examples C:/Program Files/Apache Software Foundation/apache-tomcat-6.0.18/webapps/examples JkMount /examples/* worker1 # send all requests ending in .jsp to worker1 JkMount /*.jsp worker1 # send all requests ending /servlet to worker1 JkMount /*/servlet/ worker1 What I am trying to do is very simple, but I am confused of course. apache document root is: DocumentRoot C:/perfroot/depot/myApp/web So if you go to http://localhost you will be served C:/perfroot/depot/myApp/web/index.html. That works fine. What I want to happen is that if you go to http://localhost/index.jsp tomcat should serve C:/perfroot/depot/myApp/web/index.jsp I do not know how to set this up. That is, I want to be able to startup tomcat and have it default to loading myApp and look in the same documentRoot apache does. I am confused about how to achieve this using contexts in tomcat. I am sure this is a very basic concept but I would greatly appreciate if someone could set me straight about how to think about it properly. Again, the idea is incredibly basic: I will have one web application for this website. Apache serves the html pages and tomcat serves the JSP. I want to be able to go to http://localhost/ and make requests right off of the root without having to provide a special context url, (http://localhost/myApp/ ) just to call jsp pages in myApp. Can someone explain to me how to do this? It would be greatly appreciated! Thanks John -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488197p21488197.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: setup default webapp in tomcat 6 and apache
I appreciate your great advice, and I will look into that. However, I fear that my confusion is even more basic - as I have not set up tomcat before. How should I set up my webApp so that when I call http://localhost/index.jsp in my browser tomcat serves up the index.jsp from my webApp dir: C:/perfroot/depot/myApp/web/index.jsp as opposed to C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.18\webapps\ROOT? My custom webApp will of course not reside under the tomcat dir, but elsewhere on my filesystem..so what is the correct means of making tomcat default to myApp when I call http://localhost/index.jsp? Thanks again! -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488197p21489523.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: setup default webapp in tomcat 6 and apache
Let me try to be more clear: Lets forget about Apache, that is not the issue: Assuming tomcat is running standalone on port 80, how do I set it up so that when I call http://localhost/index.jsp Tomcat defaults to serving my custom app located at: C:/myApp/web/index.jsp as opposed to what it is doing now, which is serving: C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.18\webapps\ROOT\index.jsp -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488197p21489815.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: setup default webapp in tomcat 6 and apache
Caldarale, Charles R wrote: From: johnrock [mailto:johnpi...@yahoo.com] Subject: Re: setup default webapp in tomcat 6 and apache Assuming tomcat is running standalone on port 80, how do I set it up so that when I call http://localhost/index.jsp Tomcat defaults to serving my custom app located at: C:/myApp/web/index.jsp as opposed to what it is doing now, which is serving: C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.18\webapps\ROOT\index.jsp This is a much easier question to answer. 1) Stop Tomcat. 2) Delete the ROOT directory under Tomcat's webapps directory. 3) Delete everything in Tomcat's work directory. (This is overkill, but it's easiest this way.) 4) Create a file in Tomcat's conf/Catalina/localhost directory named ROOT.xml (case matters, even on Windows). 5) In the ROOT.xml file, put the following: Context docBase=C:/myApp/web / 6) Restart Tomcat. That should be all you need. - Chuck - That did the trick. Thanks so much! Is that the typical way this should be done? I can't understand why I could not find the instructions that you gave me in any other documentation or tutorials I read...Isn't this a very standard thing to do? -- View this message in context: http://www.nabble.com/setup-default-webapp-in-tomcat-6-and-apache-tp21488197p21492846.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
apache wont start with loadmodule jk_module
I am trying to get apache2.2 to connect with Tomcat 6 both running on one XP machine. Apache starts fine on its own, but when I add these lines to httpd.conf, apache fails to start: LoadModulejk_module C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so JkWorkersFile C:/Program Files/Apache Software Foundation/Tomcat 6.0/conf/workers.properties JkShmFile C:/Program Files/Apache Software Foundation/Tomcat 6.0/logs/mod_jk.shm JkLogFileC:/Program Files/Apache Software Foundation/Tomcat 6.0/logs/mod_jk.log JkLogLeveldebug JkLogStampFormat [%a %b %d %H:%M:%S %Y] Alias /examples C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/examples JkMount /examples/* worker1 these are the lines in C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\worker.properties file: # Define 1 real worker using ajp13 worker.list=worker1 # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 Any ideas why Apache will not start? I have tried all the examples I can find and I am doing what they all say... Thanks John -- View this message in context: http://www.nabble.com/apache-wont-start-with-loadmodule-jk_module-tp21430998p21430998.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: apache wont start with loadmodule jk_module
Well, thank you very much for pointing this out to me. Wrapping the paths in quotes did solve the problem. Of course I should have known it was something so trivial since I spent about 8 hours trying every possibility I could think of to no avail..its always the stupid things that you can't see... But at least there are 9,999,999 other users who share my shame! Thanks so much! John awarnier wrote: johnrock wrote: [...] Maybe you are just the (guess) 10 millionth user to get hit by the stupid stupid idea of someone in the distant past to allow spaces in file paths ? Try to put the paths between quotes, just for checking. Like : LoadModulejk_module C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so etc.. .. and if that solves the problem, join the campaign to tell the (otherwise nice and great and helpful) Apache people that it's not because MS decides on stupid standard paths for program installation, that they necessarily need to follow this stupid convention. -- View this message in context: http://www.nabble.com/apache-wont-start-with-loadmodule-jk_module-tp21430998p21438737.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
tomcat 6 apache 2.2 jk connector: auto config?
I am trying to figure out the best way to configure tomcat 6 to work under apache2.2 running on XP. I have seen a way to 'auto configure' the jk connector, and another way to manually configure it in the httpd.conf file. It seems the auto configure is easier, but are there important advantages to doing it the manual way? I have tried both ways and still not gotten either to work...but I would like to know the best way and limit my efforts to understanding that way. Thanks John -- View this message in context: http://www.nabble.com/tomcat-6-apache-2.2-jk-connector%3A-auto-config--tp21424572p21424572.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org