{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-functions-java-worker/issues/165","repository_url":"https://api.github.com/repos/Azure/azure-functions-java-worker","labels_url":"https://api.github.com/repos/Azure/azure-functions-java-worker/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-functions-java-worker/issues/165/comments","events_url":"https://api.github.com/repos/Azure/azure-functions-java-worker/issues/165/events","html_url":"https://github.com/Azure/azure-functions-java-worker/issues/165","id":355937089,"node_id":"MDU6SXNzdWUzNTU5MzcwODk=","number":165,"title":"Can not create two functions under same function app.","user":{"login":"SilicusShraddha","id":36947393,"node_id":"MDQ6VXNlcjM2OTQ3Mzkz","avatar_url":"https://avatars1.githubusercontent.com/u/36947393?v=4","gravatar_id":"","url":"https://api.github.com/users/SilicusShraddha","html_url":"https://github.com/SilicusShraddha","followers_url":"https://api.github.com/users/SilicusShraddha/followers","following_url":"https://api.github.com/users/SilicusShraddha/following{/other_user}","gists_url":"https://api.github.com/users/SilicusShraddha/gists{/gist_id}","starred_url":"https://api.github.com/users/SilicusShraddha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilicusShraddha/subscriptions","organizations_url":"https://api.github.com/users/SilicusShraddha/orgs","repos_url":"https://api.github.com/users/SilicusShraddha/repos","events_url":"https://api.github.com/users/SilicusShraddha/events{/privacy}","received_events_url":"https://api.github.com/users/SilicusShraddha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-31T11:04:45Z","updated_at":"2018-09-04T13:03:11Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nWith the release of new version -- [**Azure Functions V2 (2.0.12050-alpha)**](https://github.com/Azure/app-service-announcements/issues/132)\r\nthere seems to be breaking changes and the java code remain backward incompatible.\r\n\r\n#### Investigative information\r\n- Timestamp: 2018-08-31T10:52:43.221Z\r\n- Invocation ID: 574e43788fea474a892fad937d79468d\r\n\r\n**Problem 1 ::** With earlier azure functions, 2.x, I was able to create two functions under a single function app.\r\nEx. Function App (Ex. Calculator)\r\n              --> Function 1 (Add)\r\n              --> Function 2 (Subtract)\r\nBut now with the latest version, unable to deploy more than one function under same function app.\r\n\r\n**Problem 2 ::** Continuously getting -- 500 error code in postman, where as logs shows--\r\n\r\nLogs -- Starting language worker process:D:\\Program Files\\Java\\zulu8.23.0.3-jdk8.0.144-win_x64\\bin\\java  -jar \"D:\\Program Files (x86)\\SiteExtensions\\Functions\\2.0.12050-alpha\\32bit\\workers\\java\\azure-functions-java-worker.jar\" --host 127.0.0.1 --port 50864 --workerId b37ac37e-4a41-413d-8353-6f4a1fc1f89b --requestId f466bbbe-567e-4950-9f2b-0db88cea54e7 --grpcMaxMessageLength 33554432\r\nError: Failed to start language worker process for: java. D:\\Program Files\\Java\\zulu8.23.0.3-jdk8.0.144-win_x64\\bin\\java exited with code -1 . \r\n\r\nPlease help.\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-functions-java-worker/issues/comments/418358679","html_url":"https://github.com/Azure/azure-functions-java-worker/issues/165#issuecomment-418358679","issue_url":"https://api.github.com/repos/Azure/azure-functions-java-worker/issues/165","id":418358679,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODM1ODY3OQ==","user":{"login":"SilicusShraddha","id":36947393,"node_id":"MDQ6VXNlcjM2OTQ3Mzkz","avatar_url":"https://avatars1.githubusercontent.com/u/36947393?v=4","gravatar_id":"","url":"https://api.github.com/users/SilicusShraddha","html_url":"https://github.com/SilicusShraddha","followers_url":"https://api.github.com/users/SilicusShraddha/followers","following_url":"https://api.github.com/users/SilicusShraddha/following{/other_user}","gists_url":"https://api.github.com/users/SilicusShraddha/gists{/gist_id}","starred_url":"https://api.github.com/users/SilicusShraddha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilicusShraddha/subscriptions","organizations_url":"https://api.github.com/users/SilicusShraddha/orgs","repos_url":"https://api.github.com/users/SilicusShraddha/repos","events_url":"https://api.github.com/users/SilicusShraddha/events{/privacy}","received_events_url":"https://api.github.com/users/SilicusShraddha/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T13:03:11Z","updated_at":"2018-09-04T13:03:11Z","author_association":"NONE","body":"@gcsuk , I am trying to deploy JAVA azure functions, could you please help me with the step wise doc, what all needs to be done in order to run it successfully?\r\n\r\nCoz, i am facing issues with both of the versions of FUNCTIONS_EXTENSION_VERSION  to \"2.0.11961-alpha\" and \"beta\". Getting error \r\n**[Error] Language Worker Process exited.\r\nError: Failed to start language worker process for: java. D:\\Program Files\\Java\\zulu8.23.0.3-jdk8.0.144-win_x64\\bin\\java exited with code -1 .**"}}
{"actor":{"display_login":"SilicusShraddha"}}