[JBoss JIRA] (JGRP-1645) MuxMessageDispatcher drops exclusion list during cast
by Paul Ferraro (JIRA)
Paul Ferraro created JGRP-1645:
----------------------------------
Summary: MuxMessageDispatcher drops exclusion list during cast
Key: JGRP-1645
URL: https://issues.jboss.org/browse/JGRP-1645
Project: JGroups
Issue Type: Feature Request
Affects Versions: 3.3.1
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Critical
Fix For: 3.3.2
During call to MuxMessageDispatcher.castMessage(...) any exclusion list defined in the RequestOptions get lost in MuxMessageDispatcher's overridden cast(...) methods.
--
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, 4 months
[JBoss JIRA] (WFLY-1496) @Transactional doesn't work
by Jesper Pedersen (JIRA)
[ https://issues.jboss.org/browse/WFLY-1496?page=com.atlassian.jira.plugin.... ]
Jesper Pedersen commented on WFLY-1496:
---------------------------------------
New transaction integration is coming with IronJacamar 1.1, so it will be solved that way.
Will leave it open for now...
> @Transactional doesn't work
> ---------------------------
>
> Key: WFLY-1496
> URL: https://issues.jboss.org/browse/WFLY-1496
> Project: WildFly
> Issue Type: Bug
> Components: JCA, Transactions
> Affects Versions: 8.0.0.Alpha2
> Reporter: Juergen Zimmermann
> Assignee: Stefano Maestri
> Attachments: testcase-WFLY-1496.zip
>
>
> I just tried the WildFly Alpha 2 snapshot containing Narayana 5.0.0.M3 and get the error message below. The classes causing the error are:
> @Path("/bestellungen")
> @Produces({ APPLICATION_JSON, APPLICATION_XML })
> //@RequestScoped is default for JAX-RS
> @Transactional
> public class BestellungResource {
> @Inject
> private BestellungService bs;
> ...
> }
> @Transactional(TxType.MANDATORY)
> public class BestellungServiceImpl implements Serializable {
> private static final long serialVersionUID = ...L;
>
> @PersistenceContext
> private transient EntityManager em;
> // method invoking JPA / Hibernate
> }
> The fragment of server.log:
> 15:11:43,254 DEBUG [org.hibernate.SQL]
> /* named HQL query Bestellung.findKundeById */ select
> distinct abstractku1_.id as id2_8_,
> abstractku1_.aktualisiert as aktualis3_8_,
> abstractku1_.bemerkungen as bemerkun4_8_,
> abstractku1_.email as email5_8_,
> abstractku1_.erzeugt as erzeugt6_8_,
> abstractku1_.file_fk as file18_8_,
> abstractku1_.kategorie as kategori7_8_,
> abstractku1_.nachname as nachname8_8_,
> abstractku1_.newsletter as newslett9_8_,
> abstractku1_.password as passwor10_8_,
> abstractku1_.rabatt as rabatt11_8_,
> abstractku1_.seit as seit12_8_,
> abstractku1_.umsatz as umsatz13_8_,
> abstractku1_.version as version14_8_,
> abstractku1_.vorname as vorname15_8_,
> abstractku1_.familienstand_fk as familie16_8_,
> abstractku1_.geschlecht_fk as geschle17_8_,
> abstractku1_.art as art1_8_
> from
> Bestellung bestellung0_
> inner join
> kunde abstractku1_
> on bestellung0_.kunde_fk=abstractku1_.id
> where
> bestellung0_.id=?
> 15:11:43,254 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] SQL Error: 0, SQLState: null
> 15:11:43,254 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] UserTransaction is not available within the scope of a bean or method annotated with @Transactional and a Transactional.TxType other than NOT_SUPPORTED or NEVER
--
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, 4 months
[JBoss JIRA] (WFLY-1496) @Transactional doesn't work
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/WFLY-1496?page=com.atlassian.jira.plugin.... ]
Paul Robinson commented on WFLY-1496:
-------------------------------------
Thanks Jaikiran,
Yes, this is expected behaviour from the JTA 1.2 code. Looks like we need a fix for WrapperDataSource.
> @Transactional doesn't work
> ---------------------------
>
> Key: WFLY-1496
> URL: https://issues.jboss.org/browse/WFLY-1496
> Project: WildFly
> Issue Type: Bug
> Components: JCA, Transactions
> Affects Versions: 8.0.0.Alpha2
> Reporter: Juergen Zimmermann
> Assignee: Stefano Maestri
> Attachments: testcase-WFLY-1496.zip
>
>
> I just tried the WildFly Alpha 2 snapshot containing Narayana 5.0.0.M3 and get the error message below. The classes causing the error are:
> @Path("/bestellungen")
> @Produces({ APPLICATION_JSON, APPLICATION_XML })
> //@RequestScoped is default for JAX-RS
> @Transactional
> public class BestellungResource {
> @Inject
> private BestellungService bs;
> ...
> }
> @Transactional(TxType.MANDATORY)
> public class BestellungServiceImpl implements Serializable {
> private static final long serialVersionUID = ...L;
>
> @PersistenceContext
> private transient EntityManager em;
> // method invoking JPA / Hibernate
> }
> The fragment of server.log:
> 15:11:43,254 DEBUG [org.hibernate.SQL]
> /* named HQL query Bestellung.findKundeById */ select
> distinct abstractku1_.id as id2_8_,
> abstractku1_.aktualisiert as aktualis3_8_,
> abstractku1_.bemerkungen as bemerkun4_8_,
> abstractku1_.email as email5_8_,
> abstractku1_.erzeugt as erzeugt6_8_,
> abstractku1_.file_fk as file18_8_,
> abstractku1_.kategorie as kategori7_8_,
> abstractku1_.nachname as nachname8_8_,
> abstractku1_.newsletter as newslett9_8_,
> abstractku1_.password as passwor10_8_,
> abstractku1_.rabatt as rabatt11_8_,
> abstractku1_.seit as seit12_8_,
> abstractku1_.umsatz as umsatz13_8_,
> abstractku1_.version as version14_8_,
> abstractku1_.vorname as vorname15_8_,
> abstractku1_.familienstand_fk as familie16_8_,
> abstractku1_.geschlecht_fk as geschle17_8_,
> abstractku1_.art as art1_8_
> from
> Bestellung bestellung0_
> inner join
> kunde abstractku1_
> on bestellung0_.kunde_fk=abstractku1_.id
> where
> bestellung0_.id=?
> 15:11:43,254 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] SQL Error: 0, SQLState: null
> 15:11:43,254 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] UserTransaction is not available within the scope of a bean or method annotated with @Transactional and a Transactional.TxType other than NOT_SUPPORTED or NEVER
--
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, 4 months
[JBoss JIRA] (WFLY-1586) java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
by Carlo de Wolf (JIRA)
Carlo de Wolf created WFLY-1586:
-----------------------------------
Summary: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
Key: WFLY-1586
URL: https://issues.jboss.org/browse/WFLY-1586
Project: WildFly
Issue Type: Bug
Components: Web Services
Affects Versions: 8.0.0.Alpha2
Environment: java version "1.7.0_25"
OpenJDK Runtime Environment (fedora-2.3.10.3.fc17-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
java-1.7.0-openjdk-1.7.0.25-2.3.10.3.fc17.x86_64
Reporter: Carlo de Wolf
Assignee: Alessio Soldano
Priority: Blocker
Fix For: 8.0.0.Alpha3
Attachments: org.jboss.as.test.xts.simple.wsat.client.WSATTestCase.txt
With the latest update of OpenJDK to 1.7.0.25-2.3.10.3 there is regression w.r.t. WebServices.
--
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, 4 months
[JBoss JIRA] (JASSIST-207) Inconsistent Stack Map when inserting throw Expression with Java 7
by Ben Romberg (JIRA)
[ https://issues.jboss.org/browse/JASSIST-207?page=com.atlassian.jira.plugi... ]
Ben Romberg updated JASSIST-207:
--------------------------------
Description:
I wrote a unit-test for javassist, reproducing the issue:
{code}
public class ThrowExpressionCorruptsStackMapTableTest extends JvstTestRoot {
public ThrowExpressionCorruptsStackMapTableTest(String name) {
super(name);
}
public void testInsertLocalVars() throws Exception {
CtClass cc = sloader.get("test4.LocalVars");
CtMethod m1 = cc.getDeclaredMethod("run");
m1.insertBefore("throw new AssertionError((Object) \"assertion error\");");
cc.writeFile();
Object obj = make(cc.getName());
assertEquals(10, invoke(obj, "run"));
}
}
{code}
Throws:
java.lang.VerifyError: Expecting a stack map frame in method test4.LocalVars.run()I at offset 45
My use-case is almost the same, inserting a "throw AssertionError(...)" expression with insertBefore. However, I get a slightly different error message:
Stack map does not match the one at exception handler 37 in method timeofday.TimeOfDay.getSecond()I at offset 27
was:
I wrote a unit-test for javassist, reproducing the issue:
public class ThrowExpressionCorruptsStackMapTableTest extends JvstTestRoot {
public ThrowExpressionCorruptsStackMapTableTest(String name) {
super(name);
}
public void testInsertLocalVars() throws Exception {
CtClass cc = sloader.get("test4.LocalVars");
CtMethod m1 = cc.getDeclaredMethod("run");
m1.insertBefore("throw new AssertionError((Object) \"assertion error\");");
cc.writeFile();
Object obj = make(cc.getName());
assertEquals(10, invoke(obj, "run"));
}
}
Throws:
java.lang.VerifyError: Expecting a stack map frame in method test4.LocalVars.run()I at offset 45
My use-case is almost the same, inserting a "throw AssertionError(...)" expression with insertBefore. However, I get a slightly different error message:
Stack map does not match the one at exception handler 37 in method timeofday.TimeOfDay.getSecond()I at offset 27
> Inconsistent Stack Map when inserting throw Expression with Java 7
> ------------------------------------------------------------------
>
> Key: JASSIST-207
> URL: https://issues.jboss.org/browse/JASSIST-207
> Project: Javassist
> Issue Type: Bug
> Affects Versions: 3.18.0-GA
> Reporter: Ben Romberg
> Assignee: Shigeru Chiba
> Priority: Critical
>
> I wrote a unit-test for javassist, reproducing the issue:
> {code}
> public class ThrowExpressionCorruptsStackMapTableTest extends JvstTestRoot {
> public ThrowExpressionCorruptsStackMapTableTest(String name) {
> super(name);
> }
> public void testInsertLocalVars() throws Exception {
> CtClass cc = sloader.get("test4.LocalVars");
> CtMethod m1 = cc.getDeclaredMethod("run");
> m1.insertBefore("throw new AssertionError((Object) \"assertion error\");");
> cc.writeFile();
> Object obj = make(cc.getName());
> assertEquals(10, invoke(obj, "run"));
> }
> }
> {code}
> Throws:
> java.lang.VerifyError: Expecting a stack map frame in method test4.LocalVars.run()I at offset 45
> My use-case is almost the same, inserting a "throw AssertionError(...)" expression with insertBefore. However, I get a slightly different error message:
> Stack map does not match the one at exception handler 37 in method timeofday.TimeOfDay.getSecond()I at offset 27
--
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, 4 months