[JBoss JIRA] (JBRULES-3657) Eval bytecode not correctly generated
by Mario Fusco (JIRA)
Mario Fusco created JBRULES-3657:
------------------------------------
Summary: Eval bytecode not correctly generated
Key: JBRULES-3657
URL: https://issues.jboss.org/browse/JBRULES-3657
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.3.1.Final
Reporter: Mario Fusco
Assignee: Mario Fusco
Fix For: 5.3.2.Final
When a declaration does a double dereferencing, with the value of the method returned by the second dereferencing being a primitive type, the bytecode of the eval class using it is not correctly generated and causes, when instanced, an Exception like the following:
Exception in thread "main" java.lang.VerifyError: (class: gov/ssa/asa/rules/Rule_vhrGroupingByLocationEval0Invoker, method: evaluate signature: (Lorg/drools/spi/Tuple;[Lorg/drools/rule/Declaration;Lorg/drools/WorkingMemory;Ljava/lang/Object;)Z) Expecting to find integer on stack
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:413)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (AS7-5498) infinispan.DistributedCacheManagerTest unit tests fail with openjdk7
by Radoslav Husar (JIRA)
Radoslav Husar created AS7-5498:
-----------------------------------
Summary: infinispan.DistributedCacheManagerTest unit tests fail with openjdk7
Key: AS7-5498
URL: https://issues.jboss.org/browse/AS7-5498
Project: Application Server 7
Issue Type: Bug
Environment: affected master
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Fix For: 7.2.0.Alpha1
Noticed by alexey
[rhusar@rhusar jboss-as]$ java -version
java version "1.7.0_06-icedtea"
OpenJDK Runtime Environment (fedora-2.3.1.fc17.2-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
{noformat}
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ jboss-as-clustering-web-infinispan ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/rhusar/git/jboss-as/clustering/web-infinispan/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jboss-as-clustering-web-infinispan ---
[INFO] Compiling 6 source files to /home/rhusar/git/jboss-as/clustering/web-infinispan/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.11:test (default-test) @ jboss-as-clustering-web-infinispan ---
[INFO] Surefire report directory: /home/rhusar/git/jboss-as/clustering/web-infinispan/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.as.clustering.web.infinispan.FineSessionAttributeStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.334 sec
Running org.jboss.as.clustering.web.infinispan.CoarseSessionAttributeStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest
Tests run: 22, Failures: 2, Errors: 6, Skipped: 0, Time elapsed: 0.42 sec <<< FAILURE!
Running org.jboss.as.clustering.web.infinispan.SimpleExternalizerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.jboss.as.clustering.web.infinispan.SessionAttributeStorageFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.jboss.as.clustering.web.infinispan.SessionMapEntryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Results :
Failed tests: getSessionDataNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): expected same:<Mock for IncomingDistributableSessionData, hashCode: 1688182366> was not:<null>
getMissingSessionDataNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): expected same:<Mock for IncomingDistributableSessionData, hashCode: 981356300> was not:<null>
Tests in error:
removeSession(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
removeSessionLocal(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
removeSessionLocalNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
evictSession(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
evictSessionNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
getSessionIds(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest)
Tests run: 33, Failures: 2, Errors: 6, Skipped: 0
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (AS7-5837) CLI Script Support - Existing host with name containing _ not found
by Jim Rigsbee (JIRA)
Jim Rigsbee created AS7-5837:
--------------------------------
Summary: CLI Script Support - Existing host with name containing _ not found
Key: AS7-5837
URL: https://issues.jboss.org/browse/AS7-5837
Project: Application Server 7
Issue Type: Bug
Components: CLI
Affects Versions: 7.2.0.Alpha1
Environment: Groovy 2.0.5 with jboss-cli-client.jar (built from github master) against JBoss EAP 6.0.0 Final (AS 7.1.2.Final)
Reporter: Jim Rigsbee
Assignee: Stan Silvert
Priority: Minor
I cannot access a host with the CLI object from scriptsupport package when the host name contains an underscore ("_"). Regular names work fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (AS7-4960) JMS destinations' underlying core queues are not manageable
by Jeff Mesnil (JIRA)
Jeff Mesnil created AS7-4960:
--------------------------------
Summary: JMS destinations' underlying core queues are not manageable
Key: AS7-4960
URL: https://issues.jboss.org/browse/AS7-4960
Project: Application Server 7
Issue Type: Bug
Components: JMS
Affects Versions: 7.1.2.Final (EAP)
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Priority: Minor
When a JMS destination is created, we expose it in the management model (in jms-queue)
However, creating a JMS destination may also result in the creation of core-queues resources (1 for JMS queues, 1 per subscribers for JMS topics). This core queues are not exposed in the management model. Only those configured in config files or CLI are present.
(However we make sure that we add core _addresses_ (1 for each JMS destination) at runtime to the management model)
This means that AS7 messaging subsystem is not a "correct" reflection of the HornetQ runtime. I can't make my mind whether it is a problem. Afaict, most operations on these underlying queues can be also done at the JMS destination level through their management operations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (AS7-5877) ClassCastException with ResteasyProviderFactory when including RESTEasy in two WARs
by Eric Wittmann (JIRA)
Eric Wittmann created AS7-5877:
----------------------------------
Summary: ClassCastException with ResteasyProviderFactory when including RESTEasy in two WARs
Key: AS7-5877
URL: https://issues.jboss.org/browse/AS7-5877
Project: Application Server 7
Issue Type: Bug
Components: Class Loading, REST
Affects Versions: 7.1.1.Final
Reporter: Eric Wittmann
Assignee: David Lloyd
Found what I think may be a classloading issue while working on the S-RAMP project.
We include RESTEasy in our WARs because we want a single WAR that runs in multiple containers *and* because we need a newer version of RESTEasy. If you deploy two WARs that both package RESTEasy, then you will get a ClassCastException. See the linked RESTEasy Jira issue I entered for this problem (I'm not sure if it's a bug in resteasy or jboss).
Ultimately it seems that a class is loaded from the RESTEasy module included in JBoss AS, despite that module being excluded via the jboss-deployment-structure.xml file.
A sample maven project showing this problem is included on the linked RESTEasy issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month