org.mortbay.jetty.Server

Apache's JIRA Issue Tracker | Amit Mittal | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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

    Apache's JIRA Issue Tracker | 1 decade ago | Amit Mittal
    org.mortbay.jetty.Server

    Root Cause Analysis

    1. org.mortbay.jetty.Server

      No message provided

      at org.mortbay.xml.XmlConfiguration.call()
    2. Jetty Server
      XmlConfiguration.main
      1. org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:548)
      2. org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:241)
      3. org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:203)
      4. org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:919)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. Jetty start jar
      Main.main
      1. org.mortbay.start.Main.invokeMain(Main.java:183)
      2. org.mortbay.start.Main.start(Main.java:497)
      3. org.mortbay.start.Main.main(Main.java:115)
      3 frames