{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/2296","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/2296/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/2296/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/2296/events","html_url":"https://github.com/payara/Payara/issues/2296","id":289923745,"number":2296,"title":"Payara 5 beta2 does not start with Java 9","user":{"login":"seldon3000","id":14801469,"avatar_url":"https://avatars0.githubusercontent.com/u/14801469?v=4","gravatar_id":"","url":"https://api.github.com/users/seldon3000","html_url":"https://github.com/seldon3000","followers_url":"https://api.github.com/users/seldon3000/followers","following_url":"https://api.github.com/users/seldon3000/following{/other_user}","gists_url":"https://api.github.com/users/seldon3000/gists{/gist_id}","starred_url":"https://api.github.com/users/seldon3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seldon3000/subscriptions","organizations_url":"https://api.github.com/users/seldon3000/orgs","repos_url":"https://api.github.com/users/seldon3000/repos","events_url":"https://api.github.com/users/seldon3000/events{/privacy}","received_events_url":"https://api.github.com/users/seldon3000/received_events","type":"User","site_admin":false},"labels":[{"id":354171724,"url":"https://api.github.com/repos/payara/Payara/labels/2:WithDev","name":"2:WithDev","color":"b60205","default":false},{"id":354171921,"url":"https://api.github.com/repos/payara/Payara/labels/c:Enhancement","name":"c:Enhancement","color":"bfd4f2","default":false},{"id":831069527,"url":"https://api.github.com/repos/payara/Payara/labels/v:JDK-9","name":"v:JDK-9","color":"c2e0c6","default":false},{"id":817183928,"url":"https://api.github.com/repos/payara/Payara/labels/v:Payara-5","name":"v:Payara-5","color":"fcc7ef","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-01-19T10:10:45Z","updated_at":"2018-04-17T12:32:03Z","closed_at":null,"author_association":"NONE","body":"# Description #\r\n---------------\r\n\r\nPayara 5 does not start with Java 9 on Ubuntu 17.10\r\n\r\n## Expected Outcome\r\n\r\nPayara 5 starts. \r\n\r\n<!-- If reporting a bug, give a detailed summary of the expected behavior the server and/or deployed applications SHOULD exhibit after executing the steps described below. If possible quote Java EE specification's sections or link to Glassfish or Payara's official documentation as evidence. -->\r\n\r\n<!-- If making an enhancement request, give a detailed explanation of how this new or updated feature should work -->\r\n\r\n## Current Outcome\r\n\r\nThe start ends immediately with the following error `-Xbootclasspath/p is no longer a supported option.`.\r\n\r\n<!-- If reporting a bug, give a detailed summary of the actual behavior the server and/or deployed applications exhibit after executing the steps described below. Please put emphasis on any unwanted results. -->\r\n\r\n<!-- If making an enhancement request, explain the drawbacks and disadvantages of the targeted feature (or lack of it) -->\r\n\r\n## Steps to reproduce (Only for bug reports) \r\n\r\n```\r\nbin/asadmin start-domain --debug payaradomain\r\nJVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with exit code 1.\r\nBefore it died, it produced the following output:\r\n\r\n-Xbootclasspath/p is no longer a supported option.\r\n\r\nCommand start-domain failed.\r\n```\r\n\r\nThe file `server.log` only contains the start command.\r\n\r\nThe server starts, if I replace `-Xbootclasspath/p` by `-Xbootclasspath/a` in the `domain.xml` of the payaradomain. Maybe this could fix this bug? Is it important to prepend to the bootstrap class path?\r\n\r\nAccording to [Java 9 Release notes](http://www.oracle.com/technetwork/java/javase/9-relnote-issues-3704069.html) the options `-Xbootclasspath` and `-Xbootclasspath/p` have been removed from Java 9.\r\n\r\n<!-- \r\n\r\nDescribe the test to reproduce the bug in a series of steps. Make each step simple to follow by describing configuration changes, commands to run or simple instructions; for example:\r\n\r\n1 -**  Start the domain\r\n\r\n    ./asadmin start-domain payaradomain\r\n\r\n2 -**  Configure an HTTP network listener in the admin console:\r\n\r\n[Attach screenshots of Payara's Server console, to illustrate]\r\n\r\n3 -**  Make changes to the domain.xml configuration:\r\n\r\n\t<java-config classpath-suffix=\"\" debug-options=\"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9009\" system-classpath=\"\">\r\n        <jvm-options>-XX:MaxPermSize=512m</jvm-options>\r\n        <jvm-options>-server</jvm-options>\r\n\t\t...\r\n\t</java-config>\r\n\r\n-->\r\n\r\n\r\n## Environment ##\r\n\r\n- **Payara Version**: payara-5.Beta2-20180118.004922-27\r\n- **Edition**: Full\r\n- **JDK Version**: Oracle JDK 9.0.4\r\n- **Operating System**: Ubuntu 17.10\r\n- **Database**: none\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/381975379","html_url":"https://github.com/payara/Payara/issues/2296#issuecomment-381975379","issue_url":"https://api.github.com/repos/payara/Payara/issues/2296","id":381975379,"user":{"login":"ratcashdev","id":2928922,"avatar_url":"https://avatars3.githubusercontent.com/u/2928922?v=4","gravatar_id":"","url":"https://api.github.com/users/ratcashdev","html_url":"https://github.com/ratcashdev","followers_url":"https://api.github.com/users/ratcashdev/followers","following_url":"https://api.github.com/users/ratcashdev/following{/other_user}","gists_url":"https://api.github.com/users/ratcashdev/gists{/gist_id}","starred_url":"https://api.github.com/users/ratcashdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratcashdev/subscriptions","organizations_url":"https://api.github.com/users/ratcashdev/orgs","repos_url":"https://api.github.com/users/ratcashdev/repos","events_url":"https://api.github.com/users/ratcashdev/events{/privacy}","received_events_url":"https://api.github.com/users/ratcashdev/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T12:32:03Z","updated_at":"2018-04-17T12:32:03Z","author_association":"CONTRIBUTOR","body":"@lprimak  Hi Lenny,\r\n> We are working on JDK-specific JVM options for the next release.\r\nHas this already been done? If not, and you wound't mind providing some guidance how to do it (e.g. 1 domain for JDK8, another for JDK9, or doing some JVM Options filtering in the Config) I may have some time to start working on it a do a PR."}}
{"actor":{"display_login":"ratcashdev"}}