org.mortbay.jetty.Server

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hello Everybody, I go through the URL : http://wiki.apache.org/ws/FrontPage/Axis/Install/Jetty & followed these steps... --------------STEPS--------------- FrontPage/Axis/Install/Jetty Installation help for Axis on [WWW] Jetty Jetty is a small, pure-Java, open source HTTP server and servlet container. Note: Jetty is included in some distributions of JBoss. To install Axis under Jetty: * copy/move $AXIS_HOME/webapps/axis to $JETTY_HOME/webapps/axis * modify $JETTY_HOME/etc/jetty.xml to reflect the new webapp. You need to add the following: <Call name="addWebApplications"> <Arg>/axis/*</Arg> <Arg><SystemProperty name="jetty.home" default="."/>/webapps/axis</Arg> </Call> * copy xerces.jar to $JETTY_HOME/ext * copy activation.jar (from Sun's Javabeans Activation Framework) to $JETTY_HOME/ext * delete $JETTY_HOME/ext/crimson.jar (or rename to *.notused) * copy xml-apis.jar to $JETTY_HOME/ext * add $JAVA_HOME/lib/tools.jar from the JDK to the Jetty classpath (modify your startup script) My Jetty startup command under Windows is: java -D"jetty.class.path=%JAVA_HOME%\lib\tools.jar" -D"jetty.home=%JETTY_HOME%" -jar "%JETTY_HOME%\start.jar" "%JETTY_HOME%\etc\jetty.xml" or java -jar start.jar. --------------ERROR--------------- But this command throw exception..... E:\Jetty\jetty-6.1.0>java -jar start.jar 2007-05-11 15:42:03.812::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2007-05-11 15:42:03.968::WARN: Config error at <Call name="addWebApplication"><Arg>/</Arg><Arg >./webapps/axis</Arg></Call> 2007-05-11 15:42:03.968::WARN: EXCEPTION java.lang.IllegalStateException: No Method: <Call name="addWebApplication"><Arg>/</Arg><Arg>./w ebapps/axis</Arg></Call> on class org.mortbay.jetty.Server at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:548) at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:241) at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:203) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:919) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mortbay.start.Main.invokeMain(Main.java:183) at org.mortbay.start.Main.start(Main.java:497) at org.mortbay.start.Main.main(Main.java:115) & Jetty Server does not start. But If I do not change in jetty.xml file then Jetty server starts but axis does not work yet. Thanks in Advance Amit Mittal
    via by Amit Mittal,
  • Configuring datsource in Jetty
    via by 843841,
    • org.mortbay.jetty.Server at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:548) at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:241) at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:203) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:919) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mortbay.start.Main.invokeMain(Main.java:183) at org.mortbay.start.Main.start(Main.java:497) at org.mortbay.start.Main.main(Main.java:115)
    No Bugmate found.