{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-intellij/issues/1912","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-intellij","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-intellij/issues/1912/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-intellij/issues/1912/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-intellij/issues/1912/events","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/1912","id":297417667,"number":1912,"title":"How to package multiple services into a single WAR file?","user":{"login":"JohannBlake","id":12081246,"avatar_url":"https://avatars3.githubusercontent.com/u/12081246?v=4","gravatar_id":"","url":"https://api.github.com/users/JohannBlake","html_url":"https://github.com/JohannBlake","followers_url":"https://api.github.com/users/JohannBlake/followers","following_url":"https://api.github.com/users/JohannBlake/following{/other_user}","gists_url":"https://api.github.com/users/JohannBlake/gists{/gist_id}","starred_url":"https://api.github.com/users/JohannBlake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohannBlake/subscriptions","organizations_url":"https://api.github.com/users/JohannBlake/orgs","repos_url":"https://api.github.com/users/JohannBlake/repos","events_url":"https://api.github.com/users/JohannBlake/events{/privacy}","received_events_url":"https://api.github.com/users/JohannBlake/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-15T11:46:57Z","updated_at":"2018-02-15T20:09:46Z","closed_at":"2018-02-15T14:12:47Z","author_association":"NONE","body":"In Google App Engine (GAE) Standard, you can package multiple services into a single exploded EAR file but only if your app is running under Java 7. This does not work for Java 8:\r\n\r\n> An App Engine application that uses services is organized as an\r\n> unpacked Java Enterprise Archive (EAR) directory structure. The\r\n> top-level EAR directory contains a single META-INF subdirectory, and a\r\n> separate directory for each service in the app. Note that EAR is\r\n> supported for the Java 7 runtime only, not for the Java 8 runtime.\r\n\r\nI couldn't find anything in the GAE docs that indicates how you package multiple services into a single WAR file.\r\n\r\n[https://cloud.google.com/appengine/docs/standard/java/configuration-files][1]\r\n\r\nI realize that I can create a separate WAR file for each service but the local dev server supplied by Google for testing your app only accepts a single WAR file. I could run multiple instances of the dev server using different ports but that seems kind of messy.\r\n\r\n  [1]: https://cloud.google.com/appengine/docs/standard/java/configuration-files"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-intellij/issues/comments/366046702","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/1912#issuecomment-366046702","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-intellij/issues/1912","id":366046702,"user":{"login":"JohannBlake","id":12081246,"avatar_url":"https://avatars3.githubusercontent.com/u/12081246?v=4","gravatar_id":"","url":"https://api.github.com/users/JohannBlake","html_url":"https://github.com/JohannBlake","followers_url":"https://api.github.com/users/JohannBlake/followers","following_url":"https://api.github.com/users/JohannBlake/following{/other_user}","gists_url":"https://api.github.com/users/JohannBlake/gists{/gist_id}","starred_url":"https://api.github.com/users/JohannBlake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohannBlake/subscriptions","organizations_url":"https://api.github.com/users/JohannBlake/orgs","repos_url":"https://api.github.com/users/JohannBlake/repos","events_url":"https://api.github.com/users/JohannBlake/events{/privacy}","received_events_url":"https://api.github.com/users/JohannBlake/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T20:09:46Z","updated_at":"2018-02-15T20:09:46Z","author_association":"NONE","body":"A minor issue I came across testing the sample app you gave me the link to. When I open up the browser and navigate to the path:\r\n\r\n`http://localhost:49829/_ah/admin`\r\n\r\nand then click on the \"modules\" link, it generates an error:\r\n\r\n`java.lang.NullPointerException: null value in entry: version=null`\r\n\r\nDoes this happen on your machine? Am I not suppose to be expecting the two services to be listed?\r\n\r\nThanks.\r\n\r\n"}}
{"actor":{"display_login":"JohannBlake"}}