[JBoss-user] [EJB/JBoss] - Re: Transaction across different DBs

2006-03-30 Thread sriramp_here
Regarding your scenario, you have to use XA-transactions, as well as configure your datasource as XA datasource. Please have a look at jboss wiki for further inforamation. Hope this helps, Regards Sriram. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=393366

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate unable to startNewTransaction

2006-03-30 Thread sriramp_here
Ignore the earlier post. In your specific case i guess you are starting different transaction with in a single threaded call which i guess is not possible. Lets say you have to start a new transaction from an EJB you have to look up again another component to do it. In shor you cannot have neste

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate unable to startNewTransaction

2006-03-30 Thread sriramp_here
In your specific case i guess you are starting different transaction with in a single threaded call. Lets say you have to start a new transaction from an EJB you have to look up again another component to do it. In shor you can have nested transactions withh in a single thread. Hope this helps,

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Transaction is not active

2006-03-30 Thread sriramp_here
Hi , This occurs because the Jboss Transaction Manger time out the underlying connection if your database transactions are longer. One way to prevent is, first find the piece of code i 300 true jboss:service=XidFactory in the file jboss-service.xml and change the <

[JBoss-user] [EJB/JBoss] - Re: Error looking up a stateless session bean

2006-02-27 Thread sriramp_here
Hi Try adding jboss-j2ee.jar to your classpath. Regards Sriram View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926483#3926483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926483 -

[JBoss-user] [EJB/JBoss] - Re: EJB Working in windows but not in Linux

2006-02-27 Thread sriramp_here
Hi , The information is not sufficient i guess. But possible things you can look is. 1) Please check the class loader configurations. 2) Since Jboss uses dynamic proxies, you may not able to find the exact issue. Regards Sriram View the original post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [EJB/JBoss] - Re: Optimistic Locking policy in jboss

2006-02-26 Thread sriramp_here
Hi, To add to my above comments i also looked in to the standardjboss.xml where, i saw different container configurations. There i noticed that the is only applied on Entity Beans ( Container managed as well as Bean Managed). Is it possible to apply a for Session Beans as well as Message

[JBoss-user] [EJB/JBoss] - Re: Optimistic Locking policy in jboss

2006-02-26 Thread sriramp_here
Hi I tried what you have mentioned in the reply. But still it is not working. Please have a look at my jboss.xml. I have purposefully added a space for session tag. So do consider that as a mistake. Other than than can you tell me is there something else where i am going wrong. http://www.jbo

[JBoss-user] [EJB/JBoss] - Optimistic Locking policy in jboss

2006-02-21 Thread sriramp_here
Hi I have a question regarding locking policy in jboss. I am using an oracle database. Now what I am doing is, I am updating a set of records from oracle using normal JDBC Connection (using a datasource of course), from an MDB.The update operation takes some time since there are a number of rec

[JBoss-user] [EJB/JBoss] - Re: EJB deployment problem

2006-02-21 Thread sriramp_here
I guess Problem is with your JNDI naming. Please checke the JNDI naming in ejb-jar.xml as well as jboss.xml Regards Sriram View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925316#3925316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Different Timeout for different Connection Pools

2006-01-17 Thread sriramp_here
Can i configure different Connection time out for different Connection pools. I know that there is an attribute in the jboss-service.xml namely TransactionTimeout, for which i can set the value of the timeout. But If i do this, this property is applied to all the connection pools in my server.Any

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Repeated Transaction Timeouts

2006-01-17 Thread sriramp_here
You can try making the connection timeout property as 0,so that the connectio n never times out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917846#3917846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917846 ---

[JBoss-user] [Beginners Corner] - Re: Multiple databases

2005-09-22 Thread sriramp_here
You can use the same jboss server to connect to differnet database server. You can add the two database configurations in the same oracle-ds.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896310#3896310 Reply to the post : http://www.jboss.com/index.ht

[JBoss-user] [Beginners Corner] - Re: session values

2005-07-31 Thread sriramp_here
Hi, Try deleting the contents under the folder work and tmp. This may help but not sure ;-) Sriram.P View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887630#3887630 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=388763

