Re: Changing the Tomcat 5.0 Directory installed in FreeBSD
ks.foong wrote: I have installed the Jakarta-tomcat5.0 into my FreeBSD machine. As my project required, I have to move the entire installed directory from /usr/local/Jakarta-tomcat5.0 to /Project/Tomcat folder I manage to perform the above operation. But when I go to: /Project/Tomcat/bin to issues the ./startup.sh command, I have this error : Cannot find /Project/Tomcat/bin/setclasspath.sh This file is needed to run this program But I see the file, setclasspath.sh located there, in /Project/Tomcat/bin folder. So, my question is: when I changing the directory of tomcat, any other setting that I have to do typically for tomcat? catalina.sh (which is started vom startup.sh) tries to source $CATALINA_HOME/bin/setclasspath.sh Maybe you have set the environment variable CATALINA_HOME to point to the old location (/usr/local/Jakarta-tomcat5.0). Unset CATALINA_HOME. Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
I have checked the /Project/Tomcat/bin/catalina.sh, it's using the $CATALINA_HOME as an environment variable and I have change/set in the .cshrc file, a file where it'll start loaded when I sign in to the FreeBSD system. I also perform an echo command, $CATALINA_HOME for me and its return /Project/Tomcat as expected. :) Any other environment setting I should set? Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 3:48 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: I have installed the Jakarta-tomcat5.0 into my FreeBSD machine. As my project required, I have to move the entire installed directory from /usr/local/Jakarta-tomcat5.0 to /Project/Tomcat folder I manage to perform the above operation. But when I go to: /Project/Tomcat/bin to issues the ./startup.sh command, I have this error : Cannot find /Project/Tomcat/bin/setclasspath.sh This file is needed to run this program But I see the file, setclasspath.sh located there, in /Project/Tomcat/bin folder. So, my question is: when I changing the directory of tomcat, any other setting that I have to do typically for tomcat? catalina.sh (which is started vom startup.sh) tries to source $CATALINA_HOME/bin/setclasspath.sh Maybe you have set the environment variable CATALINA_HOME to point to the old location (/usr/local/Jakarta-tomcat5.0). Unset CATALINA_HOME. Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
ks.foong wrote: I have checked the /Project/Tomcat/bin/catalina.sh, it's using the $CATALINA_HOME as an environment variable and I have change/set in the .cshrc file, a file where it'll start loaded when I sign in to the FreeBSD system. I also perform an echo command, $CATALINA_HOME for me and its return /Project/Tomcat as expected. :) Any other environment setting I should set? Is setclasspath.sh readable? Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
setclasspath.sh is in the directory of /Project/Tomcat/bin folder, same as startup.sh readable? I am not sure how to confirm is it readable or not but it's there in the same directory. Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:11 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: I have checked the /Project/Tomcat/bin/catalina.sh, it's using the $CATALINA_HOME as an environment variable and I have change/set in the .cshrc file, a file where it'll start loaded when I sign in to the FreeBSD system. I also perform an echo command, $CATALINA_HOME for me and its return /Project/Tomcat as expected. :) Any other environment setting I should set? Is setclasspath.sh readable? Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
The setclasspath.sh consist of this information, after I have issued ls -l -rwxr-xr-x for that file. So, it's reading and able to excute. Further more, I am issusing that command as root, and that file is owned by root. Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:19 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: setclasspath.sh is in the directory of /Project/Tomcat/bin folder, same as startup.sh readable? I am not sure how to confirm is it readable or not but it's there in the same directory. Look at the file permissions or simply open it in a text editor (as the same user you try to start Tomcat as, of course). Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
ks.foong wrote: The setclasspath.sh consist of this information, after I have issued ls -l -rwxr-xr-x for that file. So, it's reading and able to excute. Further more, I am issusing that command as root, and that file is owned by root. Then I'm out of ideas, sorry. Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
No problems. Hoping maybe others can give a hand on this...:-) Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:31 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: The setclasspath.sh consist of this information, after I have issued ls -l -rwxr-xr-x for that file. So, it's reading and able to excute. Further more, I am issusing that command as root, and that file is owned by root. Then I'm out of ideas, sorry. Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
can you try $catalina.sh start That should also be able to start your server. - Rajeev. ks.foong wrote: No problems. Hoping maybe others can give a hand on this...:-) Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:31 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: The setclasspath.sh consist of this information, after I have issued ls -l -rwxr-xr-x for that file. So, it's reading and able to excute. Further more, I am issusing that command as root, and that file is owned by root. Then I'm out of ideas, sorry. Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I missed the start of this thread... - - And the whole path is readable? ie: ls -l / ls -l /nextdir ls -l /nextdir/nextdir ? Andrew On 31/05/2006, at 10:38 AM, ks.foong wrote: No problems. Hoping maybe others can give a hand on this...:-) Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:31 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: The setclasspath.sh consist of this information, after I have issued ls -l -rwxr-xr-x for that file. So, it's reading and able to excute. Further more, I am issusing that command as root, and that file is owned by root. Then I'm out of ideas, sorry. Regards mks - 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] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEfVpOW126qUNSzvURAmx+AKCFNsDPfR2m7cpg4J1qucFZ8zzpAgCfZzBF NffMYiZfhXeSr30Wamhy868= =keNv -END PGP SIGNATURE- - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
Hi Rajeev, I am running in Tomcat5.0, I think for this version, the $catalina.sh start is no longer applicable. I have tried to issues this : /Project/Tomcat/bin/$catalina.sh start And it's replied me this: catalina :Undefined variable Andrew, you mentioned this : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I missed the start of this thread... - - And the whole path is readable? ie: ls -l / ls -l /nextdir ls -l /nextdir/nextdir ? Andrew What do you mean by that? The .startup.sh is within the directory of /Project/Tomcat/bin and there is no directory anymore within /Project/Tomcat/bin anymore. Foong Kim Seong -Original Message- From: Rajeev N. Jha [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:57 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD can you try $catalina.sh start That should also be able to start your server. - Rajeev. ks.foong wrote: No problems. Hoping maybe others can give a hand on this...:-) Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:31 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: The setclasspath.sh consist of this information, after I have issued ls -l -rwxr-xr-x for that file. So, it's reading and able to excute. Further more, I am issusing that command as root, and that file is owned by root. Then I'm out of ideas, sorry. Regards mks - 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] - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
Guys, I am installing the Tomcat in FreeBSD. And I am using this command, /usr/ports/www/Jakarta-tomcat5.0/make all install clean I am wondering is anyone familiar with FreeBSD and maybe I can instruct the installation to my /Project/Tomcat instead the default location which is /usr/local/Jakarta-tomcat5.0 Any ideas? Foong Kim Seong -Original Message- From: ks.foong [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:38 PM To: 'Tomcat Users List'; users@tomcat.apache.org Subject: RE: Changing the Tomcat 5.0 Directory installed in FreeBSD No problems. Hoping maybe others can give a hand on this...:-) Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:31 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: The setclasspath.sh consist of this information, after I have issued ls -l -rwxr-xr-x for that file. So, it's reading and able to excute. Further more, I am issusing that command as root, and that file is owned by root. Then I'm out of ideas, sorry. Regards mks - 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: Changing the Tomcat 5.0 Directory installed in FreeBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 echo $JAVA_HOME what does this return? cd /Project/Tomcat ./bin/startup.sh But no idea what is installed where on FreeBSD Why don't you just pull the package from Apache directly? Especially if you are not installing in the FreeBSD paths? Andrew On 31/05/2006, at 11:05 AM, ks.foong wrote: Guys, I am installing the Tomcat in FreeBSD. And I am using this command, /usr/ports/www/Jakarta-tomcat5.0/make all install clean I am wondering is anyone familiar with FreeBSD and maybe I can instruct the installation to my /Project/Tomcat instead the default location which is /usr/local/Jakarta-tomcat5.0 Any ideas? Foong Kim Seong -Original Message- From: ks.foong [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:38 PM To: 'Tomcat Users List'; users@tomcat.apache.org Subject: RE: Changing the Tomcat 5.0 Directory installed in FreeBSD No problems. Hoping maybe others can give a hand on this...:-) Foong Kim Seong -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:31 PM To: Tomcat Users List Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD ks.foong wrote: The setclasspath.sh consist of this information, after I have issued ls -l -rwxr-xr-x for that file. So, it's reading and able to excute. Further more, I am issusing that command as root, and that file is owned by root. Then I'm out of ideas, sorry. Regards mks - 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] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEfV2mW126qUNSzvURAqETAJ9gUlo/8+nwq5KlFR04Mo9KPzORrQCZAQzt Dmq6II8YZ2UoxNY/6eMvOMg= =GBJd -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]