help with tomcat sydeo plugin on Eclipse on Linux [message #37958] |
Sat, 19 March 2005 11:30 |
Eclipse User |
|
|
|
Originally posted by: javcerty.yahoo.com
Hello all,
I need some help configuring Sysdeo Tomcat Plugin with Eclipse on Red Hat
Linux platform.
I have installed Tomcat as root.
I have installed Eclipse in my home folder as myself (non-root)
I have also installed Eclipse Sysdeo Plugin to be able to start stop
Tomcat from within eclipse itself.
When I start Eclipse - as a non-root user, I am unable to start stop
Tomcat using the plugin. It is beacuse it is confused about the
permissions and tomcat can start only as root.
I have installed Tomcat as root at the following place:-
Using CATALINA_BASE: /opt/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /opt/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_07
When I(non-root) start eclipse and then try to start tomcat from witin
eclipse, I get the following error
(I think it is beacuse I cannot start Tomcat as non-root)
Can't load server.xml
Can't load server.xml
Mar 11, 2005 10:55:37 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 87)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:42 5)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:619 )
at org.apache.catalina.startup.Catalina.start(Catalina.java:579 )
... 6 more
My question is :-
How do I configue eclipse to be able to start stop Tomcat when I am logged
on as non-root?
Do I need to configue something in eclipse?
Any suggestions about how does everyone get arounnd this problem will be a
big help to me.
Thanks much in advance!
|
|
|
Powered by
FUDForum. Page generated in 0.09507 seconds