axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (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.
Date Thu, 19 Apr 2007 21:58:15 GMT

    [ https://issues.apache.org/jira/browse/AXIS-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490183
] 

Glen Mazza commented on AXIS-2653:
----------------------------------

This is more a axis-user@ws.apache.org mailing list (or Jetty ML) question than a JIRA report.
 But from this:

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*)". 

I am guessing that you are using a Servlet 2.4 or 2.5 compliant web.xml file but your Jetty
is presently configured to accept only a 2.3 compliant file.  That, or (?) you have Tomcat-specific
structures in your web.xml.  Check around line 144 of your web.xml, as it states--if your
web.xml is *not* following the above content model, your app won't work.


> 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.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS-2653
>                 URL: https://issues.apache.org/jira/browse/AXIS-2653
>             Project: Axis
>          Issue Type: Task
>          Components: Basic Architecture, Deployment / Registries, Documentation, Samples,
WSDL processing
>    Affects Versions: 1.4
>         Environment: Window NT , Jetty Server-5.1.5rc0 , Axis 1.0 , 
>            Reporter: Amit Mittal
>             Fix For: 1.4
>
>
> 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)

-- 
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


Mime
View raw message