Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: inanepolo on March 03, 2011, 09:01:39 PM
-
I copyed tomcat6 to /mnt/sda1/tce/optional/tomcat6/
In Terminal,i can start tomcat use startup.sh(tc:staff)
but, I can't startup in /opt/bootlocal.sh(root:staff)
/mnt/sda1/tce/optional/tomcat6/bin/startup.sh
WHY??
-
Copied what exactly and from where?
Generally speaking, IMHO it seems like not to be a good idea to place anything not directly related to extensions and the tools shipped to manage those into /tce/optional
-
I copyed tomcat6 to /mnt/sda1/tomcat/
In Terminal,i can start tomcat use startup.sh(root:staff)
but, I can't startup in /opt/bootlocal.sh(root:staff)
/mnt/sda1/tomcat/bin/startup.sh
-
it's possible that the startup scripts of tomcat aren't running when called absolutely from anywhere. another thing are environment variables, be sure to set export CATALINA_HOME=/mnt/sda1/tce/optional/tomcat6 in bootlocal.sh and JAVA_HOME to your java home dir. if everything fails then cd in bootlocal.sh to your tomcat home dir first and start startup.sh from there.
-
haha.it's OK.
I set export CATALINA_HOME=/mnt/sda1/tce/optional/tomcat6 in bootlocal.sh and JAVA_HOME to my java home dir.