Re: Installing tomcat 6
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Franz, On 2/4/14, 9:41 PM, Franz wrote: > On Tue, Feb 4, 2014 at 9:31 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Dan, > > On 2/4/14, 3:43 PM, Daniel Mikusa wrote: On Feb 4, 2014, at 3:23 PM, Franz <169...@gmail.com> wrote: > On Tue, Feb 4, 2014 at 6:13 PM, Franz <169...@gmail.com> > wrote: > >> >> >> >> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas >> wrote: >> >>> On 04/02/2014 20:04, Franz wrote: >>> export JAVA_HOME="/opt/openemm/java" cd tomcat bin/startup.sh >>> >>> At this point use: bin/catalina.sh run >>> >>> rather than bin/startup.sh >>> >>> and report here what output you get. >>> >>> >> [root@ns3098622 tomcat]# bin/catalina.sh run >> >> Using CATALINA_BASE: /opt/openemm/tomcat Using >> CATALINA_HOME: /opt/openemm/tomcat Using >> CATALINA_TMPDIR: /opt/openemm/tomcat/temp Using >> JRE_HOME: "/opt/openemm/java" Using CLASSPATH: >> /opt/openemm/tomcat/bin/bootstrap.jar bin/catalina.sh: >> line 305: >> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No >> such file or directory bin/catalina.sh: line 305: exec: >> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot >> execute: No such file or directory >> >> thanks >> > > But I do not understand what this error means and what I > should do now You're setting JAVA_HOME as "/opt/openemm/java", quotes included. Try setting it without quotes. > > Quotes should be fine, as long as you are using plain-old > double-quotes and not "smart" (aka dumb) quotes. > Ex: export JAVA_HOME=/opt/openemm/java Also make sure that you can run the command "/opt/openemm/java/bin/java -version". You should get the version info for your JVM. > > +1 > > I suspect Java is not actually installed in /opt/openemm/java > > >> Installed? The tutorial steps that I reported in the first email >> only copy the files in directory /opt/openemm/java. Nothing was >> really installed. But it works just with this export >> JAVA_HOME=/opt/openemm/java step. Also the test of java -version >> works. Are there any problems with the lack of an actual java >> installation? Yes, without Java you cannot run Tomcat. Since you have set JAVA_HOME=/opt/openmm/java, you'd better have a Java available under /opt/openemm/java. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJS8pxRAAoJEBzwKT+lPKRYAcwQAJTPGJAMlouHJYNEqfhaJ1OH djaaCMD0ylLtxztx1B1O1uKKiUgim1E5zkSj8lIoLNWODb40pBPJOhVzm1ZMwEsY kSEJaD/HOzbciwMzsT8j9Q/APwzI/PvN809fG7+F3gpf1tR05k/ZcZq53KRPDwKr n0/dxTi0JmUGqMEFtCaVWCC+mredvofnbwLeC9jGqHwLLA1yiv7hzUtD9+s8F0Pj sDJ1wojmc/Pil4i4PZitNPWC/E0vWog0cqC9C56//+kMOuv3sdkgsnBzN2OK6Rod bkgCDYfg5whpqd8UR1bTPJlXHEacTq24yfAVWKcXIO4WQJxGD+QktrgGMi7+AOQf xz2ZOwgzy3EwhhqVQMdhShRaWtMWUHe17NX83URM5Uy+ESxvKKFQIstxi/skLwuH 8CnKIMW31TLoEPuVnGOiAEoYAdRP+YdkJq5GjUJrqgmT5b6gw1ZCX/96M/UEjh4G XVpTSHdOACWPRYwO6kFGrOnf4PjLME2T8M62Dw7z8ibvTs0RDoekDPfl3hoqMIuj iU2qwqEZu9KAC1IaqEpiHgZkyHvCshBwMsJ94xdVbxEEoFGkrv3ExvXNX0Zx2xj9 ueMweRK5zAr0Jb2t2/2OGJWIb4RCkT+Z8WKR+mE7P/XOIafhKtY2QBHvb1Itq8Vn b1Jq1bdTgfRXAPpOtrm8 =L0BE -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Installing tomcat 6
On Tue, Feb 4, 2014 at 9:31 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Dan, > > On 2/4/14, 3:43 PM, Daniel Mikusa wrote: > > On Feb 4, 2014, at 3:23 PM, Franz <169...@gmail.com> wrote: > > > >> On Tue, Feb 4, 2014 at 6:13 PM, Franz <169...@gmail.com> wrote: > >> > >>> > >>> > >>> > >>> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas > >>> wrote: > >>> > On 04/02/2014 20:04, Franz wrote: > > > export JAVA_HOME="/opt/openemm/java" cd tomcat > > bin/startup.sh > > At this point use: bin/catalina.sh run > > rather than bin/startup.sh > > and report here what output you get. > > > >>> [root@ns3098622 tomcat]# bin/catalina.sh run > >>> > >>> Using CATALINA_BASE: /opt/openemm/tomcat Using CATALINA_HOME: > >>> /opt/openemm/tomcat Using CATALINA_TMPDIR: > >>> /opt/openemm/tomcat/temp Using JRE_HOME: > >>> "/opt/openemm/java" Using CLASSPATH: > >>> /opt/openemm/tomcat/bin/bootstrap.jar bin/catalina.sh: line > >>> 305: /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such > >>> file or directory bin/catalina.sh: line 305: exec: > >>> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot > >>> execute: No such file or directory > >>> > >>> thanks > >>> > >> > >> But I do not understand what this error means and what I should > >> do now > > > > You're setting JAVA_HOME as "/opt/openemm/java", quotes included. > > Try setting it without quotes. > > Quotes should be fine, as long as you are using plain-old > double-quotes and not "smart" (aka dumb) quotes. > > > Ex: export JAVA_HOME=/opt/openemm/java > > > > Also make sure that you can run the command > > "/opt/openemm/java/bin/java -version". You should get the version > > info for your JVM. > > +1 > > I suspect Java is not actually installed in /opt/openemm/java > > Installed? The tutorial steps that I reported in the first email only copy the files in directory /opt/openemm/java. Nothing was really installed. But it works just with this export JAVA_HOME=/opt/openemm/java step. Also the test of java -version works. Are there any problems with the lack of an actual java installation? Best Franz - -chris > -BEGIN PGP SIGNATURE- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJS8XhiAAoJEBzwKT+lPKRYPjMP/iWOIj45dxg8Jq6ek479x0LH > g6Fq69Bpyid6JvXFgJAYB2s7/1nvbBkpAq0lHhbl0/OglLygqNRNcNQnlDFSsbqd > joq3h24lq6X+RGxV6lFhptGHYlVefcwvl5iCtq4StXgYWqUCtLsIGvmcG3jg7h7U > GhBOenwWZhOGZSjfcPgDQWItFdgKfvLFr4wgpCOXORailxfgLpIAsjAKd7iGxuGc > AiXRNAGrVEUqhAYoOVdvrcaN9QYHjtf3vHRU8Q7DU6NHBqvD5/++A7kjEeY6kaoB > BxF/M2VLyLLSrsTYCqhDt1RbMTVLb7n5dZLefYAnbbKLjHYpSIItAmaFCRojotaK > giTekxYNsfrJlygSmBBNc4iKMzwSqxjKAJ+5OdkiLMDkJlT4cKL47HYIfOHZ8Q2g > aEO4l/EibrmB1Uc1h8EGmoBSEBPPDY1aeBHaaWudTOWcLC4xJAwNyWx9azikU1oK > JeYSkHt6Clo31aJ5rmgSSsd5/iD8b+EkU0yJFTQz8NIV7/Momycfo3Dqb/X9VBZf > mItbfbj2UqitSTvAFTkql3T2RK1dnpBBfwKgaDWZ5WH9aCqGjrN9hTjLnbVFwXSZ > EuZEVe/VTsh5lIGAcnlacfXczaUj4bLaNIsJOzu8IQ1Mj1LMNPbZTs09MCc24yjD > wLomd3DuPNA45enzwBbc > =Pu8H > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Installing tomcat 6
On Tue, Feb 4, 2014 at 6:22 PM, Franz <169...@gmail.com> wrote: > > I assume you followed instructions for installation: > > > > > http://sourceforge.net/projects/openemm/files/OpenEMM%20documentation/Documentation%20(latest%20versions) > > > > > > > After you get it working with catalina.sh run, you probably want to do > the > > following as well: > > 1) setup JAVA_HOME somewhere in the profile scripts (e.g. create > > /etc/profile.d/java.sh file) > > > > yes, unfortunately openemm tutorial says nothing about that. Now there is > not java.sh file there. So you mean creating a java.sh file with inside > only: > > export JAVA_HOME=/opt/openemm/java > > Yes, something along those lines. Edit a new file in /etc/profile.d/java.sh, e.g. # # /etc/profile.d/java.sh # export JAVA_HOME=/opt/openemm/java export PATH=${PATH}:${JAVA_HOME}/bin - This script does two things: 1) sets $JAVA_HOME for your JDK 2) updates $PATH so your $JAVA_HOME/bin is on the PATH (i.e. Java can be invoked from any directory) > and what does it? Does it setup JAVA_HOME once and for all? > > 2) configure tomcat as a centos service (chkconfig+rc.d script), so it > > starts up automatically when you reboot your system. > > > > This seems complicated too. Does it means preparing a file tomcat.sh in > /etc/rc.d containing: > > /opt/openemm/tomcat/bin/startup.sh > > Yes, something like that ... 1. Create /etc/rc.d/init.d/tomcat.sh (I will see to find some examples), here's a minimal example: #!/bin/bash # # /etc/rc.d/init.d/tomcat.sh # # description: Tomcat Startup, Stop, Restart Script # processname: tomcat # chkconfig: 234 20 80 # Test if JAVA_HOME is already set if [ "x$JAVA_HOME" = "x" ] then export JAVA_HOME=/opt/openemm/java export PATH=$PATH:$JAVA_HOME/bin fi # Set Tomcat home directory CATALINA_HOME=/opt/openemm/tomcat case $1 in start) sh $CATALINA_HOME/bin/startup.sh ;; stop) sh $CATALINA_HOME/bin/shutdown.sh ;; restart) sh $CATALINA_HOME/bin/shutdown.sh sh $CATALINA_HOME/bin/startup.sh ;; esac exit 0 - here you would probably want to add a more sophisticated script that adds /var/run/tomcat/id PID file, kills process if it hangs, etc... - Can anyone else provide some of their example scripts? 2. Add a tomcat service, e.g. chkconfig -add tomcat chkconfig tomcat on 3. Test your service, e.g. service tomcat stop service tomcat start service tomcat restart
Re: Installing tomcat 6
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dan, On 2/4/14, 3:43 PM, Daniel Mikusa wrote: > On Feb 4, 2014, at 3:23 PM, Franz <169...@gmail.com> wrote: > >> On Tue, Feb 4, 2014 at 6:13 PM, Franz <169...@gmail.com> wrote: >> >>> >>> >>> >>> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas >>> wrote: >>> On 04/02/2014 20:04, Franz wrote: > export JAVA_HOME="/opt/openemm/java" cd tomcat > bin/startup.sh At this point use: bin/catalina.sh run rather than bin/startup.sh and report here what output you get. >>> [root@ns3098622 tomcat]# bin/catalina.sh run >>> >>> Using CATALINA_BASE: /opt/openemm/tomcat Using CATALINA_HOME: >>> /opt/openemm/tomcat Using CATALINA_TMPDIR: >>> /opt/openemm/tomcat/temp Using JRE_HOME: >>> "/opt/openemm/java" Using CLASSPATH: >>> /opt/openemm/tomcat/bin/bootstrap.jar bin/catalina.sh: line >>> 305: /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such >>> file or directory bin/catalina.sh: line 305: exec: >>> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot >>> execute: No such file or directory >>> >>> thanks >>> >> >> But I do not understand what this error means and what I should >> do now > > You’re setting JAVA_HOME as “/opt/openemm/java”, quotes included. > Try setting it without quotes. Quotes should be fine, as long as you are using plain-old double-quotes and not "smart" (aka dumb) quotes. > Ex: export JAVA_HOME=/opt/openemm/java > > Also make sure that you can run the command > "/opt/openemm/java/bin/java -version”. You should get the version > info for your JVM. +1 I suspect Java is not actually installed in /opt/openemm/java - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJS8XhiAAoJEBzwKT+lPKRYPjMP/iWOIj45dxg8Jq6ek479x0LH g6Fq69Bpyid6JvXFgJAYB2s7/1nvbBkpAq0lHhbl0/OglLygqNRNcNQnlDFSsbqd joq3h24lq6X+RGxV6lFhptGHYlVefcwvl5iCtq4StXgYWqUCtLsIGvmcG3jg7h7U GhBOenwWZhOGZSjfcPgDQWItFdgKfvLFr4wgpCOXORailxfgLpIAsjAKd7iGxuGc AiXRNAGrVEUqhAYoOVdvrcaN9QYHjtf3vHRU8Q7DU6NHBqvD5/++A7kjEeY6kaoB BxF/M2VLyLLSrsTYCqhDt1RbMTVLb7n5dZLefYAnbbKLjHYpSIItAmaFCRojotaK giTekxYNsfrJlygSmBBNc4iKMzwSqxjKAJ+5OdkiLMDkJlT4cKL47HYIfOHZ8Q2g aEO4l/EibrmB1Uc1h8EGmoBSEBPPDY1aeBHaaWudTOWcLC4xJAwNyWx9azikU1oK JeYSkHt6Clo31aJ5rmgSSsd5/iD8b+EkU0yJFTQz8NIV7/Momycfo3Dqb/X9VBZf mItbfbj2UqitSTvAFTkql3T2RK1dnpBBfwKgaDWZ5WH9aCqGjrN9hTjLnbVFwXSZ EuZEVe/VTsh5lIGAcnlacfXczaUj4bLaNIsJOzu8IQ1Mj1LMNPbZTs09MCc24yjD wLomd3DuPNA45enzwBbc =Pu8H -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Installing tomcat 6
On Tue, Feb 4, 2014 at 7:08 PM, Neven Cvetkovic wrote: > On Tue, Feb 4, 2014 at 3:13 PM, Franz <169...@gmail.com> wrote: > > > On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas wrote: > > > > > On 04/02/2014 20:04, Franz wrote: > > > > > > > export JAVA_HOME="/opt/openemm/java" > > > > cd tomcat > > > > bin/startup.sh > > > > > > > > Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar > > bin/catalina.sh: line 305: > > /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such file or > directory > > bin/catalina.sh: line 305: exec: > > /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot execute: No such > > file or directory > > > > Franz, > > I assume you followed instructions for installation: > > http://sourceforge.net/projects/openemm/files/OpenEMM%20documentation/Documentation%20(latest%20versions) > > Did you test if Java (JDK) was properly set: (pg 4/27 of the installation > guide), e.g. > > /opt/openemm/java/bin/java -version > > You need to make sure JDK is installed properly, because Tomcat needs it :) > > Yes this works. > Daniel already pointed out you are probably not properly setting up > JAVA_HOME, try without quotes (pg 5/27 of manual suggests using quotes), > e.g. > > export JAVA_HOME=/opt/openemm/java > /opt/openemm/tomcat/bin/catalina.sh run > > (CTRL+C to stop the process) > > What does the output say? Was it successfully loaded? > > Yes everything works many thanks. I am able to access the page with the browser. You guys are very helpful. > After you get it working with catalina.sh run, you probably want to do the > following as well: > 1) setup JAVA_HOME somewhere in the profile scripts (e.g. create > /etc/profile.d/java.sh file) > yes, unfortunately openemm tutorial says nothing about that. Now there is not java.sh file there. So you mean creating a java.sh file with inside only: export JAVA_HOME=/opt/openemm/java and what does it? Does it setup JAVA_HOME once and for all? 2) configure tomcat as a centos service (chkconfig+rc.d script), so it > starts up automatically when you reboot your system. > This seems complicated too. Does it means preparing a file tomcat.sh in /etc/rc.d containing: /opt/openemm/tomcat/bin/startup.sh ? many thanks again Franz
Re: Installing tomcat 6
On Tue, Feb 4, 2014 at 6:43 PM, Daniel Mikusa wrote: > On Feb 4, 2014, at 3:23 PM, Franz <169...@gmail.com> wrote: > > > On Tue, Feb 4, 2014 at 6:13 PM, Franz <169...@gmail.com> wrote: > > > >> > >> > >> > >> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas wrote: > >> > >>> On 04/02/2014 20:04, Franz wrote: > >>> > export JAVA_HOME="/opt/openemm/java" > cd tomcat > bin/startup.sh > >>> > >>> At this point use: > >>> bin/catalina.sh run > >>> > >>> rather than > >>> bin/startup.sh > >>> > >>> and report here what output you get. > >>> > >>> > >> [root@ns3098622 tomcat]# bin/catalina.sh run > >> > >> Using CATALINA_BASE: /opt/openemm/tomcat > >> Using CATALINA_HOME: /opt/openemm/tomcat > >> Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp > >> Using JRE_HOME:"/opt/openemm/java" > >> Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar > >> bin/catalina.sh: line 305: > >> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such file or > directory > >> bin/catalina.sh: line 305: exec: > >> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot execute: No > such > >> file or directory > >> > >> thanks > >> > > > > But I do not understand what this error means and what I should do now > > You're setting JAVA_HOME as "/opt/openemm/java", quotes included. Try > setting it without quotes. > > Ex: export JAVA_HOME=/opt/openemm/java > > Yes, it works!! This was the problem: the quotes! Many thanks > Also make sure that you can run the command "/opt/openemm/java/bin/java > -version". You should get the version info for your JVM. > > Yes this works too best Franz
Re: Installing tomcat 6
On Tue, Feb 4, 2014 at 3:13 PM, Franz <169...@gmail.com> wrote: > On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas wrote: > > > On 04/02/2014 20:04, Franz wrote: > > > > > export JAVA_HOME="/opt/openemm/java" > > > cd tomcat > > > bin/startup.sh > > > > > Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar > bin/catalina.sh: line 305: > /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such file or directory > bin/catalina.sh: line 305: exec: > /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot execute: No such > file or directory > Franz, I assume you followed instructions for installation: http://sourceforge.net/projects/openemm/files/OpenEMM%20documentation/Documentation%20(latest%20versions) Did you test if Java (JDK) was properly set: (pg 4/27 of the installation guide), e.g. /opt/openemm/java/bin/java -version You need to make sure JDK is installed properly, because Tomcat needs it :) Daniel already pointed out you are probably not properly setting up JAVA_HOME, try without quotes (pg 5/27 of manual suggests using quotes), e.g. export JAVA_HOME=/opt/openemm/java /opt/openemm/tomcat/bin/catalina.sh run (CTRL+C to stop the process) What does the output say? Was it successfully loaded? After you get it working with catalina.sh run, you probably want to do the following as well: 1) setup JAVA_HOME somewhere in the profile scripts (e.g. create /etc/profile.d/java.sh file) 2) configure tomcat as a centos service (chkconfig+rc.d script), so it starts up automatically when you reboot your system. Good luck!
Re: Installing tomcat 6
On Feb 4, 2014, at 3:23 PM, Franz <169...@gmail.com> wrote: > On Tue, Feb 4, 2014 at 6:13 PM, Franz <169...@gmail.com> wrote: > >> >> >> >> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas wrote: >> >>> On 04/02/2014 20:04, Franz wrote: >>> export JAVA_HOME="/opt/openemm/java" cd tomcat bin/startup.sh >>> >>> At this point use: >>> bin/catalina.sh run >>> >>> rather than >>> bin/startup.sh >>> >>> and report here what output you get. >>> >>> >> [root@ns3098622 tomcat]# bin/catalina.sh run >> >> Using CATALINA_BASE: /opt/openemm/tomcat >> Using CATALINA_HOME: /opt/openemm/tomcat >> Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp >> Using JRE_HOME:"/opt/openemm/java" >> Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar >> bin/catalina.sh: line 305: >> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such file or directory >> bin/catalina.sh: line 305: exec: >> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot execute: No such >> file or directory >> >> thanks >> > > But I do not understand what this error means and what I should do now You’re setting JAVA_HOME as “/opt/openemm/java”, quotes included. Try setting it without quotes. Ex: export JAVA_HOME=/opt/openemm/java Also make sure that you can run the command "/opt/openemm/java/bin/java -version”. You should get the version info for your JVM. Dan > best > Franz - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Installing tomcat 6
On Tue, Feb 4, 2014 at 6:13 PM, Franz <169...@gmail.com> wrote: > > > > On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas wrote: > >> On 04/02/2014 20:04, Franz wrote: >> >> > export JAVA_HOME="/opt/openemm/java" >> > cd tomcat >> > bin/startup.sh >> >> At this point use: >> bin/catalina.sh run >> >> rather than >> bin/startup.sh >> >> and report here what output you get. >> >> > [root@ns3098622 tomcat]# bin/catalina.sh run > > Using CATALINA_BASE: /opt/openemm/tomcat > Using CATALINA_HOME: /opt/openemm/tomcat > Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp > Using JRE_HOME:"/opt/openemm/java" > Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar > bin/catalina.sh: line 305: > /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such file or directory > bin/catalina.sh: line 305: exec: > /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot execute: No such > file or directory > > thanks > But I do not understand what this error means and what I should do now best Franz
Re: Installing tomcat 6
On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas wrote: > On 04/02/2014 20:04, Franz wrote: > > > export JAVA_HOME="/opt/openemm/java" > > cd tomcat > > bin/startup.sh > > At this point use: > bin/catalina.sh run > > rather than > bin/startup.sh > > and report here what output you get. > > [root@ns3098622 tomcat]# bin/catalina.sh run Using CATALINA_BASE: /opt/openemm/tomcat Using CATALINA_HOME: /opt/openemm/tomcat Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp Using JRE_HOME:"/opt/openemm/java" Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar bin/catalina.sh: line 305: /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such file or directory bin/catalina.sh: line 305: exec: /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot execute: No such file or directory thanks franz
Re: Installing tomcat 6
On 04/02/2014 20:04, Franz wrote: > export JAVA_HOME="/opt/openemm/java" > cd tomcat > bin/startup.sh At this point use: bin/catalina.sh run rather than bin/startup.sh and report here what output you get. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Installing tomcat 6
Hi I am a very beginner trying to get a VPS working with Centos 6.5 and Tomcat 6.0.39. I already reinstalled the server 3 times and am almost desperate, so am even willing to pay someone who helps me. Tomcat 6 is required by openemm.org for a mailing lists and newsletters. And I am ready with a Creative Commons newsletter. Openemm.org provides an installation tutorial: http://sourceforge.net/projects/openemm/files/OpenEMM%20documentation/Documentation%20%28latest%20versions%29/OpenEMM-2013_InstallAdminGuide_1.1.pdf/download So I am following this tutorial that teaches how to install latest Java JDK7 first and Tomcat after as follows: Download the latest binary distribution of Tomcat release 6 from http://tomcat.apache.org. The core package is sufficient. The examples here use Tomcat 6.0.32 you should adapt them to the latest version of Tomcat 6 as needed: mkdir -p /opt/openemm cp apache-tomcat-6.0.32.tar.gz /opt/openemm cd /opt/openemm tar -xvzf apache-tomcat-6.0.32.tar.gz ln -s apache-tomcat-6.0.32 tomcat If you want to make sure that Tomcat works, enter the following commands: export JAVA_HOME="/opt/openemm/java" cd tomcat bin/startup.sh this command gives for me: [root@ns3098622 tomcat]# bin/startup.sh Using CATALINA_BASE: /opt/openemm/tomcat Using CATALINA_HOME: /opt/openemm/tomcat Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp Using JRE_HOME:"/opt/openemm/java" Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar [root@ns3098622 tomcat]# Then I am supposed to test it with http://localhost:8080 which in my case should be the address of my VPS I suppose: 94.23.44.200:8080 which is not reachable. Then the tutorial suggests to shutdown Tomcat with bin/shutdown.sh: [root@ns3098622 tomcat]# bin/shutdown.sh Using CATALINA_BASE: /opt/openemm/tomcat Using CATALINA_HOME: /opt/openemm/tomcat Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp Using JRE_HOME:"/opt/openemm/java" Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar /opt/openemm/tomcat/bin/catalina.sh: line 421: "/opt/openemm/java"/bin/java: No such file or directory So here I am getting an error, but am confused with this error. So please help me. If it is of any relevance the step before Tomcat was to install Java, that worked as expected from the tutorial: mkdir -p /opt/openemm cp jdk-7u25-linux-i586.tar.gz /opt/openemm cd /opt/openemm tar -xvzf jdk-7u25-linux-i586.tar.gz ln -s jdk1.7.0_25 java Then, to test the JDK: /opt/openemm/java/bin/java -version I get: java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode) So Java works as expected. best Franz
RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2
That worked fine, thanks. I had assumed it would be that simple, but the response I was getting here made me think it was more complicated than that. > -Original Message- > From: David Smith [mailto:[EMAIL PROTECTED] > Sent: Monday, January 28, 2008 7:07 AM > To: Tomcat Users List > Subject: Re: Problems installing Tomcat 6 along existing > Tomcat 5, and JAVA_HOME points to 1.4.2 > > You could edit the startup/shutdown scripts to locally define > a JAVA_HOME or JRE_HOME environment variable for the tomcat > instance only. It's not pretty, but it works :-). > > --David > > Karr, David wrote: > > >>-Original Message- > >>From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > >>Sent: Monday, January 28, 2008 4:56 AM > >>To: Tomcat Users List > >>Subject: RE: Problems installing Tomcat 6 along existing > Tomcat 5, and > >>JAVA_HOME points to 1.4.2 > >> > >> > >> > >>>From: Karr, David [mailto:[EMAIL PROTECTED] > >>>Subject: RE: Problems installing Tomcat 6 along existing > >>> > >>> > >>Tomcat 5, and > >> > >> > >>>JAVA_HOME points to 1.4.2 > >>> > >>>When I tried to run "tomcat6.exe" from the Tomcat6 zip file > >>> > >>> > >>Why are you trying to run tomcat6.exe? That's for use *only* when > >>Tomcat is installed as a service, which you claim you don't want. > >> > >> > >> > >>>So, how do I configure Tomcat 6 (and Tomcat 5, I guess) to use an > >>>alternative JVM besides JAVA_HOME? > >>> > >>> > >>You can't. The whole point of JAVA_HOME (or JRE_HOME) is to tell > >>Tomcat where to find the desired JVM installation. Fix your > >>environment variable. > >> > >> > > > >I cannot. This is just research. My current work requires > JDK 1.4.2. > >I find it hard to believe Tomcat is unable to be configured to allow > >this. > > > >- > >To start a new topic, e-mail: users@tomcat.apache.org To > unsubscribe, > >e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > To start a new topic, e-mail: users@tomcat.apache.org To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2
You could edit the startup/shutdown scripts to locally define a JAVA_HOME or JRE_HOME environment variable for the tomcat instance only. It's not pretty, but it works :-). --David Karr, David wrote: -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 4:56 AM To: Tomcat Users List Subject: RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2 From: Karr, David [mailto:[EMAIL PROTECTED] Subject: RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2 When I tried to run "tomcat6.exe" from the Tomcat6 zip file Why are you trying to run tomcat6.exe? That's for use *only* when Tomcat is installed as a service, which you claim you don't want. So, how do I configure Tomcat 6 (and Tomcat 5, I guess) to use an alternative JVM besides JAVA_HOME? You can't. The whole point of JAVA_HOME (or JRE_HOME) is to tell Tomcat where to find the desired JVM installation. Fix your environment variable. I cannot. This is just research. My current work requires JDK 1.4.2. I find it hard to believe Tomcat is unable to be configured to allow this. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2
> From: Karr, David [mailto:[EMAIL PROTECTED] > > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > > You can't. The whole point of JAVA_HOME (or JRE_HOME) is to > > tell Tomcat where to find the desired JVM installation. Fix > > your environment variable. > > I cannot. This is just research. My current work requires JDK 1.4.2. > I find it hard to believe Tomcat is unable to be configured to allow > this. You have the non-service version of Tomcat, since you don't want the service version. Therefore it's started from a script (shell script or batch file). You can do what you want within that script. Therefore you can set JAVA_HOME at the top of that script to a suitable JDK for Tomcat. Therefore you can do this just for Tomcat, without affecting your current work. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2
> -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: Monday, January 28, 2008 4:56 AM > To: Tomcat Users List > Subject: RE: Problems installing Tomcat 6 along existing > Tomcat 5, and JAVA_HOME points to 1.4.2 > > > From: Karr, David [mailto:[EMAIL PROTECTED] > > Subject: RE: Problems installing Tomcat 6 along existing > Tomcat 5, and > > JAVA_HOME points to 1.4.2 > > > > When I tried to run "tomcat6.exe" from the Tomcat6 zip file > > Why are you trying to run tomcat6.exe? That's for use *only* > when Tomcat is installed as a service, which you claim you don't want. > > > So, how do I configure Tomcat 6 (and Tomcat 5, I guess) to use an > > alternative JVM besides JAVA_HOME? > > You can't. The whole point of JAVA_HOME (or JRE_HOME) is to > tell Tomcat where to find the desired JVM installation. Fix > your environment variable. I cannot. This is just research. My current work requires JDK 1.4.2. I find it hard to believe Tomcat is unable to be configured to allow this. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2
> From: Karr, David [mailto:[EMAIL PROTECTED] > Subject: RE: Problems installing Tomcat 6 along existing > Tomcat 5, and JAVA_HOME points to 1.4.2 > > When I tried to run "tomcat6.exe" from the Tomcat6 zip file Why are you trying to run tomcat6.exe? That's for use *only* when Tomcat is installed as a service, which you claim you don't want. > So, how do I configure Tomcat 6 (and Tomcat 5, I guess) to use an > alternative JVM besides JAVA_HOME? You can't. The whole point of JAVA_HOME (or JRE_HOME) is to tell Tomcat where to find the desired JVM installation. Fix your environment variable. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2
Ok, so I redownloaded both Tomcat 5 and Tomcat 6. Tomcat 5 was working before, even though I had installed it from the service installer (and never using it as a service). After reinstalling it from the zip, it is still working just fine. When I tried to run "tomcat6.exe" from the Tomcat6 zip file, it failed exactly the same way the service installer did: [2008-01-27 19:51:03] [420 prunsrv.c] [error] The system cannot find the file specified. [2008-01-27 19:51:03] [1327 prunsrv.c] [error] Load configuration failed There are NO log files in the "logs" directory. When I try to run "startup.bat", it also appears to fail pretty quickly, but doing this makes it clear it's trying to use my JDK 1.4.2 JAVA_HOME, so perhaps that's why "tomcat6.exe" failed. So, how do I configure Tomcat 6 (and Tomcat 5, I guess) to use an alternative JVM besides JAVA_HOME? > -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 27, 2008 5:29 PM > To: Tomcat Users List > Subject: RE: Problems installing Tomcat 6 along existing > Tomcat 5, and JAVA_HOME points to 1.4.2 > > > From: Karr, David [mailto:[EMAIL PROTECTED] > > Subject: Problems installing Tomcat 6 along existing Tomcat 5, and > > JAVA_HOME points to 1.4.2 > > > > This is ironic, as I have no intention of using the Windows > service, I > > just used the installed because it's more convenient than the zip > > file. > > ??? How are you starting Tomcat, if you used the .exe > download? It can only be used to run Tomcat as a service, > unless you conjure up your own startup/shutdown scripts. > > You really do need to download the .zip versions, since they > come with the proper scripts, and only install Tomcat as a > service if you run the appropriate script. If you do choose > to run the service installation script, you may then specify > whatever display name you want for the service. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE > PROPRIETARY MATERIAL and is thus for use only by the intended > recipient. If you received this in error, please contact the > sender and delete the e-mail and its attachments from all computers. > > - > To start a new topic, e-mail: users@tomcat.apache.org To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2
> From: Karr, David [mailto:[EMAIL PROTECTED] > Subject: Problems installing Tomcat 6 along existing Tomcat > 5, and JAVA_HOME points to 1.4.2 > > This is ironic, as I have no intention of using the > Windows service, I just used the installed > because it's more convenient than the zip file. ??? How are you starting Tomcat, if you used the .exe download? It can only be used to run Tomcat as a service, unless you conjure up your own startup/shutdown scripts. You really do need to download the .zip versions, since they come with the proper scripts, and only install Tomcat as a service if you run the appropriate script. If you do choose to run the service installation script, you may then specify whatever display name you want for the service. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2
Due to constraints on my current work, my JAVA_HOME points to a JDK 1.4.2 distro. When I installed Tomcat 5.5.25, I pointed it to a Java 5 JDK that I have installed. It appears to be working relatively well. I wanted to try installing Tomcat 6, to take a look at JSF 1.2. When I installed it, I pointed it to the same JDK that I'm using for Tomcat 5. When I start it, it fails almost immediately. I believe it's failing because the Tomcat 5 installation used the same display name for the service that Tomcat 6 tries to use. This is ironic, as I have no intention of using the Windows service, I just used the installed because it's more convenient than the zip file. The console output is: [2008-01-27 17:13:10] [420 prunsrv.c] [error] The system cannot find the file specified. [2008-01-27 17:13:10] [1327 prunsrv.c] [error] Load configuration failed The "logs" directory only has "jakarta_service_20080127.log", which has: [2008-01-27 17:01:37] [info] Procrun (2.0.3.0) started [2008-01-27 17:01:37] [info] Service Tomcat6 name Apache Tomcat [2008-01-27 17:01:37] [420 service.c] [error] The name is already in use as either a service name or a service display name. [2008-01-27 17:01:37] [606 prunsrv.c] [error] Failed installing Tomcat6 service [2008-01-27 17:01:37] [info] Procrun finished. [2008-01-27 17:01:42] [info] Procrun (2.0.3.0) started [2008-01-27 17:01:42] [info] Service Tomcat6 name Apache Tomcat [2008-01-27 17:01:42] [420 service.c] [error] The name is already in use as either a service name or a service display name. [2008-01-27 17:01:42] [606 prunsrv.c] [error] Failed installing Tomcat6 service [2008-01-27 17:01:42] [info] Procrun finished. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem installing tomcat 6
Hi, Thank you it is working properly. On Oct 31, 2007 7:57 PM, Gabe Wong <[EMAIL PROTECTED]> wrote: > sunil chandran wrote: > > Hi , > > > > I tried your command > > > > > >> First which directory was jdk1.5.0_13 installed under? Assuming > >> /usr/java/jdk1.5.0_13, > >> execute the following command > >> export PATH=/usr/java/jdk1.5.0_13:$PATH > >> > > Have you verified the jdk1.5.0_13 directory by doing a ls? Also have you > added the JAVA_HOME environment code to the tomcat startup.sh script > as recommended in my previous message. With regards to the path setting, > a corrected update should look like: > > export PATH=/usr/java/jdk1.5.0_13/bin:$PATH > > > > > -- > Regards > > Gabe Wong > NGASI AppServer Manager > Application server installation and configuration AUTOMATION > for Tomcat, JBoss, and Jetty. > http://www.ngasi.com > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Sunil
Re: Problem installing tomcat 6
sunil chandran wrote: Hi , I tried your command First which directory was jdk1.5.0_13 installed under? Assuming /usr/java/jdk1.5.0_13, execute the following command export PATH=/usr/java/jdk1.5.0_13:$PATH Have you verified the jdk1.5.0_13 directory by doing a ls? Also have you added the JAVA_HOME environment code to the tomcat startup.sh script as recommended in my previous message. With regards to the path setting, a corrected update should look like: export PATH=/usr/java/jdk1.5.0_13/bin:$PATH -- Regards Gabe Wong NGASI AppServer Manager Application server installation and configuration AUTOMATION for Tomcat, JBoss, and Jetty. http://www.ngasi.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem installing tomcat 6
Hi , I tried your command >First which directory was jdk1.5.0_13 installed under? Assuming > /usr/java/jdk1.5.0_13, > execute the following command > export PATH=/usr/java/jdk1.5.0_13:$PATH it is still showing that the java version is 1.4. i think it is something to do with the rpm that i installed . I went for *JDK 5.0 Update 13 The Java SE Development Kit (JDK) includes: * the Java Runtime Environment (JRE) * command-line development tools, such as compilers and debuggers, that are necessary or useful for developing applets and applications* So is it because of this that am having some problem. I read some where that we need to install complete JDK 1.5 . Please help me forward. On Oct 31, 2007 7:21 PM, Gabe Wong <[EMAIL PROTECTED]> wrote: > sunil chandran wrote: > > Hi , > > > > I went for jdk5.0 . but still when i type : " java -version" it shows that > > > > java version "1.4.2_12" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03) > > Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode) > > > > why is it so. > > i went for jdk1.5.0_13-linux-i586.rpm > > > > please help me. > > > > First which directory was jdk1.5.0_13 installed under? Assuming > /usr/java/jdk1.5.0_13, > execute the following command > export PATH=/usr/java/jdk1.5.0_13:$PATH > > However I am assuming you are trying to get /usr/java/jdk1.5.0_13 for > Tomcat to run under. > So in the Tomcat startup.sh or catalina.sh script add the following > (towards the top part of the script) > export JAVA_HOME=/usr/java/jdk1.5.0_13 > > -- > Regards > > Gabe Wong > NGASI AppServer Manager > Application server installation and configuration AUTOMATION > for Tomcat, JBoss, and Jetty. > http://www.ngasi.com > > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Sunil
Re: Problem installing tomcat 6
sunil chandran wrote: Hi , I went for jdk5.0 . but still when i type : " java -version" it shows that java version "1.4.2_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03) Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode) why is it so. i went for jdk1.5.0_13-linux-i586.rpm please help me. First which directory was jdk1.5.0_13 installed under? Assuming /usr/java/jdk1.5.0_13, execute the following command export PATH=/usr/java/jdk1.5.0_13:$PATH However I am assuming you are trying to get /usr/java/jdk1.5.0_13 for Tomcat to run under. So in the Tomcat startup.sh or catalina.sh script add the following (towards the top part of the script) export JAVA_HOME=/usr/java/jdk1.5.0_13 -- Regards Gabe Wong NGASI AppServer Manager Application server installation and configuration AUTOMATION for Tomcat, JBoss, and Jetty. http://www.ngasi.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem installing tomcat 6
Hi , I went for jdk5.0 . but still when i type : " java -version" it shows that java version "1.4.2_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03) Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode) why is it so. i went for jdk1.5.0_13-linux-i586.rpm please help me. On Oct 29, 2007 10:14 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > sunil chandran wrote: > > Hi all, > > > > I have installed Tomcat 6 . but when i start the tomcat it gives the > > following error: > > > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > > org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0) > > Install JDK 5.0+ > > Mark > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Sunil - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem installing tomcat 6
sunil chandran wrote: > Hi all, > > I have installed Tomcat 6 . but when i start the tomcat it gives the > following error: > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0) Install JDK 5.0+ Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem installing tomcat 6
Hi all, I have installed Tomcat 6 . but when i start the tomcat it gives the following error: Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java :123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) Please help me forward to solve it -- Sunil