Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Tinycore
is here 12/1/2008!
Welcome
visitors.
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Extensions
»
TCE Q&A Forum
»
how to start up tomcat on boot??
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: how to start up tomcat on boot?? (Read 3430 times)
inanepolo
Newbie
Posts: 3
how to start up tomcat on boot??
«
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??
«
Last Edit: March 03, 2011, 10:36:58 PM by inanepolo
»
Logged
tinypoodle
Hero Member
Posts: 3857
Re: how to start up tomcat on boot??
«
Reply #1 on:
March 03, 2011, 10:11:50 PM »
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
Logged
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)
inanepolo
Newbie
Posts: 3
Re: how to start up tomcat on boot??
«
Reply #2 on:
March 03, 2011, 10:38:29 PM »
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
Logged
gutmensch
Retired Admins
Hero Member
Posts: 605
I can make it disappear, have no fear!
Re: how to start up tomcat on boot??
«
Reply #3 on:
March 04, 2011, 03:36:44 AM »
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.
Logged
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)
inanepolo
Newbie
Posts: 3
Re: how to start up tomcat on boot??
«
Reply #4 on:
March 08, 2011, 05:54:05 AM »
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Extensions
»
TCE Q&A Forum
»
how to start up tomcat on boot??