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
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
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,
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
<
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
-
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&
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
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
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
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
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
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
---
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
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
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
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
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
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
--
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
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
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
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
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
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
---
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
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
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
27 matches
Mail list logo