[JBoss-user] [JCA/JBoss] - Oracle10g + XA + Serializable

2006-03-18 Thread slobo
I try to configure an XA datasource with Oracle10g
but if I put
TRANSACTION_SERIALIZABLE
into the 
then I get the following error on JBoss startup:

2006-03-15 13:17:49,938 WARN [org.jboss.tm.TransactionImpl] XAException: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=egistir/2, BranchQual=, 
localId=2] errorCode=XAER_PROTO
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:938)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:244)
at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:131)
etc.

(if I comment out the transaction-isolation, then it starts up without problem)

how can I use serializable transactions with Oracle10g XA datasource?

I use the Oracle 10g thin driver with JBoss Application Server 4.0.3 SP1 + 
JBoss EJB3 RC5, JDK1.5

I read something about the OracleXAResource.ORATMSERIALIZABLE constant, I 
wonder if it has anything to do with this problem...


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931114#3931114

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931114


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - intercepting array member access

2005-09-17 Thread slobo
can I intercept an array member access (read or write)?
I this this would be a reasonable TODO request (if it is not already 
supported)...


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895291#3895291

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895291


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - annotation bug?

2005-09-05 Thread slobo
I have found the following strange behaviour in JavaAssist 3.1RC1:
I have a method (myMethod)
the method has an annotation (MyAnnotation)
the annotation has a String[] element (value())

if the element array is empty

Object[] annotations = myMethod.getAnnotations()
MyAnnotation myAnnotation = (MyAnnotation)annotations;
String[] s = myAnnotation.value();

throws an Exception, something like this:

java.lang.reflect.UndeclaredThrowableException
at $Proxy0.value(Unknown Source)
at hu.idya.beanspy.Instrumentor.instrument(Instrumentor.java:92)
at hu.idya.xul.test.Test.testInstrumentation(Test.java:81)
at hu.idya.xul.test.Test.main(Test.java:25)
Caused by: java.lang.ClassNotFoundException: no array elements specified
at 
javassist.bytecode.annotation.ArrayMemberValue.getValue(ArrayMemberValue.java:54)
at 
javassist.bytecode.annotation.AnnotationImpl.getDefault(AnnotationImpl.java:79)
at 
javassist.bytecode.annotation.AnnotationImpl.invoke(AnnotationImpl.java:59)
... 4 more

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893100#3893100

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893100


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user