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 "Andreas Veithen (Updated) (JIRA)" <ax...@ws.apache.org> on 2012/01/11 12:27:39 UTC

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

     [ https://issues.apache.org/jira/browse/AXIS-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS-2662:
----------------------------------

    Fix Version/s:     (was: 1.0)
    
> 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
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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