[JBoss JIRA] (ISPN-11538) Always launch the server process in the background
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11538?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11538:
--------------------------------
Status: Open (was: New)
> Always launch the server process in the background
> --------------------------------------------------
>
> Key: ISPN-11538
> URL: https://issues.redhat.com/browse/ISPN-11538
> Project: Infinispan
> Issue Type: Enhancement
> Components: Server
> Affects Versions: 11.0.0.Dev03
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.
> As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst removing one other knob from the configuration.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months
[JBoss JIRA] (ISPN-11538) Always launch the server process in the background
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11538?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11538:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8109
> Always launch the server process in the background
> --------------------------------------------------
>
> Key: ISPN-11538
> URL: https://issues.redhat.com/browse/ISPN-11538
> Project: Infinispan
> Issue Type: Enhancement
> Components: Server
> Affects Versions: 11.0.0.Dev03
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.
> As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst removing one other knob from the configuration.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months
[JBoss JIRA] (ISPN-11538) Always launch the server process in the background
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11538?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11538:
--------------------------------
Description:
Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.
As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst removing one other knob from the configuration.
was:
Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.
As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst providing one other knob from the configuration.
> Always launch the server process in the background
> --------------------------------------------------
>
> Key: ISPN-11538
> URL: https://issues.redhat.com/browse/ISPN-11538
> Project: Infinispan
> Issue Type: Enhancement
> Components: Server
> Affects Versions: 11.0.0.Dev03
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.
> As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst removing one other knob from the configuration.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months
[JBoss JIRA] (ISPN-11538) Always launch the server process in the background
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-11538:
-----------------------------------
Summary: Always launch the server process in the background
Key: ISPN-11538
URL: https://issues.redhat.com/browse/ISPN-11538
Project: Infinispan
Issue Type: Enhancement
Components: Server
Affects Versions: 11.0.0.Dev03
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 11.0.0.Dev04
Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.
As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst providing one other knob from the configuration.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months
[JBoss JIRA] (IPROTO-88) Replace usages of javassist.CtClass.toClass() with javassist.CtClass.toClass(java.lang.Class) for JDK 11 compatibility
by Nistor Adrian (Jira)
[ https://issues.redhat.com/browse/IPROTO-88?page=com.atlassian.jira.plugin... ]
Nistor Adrian commented on IPROTO-88:
-------------------------------------
XClass.asClass() method is deprecated since day one unfortunately. Normally, that method should have existed only in the ReflectionClass implementation and users of XClass should have used downcasting, also there should have been only like 1-2 such usages, but for whatever reason I cannot remember now why it got into the XClass interface. I'll try to re-examine the option of moving it down to ReflectionClass rather than keeping it deprecated. And I'll get back today to your PR [~johnou] , after some unexpected PTO :). Thanks for your contribution and your patience!
> Replace usages of javassist.CtClass.toClass() with javassist.CtClass.toClass(java.lang.Class) for JDK 11 compatibility
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: IPROTO-88
> URL: https://issues.redhat.com/browse/IPROTO-88
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 4.3.3.Final
>
>
> The javadoc of javassist.CtClass.toClass() explains why.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months