Can you post your XML file? On Wed, Jun 16, 2010 at 3:20 PM, Nick <lgfr...@gmail.com> wrote:
> Hi, > > What steps will reproduce the problem? > 1. On my local machine, > I have a text "ssma_stud.txt" under folder "WEB-INF/ > ssma_std.txt". > I read this text file, validate data. Its working fine. > > 2. After successful testing on local machine, > while deploying it using "Deploy App Enginer Project" , plug-in > on > eclipse, I got following error.... > > > What is the expected output? What do you see instead? > > Here is the error logs... > > com.google.apphosting.utils.config.AppEngineConfigException: XML error > validating C:\NC\Eclipse_Proj\LGDesign\war\WEB-INF\appengine-web.xml > against C:\eclipse_Galileo\plugins > \com.google.appengine.eclipse.sdkbundle. > 1.3.4_1.3.4.v201005212032\appengine-java-sdk-1.3.4\docs\appengine- > web.xsd > at > com.google.appengine.tools.admin.Application.validateXml(Application.java: > 336) > at > com.google.appengine.tools.admin.Application.<init>(Application.java: > 89) > at > > com.google.appengine.tools.admin.Application.readApplication(Application.java: > 127) > at > > com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.createAppAdmin(AppEngineBridgeImpl.java: > 204) > at > > com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java: > 265) > 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: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: > Invalid content was found starting with element 'system-properties'. > One of '{"http://appengine.google.com/ns/1.0":static-files, "http:// > appengine.google.com/ns/1.0":resource-files, "http:// > appengine.google.com/ns/1.0":env-variables, "http:// > appengine.google.com/ns/1.0":ssl-enabled, "http:// > appengine.google.com/ > ns/1.0":sessions-enabled, "http://appengine.google.com/ns/1.0":user- > permissions, "http://appengine.google.com/ns/1.0":public-root, > "http:// > appengine.google.com/ns/1.0":inbound-services, "http:// > appengine.google.com/ns/1.0":precompilation-enabled, "http:// > appengine.google.com/ns/1.0":admin-console}' is expected. > at > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java: > 195) > at > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java: > 131) > at > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java: > 384) > at > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java: > 318) > at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator > $XSIErrorReporter.reportError(XMLSchemaValidator.java:410) > at > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java: > 3165) > at > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java: > 1777) > at > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java: > 685) > at > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java: > 400) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747) > at > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java: > 648) > at > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java: > 140) > at > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: > 510) > at > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java: > 807) > at > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java: > 737) > at > > com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java: > 144) > at > > com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java: > 107) > at javax.xml.validation.Validator.validate(Validator.java:127) > at > com.google.appengine.tools.admin.Application.validateXml(Application.java: > 333) > ... 7 more > > > > > What version of the product are you using? On what operating system? > > - App Engine SDK-1.3.4, > - whereas same application was previously uploaded to > "websteeldes...@gmail.com "with SDK-1.3.2 ( older > application was without reading text file) > > > > Additional information: > Mr Ikai from google help me read text filem where he asked to move > text file from folder war to WEB-INF > (Re: [appengine-java] Need help on > java.security.AccessControlException: access denied) > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.