Hi all,

I am trying to deploy a very simple app from my company environment
(with a proxy set up).
Each time I try to deploy I get the following error

!ENTRY org.eclipse.core.jobs 4 2 2009-09-24 16:51:21.630
!MESSAGE An internal error occurred during: "Deploying fcotest to
Google".
!STACK 0
com.google.apphosting.utils.config.AppEngineConfigException: Received
IOException parsing the input stream for E:/dev/fcotest/war\WEB-INF/
web.xml
        at
com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode
(AbstractConfigXmlReader.java:210)
        at com.google.apphosting.utils.config.AbstractConfigXmlReader.parse
(AbstractConfigXmlReader.java:228)
        at com.google.apphosting.utils.config.WebXmlReader.processXml
(WebXmlReader.java:141)
        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:72)
        at com.google.appengine.tools.admin.Application.<init>
(Application.java:91)
        at com.google.appengine.tools.admin.Application.readApplication
(Application.java:120)
        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:148)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.UnknownHostException: java.sun.com
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl
$DTDDispatcher.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


I googled for a couple of hours and what I got from it is :
because of my company proxy there is a problem when the dtd mentionned
in the first line of the web.xml

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>

is being used for validation.

So I guess I have 2 options, either I manage to disable validation
during deployment (more of a work arround than a solution) or I manage
to configure my env so that it uses my proxy settings. I am running
all that with the eclipse plugin on windows.
I tried a couple of things for both options but I still cannot have it
running
Is my understanding correct ?
can you help me ?


regards,

f.


--~--~---------~--~----~------------~-------~--~----~
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-java@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to