Make sure you don't have any spaces/whitespace or other characters before the intial:
<?xml version="1.0" encoding="utf-8"?> in your web.xml. It must be the very first character sequence. Stephen On Thu, Oct 28, 2010 at 9:16 AM, Jon ortiga <[email protected]> wrote: > Hello! > > I have a problem and after a lot of hours i am so desperate that i > dont know what to do. I tried to make a new project and copying all > the jsp files and the java files. It works but just in local. > > I am developing one application and it works perfect in my local > server, but when i try to update it i receive this error. I dont know > whats going on with the web.xml file. > > Does anybody know how to solve this problem? > > Thanks in advance! > > Unable to update app: Received SAXException parsing the input stream > for /var/folders/i7/i7yNOv4gH3GG+8XCbK3EXU+++TI/-Tmp-/ > appcfg6358534425950730795.tmp/WEB-INF/web.xml > > See the deployment console for more details > > > com.google.appengine.tools.admin.AdminException: Unable to update app: > Received SAXException parsing the input stream for /var/folders/i7/ > i7yNOv4gH3GG+8XCbK3EXU+++TI/-Tmp-/appcfg6358534425950730795.tmp/WEB- > INF/web.xml > at > com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: > 62) > at > > com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java: > 271) > at > > com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java: > 145) > at > > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: > 38) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) > Caused by: > com.google.apphosting.utils.config.AppEngineConfigException: Received > SAXException parsing the input stream for /var/folders/i7/i7yNOv4gH3GG > +8XCbK3EXU+++TI/-Tmp-/appcfg6358534425950730795.tmp/WEB-INF/web.xml > at > > com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java: > 214) > at > > com.google.apphosting.utils.config.AbstractConfigXmlReader.parse(AbstractConfigXmlReader.java: > 228) > at > > com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java: > 142) > at > > com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java: > 22) > at > > com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(AbstractConfigXmlReader.java: > 111) > at > > com.google.apphosting.utils.config.WebXmlReader.readWebXml(WebXmlReader.java: > 73) > at > com.google.appengine.tools.admin.Application.compileJsps(Application.java: > 418) > at > > com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java: > 291) > at > com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: > 54) > ... 4 more > Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: > Invalid byte 1 of 1-byte UTF-8 sequence. > at > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown > Source) > at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(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.XMLDocumentFragmentScannerImpl > $FragmentContentDispatcher.dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) > at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) > at org.mortbay.xml.XmlParser.parse(XmlParser.java:230) > at > > com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java: > 206) > ... 12 more > Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: > Invalid byte 1 of 1-byte UTF-8 sequence. > at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) > at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown > Source) > ... 22 more > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
