[JBoss-user] EJB relation - exception in DBCCMRFieldBridge.setInstanceValue

2004-03-02 Thread MSedliak
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

Re: [JBoss-user] Local transaction configuration

2003-06-15 Thread MSedliak
..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

Re: [JBoss-user] JBoss 3.0.3 Connection Pooling...

2003-06-14 Thread MSedliak
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

Re: [JBoss-user] JBoss 3.0.3 Connection Pooling...

2003-06-13 Thread MSedliak
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

[JBoss-user] Local transaction configuration

2003-06-13 Thread MSedliak
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

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
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

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
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

RE: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
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

Re: [JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
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

[JBoss-user] TRANSACTION ISOLATION and ORACLE

2002-12-20 Thread MSedliak
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

Re: [JBoss-user] Initializing JDBC Connection II

2002-10-09 Thread MSedliak
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

Re: [JBoss-user] Initializing JDBC Connection II

2002-10-09 Thread MSedliak
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)

Re: [JBoss-user] Initializing JDBC Connection II

2002-10-08 Thread MSedliak
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

Re: [JBoss-user] Initializing JDBC Connection II

2002-10-05 Thread MSedliak
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

[JBoss-user] Initializing JDBC Connection II

2002-10-05 Thread MSedliak
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

Re: [JBoss-user] ejb foreign contsraints question

2002-03-21 Thread MSedliak
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

Re: [JBoss-user] Someone PLEASE advise re: Client UserTransactions nevercommiting

2002-01-19 Thread MSedliak
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

[JBoss-user] Please help

2001-10-24 Thread MSedliak
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