Hi all,
I would llike to ask you for help. I have a problem with setting the
relation - there are 2 entity beans with ONE to MANY relationship (see
ejb-jar.xml). When I try to set SenavigatorLink on Senavigator (using
Collection) I get the following exception :
20:07:48,311 ERROR [STDERR] javax
..sorry, I have posted this to another thread :
OK, default oracle-ds.xml configures local transacation datasource. But then I do not understand, how can I get different connections when calling SLB with Required TA from another SLB with Required TA - they are supposed to be executed in the same
OK, default oracle-ds.xml configures local transacation datasource. But then I do not understand, how can I get different connections when calling SLB with Required TA from another SLB with Required TA - they are supposed to be executed in the same transaction context so the same connection should
Hi,
excuse me plesae, but I think your connections or statements have stayed open - we had the same problem before - Oracle, Max open cursors ... and the problem was the forgotten open connection - good way how to figure out this problem is JBoss 3.2 - this version produces warning when the connec
Hi all.
Please I would like to ask you for a kind of help. I have bought and passed through the JBoss docs (Admin, CMP), I have searched forums - no success. I would like to know how to configure JBoss to use local transactions. Please where could I find any info about it ? I use Oracle 8.1.7, J
Hi Saroi,
not exactly - in this case I use session beans for calling data access
layer that accesses database. Connection is picked up from pool and used.
So in this case I do not use entity beans.
Thanks
Mark
Thank you veru much for you're helping me.
I looked at standardjboss.xml but there is no change to set commit option
for session bean - just for entity beans.
Marek
Hi Saroj,
thank you for your help.
Ad 1 - I'm sorry, but what is commit option B/C
Ad 2 - I have tried it but didn't help. Anyway, I see you use oci jdbc
driver (jdbc:oracle:oci8:@RPM-9I) and I use thin JDBC driver. Do you think
it could be a source of my problem ? Why do you use oci driver ?
T
David,
thaks. I have tried to set
TRANSACTION_READ_COMMITTED
into oracle-service.xml but it didn't help. Still when I call the second
bean's method with RequiresNew transaction attribute it hangs. Looks like
this setting would have no impact connection.
Thanks.
Marek
Hi All.
I have already searched the forum but haven't found any answer. Please, I
would appreciate any suggestions. I have the following problem :
I've got two session beans. The first one has a method with Required
transaction attribute and the second one has a method with RequiresNew
transact
OK.
I use this on JBoss 2.4 and WebSphere :
//Restoring connection from pool
dataSource = (DataSource)ServiceLocator.getServiceLocator
().getJndiService(jndiDataSourceName);
connection = dataSource.getConnection();
//Setting NLS ...
setConnectionParams(connection);
where :
dataSource is inst
Hi David,
thank you for you're helping me. I have tried to do this :
org.jboss.resource.adapter.jdbc.local.LocalConnection loJBossConnection
= (org.jboss.resource.adapter.jdbc.local.LocalConnection)aoConnection;
oracle.jdbc.driver.OracleConnection oraConn
= (oracle.jdbc.driver.OracleConnection)
Hi David,
thanks. I tried that, but jboss-jca.jar has no class in package
org.jboss.resource.adapter.jdbc.local. I use JBoss 3.0.2 - could this be a
problem ? Do I have to uprade JBoss ?
Thank you.
Marek
Hi David.
Thank you very much for your help.
But I still have a little problem - do you mean method
getUnderlyingConnection on tyrex.resource.jdbc.xa.TyrexConnection instance
? But it has a private access.
More details :
On JBoss 2.4 I used something like this :
//Restoring connection from p
Hi all,
please, I would like to ask you about initializing JDBC connection - I
mean, I need to set up a few connection params that are application
specific, e.g. for ORACLE - NLS_LANGUAGE, NLS_TERRITORY and NLS_SORT,
NLS_DATE_FORMAT. I have found in the archive it's a problem now. In JBoss
2.4
Hi Bryan,
as for me, the problem is not on JBoss side. We have a similar scenario and
it works great. We use oracle too. How do you perform insert into a file
table ?
Marek
I have met the similar problem. The reason - Connection.closed() was not
called, i.e. commit was not realized. Try to review your code from this
point of view.
Mark
Hi All,
please I would like to ask you for help. I use JBoss-2.2.2_Tomcat-3.2.2 and
I have a problem when I try to use my stateless EJB
sk.softip.ejb.util.EjbDispatcher after approx 20 minuts of waiting. I get
this exception.
Are there some ideas ?
java.lang.NullPointerException
at
org.open
18 matches
Mail list logo