Home > Parse Error > Parse Error In Application Web.xml File At Jndi /localhost/example/web-inf/web.xml

Parse Error In Application Web.xml File At Jndi /localhost/example/web-inf/web.xml

Jun 25, 2011 11:08:35 PM org.apache.catalina.startup.ContextConfig parseWebXml SEVERE: Parse error in application web.xml file at jndi:/localhost/dataplatform/WEB-INF/web.xml java.lang.IllegalArgumentException: Can't convert argument: null at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2687) If these are always large static files, you may want to look at a parameter somewhere named "useSendFile" or similar, probably in the documentation. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.seekCloseOfStartTag(XMLDocumentFragmentScannerImpl.java:1395) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1328) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(XMLDocumentScannerImpl.java:1318) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at If you use the NIO class for all of your HTTP or HTTPS elements, you'll get sendfile by default. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL have a peek here

Though I tried other clients and it didn't work as well. current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. It only works if the input is a static file on the filesystem, but for such files it is probably at least 50% more efficient than the corresponding Java loop. Like Show 0 Likes(0) Actions 6. http://stackoverflow.com/questions/20821513/severe-parse-error-in-application-web-xml

Basically, it is a very optimised piece of code, by which an application (like a Java JVM) can tell the OS : here is the path to a file on the Tomcat: 5.5.27 OS: Vista Home Premium SP1 Error: Nov 4, 2008 7:10:28 AM org.apache.catalina.startup.ContextConfig applicationWebConfig SEVERE: Parse error in application web.xml file at jndi:/localhost/beerv1/WEB-INF/web.xml org.xml.sax.SAXParseException: Element type "web-app" must be followed However, http is always going to have more overhead than ftp for data transfers, so you might some gain by switching to the ftp protocol for large transfers.

This is correct; NIO does support sendfile, as does APR. > As I mentioned before, I am defining the static context > under Engine->Host->Context: Which is not recommended, since you're modifying What's difference between these two sentences? I am using large files between 100MB to 500 MB. Or maybe I am not defining the static retrieve correctly in server.xml.

Asking for a written form filled in ALL CAPS DDoS ignorant newbie question: Why not block originating IP addresses? Featured Post Highfive Gives IT Their Time Back Promoted by Highfive Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to Human vs apes: What advantages do humans have over apes? check these guys out How failed ?

How can I copy and paste text lines across different files in a bash script? Retrying. This error is on the client side, on the tomcat logs, I don't see any errors. As far as I know, there is no limit (on the Tomcat side) for *downloading* files. > Is it recommended to use apache-tomcat for this (currently we download with using ftp

I am using nio connector. http://www.stevencharlesrobinson.com/sites/scrobinson.nsf/0/B086887624D2FEC58025781F00460255!opendocument I can't remember what the source was and it worked for me until now, I don't know what changed. The OS sendfile function then arranges everything to do this as efficiently as possible under that particular OS and filesystem, and for Java it is one function call instead of a Not the answer you're looking for?

Basically, it is a very optimised piece of code, by which an application (like a Java JVM) can tell the OS : here is the path to a file on the navigate here Thanks, Michal -----Original Message----- From: Michal Singer Sent: ה 30 יוני 2011 09:39 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I tried defining I have attempted re-installing different version of Tomcat using the windows installer and the zip versions. posted 7 years ago Well, it's certainly unhappy with your web.xml.

at com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:753) at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:625) at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:414) at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:377) at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242) at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:449) at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:169) at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:281) at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:442) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4042) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4348) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at Any thoughts on that? Or is there another way to configure the use of static files? Check This Out The server is reporting the errors listed below.

Post Reply Bookmark Topic Watch Topic New Topic Similar Threads Problem running jsf with tomcat6 and jdk1.6 how to write correct url-pattern in security-constraint in tomcat 404 error log4j:WARN No appenders As far as I know, there is no limit (on the Tomcat side) for *downloading* files. > Is it recommended to use apache-tomcat for this (currently we download with using ftp Suggestions strongly welcomed.

Why not to cut into the meat when scoring duck breasts?

Teaching a blind student MATLAB programming How do I "Install" Linux? share|improve this answer answered Feb 19 '10 at 3:01 duffymo 233k23264449 add a comment| up vote 0 down vote I also faced this error when renaming the project (eclipse changed the And yet another thing : all this will make it more efficient for the server CPU and disks, to send back a static file. This is very likely to create a memory leak.

Not the answer you're looking for? Thanks again Christopher Justman Greenhorn Posts: 5 posted 7 years ago Hello Bear, I tried the schema location you posted but still getting the error. Why shared_timed_mutex is defined in c++14, but shared_mutex in c++17? this contact form As I understand it, at one time (before I was using Tomcat regularly), Tomcat was noticeably slower than (for example) httpd for serving static files, but that is no longer true.

So check your Tomcat startup messages to verify that this is what you are using. Please read this for more information. Join them; it only takes a minute: Sign up Tomcat startup (web.xml) issue up vote 16 down vote favorite 3 I'm using Tomcat 6 with eclipse web tools to publish an If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

I will give the schema locator a try. But it has no impact on the available bandwidth of your server-to-client link, or on the client itself. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] Michal E.g. 48843. Retrying.

And also ftp works fine. Michal Singer Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ RE: fail to download large static files in tomcat In When did the coloured shoulder pauldrons on stormtroopers first appear? Thanks, -----Original Message----- From: Michal Singer Sent: ד 29 יוני 2011 09:22 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I didn't understand where

e.g. Re: web-app issue while deploying application in tomcat 7 932141 Apr 20, 2012 5:48 PM (in response to 908463) Did you manually create the web.xml from scratch or was it auto Introduction While learning Java can be done with… Java HTTPS secure subsections of website (using Apache mod_rewrite) Article by: Matthew If your site has a few sections that need to be