Hello Pedro,
thanks for your information! Look at my comments below:
> InterBase: I only get a problem with InterServer
> (JDBC for InterBase), if two or more users are
> accessing the same ejb at the same time: Transaction
> error, rollback the transaction. I feel that
> there is something wrong with the syncronization
> of JOnAS - InterBase... Any hints for this?
>
> You can solve this by putting the following line on your
> jonas .properties file for Interbase
> datasource.isolationlevel read_commited
You can use this isolation level only with jonas
2.3, right? Because I'm using jonas 2.2.7 at this
moment.
To make sure, that you also got the same error
as my, before you use the "datasource.isolationlevel read_commited",
I give you my error messages:
---------------------------------------------------------------------------
EntityContextImpl.storeIfModified :
java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method:
_$372 signature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to
find unitialized object on stack
at interbase.interclient.SQLException.<init>(SQLException.java:83)
at
interbase.interclient.DeadlockException.<init>(DeadlockException.java:79)
at
interbase.interclient.RecvMessage.createSQLException(RecvMessage.java:650)
at
interbase.interclient.RecvMessage.makeSQLException(RecvMessage.java:593)
at
interbase.interclient.RecvMessage.get_EXCEPTIONS(RecvMessage.java:554)
at
interbase.interclient.PreparedStatement._$120227(PreparedStatement.java:358)
at
interbase.interclient.PreparedStatement.executeUpdate(PreparedStatement.java:338)
at
org.openuss.business.foundation.student.JOnASStudentBean.ejbStore(JOnASStudentBean.java:519)
at
org.objectweb.jonas_ejb.container.EntityContextImpl.storeIfModified(EntityContextImpl.java:282)
at
org.objectweb.jonas_ejb.container.EntityContextImpl.beforeCompletion(EntityContextImpl.java:162)
at
org.objectweb.jonas_tm.SubCoordinator.doBeforeCompletion(SubCoordinator.java:772)
at
org.objectweb.jonas_tm.SubCoordinator.commit_one_phase(SubCoordinator.java:255)
at
org.objectweb.jonas_tm.TransactionImpl.commit(TransactionImpl.java:164)
at org.objectweb.jonas_tm.Current.commit(Current.java:206)
at org.objectweb.jonas_ejb.container.JBean.doPostInvoke(JBean.java:194)
at
org.objectweb.jonas_ejb.container.JBeanSession.postinvoke(JBeanSession.java:399)
at
org.openuss.business.foundation.student.JOnASStudentHelperRemote.listRegisteredSubjectsByStudent(JOnASStudentHelperRemote.java:186)
at
org.openuss.business.foundation.student.JOnASStudentHelperRemote_Skel.dispatch(JOnASStudentHelperRemote_Skel.java:243)
at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:319)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:187)
at sun.rmi.transport.Transport$1.run(Transport.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
at java.lang.Thread.run(Thread.java:484)
EntityContextImpl.abortTransaction
Rollback during beforeCompletion in SubCoordinator.commit_one_phase
Commit local transaction -> rolled back!
---------------------------------------------------------------------------
Like I said before, this error only happens with this environment:
- InterBase 6.0.1
- InterClient/Server 2.0
- Call the bean method two times or more at the
"really same time".
It makes no difference between read-only (showing
a list of all "students" for example) or write method.
I've already checked this wyrd behaviour with
- HypersonicSQL (standard option from jonas)
- PostgreSQL (standard option from jonas)
and it works without the above mentioned errors...
> Btw, I saw that some implementations of your OpenUSS system are now
> using PostgreSQL. Dont do this, Interbase is much better database (i
> use it for many years).
I also like InterBase very much and also use it since
a long time ago ;-)
Could you please confirm these error messages, before
I switch to jonas 2.3? This problem is really annoying,
because the user always has to reload the page...
I really appreciate your help!
--
---------------------------------------------------
Blasius Lofi Dewanto
---------------------------------------------------
OpenUSS - Open University Support System
http://openuss.sourceforge.net
---------------------------------------------------
E-Mail : [EMAIL PROTECTED]
ICQ : 39343280
---------------------------------------------------
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".