Setup Default Context to point to specific webapp
I realize this may seem terribly simple to a few of you but I have yet to tweak my server.xml to generate a mod_jk.conf that will correctly handle the www.mysight.com/ address. What am I missing? I do have tomcat 4.1.18 and Apache2 relatively communicating at this point via mod_jk I think. On a side note, I did not configure my apache to support ssl when I installed it initially. Now I need SSL and having a bit of difficulty deciphering the docs. Once I install OpenSSL in a dir, what do i add to httpd.conf? Thanks, Dave -Original Message- From: Turansky, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:33 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: How do I determine sessions within Tomcat? ok, I see th session listener interface in the javadocs as well as the session event class. any advice regarding *how* I plug it into tomcat? Is your method a standard J2EE solution or will this be Tomcat specific? thanks for the quick reply, mark -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:30 PM To: Tomcat Users List Subject: Re: How do I determine sessions within Tomcat? you would probably want to write a SessionListener, and plug it into tomcat. Turansky, Mark wrote: I am required to track users and their sessions in my web application. Is there a way to access all the sessions currently held in server memory? My application is tracking users in a database table. Upon login, I log the session id along with a timestamp and other pertinent information. If the user specifically clicks the log out button, I can update my table with another timestamp, but I assume many will simply timeout. How do I update my table with their logout timestamp in the event of timeout? I was hoping to make a simple maintenance thread in the background that would check existing sessions against my database table for this purpose. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Setup Default Context to point to specific webapp
Thanks for the quick reply John. I have commented out the listener so we have the auto-generation straight, now I added a JkMount / ajp13 thinking that would map to my context in server.xml. However, when I try www.mysight.com/ I receive a 404 The requested resource (/) is unavailable. Additionally, I have the following in server.xml: Context path=/ docbase=webappname debug=1 reloadable=true crossContext=true override=true This seems like a similar phenomenon to the email: Subject: Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24 I'm staring at a Tomcat manual right now and am missing the forest for the trees. Could anyone be more specific in the way you might configure the server.xml file? Thanks for your help, -Dave -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:07 PM To: Tomcat Users List Subject: Re: Setup Default Context to point to specific webapp If its causing a problem for you, skip the auto generation and modify httpd.conf by hand. The auto generation only works for the simplest of configurations, anyway. John On Wed, 9 Jul 2003 14:04:18 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: I realize this may seem terribly simple to a few of you but I have yet to tweak my server.xml to generate a mod_jk.conf that will correctly handle the www.mysight.com/ address. What am I missing? I do have tomcat 4.1.18 and Apache2 relatively communicating at this point via mod_jk I think. On a side note, I did not configure my apache to support ssl when I installed it initially. Now I need SSL and having a bit of difficulty deciphering the docs. Once I install OpenSSL in a dir, what do i add to httpd.conf? Thanks, Dave -Original Message- From: Turansky, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:33 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: How do I determine sessions within Tomcat? ok, I see th session listener interface in the javadocs as well as the session event class. any advice regarding *how* I plug it into tomcat? Is your method a standard J2EE solution or will this be Tomcat specific? thanks for the quick reply, mark -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:30 PM To: Tomcat Users List Subject: Re: How do I determine sessions within Tomcat? you would probably want to write a SessionListener, and plug it into tomcat. Turansky, Mark wrote: I am required to track users and their sessions in my web application. Is there a way to access all the sessions currently held in server memory? My application is tracking users in a database table. Upon login, I log the session id along with a timestamp and other pertinent information. If the user specifically clicks the log out button, I can update my table with another timestamp, but I assume many will simply timeout. How do I update my table with their logout timestamp in the event of timeout? I was hoping to make a simple maintenance thread in the background that would check existing sessions against my database table for this purpose. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setup Default Context to point to specific webapp
I have that set, still no luck. same error. - Original Message - From: John Turner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:38 PM Subject: Re: Setup Default Context to point to specific webapp First thing I would try is: JkMount /* ajp13 John On Wed, 9 Jul 2003 14:29:55 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: Thanks for the quick reply John. I have commented out the listener so we have the auto-generation straight, now I added a JkMount / ajp13 thinking that would map to my context in server.xml. However, when I try www.mysight.com/ I receive a 404 The requested resource (/) is unavailable. Additionally, I have the following in server.xml: Context path=/ docbase=webappname debug=1 reloadable=true crossContext=true override=true This seems like a similar phenomenon to the email: Subject: Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24 I'm staring at a Tomcat manual right now and am missing the forest for the trees. Could anyone be more specific in the way you might configure the server.xml file? Thanks for your help, -Dave -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:07 PM To: Tomcat Users List Subject: Re: Setup Default Context to point to specific webapp If its causing a problem for you, skip the auto generation and modify httpd.conf by hand. The auto generation only works for the simplest of configurations, anyway. John On Wed, 9 Jul 2003 14:04:18 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: I realize this may seem terribly simple to a few of you but I have yet to tweak my server.xml to generate a mod_jk.conf that will correctly handle the www.mysight.com/ address. What am I missing? I do have tomcat 4.1.18 and Apache2 relatively communicating at this point via mod_jk I think. On a side note, I did not configure my apache to support ssl when I installed it initially. Now I need SSL and having a bit of difficulty deciphering the docs. Once I install OpenSSL in a dir, what do i add to httpd.conf? Thanks, Dave -Original Message- From: Turansky, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:33 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: How do I determine sessions within Tomcat? ok, I see th session listener interface in the javadocs as well as the session event class. any advice regarding *how* I plug it into tomcat? Is your method a standard J2EE solution or will this be Tomcat specific? thanks for the quick reply, mark -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:30 PM To: Tomcat Users List Subject: Re: How do I determine sessions within Tomcat? you would probably want to write a SessionListener, and plug it into tomcat. Turansky, Mark wrote: I am required to track users and their sessions in my web application. Is there a way to access all the sessions currently held in server memory? My application is tracking users in a database table. Upon login, I log the session id along with a timestamp and other pertinent information. If the user specifically clicks the log out button, I can update my table with another timestamp, but I assume many will simply timeout. How do I update my table with their logout timestamp in the event of timeout? I was hoping to make a simple maintenance thread in the background that would check existing sessions against my database table for this purpose. Thanks in advance, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Pushing Apache/Tomcat to prod env
This may be slightly off topic but I'm sure others on the list can relate. I'm working on getting a prod system up as a co-location at an ISP. They've assigned an IP address but the IP is not working (i.e. ping ipaddress returns timeout). Now they are saying that the network card is misconfigured on the server but I'm fairly certain that RedHat reads from the /etc/hosts file to determine IP to respond to. Am I correct or missing some significant step in configuring the server? Thanks -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env
Thanks John. Unbelievable how poor my collected documentation is. Any chance you could point me to a reference redhat admin manual? - Original Message - From: John Turner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 13, 2003 1:28 PM Subject: Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env Actually, it would be ifcfg-devicename. John On Fri, 13 Jun 2003 13:26:25 -0400, Ronnie Tartar [EMAIL PROTECTED] wrote: /etc/sysconfig/network-scripts/devicename - Original Message - From: John Turner tomcat- [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 13, 2003 1:00 PM Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env AFAIK, RH doesn't use the hosts file at all to set IP address. The address setters are in etc/init.d/network. You can configure your IP address from the command line using ifconfig. This might require 15 minutes (actually 1 or 2 but most ISPs don't charge by the minute) of tech time on your ISP side, because without net access to the box you won't be able to SSH. John On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: This may be slightly off topic but I'm sure others on the list can relate. I'm working on getting a prod system up as a co-location at an ISP. They've assigned an IP address but the IP is not working (i.e. ping ipaddress returns timeout). Now they are saying that the network card is misconfigured on the server but I'm fairly certain that RedHat reads from the /etc/hosts file to determine IP to respond to. Am I correct or missing some significant step in configuring the server? Thanks -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat/ Apache startup
I'm sure this is cake to this list so here goes nothing. I really need some help. I've followed John Turners install instructions for tomcat 4.1.18 on RedHat integrating with Apache 2 and all works like a champ. Unfortunately, now that I'm trying to integrate a startup script for Tomcat, Apache and MySQL, things aren't going so well. The app returns connection refused. I'm fairly certain the startup scripts are incorrect. Can someone point me in the right direction here? I've been to no telling how many sites and googling and I can not figure this one out. Thanks in advance! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat/ Apache startup
Hello John, Thanks for getting back to me. Regarding other processes, I'm pretty certain nothing is being started just because I installed Apache, tomcat and MySQL from source removing the apache that comes with RedHat. Previously I started those processes manually at prompt. Regarding scripts, here's what I have: etc/rc.d/init.d/tomcat etc/rc.d/init.d/apache etc/rc.d/init.d/mysql here are the scripts: for credit purposes, these originated at http://www.raibledesigns.com/tomcat/boot-howto.html #TOMCAT #!/bin/bash # # apache # # chkconfig: # description: Start up the Tomcat servlet engine. # Source function library. . /etc/init.d/functions RETVAL=$? TOMCATHOME=$TOMCAT_HOME case $1 in start) if [ -f $TOMCATHOME/bin/startup.sh ]; then echo $Starting Tomcat /bin/su noone $TOMCATHOME/bin/startup.sh fi ;; stop) if [ -f $TOMCATHOME/bin/shutdown.sh ]; then echo $Stopping Tomcat /bin/su noone $TOMCATHOME/bin/shutdown.sh fi ;; *) echo $Usage: $0 {start|stop} exit 1 ;; esac exit $RETVAL - Apache: #!/bin/bash # # apache # # chkconfig: # description: Start up the Apache web server. # Source function library. . /etc/init.d/functions RETVAL=$? APACHEHOME=$APACHE_HOME case $1 in start) if [ -f $APACHEHOME/bin/apachectl ]; then echo $Starting Apache $APACHEHOME/bin/apachectl start fi ;; stop) if [ -f $APACHEHOME/bin/apachectl ]; then echo $Stopping Apache $APACHEHOME/bin/apachectl stop fi ;; *) echo $Usage: $0 {start|stop} exit 1 ;; esac exit $RETVAL -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 2:37 PM To: Tomcat Users List Subject: Re: Tomcat/ Apache startup What is your script trying to do? Start all of them? That's not the optimal configuration. You should really have 3 scripts, one for each. Start them up in sequence in rc3-5.d. MySQL, then Tomcat, then Apache. Connection refused generally means that something is already started on that portdo you know which service is returning the connection refused message? John On Fri, 6 Jun 2003 14:22:42 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: I'm sure this is cake to this list so here goes nothing. I really need some help. I've followed John Turners install instructions for tomcat 4.1.18 on RedHat integrating with Apache 2 and all works like a champ. Unfortunately, now that I'm trying to integrate a startup script for Tomcat, Apache and MySQL, things aren't going so well. The app returns connection refused. I'm fairly certain the startup scripts are incorrect. Can someone point me in the right direction here? I've been to no telling how many sites and googling and I can not figure this one out. Thanks in advance! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat/ Apache startup
Hello Mark, Yes I set a tomcat account chown -R $TOMCAT_HOME/bin and replaced the noone with Tomcat. Still nothing. I'm a real newbie at trying to administer this unit so I really apprec the help. -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 3:01 PM To: Tomcat Users List Subject: RE: Tomcat/ Apache startup David, I don't know about Redhat 7.3, but the default configuration in Redhat 9 restricts user noone and nobody so that network access does not work. I am using similar scripts, but installed Tomcat from the binaries and made two users. 1. tomcat is a normal user and has rw access to the /home/tomcat directory structure. 2. tomcat-op is a user in the same group, but only has write access to the appropriate areas (temp, work, logs - plus some other logging for specific apps). This seems to work reasonably well, although I could probably tie down the security in a better fashion. /mde/ just my two cents . . . . __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat/ Apache startup
I have both a TOMCAT_HOME and CATALINA_HOME env var. The TOMCAT var was left over from my first try at install and I just kept it around. I think my problem may lie in the way I'm trying to set permissions for my 'tomcat' user. The user defiantly exists as I'm using it elsewhere but maybe it doesn't have rights to be used in the start-up script. Incidentally the 'MySQL' user is setup the same as 'tomcat' and neither scripts work when replacing the 'noone'. What specific syntax and lines should I use to set the permissions at the shell prompt? -Dave -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 3:02 PM To: Tomcat Users List Subject: Re: Tomcat/ Apache startup My guess is that Tomcat isn't starting, because the convention is to use CATALINA_HOME, not TOMCAT_HOME, which means that TOMCATHOME=$TOMCAT_HOME will make TOMCATHOME null. Unless, of course, you have an environment variable called TOMCAT_HOME set somewhere. Matt (Raible), if you're reading this thread, can you shed some light on the scripts for David? John On Fri, 6 Jun 2003 14:48:56 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: Hello John, Thanks for getting back to me. Regarding other processes, I'm pretty certain nothing is being started just because I installed Apache, tomcat and MySQL from source removing the apache that comes with RedHat. Previously I started those processes manually at prompt. Regarding scripts, here's what I have: etc/rc.d/init.d/tomcat etc/rc.d/init.d/apache etc/rc.d/init.d/mysql here are the scripts: for credit purposes, these originated at http://www.raibledesigns.com/tomcat/boot-howto.html #TOMCAT #!/bin/bash # # apache# # chkconfig: # description: Start up the Tomcat servlet engine. # Source function library. . /etc/init.d/functions RETVAL=$? TOMCATHOME=$TOMCAT_HOME case $1 in start) if [ -f $TOMCATHOME/bin/startup.sh ]; then echo $Starting Tomcat /bin/su noone $TOMCATHOME/bin/startup.sh fi ;; stop) if [ -f $TOMCATHOME/bin/shutdown.sh ]; then echo $Stopping Tomcat /bin/su noone $TOMCATHOME/bin/shutdown.sh fi ;; *) echo $Usage: $0 {start|stop} exit 1 ;; esac exit $RETVAL - Apache: #!/bin/bash # # apache# # chkconfig: # description: Start up the Apache web server. # Source function library. . /etc/init.d/functions RETVAL=$? APACHEHOME=$APACHE_HOME case $1 in start) if [ -f $APACHEHOME/bin/apachectl ]; then echo $Starting Apache $APACHEHOME/bin/apachectl start fi ;; stop) if [ -f $APACHEHOME/bin/apachectl ]; then echo $Stopping Apache $APACHEHOME/bin/apachectl stop fi ;; *) echo $Usage: $0 {start|stop} exit 1 ;; esac exit $RETVAL -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 2:37 PM To: Tomcat Users List Subject: Re: Tomcat/ Apache startup What is your script trying to do? Start all of them? That's not the optimal configuration. You should really have 3 scripts, one for each. Start them up in sequence in rc3-5.d. MySQL, then Tomcat, then Apache. Connection refused generally means that something is already started on that portdo you know which service is returning the connection refused message? John On Fri, 6 Jun 2003 14:22:42 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: I'm sure this is cake to this list so here goes nothing. I really need some help. I've followed John Turners install instructions for tomcat 4.1.18 on RedHat integrating with Apache 2 and all works like a champ. Unfortunately, now that I'm trying to integrate a startup script for Tomcat, Apache and MySQL, things aren't going so well. The app returns connection refused. I'm fairly certain the startup scripts are incorrect. Can someone point me in the right direction here? I've been to no telling how many sites and googling and I can not figure this one out. Thanks in advance! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat/ Apache startup
Mark I've converted scripts over to those but I still get nothing. Connection refused attempting to connect to localhost:8080. Anything else at all? How did you apply permissions to your user accounts? I'm probably missing something in the syntax. -Dave -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 3:32 PM To: Tomcat Users List Subject: RE: Tomcat/ Apache startup David, I am using the scripts from: http://daydream.stanford.edu/tomcat/install_web_services.html I modified them slightly, including using sudo -u tomcat-ops for the Tomcat startup script. These scripts take care of setting the appropriate environment variables before starting, stopping, or restarting Tomcat. HTH /mde/ just my two cents . . . . __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems starting Tomcat after modifying classpath
Hello everyone, What I've done is try to modify my classpath to get a package working. Basically, javac could not find servlet.jar. So what I did was at a shell prompt, I entered CLASSPATH=$CLASSPATH:/path/to/J2EE/jars Now Tomcat will not start, displaying enumerable java.lang.NoClassDefFound. In the future, what should be contained in the classpath for a standard Tomcat install? Am I even on the right track as to the cause? TOMCAT_HOME, CATALINA_HOME, and JAVA_HOME are set and tested. TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Conflict with J2EE, Problems starting Tomcat
Note that I just realized after combing logs that this error and failure began when suns J2EE package was installed. Has anyone seen anything similar? -Original Message- From: David Nelson Sent: Friday, March 14, 2003 1:21 PM To: Tomcat Users List (E-mail) Subject: Problems starting Tomcat after modifying classpath Hello everyone, What I've done is try to modify my classpath to get a package working. Basically, javac could not find servlet.jar. So what I did was at a shell prompt, I entered CLASSPATH=$CLASSPATH:/path/to/J2EE/jars Now Tomcat will not start, displaying enumerable java.lang.NoClassDefFound. In the future, what should be contained in the classpath for a standard Tomcat install? Am I even on the right track as to the cause? TOMCAT_HOME, CATALINA_HOME, and JAVA_HOME are set and tested. TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
localhost:8080 connection refused
I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
localhost:8080 connection refused
I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
Thanks for the reply Bill, I'm not too savvy regarding the firewall installation. I took the default settings on install. Additionally, whose logs should I be looking at and what should I look for? - Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
I apologize for taking a bit to get back to you. Below are the contents of Catalina.out java.util.zip.ZipException: error in opening zip file at java.util.zip.Zip.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Additionally, I both were gzip from Apache.org. Thanks again for your help. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:59 AM Subject: RE: localhost:8080 connection refused That's why you are getting connection refused. Tomcat isn't even starting. Can you post the entire contents of catalina.out for a full startup attempt, instead of just the error message? It might help in debugging if we can see exactly when in the sequence this error is thrown. Just null out catalina.out, then try and start Tomcat again. Also, how did you do the installs for Tomcat and Apache? RPM? Source? Binary? Do you have zip/unzip or gzip/gunzip on your system? The error message is calling a native method. John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:23 AM To: Tomcat Users List Subject: Re: localhost:8080 connection refused After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr
Re: localhost:8080 connection refused
This issue is resolved. Thanks for the help! . - Original Message - From: David Nelson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 1:21 PM Subject: Re: localhost:8080 connection refused I apologize for taking a bit to get back to you. Below are the contents of Catalina.out java.util.zip.ZipException: error in opening zip file at java.util.zip.Zip.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Additionally, I both were gzip from Apache.org. Thanks again for your help. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:59 AM Subject: RE: localhost:8080 connection refused That's why you are getting connection refused. Tomcat isn't even starting. Can you post the entire contents of catalina.out for a full startup attempt, instead of just the error message? It might help in debugging if we can see exactly when in the sequence this error is thrown. Just null out catalina.out, then try and start Tomcat again. Also, how did you do the installs for Tomcat and Apache? RPM? Source? Binary? Do you have zip/unzip or gzip/gunzip on your system? The error message is calling a native method. John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:23 AM To: Tomcat Users List Subject: Re: localhost:8080 connection refused After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port
compatability issue
I'm trying seemingly like several others to get mod_jk to work. When I try to start Apache after successfully starting Tomcat, I receive the error: httpd: module mod_jk.c is not compatible with this version of Apache. Please contact the vendor for the correct version. As a side note, I've followed the how-to tutorial on John Turner's site and so I think I have some sort of compatibility issue. Has anyone else seen this issue? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xerces user mailing list
This one was fairly active a few months ago for xml: [EMAIL PROTECTED] Seems like more than a few issues described as a problem with Xerces in reality turn out to be problems with xml syntax alone. Either way, give it a shot. The list was a friendly one. - Original Message - From: Thébault, Médérick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 6:37 AM Subject: Xerces user mailing list Hello, Does anyone ever get a message from that list? I know the tomcat list is not the one to ask for, but it is where I might have an answer. If you have encountered the same conclusion, where is it possible to find help on Xerces topic? Thanx Med -- 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]