[JBoss JIRA] (JBIDE-20292) Remove MaxPermSize from server scripts when Java 9 is used
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20292?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-20292:
---------------------------------------
It's true that the WildFly team don't seem to care about this themselves - their standalone script always puts the perm gen parameter there.
> Remove MaxPermSize from server scripts when Java 9 is used
> ----------------------------------------------------------
>
> Key: JBIDE-20292
> URL: https://issues.jboss.org/browse/JBIDE-20292
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: server
> Affects Versions: 4.3.0.Beta1
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Labels: Java9
>
> I'm not sure how easy this will be, but I think we need some way to do this.
> Right now when you set up your WildFly 9 to use JDK 9, it will not start because MaxPermSize is no longer allowed as an argument.
> The server will fail to start with this:
> {code}
> Unrecognized VM option 'MaxPermSize=256m'
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> {code}
> In JBIDE-19049 we concluded that for now the workaround is to remove that parameter from Launch config manually if needed. This still works, but it would be best if we could somehow detect which version of Java is to be used and adjust the script accordingly. I know it can be tricky, especially when you use an exec env with the server and not a specific JVM directly.
> One option would be to check for permgen support beforehand. But a problem I can see is that the exec env can change between server setup and server start, so we would need to check right before the start. Something like what they do here - via a script:
> https://answers.atlassian.com/questions/17903656/java-warning-ignoring-op...
> Maybe checking this at the time of server setup would still be better than nothing.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 11 months
[JBoss JIRA] (JBIDE-20264) Suggestion dialog is not updated correctly for ref elements
by Lucia Jelinkova (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20264?page=com.atlassian.jira.plugi... ]
Lucia Jelinkova commented on JBIDE-20264:
-----------------------------------------
I tried it today on nightly build and the behaviour was slightly different. In the last step, when I clicked the info button I was navigated again to the New Batch Artifact wizard.
I am attaching screencast to make things more clear.
I am also using Linux, Ubuntu 14.04.
> Suggestion dialog is not updated correctly for ref elements
> -----------------------------------------------------------
>
> Key: JBIDE-20264
> URL: https://issues.jboss.org/browse/JBIDE-20264
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: batch
> Affects Versions: 4.3.0.Beta2
> Reporter: Lucia Jelinkova
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.0.CR1
>
>
> In JBIDE-20005, there was added a new navigation feature from Properties to diagram. However, the suggestion box is not always updated correctly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 11 months
[JBoss JIRA] (JBIDE-20292) Remove MaxPermSize from server scripts when Java 9 is used
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20292?page=com.atlassian.jira.plugi... ]
Martin Malina updated JBIDE-20292:
----------------------------------
Labels: Java9 (was: )
> Remove MaxPermSize from server scripts when Java 9 is used
> ----------------------------------------------------------
>
> Key: JBIDE-20292
> URL: https://issues.jboss.org/browse/JBIDE-20292
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: server
> Affects Versions: 4.3.0.Beta1
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Labels: Java9
>
> I'm not sure how easy this will be, but I think we need some way to do this.
> Right now when you set up your WildFly 9 to use JDK 9, it will not start because MaxPermSize is no longer allowed as an argument.
> The server will fail to start with this:
> {code}
> Unrecognized VM option 'MaxPermSize=256m'
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> {code}
> In JBIDE-19049 we concluded that for now the workaround is to remove that parameter from Launch config manually if needed. This still works, but it would be best if we could somehow detect which version of Java is to be used and adjust the script accordingly. I know it can be tricky, especially when you use an exec env with the server and not a specific JVM directly.
> One option would be to check for permgen support beforehand. But a problem I can see is that the exec env can change between server setup and server start, so we would need to check right before the start. Something like what they do here - via a script:
> https://answers.atlassian.com/questions/17903656/java-warning-ignoring-op...
> Maybe checking this at the time of server setup would still be better than nothing.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 11 months