Re: Tomcat Featured in Out-of-the-Box
On Tue, 2002-11-19 at 18:41, Eric Weidner wrote: FYI, Tomcat is featured in Out-of-the-Box 1.0, a distribution of Open Source projects. Woah. When I saw your subject, I thought you ment the kids show on Playhouse Disney. My 4 year old loves it. I might start enjoying it as well if they talked about Tomcat :) Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_webapp.so versus mod_jk
On Wed, 2002-11-20 at 13:24, Steve Cromer wrote: Hi, I would like to integrate Tomcat and Apache. I noticed that there is more than one way to do this. One way involves Warp, using mod_webapp.so and another involves mod_jk. Please, go look in the archives. This question is asked almost on a daily basis. The answer is in the archives. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help in apache-tomcat integration
On Tue, 2002-11-19 at 08:03, Santhosh C N wrote: aix-2:/usr/local/usr/local/apache/bin/apachectl startssl Syntax error on line 1235 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: No such file or dir ectory /usr/local/apache/bin/apachectl startssl: httpd could not be started The line 1235 has the LoadModule command, for which tells a syntax error.. Could someone help me to come out of this error? We appreciate any help in this regard. Thanks for ur time! Not to sound like a smart ass, but is mod_jk.so in your /usr/local/apache/libexec directory? Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat Application on Port 443 or 8080?
On Tue, 2002-11-12 at 15:42, Milt Epstein wrote: Now, assuming you set up Apache+SSL for a reason, you probably want to use that for your https communication. That means the URL you should use is: https://www.kithany.com/kithany/index.jsp This will go through Apache (on port 443, the default for https). But for this to work, that is, to get to Tomcat, you have to make sure you have the proper configuration set up, mostly in terms of the connector directives in your Apache httpd.conf file. (You don't say what connector you're using, perhaps it's mod_jk.) I have having the same issue. I have apache 1.3 working on port 80 and on port 443 with mod_ssl. Accessing the example apps via http works fine. From the https server I either get a 404. How do I make the settings from the mod_jk.conf file get imported into the virtual server that is running the SSL enabled httpd? I am looking in the archives, but I am not finding anything very quickly. Kent -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Configuration question
All, I have been having problems getting Apache 2.0.40 and Tomcat 4.0.6 configured properly. Due to time issues, I have decided to drop the apache part of my configuration and run Tomcat as root so it can bind to port 80 and 443. I am running into a strange issue that I hope you all can help me out with. Server configuration: Dell Poweredge running RedHat Linux 7.2 In attempting to test my configuration, I am using lynx to test the server to make sure everything is working. When I execute the command lynx http://localhost/ or lynx http://eth0 IP address/ or http://127.0.0.1/ I get this error in lynx: Alert!: HTTP/1.1 400 No Host matches server name 127.0.0.1 Alert!: HTTP/1.1 400 No Host matches server name eth0 IP address Alert!: HTTP/1.1 400 No Host matches server name localhost I'm sure you get the picture. In my server.xml, I have my Host name parameter for my default virtual host set to the EVENTUAL dns host name for this server. Currently, the machine's IP address is not DNS resolvable. Is Tomcat giving me the error 400 because the hostname (localhost, IP address, 127.0.0.1) is not configured as a virtual host in Tomcat? Thanks, Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Configuration question
On Tue, Oct 15, 2002 at 12:04:49PM -0700, Mark Eggers wrote: Kent, Edit /etc/hosts file and put in the following information: your_ip_address hostname hostname.domainname 127.0.0.1 localhost localhost.localdomain You'll also need to edit your /etc/nsswitch.conf to include the files parameter on the host line. hosts: files dns I hope this helps. Thanks for mentioning this. I forgot to put it in my origional post. I knew I would miss mentioning something when I posted this. My hosts file is set up that way, except I like to have 127.0.0.1 listed first. Also, my nsswitch.conf file already has hosts set to files dns I do not believe that this is a system configuration problem. It is either a redhat 7.2 specific issue or a tomcat configuration issue. I've been doing unix admin work for more than 7 years so, believe me, I have looked at all of regular things you would look at in a case like this. My forehead has gotten nice and bloody over this issue, so that is why I am asking for help! Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Configuration question
On Tue, Oct 15, 2002 at 03:48:54PM -0400, Turner, John wrote: A quick test would be to set server.xml back to localhost, and restart, then test with Lynx to see if you get the error. As always, the easy answer evades the one with the bloody forehead. Changing this back to localhost solves the problem. Duh. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: want to show a message to the user before issuing shutdown command
On Wed, Oct 09, 2002 at 06:41:57AM -0700, shoban kumar wrote: Hi there, I want to show a message to the END USER'S before shutting down the tomcat. How can i achive this. thanks in advance man wall, it will answer all of your questions, assuming by END USERS you mean people logged into the server with interactive terminal sessions. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Strange differences in Apache/Tomcat configuration
On Mon, Oct 07, 2002 at 04:18:25PM -0400, Turner, John wrote: Sorry, I'm fresh out of ideas. It sure sounds like a permissions issue to me, but I can't say for sure without investigation. Let us know what it was when you get it resolved. I don't have this solved, yet, but I am working on it. Here is what I have done. I first tryed to access the tomcat instance with lynx locally on my remote server. I am getting a strange error here as well. When I attempt to go to http://localhost:8080/examples I get this error with lynx: Alert! HTTP/1.1 400 No Host matches server name localhost At first I thought that this might me an issue with iptables, but running /etc/init.d/iptables stop has had no effect, which I did not think it would, but I wanted to make sure. Checking on my local sandbox, I see the same behavior with lynx, so I am getting puzzled. I do see that the DNS servers, that I have 0 control over does not resolve localhost to 127.0.0.1. Why the machine is not going to the hosts file first, I don't know. My /etc/nsswitch.conf file has hosts: files dns in it so it should go to the hosts file. Oh well, the admin is the DNS server check into to. Does anyone know that if DNS is not operating correctly is there problems with Tomcat? In order to move forward, I edited the server.xml file and removed the address=localhost from the connector defination for port 8080, but I still cannot access /examples or /tomcat-docs... The HTML returned to my browser is: htmlbody/body/html Doing a tcpdump on port 8080 and looking in the packets I see that I am getting the save server error 400 No host matches server name error. Right now I am assuming that this is a issue with the, IMO, misconfiguration of the DNS server. While I have not done an archive search on DNS issues with Tomcat, is there a known issue with this? Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Strange differences in Apache/Tomcat configuration
On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote: As an aside, what happens if you try and access http://127.0.0.1:8080/examples ? I tried that as well. I get the same error, except that it says 127.0.0.1 instead of localhost :) Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Strange differences in Apache/Tomcat configuration
On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote: As an aside, what happens if you try and access http://127.0.0.1:8080/examples ? One more thing, the requests are even getting to the Tomcat server as nothing is being written to the tomcat logfiles. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Strange differences in Apache/Tomcat configuration
On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote: As an aside, what happens if you try and access http://127.0.0.1:8080/examples ? One last thing, I see in the apache_log, on restart of Tomcat this following is written to this file: 2002-10-08 13:19:49 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests java.net.SocketException: Socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343) at java.net.ServerSocket.implAccept(ServerSocket.java:438) at java.net.ServerSocket.accept(ServerSocket.java:409) at org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590) at java.lang.Thread.run(Thread.java:536) This looks to deal with the warp connector. Pardon my ignorance, but does this have something to with the ajp13 or http connector? According to the docs at jakarta.apache.org, it appears that there is a connection between the warp connector and the HTTP/1.1 connector, but the documentation is sparse for the warp connector. Does this open up any clues? Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Strange differences in Apache/Tomcat configuration
On Tue, Oct 08, 2002 at 02:39:45PM -0400, Turner, John wrote: Not really. The WARP connector is another connector...that may be why you are getting the message. If Apache is set to use WARP, but Tomcat isn't (or vice versa) there wouldn't be an open socket, which might generate the Apache error message that you see (client configuration). Do you have control over the Tomcat server.xml? Which connectors are enabled in there? I am using the default server.xml right now. It appears that the WARP connector is enabled by default. I have commented it out of the file but that has not changed the behavior I am seeing. Hu, sometimes, I hate computers Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: startup as www
On Mon, Oct 07, 2002 at 09:10:05AM -0400, chad kellerman wrote: but since I moved it to RH 7.3 it prompts for a password. Does anyone know a way aroung this? I would like the tomcat server to run as user www and not prompt for a password. Run the script as root. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Strange differences in Apache/Tomcat configuration
All, I am configuring an Apache (2.0.40) server to run in front of Tomcat (4.0.5) on a machine, running RH 7.2, that is co-located at a hosting provider. I have a local Linux box, also running RH 7.2, that I am working using as a sandbox to play with before I attempt to get the server configured. I have identical software versions on both machines. On my local machine, I can access http://local/examples/jsp/snp/snoop.jsp and it works fine. If I attempt to access the remote server I get a blank page and, in the web server error log I get this message: [Mon Oct 07 10:17:16 2002] [error] [client xxx.xx.xxx.xxx] client denied by server configuration: index.jsp I have both servers configured identically, as far as I can tell. A diff between my local httpd.conf file and the one on the remote server shows that the only differences are path differences between the two machines and server names. Does anyone have an idea why I am setting two different responces from, what I think are identically different servers? If you need my httpd.conf from both servers, please let me know. I don't want to add these files to this post if they are not necessary. Thanks! Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Strange differences in Apache/Tomcat configuration
On Mon, Oct 07, 2002 at 12:05:05PM -0400, Turner, John wrote: That's a standard Apache no auth error message. So, my guess is there's something going on with users (which user the web server is running as) vs. who owns index.jsp, or maybe a rogue .htaccess file somewhere preventing the web server from seeing index.jsp. The webserver is running at user nobody, the tomcat instance is owned by user tomcat, group tomcat and runs as user tomcat. All of the file permissions are 775. I would have gotten a different error, I believe, if this was the problem. The mod_jk.conf file has index.jsp listed a valid DirectoryIndex file and there are no Allow or deny directives for the /examples directory. (The WEB-INF and META-INF ones are there.) Assuming, of course, that you're changing the URL from http://local to http://remote. ;) I am :) Any other ideas? Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Best Practices Question
On Sun, Sep 29, 2002 at 08:31:32PM -0400, V. Cekvenich wrote: I think there is no reason to use Apache. Tomcat can do it all and it is simpler this way. IF you want tomcat running at root, assuming that you want tomcat to answer requests on port 80. I, personally, prefer to have apache on port 80 and use mod_jk to forward requests to tomcat, as necessary. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Apache 2.0.40, SSL and Linux
On Thu, Sep 26, 2002 at 06:45:43PM -0600, Matt Raible wrote: Platform: Red Hat 7.3 I'm trying to setup SSL for Apache on Linux and I can't seem to get it working properly. The following line in httpd.conf gives me the impression that the mod_ssl is already installed: IfModule mod_ssl.c Include conf/ssl.conf /IfModule Do I have to add LoadModule ...?? If so, how do I get/create mod_ssl.so? Read the documentation on compiling apache 2? Since this is a apache specific question perhaps you should ask any followups that you may have to that mailing list? Really, read the docs, they make it easy. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Not enough space Error: on tomcat 4.0.4
On Tue, Sep 24, 2002 at 03:35:38PM -0400, Raj Mettai wrote: I am running tomcat 4.0.4 on solaris8. I am getting Not enough space error after few days of running when I try to compile a jsp page, every thing works fine once I restart the tomcat. Is it the heap Issue ? I am running tomcat with default values any thoughts ? Here is the error from log files. java.io.IOException: Not enough space at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.init(UNIXProcess.java:54) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Runtime.java:551) at java.lang.Runtime.exec(Runtime.java:418) Two things I would check are the actual filesystem that the JSP sits on and your memory usage. There might not be enough space for the compiled JSP on the filesystem or you might have exausted all of your memory (both physical and paging). I admit, the last one is a but far fetched as I bet you would know if your system was paging that much. Oh, another thought just came to me, you could also be running out of semaphores or thread space. All of this is, of course, off the hip Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability
On Tue, Sep 24, 2002 at 06:52:10PM -0400, Tim Moore wrote: OK, thanks. (The BugTraq search engine wasn't working when I checked there.) So it sounds pretty much like what I thought it was. I still don't understand why Velocity wouldn't be vulnerable to this exploit. It sounds to me like it should be. From the bugtraq post, all servlets and JSPs that run in a Tomcat instance are vulnerable. Since Velocity runs under Tomcat, logically, it is vulnerable. All other claims are illogical. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat takes up too much memory
On Tue, Sep 24, 2002 at 09:46:43PM -0400, Kevin Conaway wrote: Hi, I am attempting to run Tomcat 4.1.12 on an AMD 120 with 24mb of ram running linux 2.4.18 and when i startup Tomcat it spawns about 27 child processes each taking up about 62% memory (go figure how that works). Am i doing something wrong or is my machine simply too slow to be running Tomcat? I would not say its too slow. I would say it does not have enough memory. Upgrade your memory if you can. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Shut down IIS and replace w/standalone Tomcat -- consequences?
On Thu, Sep 19, 2002 at 01:07:54PM -0400, Jeff wrote: Is it OK to shut down IIS entirely on a computer running Windows 2000 Server and run ONLY Tomcat (bound to port 80) in standalone configuration as a service? The question might seem patently ridiculous to anyone who runs Unix, but I've gotten the definite impression that there are several fundamental system services (Active Directory being one of them) that depend upon having IIS up and running for their own operation. Why are you running an Active Directory server on this box? Move your Active Directory server (or the Tomcat server) to another box. An AD client should not need IIS for anything. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [OFF-TOPIC] RE: John: missing tomcat-apache.conf mod_jk.conf-auto
On Wed, Sep 18, 2002 at 07:33:33PM +1000, [EMAIL PROTECTED] wrote: snip Apache does not need J2SDK or JRE to function. It has nothing to do with java. Which of the 2 machines do I install mod_jk on : (1) on the web-server (Apache) or (2) on the app-server (Tomcat) or (3) both ??? I remember one of the many doco's mentioned Apache and mod_jk , but I can't find that one again. I am getting so frustrated following instructions on the doco's at the moment because : (1) to get Apache to talk to Tomcat , I need mod_jk (1.1) ... Apache 1.3.16 is too old, build 2.0.4 (2) to install mod_jk , I need ANT (2.2) ... and no, I haven't got libtoolize ! You probably need to install the developer package, or build on a machine that does. (3) to get ANT working I need the whole j2sdk1.4.0 kit and kaboodle... So, why don't you build mod_jk on the machine that will run Tomcat and then ftp/scp the mod_jk.so file over to your apache box? You will have to do this anyway for the mod_jk.conf file that Tomcat will automagically create for you. Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problem in tomcat installation in Solaris 8.0
On Tue, Sep 17, 2002 at 02:06:18PM -0400, Anup Ray wrote: Hi, I am a newbie in Tomcat. I downloaded tomcat binary version, unzipped it and trying to start it but getting the following error. Could anybody help me out. Thanks---Anup Ray [EMAIL PROTECTED] _ # ./startup.sh The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program Well, it appears that either startup.sh or catalina.sh thinks that JAVA_HOME is not pointing to the correct place. Put an echo $JAVA_HOME in either (or both) startup.sh or catalina.sh to see what they are seeing as your JAVA_HOME Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Question regarding mod_jk configuration
I have built mod_jk according to John Turner's howto for Tomcat 4, apache 2 and redhat. The only difference is that I am using the Turbine Dev Kit, not a vanilla tomcat install. Anyway, I get the plugin installed and /server-info/ shows mod_jk loaded. John states in the howto that tomcat creates the mod_jk.conf file, but mine does not when it starts. Does anyone have any idea where I would look to find out why? I have downloaded the mod_jk.conf that John has on his site so that I have one and I have edited it to match my configuration. I can access the /examples and /newapp/servlet/newapp (the default turbine app) fine from localhost:8080, but I cannot access them from apache on port 80. (A clarification: when I access /examples, I get the apache directory listing, but it looks a lot different from what I see when I access localhost:8080/examples. Looking in the examples directory I see: [polaris:/home/apache/tdk/examples]# find . -print . ./actions ./actions/TestGlobalCache.java ./scheduledjobs ./scheduledjobs/DefaultScheduledJob.java ./WebMacro.properties so I guess that the Turbine folks nuter the Tomcat example. If not, please correct me.) So, in summary, my questions are (1) why isn't mod_jk.conf being generated automagically as John's HowTo states and (2) why am I getting 404 errors when I attempt to access the Turbine default app via apache at /newapp/servlet/newapp/ Below are my httpd.conf, server.xml and (finally) mod_jk.conf Thanks! Kent Start httpd.conf # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs-2.0/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so logs/foo.log # with ServerRoot set to /home/apache will be interpreted by the # server as /home/apache/logs/foo.log. # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at URL:http://httpd.apache.org/docs-2.0/mod/core.html#lockfile); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot /home/apache # # The accept serialization lock file MUST BE STORED ON A LOCAL DISK. # IfModule !mpm_winnt.c IfModule !mpm_netware.c #LockFile logs/accept.lock /IfModule /IfModule # # ScoreBoardFile: File used to store internal server process information. # If unspecified (the default), the scoreboard will be stored in an # anonymous shared memory segment, and will be unavailable to third-party # applications. # If specified, ensure that no two invocations of Apache share the same # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK. # IfModule !mpm_netware.c IfModule !perchild.c #ScoreBoardFile logs/apache_runtime_status /IfModule /IfModule # # PidFile: The file in which the server should record its process # identification number when it starts. # IfModule !mpm_netware.c PidFile logs/httpd.pid /IfModule # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum
Re: Question regarding mod_jk configuration
On Tue, Sep 17, 2002 at 02:41:36PM -0400, Turner, John wrote: The last time I saw my name that many times at once in print, I was getting yelled at. :) Your Listener elements look fine, and they are in the right place. Can you take a couple of minutes and try it with a vanilla Tomcat install? The binary install takes about 5 minutes to setup on Redhat...it would tell you right away if it was a tomcat vs. Turbine/Tomcat thing, or something deeper. Well, I downloaded Tomcat4.0.4 (since this is what I think TDK 2.1 uses), copied my httpd.conf for my turbine instance for use with tomcat (changing the paths to point to tomcat, not turbine of course) and everything works fine through apache. Even the mod_jk.conf file is created. I guess I will go over to the turbine list and bug them now unless someone here has an idea on what is going on. Kent John -Original Message- From: Kent Perrier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:28 PM To: [EMAIL PROTECTED] Subject: Question regarding mod_jk configuration I have built mod_jk according to John Turner's howto for Tomcat 4, apache 2 and redhat. The only difference is that I am using the Turbine Dev Kit, not a vanilla tomcat install. Anyway, I get the plugin installed and /server-info/ shows mod_jk loaded. John states in the howto that tomcat creates the mod_jk.conf file, but mine does not when it starts. Does anyone have any idea where I would look to find out why? I have downloaded the mod_jk.conf that John has on his site so that I have one and I have edited it to match my configuration. I can access the /examples and /newapp/servlet/newapp (the default turbine app) fine from localhost:8080, but I cannot access them from apache on port 80. (A clarification: when I access /examples, I get the apache directory listing, but it looks a lot different from what I see when I access localhost:8080/examples. Looking in the examples directory I see: [polaris:/home/apache/tdk/examples]# find . -print . ./actions ./actions/TestGlobalCache.java ./scheduledjobs ./scheduledjobs/DefaultScheduledJob.java ./WebMacro.properties so I guess that the Turbine folks nuter the Tomcat example. If not, please correct me.) So, in summary, my questions are (1) why isn't mod_jk.conf being generated automagically as John's HowTo states and (2) why am I getting 404 errors when I attempt to access the Turbine default app via apache at /newapp/servlet/newapp/ Below are my httpd.conf, server.xml and (finally) mod_jk.conf Thanks! Kent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]