You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amit Mittal (JIRA)" <ax...@ws.apache.org> on 2007/05/11 12:53:15 UTC

[jira] Created: (AXIS-2662) Installing Axis on Jetty Server.

Installing Axis on Jetty Server.
--------------------------------

                 Key: AXIS-2662
                 URL: https://issues.apache.org/jira/browse/AXIS-2662
             Project: Axis
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: jetty-6.1.0, Axis 1.0, Servlet 2.5, JSP  2.1
            Reporter: Amit Mittal
             Fix For: 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org