[JBoss JIRA] (DROOLS-2149) Row and column can be added to read only table
by Jozef Marko (JIRA)
Jozef Marko created DROOLS-2149:
-----------------------------------
Summary: Row and column can be added to read only table
Key: DROOLS-2149
URL: https://issues.jboss.org/browse/DROOLS-2149
Project: Drools
Issue Type: Bug
Components: Guided Decision Table Editor
Affects Versions: 7.4.1.Final
Reporter: Jozef Marko
Assignee: Michael Anstis
Priority: Minor
Fix For: 7.5.0.Final
The options for adding row or column into guided decision table are not disabled correctly in special case.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (WFCORE-3429) DuplicateServiceException when artifact name equals to alias
by Сергей Машкевич (JIRA)
Сергей Машкевич created WFCORE-3429:
---------------------------------------
Summary: DuplicateServiceException when artifact name equals to alias
Key: WFCORE-3429
URL: https://issues.jboss.org/browse/WFCORE-3429
Project: WildFly Core
Issue Type: Task
Components: Server
Affects Versions: 2.2.0.Final
Reporter: Сергей Машкевич
Assignee: Jason Greene
Priority: Minor
Suppose that there is an artifact «moduleA.ear» with the following deployment descriptor:
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<module-alias name="deployment.moduleA.ear"/>
</deployment>
</jboss-deployment-structure>
{code}
When I try to deploy this module on *WildFly 10.1.0*, I get the DuplicateServiceException:
{code:java}
jboss.deployment.unit."moduleA.ear".CONFIGURE_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."moduleA.ear".CONFIGURE_MODULE: WFLYSRV0153: Failed to process phase CONFIGURE_MODULE of deployment "moduleA.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.module.spec.service."deployment.moduleA.ear".main is already registered
at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158)
at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:235)
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:768)
at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)
at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)
at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)
at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:317)
at org.jboss.as.server.deployment.module.ModuleSpecProcessor.createModuleService(ModuleSpecProcessor.java:263)
at org.jboss.as.server.deployment.module.ModuleSpecProcessor.deployModuleSpec(ModuleSpecProcessor.java:124)
at org.jboss.as.server.deployment.module.ModuleSpecProcessor.deploy(ModuleSpecProcessor.java:87)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
... 5 more
{code}
I think this exception should not be thrown in this case. Could you fix it?
Thanks,
Sergey Mashkevich
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (WFLY-9565) No batch environment for ear classloader
by Sverre Boschman (JIRA)
Sverre Boschman created WFLY-9565:
-------------------------------------
Summary: No batch environment for ear classloader
Key: WFLY-9565
URL: https://issues.jboss.org/browse/WFLY-9565
Project: WildFly
Issue Type: Bug
Components: Batch
Affects Versions: 11.0.0.Final, 12.0.0.Alpha1
Reporter: Sverre Boschman
Assignee: Cheng Fang
Priority: Minor
Attachments: jbatch-test.zip
Starting a batch job inside an EJB module packaged in an EAR on application startup throws a 'WFLYBATCH000019: No batch environment was found for class loader' exception. The reported class loader is the 'ear class loader'. On WF10 this works as expected: the job runs.
{noformat}
[WildFly 11] Caused by: javax.batch.operations.BatchRuntimeException: WFLYBATCH000019: No batch environment was found for class loader: ModuleClassLoader for Module "deployment.jbatch-test-wf11-ear-0.0.1-SNAPSHOT.ear" from Service Module Loader
[WildFly 11] at org.wildfly.extension.batch.jberet.DefaultBatchEnvironment.getJobRepository(DefaultBatchEnvironment.java:67)
[WildFly 11] at org.jberet.operations.JobOperatorImpl.<init>(JobOperatorImpl.java:51)
[WildFly 11] at org.jberet.spi.JobOperatorContext.create(JobOperatorContext.java:60)
[WildFly 11] at org.wildfly.extension.batch.jberet.BatchSubsystemDefinition$BatchSubsystemAdd.lambda$new$0(BatchSubsystemDefinition.java:180)
[WildFly 11] at org.jberet.spi.ContextClassLoaderJobOperatorContextSelector$1.run(ContextClassLoaderJobOperatorContextSelector.java:42)
[WildFly 11] at org.jberet.spi.ContextClassLoaderJobOperatorContextSelector$1.run(ContextClassLoaderJobOperatorContextSelector.java:32)
[WildFly 11] at org.jberet.spi.ContextClassLoaderJobOperatorContextSelector.getJobOperatorContext(ContextClassLoaderJobOperatorContextSelector.java:60)
[WildFly 11] at org.jberet.spi.JobOperatorContext.getJobOperatorContext(JobOperatorContext.java:49)
[WildFly 11] at org.jberet.operations.DelegatingJobOperator.getDelegate(DelegatingJobOperator.java:112)
[WildFly 11] at org.jberet.operations.DelegatingJobOperator.start(DelegatingJobOperator.java:67)
{noformat}
Starting the job at startup (this class is inside the EJB module):
{code:java}
@ApplicationScoped
public class EjbLoader {
public void init(
@SuppressWarnings("unused") @Observes @Initialized(ApplicationScoped.class) Object init)
{
BatchRuntime.getJobOperator().start("jbatch-test-job.xml", new Properties());
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (DROOLS-2148) not able to execute a drl file when packaged inside a jar file
by Vardhaman Magadum (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2148?page=com.atlassian.jira.plugi... ]
Vardhaman Magadum updated DROOLS-2148:
--------------------------------------
Issue Type: Bug (was: Feature Request)
> not able to execute a drl file when packaged inside a jar file
> --------------------------------------------------------------
>
> Key: DROOLS-2148
> URL: https://issues.jboss.org/browse/DROOLS-2148
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.2.0.Final
> Reporter: Vardhaman Magadum
> Assignee: Mario Fusco
> Attachments: Jar Structure.png, Rule1.drl, eclipse project.png, projectStructure.png
>
>
> Hi all,
> I have created a simplest rule project in KIE workbench 7.2, After build and deploy i am able to download the jar for my project from the artifact repository. now i want to execute the rules from a java maven project. I have put the jar in the resources folder of the maven project, scanning the jar and trying to load all the rule artifacts in the kie base. but i am not able to execute the rules inside the drl file which is inside the jar file. I have attached the drl file, jar structure, eclipse project structure and debug in eclipse. please help, pls update if any further details required.
> Thanks
> Vardhaman
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (DROOLS-2148) not able to execute a drl file when packaged inside a jar file
by Vardhaman Magadum (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2148?page=com.atlassian.jira.plugi... ]
Vardhaman Magadum updated DROOLS-2148:
--------------------------------------
Attachment: eclipse project.png
> not able to execute a drl file when packaged inside a jar file
> --------------------------------------------------------------
>
> Key: DROOLS-2148
> URL: https://issues.jboss.org/browse/DROOLS-2148
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 7.2.0.Final
> Reporter: Vardhaman Magadum
> Assignee: Mario Fusco
> Attachments: Jar Structure.png, Rule1.drl, eclipse project.png, projectStructure.png
>
>
> Hi all,
> I have created a simplest rule project in KIE workbench 7.2, After build and deploy i am able to download the jar for my project from the artifact repository. now i want to execute the rules from a java maven project. I have put the jar in the resources folder of the maven project, scanning the jar and trying to load all the rule artifacts in the kie base. but i am not able to execute the rules inside the drl file which is inside the jar file. I have attached the drl file, jar structure, eclipse project structure and debug in eclipse. please help, pls update if any further details required.
> Thanks
> Vardhaman
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (DROOLS-2148) not able to execute a drl file when packaged inside a jar file
by Vardhaman Magadum (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2148?page=com.atlassian.jira.plugi... ]
Vardhaman Magadum updated DROOLS-2148:
--------------------------------------
Attachment: Jar Structure.png
> not able to execute a drl file when packaged inside a jar file
> --------------------------------------------------------------
>
> Key: DROOLS-2148
> URL: https://issues.jboss.org/browse/DROOLS-2148
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 7.2.0.Final
> Reporter: Vardhaman Magadum
> Assignee: Mario Fusco
> Attachments: Jar Structure.png, Rule1.drl, eclipse project.png, projectStructure.png
>
>
> Hi all,
> I have created a simplest rule project in KIE workbench 7.2, After build and deploy i am able to download the jar for my project from the artifact repository. now i want to execute the rules from a java maven project. I have put the jar in the resources folder of the maven project, scanning the jar and trying to load all the rule artifacts in the kie base. but i am not able to execute the rules inside the drl file which is inside the jar file. I have attached the drl file, jar structure, eclipse project structure and debug in eclipse. please help, pls update if any further details required.
> Thanks
> Vardhaman
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (DROOLS-2148) not able to execute a drl file when packaged inside a jar file
by Vardhaman Magadum (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2148?page=com.atlassian.jira.plugi... ]
Vardhaman Magadum updated DROOLS-2148:
--------------------------------------
Attachment: projectStructure.png
> not able to execute a drl file when packaged inside a jar file
> --------------------------------------------------------------
>
> Key: DROOLS-2148
> URL: https://issues.jboss.org/browse/DROOLS-2148
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 7.2.0.Final
> Reporter: Vardhaman Magadum
> Assignee: Mario Fusco
> Attachments: Jar Structure.png, Rule1.drl, eclipse project.png, projectStructure.png
>
>
> Hi all,
> I have created a simplest rule project in KIE workbench 7.2, After build and deploy i am able to download the jar for my project from the artifact repository. now i want to execute the rules from a java maven project. I have put the jar in the resources folder of the maven project, scanning the jar and trying to load all the rule artifacts in the kie base. but i am not able to execute the rules inside the drl file which is inside the jar file. I have attached the drl file, jar structure, eclipse project structure and debug in eclipse. please help, pls update if any further details required.
> Thanks
> Vardhaman
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months