[JBoss JIRA] (WFLY-3548) JTA synchronization for a distributed transaction called with incorrect TCCL
by Tomasz Adamski (JIRA)
[ https://issues.jboss.org/browse/WFLY-3548?page=com.atlassian.jira.plugin.... ]
Tomasz Adamski reassigned WFLY-3548:
------------------------------------
Assignee: Tomasz Adamski (was: Amos Feng)
> JTA synchronization for a distributed transaction called with incorrect TCCL
> ----------------------------------------------------------------------------
>
> Key: WFLY-3548
> URL: https://issues.jboss.org/browse/WFLY-3548
> Project: WildFly
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 8.1.0.Final
> Reporter: Martin Kouba
> Assignee: Tomasz Adamski
>
> It seems the RequestProcessor which is processing JTA synchronizations
> does not have the right TCCL set.
> As a result, during synchronization invocation:
> * {{NameNotFoundException}} is thrown for a JNDI lookup of "java:comp/UserTransaction"
> * if we try to acccess {{org.jboss.weld.Container}} by means of {{org.jboss.as.weld.services.ModuleGroupSingletonProvider.TCCLSingleton}}, we get ISE: "Singleton not set....This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment."
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 6 months
[JBoss JIRA] (WFLY-3639) default-web-module doesn't work for non default host
by Guruprasad Nagaraj (JIRA)
[ https://issues.jboss.org/browse/WFLY-3639?page=com.atlassian.jira.plugin.... ]
Guruprasad Nagaraj commented on WFLY-3639:
------------------------------------------
The workaround with creating/editing and adding the virtual-hosts in boss-web.xml does not seem to work, in that, multiple virtual-host tags in jboss-web.xml create problems.
I tried this workaround for my scenario where two virtual hosts are served exactly with the same WAR files, with no context-root configuration.
In wildfly/standalone/configuration/standalone.xml:
<host name="domain1" alias="domain1.rootdomain.com">
<location name="/" handler="welcome-content"/>
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
<host name="domain2" alias="domain2.rootdomain.com">
<location name="/" handler="welcome-content"/>
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
In jboss-web.xml:
<jboss-web>
<virtual-host>domain1</virtual-host>
<virtual-host>domain2</virtual-host>
</jboss-web>
During deploy/redeploy Wildfly complains that already one virtual-host tag was processed and the deployment/redeployment fails.
Is there any other solution for this problem?
> default-web-module doesn't work for non default host
> ----------------------------------------------------
>
> Key: WFLY-3639
> URL: https://issues.jboss.org/browse/WFLY-3639
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 8.1.0.Final
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
> Fix For: 9.0.0.Beta1
>
>
> If you use config like this:
> {code:xml}
> <host name="default-host" default-web-module="myapp1.war" alias="webapp.domain1.com"/>
> <host name="other-host" default-web-module="myapp2.war" alias="test.domain2.net"/>
> {code}
> and have apps myapp1.war & myapp2.war deployed myappwar2.war won't be bind to other-host.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 6 months
[JBoss JIRA] (WFLY-4031) Wildfly Quickstarts using old namespaces for beans.xml and faces-config.xml
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/WFLY-4031?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec reassigned WFLY-4031:
-----------------------------------------
Assignee: Sebastian Łaskawiec (was: Jason Greene)
> Wildfly Quickstarts using old namespaces for beans.xml and faces-config.xml
> ---------------------------------------------------------------------------
>
> Key: WFLY-4031
> URL: https://issues.jboss.org/browse/WFLY-4031
> Project: WildFly
> Issue Type: Bug
> Reporter: Rafael Benevides
> Assignee: Sebastian Łaskawiec
> Priority: Minor
> Labels: quickstarts,
>
> All Wildfly quickstarts have the wrong XML namespaces for the following files.
> ./src/main/webapp/WEB-INF/beans.xml
> ./src/main/webapp/WEB-INF/faces-config.xml
> beans.xml and faces-config.xml are using java.sun.com-style namespaces instead of xmlns.jcp.org-style namespaces.
> This affects the wildfly archetypes as well
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 6 months
[JBoss JIRA] (WFLY-4030) wildfly-javaee7-webapp-blank-archetype using old namespaces for beans.xml and faces-config.xml
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/WFLY-4030?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec reassigned WFLY-4030:
-----------------------------------------
Assignee: Sebastian Łaskawiec (was: Rafael Benevides)
> wildfly-javaee7-webapp-blank-archetype using old namespaces for beans.xml and faces-config.xml
> ----------------------------------------------------------------------------------------------
>
> Key: WFLY-4030
> URL: https://issues.jboss.org/browse/WFLY-4030
> Project: WildFly
> Issue Type: Bug
> Reporter: Arun Gupta
> Assignee: Sebastian Łaskawiec
> Priority: Minor
> Labels: archetypes, maven, wildfly
>
> mvn archetype:generate -DgroupId=test -DartifactId=test -DarchetypeGroupId=org.wildfly.archetype -DarchetypeArtifactId=wildfly-javaee7-webapp-blank-archetype -DarchetypeVersion=8.1.0.Final
> The app has the following files:
> ./src/main/webapp/WEB-INF/beans.xml
> ./src/main/webapp/WEB-INF/faces-config.xml
> beans.xml and faces-config.xml are using java.sun.com-style namespaces instead of xmlns.jcp.org-style namespaces.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 6 months
[JBoss JIRA] (DROOLS-576) NullPointerException in ActivationTimerInputMarshaller.deserialize()
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/DROOLS-576?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on DROOLS-576:
------------------------------------------------
Mario Fusco <mfusco(a)redhat.com> changed the Status of [bug 1130404|https://bugzilla.redhat.com/show_bug.cgi?id=1130404] from NEW to MODIFIED
> NullPointerException in ActivationTimerInputMarshaller.deserialize()
> --------------------------------------------------------------------
>
> Key: DROOLS-576
> URL: https://issues.jboss.org/browse/DROOLS-576
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.2.0.Beta1
> Environment: RETEOO engine
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Fix For: 6.2.0.CR2
>
>
> With the following conditions:
> - A persisted ksession
> - RETEOO engine
> - ksession is disposed while a timer is activated
> - ksession is loaded with a new kbase which doesn't have a rule which associated with the timer
> ActivationTimerInputMarshaller.deserialize() throws a NullPointerException so failed to load the ksession.
> {noformat}
> java.lang.RuntimeException: Unable to load session snapshot
> at org.drools.persistence.SessionMarshallingHelper.loadSnapshot(SessionMarshallingHelper.java:88) ~[classes/:na]
> at org.drools.persistence.SingleSessionCommandService.initExistingKnowledgeSession(SingleSessionCommandService.java:239) ~[classes/:na]
> at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:172) ~[classes/:na]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_67]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_67]
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_67]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_67]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:122) [classes/:na]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadKieSession(KnowledgeStoreServiceImpl.java:90) [classes/:na]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadKieSession(KnowledgeStoreServiceImpl.java:39) [classes/:na]
> at org.kie.internal.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:130) [kie-internal-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.persistence.timer.integrationtests.TimerAndCalendarTest.testTimerWithRemovingRule(TimerAndCalendarTest.java:340) [test-classes/:na]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67]
> ...
> Caused by: java.lang.NullPointerException: null
> at org.drools.core.common.Scheduler$ActivationTimerInputMarshaller.deserialize(Scheduler.java:216) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readTimer(ProtobufInputMarshaller.java:700) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:282) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:155) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:110) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:54) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.persistence.SessionMarshallingHelper.loadSnapshot(SessionMarshallingHelper.java:83) ~[classes/:na]
> ... 44 common frames omitted
> {noformat}
> Probably we may silently ignore the timer when leftTuple is not found.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 6 months
[JBoss JIRA] (DROOLS-576) NullPointerException in ActivationTimerInputMarshaller.deserialize()
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-576?page=com.atlassian.jira.plugin... ]
Mario Fusco resolved DROOLS-576.
--------------------------------
Fix Version/s: 6.2.0.CR2
Resolution: Done
Fixed by https://github.com/droolsjbpm/drools/compare/ca8abb8...3b42da0
> NullPointerException in ActivationTimerInputMarshaller.deserialize()
> --------------------------------------------------------------------
>
> Key: DROOLS-576
> URL: https://issues.jboss.org/browse/DROOLS-576
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.2.0.Beta1
> Environment: RETEOO engine
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Fix For: 6.2.0.CR2
>
>
> With the following conditions:
> - A persisted ksession
> - RETEOO engine
> - ksession is disposed while a timer is activated
> - ksession is loaded with a new kbase which doesn't have a rule which associated with the timer
> ActivationTimerInputMarshaller.deserialize() throws a NullPointerException so failed to load the ksession.
> {noformat}
> java.lang.RuntimeException: Unable to load session snapshot
> at org.drools.persistence.SessionMarshallingHelper.loadSnapshot(SessionMarshallingHelper.java:88) ~[classes/:na]
> at org.drools.persistence.SingleSessionCommandService.initExistingKnowledgeSession(SingleSessionCommandService.java:239) ~[classes/:na]
> at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:172) ~[classes/:na]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_67]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_67]
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_67]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_67]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:122) [classes/:na]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadKieSession(KnowledgeStoreServiceImpl.java:90) [classes/:na]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadKieSession(KnowledgeStoreServiceImpl.java:39) [classes/:na]
> at org.kie.internal.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:130) [kie-internal-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.persistence.timer.integrationtests.TimerAndCalendarTest.testTimerWithRemovingRule(TimerAndCalendarTest.java:340) [test-classes/:na]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67]
> ...
> Caused by: java.lang.NullPointerException: null
> at org.drools.core.common.Scheduler$ActivationTimerInputMarshaller.deserialize(Scheduler.java:216) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readTimer(ProtobufInputMarshaller.java:700) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:282) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:155) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:110) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:54) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.persistence.SessionMarshallingHelper.loadSnapshot(SessionMarshallingHelper.java:83) ~[classes/:na]
> ... 44 common frames omitted
> {noformat}
> Probably we may silently ignore the timer when leftTuple is not found.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 6 months
[JBoss JIRA] (DROOLS-576) NullPointerException in ActivationTimerInputMarshaller.deserialize()
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-576?page=com.atlassian.jira.plugin... ]
Mario Fusco reassigned DROOLS-576:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
> NullPointerException in ActivationTimerInputMarshaller.deserialize()
> --------------------------------------------------------------------
>
> Key: DROOLS-576
> URL: https://issues.jboss.org/browse/DROOLS-576
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.2.0.Beta1
> Environment: RETEOO engine
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
>
> With the following conditions:
> - A persisted ksession
> - RETEOO engine
> - ksession is disposed while a timer is activated
> - ksession is loaded with a new kbase which doesn't have a rule which associated with the timer
> ActivationTimerInputMarshaller.deserialize() throws a NullPointerException so failed to load the ksession.
> {noformat}
> java.lang.RuntimeException: Unable to load session snapshot
> at org.drools.persistence.SessionMarshallingHelper.loadSnapshot(SessionMarshallingHelper.java:88) ~[classes/:na]
> at org.drools.persistence.SingleSessionCommandService.initExistingKnowledgeSession(SingleSessionCommandService.java:239) ~[classes/:na]
> at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:172) ~[classes/:na]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_67]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_67]
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_67]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_67]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:122) [classes/:na]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadKieSession(KnowledgeStoreServiceImpl.java:90) [classes/:na]
> at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadKieSession(KnowledgeStoreServiceImpl.java:39) [classes/:na]
> at org.kie.internal.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:130) [kie-internal-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.persistence.timer.integrationtests.TimerAndCalendarTest.testTimerWithRemovingRule(TimerAndCalendarTest.java:340) [test-classes/:na]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_67]
> ...
> Caused by: java.lang.NullPointerException: null
> at org.drools.core.common.Scheduler$ActivationTimerInputMarshaller.deserialize(Scheduler.java:216) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readTimer(ProtobufInputMarshaller.java:700) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:282) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:155) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:110) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.core.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:54) ~[drools-core-6.2.0-SNAPSHOT.jar:6.2.0-SNAPSHOT]
> at org.drools.persistence.SessionMarshallingHelper.loadSnapshot(SessionMarshallingHelper.java:83) ~[classes/:na]
> ... 44 common frames omitted
> {noformat}
> Probably we may silently ignore the timer when leftTuple is not found.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 6 months