Ubuntu 9.10 啟動 tomcat6 - Linux
By Frederic
at 2010-02-18T22:01
at 2010-02-18T22:01
Table of Contents
以下是錯誤訊息:
$ sudo ./startup.sh
Using CATALINA_BASE: /usr/share/tomcat6
Using CATALINA_HOME: /usr/share/tomcat6
Using CATALINA_TMPDIR: /usr/share/tomcat6/temp
Using JRE_HOME: /usr
$ sudo ./shutdown.sh
Using CATALINA_BASE: /usr/share/tomcat6
Using CATALINA_HOME: /usr/share/tomcat6
Using CATALINA_TMPDIR: /usr/share/tomcat6/temp
Using JRE_HOME: /usr
2010/2/18 下午 09:58:29 org.apache.catalina.startup.Catalina stopServer
嚴重的: Catalina.stop:
java.io.FileNotFoundException: /usr/share/tomcat6/conf/server.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:407)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
$ echo $JRE_HOME
/usr/lib/jvm/java-6-sun/jre
不知道為什麼Using JRE_HOME那裡都跳不出我設的路徑,而都是/usr,
但是不用sudo時顯示路徑是正常的。
第一次裝,所以上來請教一下大家,謝謝^^
--
Tags:
Linux
All Comments
By Doris
at 2010-02-23T08:23
at 2010-02-23T08:23
By Jake
at 2010-02-25T09:03
at 2010-02-25T09:03
By Ophelia
at 2010-02-28T13:50
at 2010-02-28T13:50
By Lily
at 2010-03-04T22:05
at 2010-03-04T22:05
Related Posts
請問 Ubuntu 安裝出現 no syncing 而失敗
By Olive
at 2010-02-18T20:47
at 2010-02-18T20:47
下載最新的kernel跟自己的kernel header不同版本
By Tom
at 2010-02-18T15:39
at 2010-02-18T15:39
yum 問題
By Charlotte
at 2010-02-17T23:36
at 2010-02-17T23:36
yum 問題
By Tracy
at 2010-02-17T22:01
at 2010-02-17T22:01
debian squeeze 何時到?
By Carolina Franco
at 2010-02-17T15:55
at 2010-02-17T15:55