[JBoss-user] [Beginners Corner] - Re: Jboss multi-instances and queue sharing

2005-07-31 Thread sriramp_here
I guess this is not the correct form to ask this. Why dont you try the same post in JM/Messaging or clustering. Regards Sriram.P View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887627#3887627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Beginners Corner] - Re: use

2005-07-26 Thread sriramp_here
I am not sure about this. According New Java Spec says that if the package is null then we may get this Exception. Make sure that your classes are in porper package. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886563#3886563 Reply to the post : http://ww

[JBoss-user] [Beginners Corner] - Durable Subscription

2005-06-06 Thread sriramp_here
Hi I have a question regarding making a subscription durable. I went a lot through the documentation but still i am not able to get it right. This is my publisher code only part of it. Context ctxInitCtxt = new InitialContext(); TopicConnectionFactory factory = (Topi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Transaction Timeout

2005-05-31 Thread sriramp_here
I guess the best solution is to upgrade to JBoss 4.0.0 Sriram View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879535#3879535 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879535 --

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB invoked multiple times

2005-05-30 Thread sriramp_here
We have JBoss4.0.0 installed with Oracle as database. But for JMS persistance and state management we are using the HSQLDB. Now I have a MDB which has subscribed to a specific topic. From a Servlet we are invoking a Session Bean which in turn publishes a message to the topic to which the MDB lis

[JBoss-user] [Beginners Corner] - Turning SQL debug on

2005-04-13 Thread sriramp_here
Hi I am currently using JBOSS with Oracle. I am executing some stored procedures. If i want to log the SQL statements which are being executed how can i do that. Turning the true in standardjaws.xml will only help of Entity beans. Here i am using DAO's for executing the stored procedure. Pl

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS provider failure detected:

2005-04-05 Thread sriramp_here
Hello, I dont understand why this error is happening. I have a oracle database with JBOSS. I also have a MDB im my application. The application is connecting to the database perfectly. I guess while connecting to JMS I am getting an error. But when I am trying to look up a connection factory I a

[JBoss-user] [Beginners Corner] - JMS provider failure detected:

2005-04-05 Thread sriramp_here
Hello, I dont understand why this error is happening. I have a oracle database with JBOSS. I also have a MDB im my application. The application is connecting to the database perfectly. I guess while connecting to JMS I am getting an error. But when I am trying to look up a connection factory I a

[JBoss-user] [Messaging, JMS & JBossMQ] - XAConnectionFactory not bound

2005-04-05 Thread sriramp_here
Hello, I dont understand why this error is happening. I have a oracle database with JBOSS. I also have a MDB im my application. The application is connecting to the database perfectly. I guess while connecting to JMS I am getting an error. But when I am trying to look up a connection factory

[JBoss-user] [Beginners Corner] - Re: Connection Pooling In JBOSS

2005-03-29 Thread sriramp_here
Hi Thanks a lot for the explanation. Regards Sriram. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871979#3871979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871979 ---

[JBoss-user] [JCA/JBoss] - Connection Pooling In JBOSS

2005-03-28 Thread sriramp_here
Hi, I am Using oracle as the datasource. I have a doubt whether I should write any connection pool for the JBoss app Server.Lets Say I have a maximum of 15 connections configured in my oracle-xa-da.xml. I have pasted my oracle-xa-ds below. XAOracleDS false oracle.jdbc.xa.client.OracleXADataSo

[JBoss-user] [Beginners Corner] - Connection Pooling In JBOSS

2005-03-28 Thread sriramp_here
Hi, I am Using oracle as the datasource. I have a doubt whether I should write any connection pool for the JBoss app Server.Lets Say I have a maximum of 15 connections configured in my oracle-xa-da.xml. I have pasted my oracle-xa-ds below. XAOracleDS false oracle.jdbc.xa.c

[JBoss-user] [Beginners Corner] - Re: JDBC:ODBC driver for jboss-hypersonic required please he

2005-03-28 Thread sriramp_here
HI Instead of this use the JNDI Data source Configuration. DefaultDS jdbc:hsqldb:hsql://localhost:1701 jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB org.hsqldb.jdbcDriver sa