Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2653

How to deploy Axis on Jetty Server? Which variable will be set in Enviorment Variable? I have deploy Axis on Tomcat50-jwsdp & its working properly but plz help me to deploy it with JETTY SERVER.

    XMLWordPrintableJSON

Details

    Description

      I go through this URL : http://wiki.apache.org/ws/FrontPage/Axis/Install/Jetty & followed all steps but nothing happened,

      Got the error at the time of starting Jetty....

      Error:

      E:\Jetty\jetty-5.1.5rc0>java -jar -Xmx600m start.jar
      18:25:52.807 INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:109) >16> added org.mo
      rtbay.log.OutputStreamLogSink@1006d75
      18:25:52.541 INFO [main] org.mortbay.util.FileResource.<clinit>(FileResource.java:60) >1
      1> Checking Resource aliases
      18:25:54.026 INFO [main] org.mortbay.http.HttpServer.setStatsOn(HttpServer.java:1133) >1
      8> Statistics on = false for org.mortbay.jetty.Server@f7f540
      18:25:54.026 INFO [main] org.mortbay.http.HttpServer.doStart(HttpServer.java:729) >10> V
      ersion Jetty/5.1.5rc0
      18:25:54.744 WARN!! [main] org.mortbay.xml.XmlParser$Handler.error(XmlParser.java:371) >30
      > ERROR@null line:144 col:11 : org.xml.sax.SAXParseException: The content of element type
      "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filt
      er*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welc
      ome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,lo
      gin-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
      18:25:54.760 WARN!! [main] org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebAppl
      icationContext.java:521) >12> Configuration error on file:/E:/Jetty/jetty-5.1.5rc0/webapps
      /axis/
      org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,di
      splay-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,s
      ervlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,tagl
      ib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-
      entry*,ejb-ref*,ejb-local-ref*)".
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Sour
      ce)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
      .dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Sour
      ce)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at org.mortbay.xml.XmlParser.parse(XmlParser.java:216)
      at org.mortbay.xml.XmlParser.parse(XmlParser.java:234)
      at org.mortbay.jetty.servlet.XMLConfiguration.configureWebApp(XMLConfiguration.jav
      a:187)
      at org.mortbay.jetty.servlet.WebApplicationContext.configureWebApp(WebApplicationC
      ontext.java:425)
      at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.j
      ava:480)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.mortbay.jetty.Server.main(Server.java:439)
      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:151)
      at org.mortbay.start.Main.start(Main.java:476)
      at org.mortbay.start.Main.main(Main.java:94)

      18:25:55.447 INFO [main] org.mortbay.util.Container.start(Container.java:74) >15> Starte
      d org.mortbay.jetty.servlet.WebApplicationHandler@cf66b
      18:25:55.651 INFO [main] org.mortbay.util.Container.start(Container.java:74) >11> Starte
      d WebApplicationContext[/tyroo,/tyroo]
      18:25:55.838 INFO [main] org.mortbay.http.SocketListener.start(SocketListener.java:204)
      >11> Started SocketListener on 0.0.0.0:8080
      18:25:55.869 WARN!! [main] org.mortbay.jetty.Server.main(Server.java:444) >08> EXCEPTION
      org.mortbay.util.MultiException[org.xml.sax.SAXParseException: The content of element type
      "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,fil
      ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,wel
      come-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,l
      ogin-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".]
      at org.mortbay.http.HttpServer.doStart(HttpServer.java:731)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.mortbay.jetty.Server.main(Server.java:439)
      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:151)
      at org.mortbay.start.Main.start(Main.java:476)
      at org.mortbay.start.Main.main(Main.java:94)
      org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,di
      splay-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,s
      ervlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,tagl
      ib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-
      entry*,ejb-ref*,ejb-local-ref*)".
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Sour
      ce)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
      .dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Sour
      ce)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at org.mortbay.xml.XmlParser.parse(XmlParser.java:216)
      at org.mortbay.xml.XmlParser.parse(XmlParser.java:234)
      at org.mortbay.jetty.servlet.XMLConfiguration.configureWebApp(XMLConfiguration.jav
      a:187)
      at org.mortbay.jetty.servlet.WebApplicationContext.configureWebApp(WebApplicationC
      ontext.java:425)
      at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.j
      ava:480)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.mortbay.jetty.Server.main(Server.java:439)
      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:151)
      at org.mortbay.start.Main.start(Main.java:476)
      at org.mortbay.start.Main.main(Main.java:94)
      [0]=org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon
      ?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listene
      r*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,
      taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,
      env-entry*,ejb-ref*,ejb-local-ref*)".
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Sour
      ce)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
      .dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Sour
      ce)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at org.mortbay.xml.XmlParser.parse(XmlParser.java:216)
      at org.mortbay.xml.XmlParser.parse(XmlParser.java:234)
      at org.mortbay.jetty.servlet.XMLConfiguration.configureWebApp(XMLConfiguration.jav
      a:187)
      at org.mortbay.jetty.servlet.WebApplicationContext.configureWebApp(WebApplicationC
      ontext.java:425)
      at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.j
      ava:480)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.mortbay.jetty.Server.main(Server.java:439)
      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:151)
      at org.mortbay.start.Main.start(Main.java:476)
      at org.mortbay.start.Main.main(Main.java:94)

      Attachments

        Activity

          People

            Unassigned Unassigned
            foramitmittal Amit Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: