[JBoss JIRA] (WFLY-10504) -secmgr and SECMGR=true env property doesn't work for domain.ps1 script
by Marek Kopecký (JIRA)
[ https://issues.jboss.org/browse/WFLY-10504?page=com.atlassian.jira.plugin... ]
Marek Kopecký updated WFLY-10504:
---------------------------------
Description:
-secmgr and SECMGR=true env property doesn't work for domain.ps1 script
Steps to reproduce:
# start powershell
# .\domain.bat "-secmgr"
# WMIC PROCESS get Commandline | findstr java
# check that "-secmgr" property is present in PC or HC
# exit domain.bat
# .\domain.ps1 "-secmgr"
# WMIC PROCESS get Commandline | findstr java
# check that "-secmgr" property is *not* present in PC or HC
Secmgr can't be enabled also by $env:SECMGR = "true"
This issue is not about java-opts, but it is related with WFCORE-3830
was:
-secmgr and SECMGR=true env property doesn't work for domain.ps1 script
Steps to reproduce:
# start powershell
# .\domain.bat "-secmgr"
# WMIC PROCESS get Commandline | findstr java
# check that "-secmgr" property is present in PC or HC
# exit domain.bat
# .\domain.ps1 "-secmgr"
# WMIC PROCESS get Commandline | findstr java
# check that "secmgr" property is *not* present in PC or HC
This issue is not about java-opts, but it is related with WFCORE-3830
> -secmgr and SECMGR=true env property doesn't work for domain.ps1 script
> -----------------------------------------------------------------------
>
> Key: WFLY-10504
> URL: https://issues.jboss.org/browse/WFLY-10504
> Project: WildFly
> Issue Type: Bug
> Components: Scripts
> Reporter: Marek Kopecký
>
> -secmgr and SECMGR=true env property doesn't work for domain.ps1 script
> Steps to reproduce:
> # start powershell
> # .\domain.bat "-secmgr"
> # WMIC PROCESS get Commandline | findstr java
> # check that "-secmgr" property is present in PC or HC
> # exit domain.bat
> # .\domain.ps1 "-secmgr"
> # WMIC PROCESS get Commandline | findstr java
> # check that "-secmgr" property is *not* present in PC or HC
> Secmgr can't be enabled also by $env:SECMGR = "true"
> This issue is not about java-opts, but it is related with WFCORE-3830
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years
[JBoss JIRA] (WFLY-10504) -secmgr and SECMGR=true env property doesn't work for domain.ps1 script
by Marek Kopecký (JIRA)
[ https://issues.jboss.org/browse/WFLY-10504?page=com.atlassian.jira.plugin... ]
Marek Kopecký edited comment on WFLY-10504 at 6/5/18 4:16 AM:
--------------------------------------------------------------
cc: [~rsearls], [~jamezp], [~kabirkhan]
was (Author: mkopecky):
cc: [~rsearls]
> -secmgr and SECMGR=true env property doesn't work for domain.ps1 script
> -----------------------------------------------------------------------
>
> Key: WFLY-10504
> URL: https://issues.jboss.org/browse/WFLY-10504
> Project: WildFly
> Issue Type: Bug
> Components: Scripts
> Reporter: Marek Kopecký
>
> -secmgr and SECMGR=true env property doesn't work for domain.ps1 script
> Steps to reproduce:
> # start powershell
> # .\domain.bat "-secmgr"
> # WMIC PROCESS get Commandline | findstr java
> # check that "-secmgr" property is present in PC or HC
> # exit domain.bat
> # .\domain.ps1 "-secmgr"
> # WMIC PROCESS get Commandline | findstr java
> # check that "-secmgr" property is *not* present in PC or HC
> Secmgr can't be enabled also by $env:SECMGR = "true"
> This issue is not about java-opts, but it is related with WFCORE-3830
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years
[JBoss JIRA] (DROOLS-2594) drools compiler doesn't accept is as getter for boolean attribute of POJO
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2594?page=com.atlassian.jira.plugi... ]
Mario Fusco commented on DROOLS-2594:
-------------------------------------
I tried this simple reproducer and it works for me.
{code}
public static class Pojo {
private final boolean current;
public Pojo( boolean current ) {
this.current = current;
}
public boolean isCurrent() {
return current;
}
}
@Test
public void testBooleanAttribute() {
String str =
"import " + Pojo.class.getCanonicalName() + ";\n" +
"rule R when\n" +
" Pojo( current == true )\n" +
"then\n" +
"end\n";
KieSession ksession = new KieHelper().addContent( str, ResourceType.DRL ).build().newKieSession();
ksession.insert( new Pojo( true ) );
assertEquals( 1, ksession.fireAllRules() );
}
{code}
Note that you can also replace Pojo( current == true ) with just Pojo( current ).
For now I'm flagging this ticket as cannot reproduce. In case you confirm that this problem is present feel free to reopen the ticket and provide your reproducer.
> drools compiler doesn't accept is as getter for boolean attribute of POJO
> -------------------------------------------------------------------------
>
> Key: DROOLS-2594
> URL: https://issues.jboss.org/browse/DROOLS-2594
> Project: Drools
> Issue Type: Bug
> Environment: CentOS 7, maven build
> Reporter: Gal Nitzan
> Assignee: Mario Fusco
> Priority: Critical
> Labels: drools, drools-compiler
>
> Hi, based on [7.7.0 documentation|https://docs.jboss.org/drools/release/7.7.0.Final/drools-do...] a POJO boolean getter can be isMyAttribute or getMyAttribute.
> We get the following exception when using is as prefix for boolean getter as follows:
> 2018-05-28 22:17:41 [main] ERROR o.d.c.kie.builder.impl.KieProject - Unable to build KieBaseModel:myKbase
> Unable to Analyse Expression current == true:
> [Error: unable to resolve method using strict-mode: com.acme.pojos.current()]
> [Near : {... current == true ....}]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years
[JBoss JIRA] (WFLY-10504) -secmgr and SECMGR=true env property doesn't work for domain.ps1 script
by Marek Kopecký (JIRA)
Marek Kopecký created WFLY-10504:
------------------------------------
Summary: -secmgr and SECMGR=true env property doesn't work for domain.ps1 script
Key: WFLY-10504
URL: https://issues.jboss.org/browse/WFLY-10504
Project: WildFly
Issue Type: Bug
Components: Scripts
Reporter: Marek Kopecký
-secmgr and SECMGR=true env property doesn't work for domain.ps1 script
Steps to reproduce:
# start powershell
# .\domain.bat "-secmgr"
# WMIC PROCESS get Commandline | findstr java
# check that "-secmgr" property is present in PC or HC
# exit domain.bat
# .\domain.ps1 "-secmgr"
# WMIC PROCESS get Commandline | findstr java
# check that "secmgr" property is *not* present in PC or HC
This issue is not about java-opts, but it is related with WFCORE-3830
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years
[JBoss JIRA] (WFLY-10022) [Artemis 2.x Upgrade] File leak - Artemis crashes on Critical IO Error, shutting down the server. file=NIOSequentialFile .../largemessages/55851.msg, message=.../largemessages/55851.msg (Too many open files)
by Miroslav Novak (JIRA)
[ https://issues.jboss.org/browse/WFLY-10022?page=com.atlassian.jira.plugin... ]
Miroslav Novak reassigned WFLY-10022:
-------------------------------------
Assignee: Martyn Taylor (was: Miroslav Novak)
> [Artemis 2.x Upgrade] File leak - Artemis crashes on Critical IO Error, shutting down the server. file=NIOSequentialFile .../largemessages/55851.msg, message=.../largemessages/55851.msg (Too many open files)
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10022
> URL: https://issues.jboss.org/browse/WFLY-10022
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Reporter: Miroslav Novak
> Assignee: Martyn Taylor
> Priority: Blocker
> Labels: activemq, feature-branch-blocker
>
> There is file leak in Artemis master branch (577b62d5210cdcc0f86ab9bb1b24e944c877dfe7) when large messages are consumed from topic. This is regression against Artemis 1.5.x.
> Test Scenario:
> * Start WF12 (Jeff's WF WFLY-9407_upgrade_artemis_2.5.0 branch - 06c878a313d3cad323889d017e60fd5533204d1a) with deployed "testTopic"
> * create durable subscriptions on testTopic
> * start sending large messages on testTopic
> * subscribers start to consume one by one so there is a huge difference in number of consumed messages between subscriptions
> Pass Criteria: Subscribers must receive correct number of messages.
> Actual Result:
> Artemis server shutdown/crashes itself on (ulimit for max number of open files was set to 8196):
> {code}
> 15:21:54,717 WARN [org.apache.activemq.artemis.core.server] (Thread-21 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@1787a3ac)) AMQ222010: Critical IO Error, shutting down the server. file=NIOSequentialFile /home/mnovak/hornetq_eap6_dev/internal/eap-tests-hornetq/scripts/journal-A/largemessages/55851.msg, message=/home/mnovak/hornetq_eap6_dev/internal/eap-tests-hornetq/scripts/journal-A/largemessages/55851.msg (Too many open files): ActiveMQIOErrorException[errorType=IO_ERROR message=/home/mnovak/hornetq_eap6_dev/internal/eap-tests-hornetq/scripts/journal-A/largemessages/55851.msg (Too many open files)]
> at org.apache.activemq.artemis.core.io.nio.NIOSequentialFile.open(NIOSequentialFile.java:87) [artemis-journal-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.core.io.nio.NIOSequentialFile.open(NIOSequentialFile.java:73) [artemis-journal-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.core.persistence.impl.journal.LargeServerMessageImpl.openFile(LargeServerMessageImpl.java:397) [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.core.persistence.impl.journal.LargeServerMessageImpl.validateFile(LargeServerMessageImpl.java:376) [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.createLargeMessage(JournalStorageManager.java:495) [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.sendLarge(ServerSessionPacketHandler.java:937) [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.slowPacketHandler(ServerSessionPacketHandler.java:302) [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:281) [artemis-server-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33) [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_131]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_131]
> at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> Caused by: java.io.FileNotFoundException: /home/mnovak/hornetq_eap6_dev/internal/eap-tests-hornetq/scripts/journal-A/largemessages/55851.msg (Too many open files)
> at java.io.RandomAccessFile.open0(Native Method) [rt.jar:1.8.0_131]
> at java.io.RandomAccessFile.open(RandomAccessFile.java:316) [rt.jar:1.8.0_131]
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243) [rt.jar:1.8.0_131]
> at org.apache.activemq.artemis.core.io.nio.NIOSequentialFile.open(NIOSequentialFile.java:79) [artemis-journal-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
> ... 15 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years
[JBoss JIRA] (DROOLS-2611) Drools7.7 workbench Import project from git error
by jiahuiyun (JIRA)
jiahuiyun created DROOLS-2611:
---------------------------------
Summary: Drools7.7 workbench Import project from git error
Key: DROOLS-2611
URL: https://issues.jboss.org/browse/DROOLS-2611
Project: Drools
Issue Type: Bug
Components: tools
Affects Versions: 7.7.0.Final
Reporter: jiahuiyun
Assignee: Mario Fusco
Priority: Minor
Attachments: image-2018-06-05-15-41-28-768.png
the project is added on workbench,I delete it,then import it,but failed.
!image-2018-06-05-15-41-28-768.png|thumbnail!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years
[JBoss JIRA] (WFCORE-3830) JAVA_OPTS is not passed correctly
by Marek Kopecký (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3830?page=com.atlassian.jira.plugi... ]
Marek Kopecký updated WFCORE-3830:
----------------------------------
Description:
*Domain:*
JAVA_OPTS is not passed to PC and HC JVMs in domain.ps1
Steps to reproduce:
# start powershell
# $env:JAVA_OPTS = "-Da=b"
# ./domain.bat
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is present in PC or HC
# exit domain.bat
# ./domain.ps1
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is *not* present in PC or HC
cc: [~jamezp]
----
*Standalone:*
PRESERVE_JAVA_OPTS parameter is not used correctly in standalone.conf.ps1 and standalone.ps1. If user define JAVA_OPTS, default JAVA_OPTS should be ignored (like bat scripts behaviour)
was:
JAVA_OPTS is not passed to PC and HC JVMs in domain.ps1
Steps to reproduce:
# start powershell
# $env:JAVA_OPTS = "-Da=b"
# ./domain.bat
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is present in PC or HC
# exit domain.bat
# ./domain.ps1
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is *not* present in PC or HC
cc: [~jamezp]
> JAVA_OPTS is not passed correctly
> ---------------------------------
>
> Key: WFCORE-3830
> URL: https://issues.jboss.org/browse/WFCORE-3830
> Project: WildFly Core
> Issue Type: Bug
> Components: Scripts
> Reporter: Marek Kopecký
> Assignee: R Searls
> Priority: Critical
>
> *Domain:*
> JAVA_OPTS is not passed to PC and HC JVMs in domain.ps1
> Steps to reproduce:
> # start powershell
> # $env:JAVA_OPTS = "-Da=b"
> # ./domain.bat
> # WMIC PROCESS get Commandline | findstr java
> # check that "a" property is present in PC or HC
> # exit domain.bat
> # ./domain.ps1
> # WMIC PROCESS get Commandline | findstr java
> # check that "a" property is *not* present in PC or HC
> cc: [~jamezp]
> ----
> *Standalone:*
> PRESERVE_JAVA_OPTS parameter is not used correctly in standalone.conf.ps1 and standalone.ps1. If user define JAVA_OPTS, default JAVA_OPTS should be ignored (like bat scripts behaviour)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years