• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

tomcat starten vom ecliupse aus

hello,

I verwende tomcat 5.5 mit suse 10.0 (linux), und jdk 1.6.0
CATALINA_HOME, JAVA_HOME sind definiert,
Wenn ich tomcat als root starte es funtzt
port 8080

Ich habe neue user mit erstellt ,dann dem user rechte vergeben um tomcat vom cammondo zeile zu starten "es funtzt auch"

aber wenn ich den tomcat vom eclipse aus starte (sesdo. plugin. )
man bekommt folgende Exception

Code:
In Catalina.out
Apr 17, 2006 6:03:26 PM org.apache.catalina.startup.Catalina load

WARNING: Can't load server.xml
 
Apr 1, 2006 6:03:26 PM org.apache.catalina.startup.Catalina load
 
WARNING: Can't load server.xml
 
Apr 1, 2006 6:03:26 PM 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(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NullPointerException
        at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
kan jemand mal mir helfen,


danke
 
Oben