I am trying to build an elasticsearch service on top of Managed VM
environment. For elastic search, there are two ports which should be open,
including 9200 and 9300. I have the following network configuration in
appengine-web.xml:
<network>
<forwarded-port>9200</forwarded-port>
<forwarded-port>9300</forwarded-port>
<instance-tag>"test"</instance-tag>
<name>"default"</name>
</network>
I always get this error:
Bad configuration: XML error validating
/Users/jun.xie/Projects/gmanagedvm/java/elastic-search/target/guestbook-stage2-1.0-SNAPSHOT/WEB-INF/appengine-web.xml
against
/Users/jun.xie/.m2/repository/com/google/appengine/appengine-java-sdk/1.9.20/appengine-java-sdk/appengine-java-sdk-1.9.20/docs/appengine-web.xsd
Caused by: cvc-complex-type.2.4.a: Invalid content was found starting with
element 'forwarded-port'. One of
'{"http://appengine.google.com/ns/1.0":instance-tag,
"http://appengine.google.com/ns/1.0":name}' is expected.
If I delete one port line, for example, just have:
<network>
<forwarded-port>9200</forwarded-port>
<instance-tag>"test"</instance-tag>
<name>"default"</name>
</network>
I can deploy the application successfully (mvn cloud:deploy) and there is
no error.
It is very strange. Any thought?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/ad00340f-c607-4f50-aebb-b7b1fc13955a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.