If any one want I can provide/share my all source code.I am doing
commit/rollback at only one place in my code.
My question is that even if I am doing mistake in the managing the distributed
transaction, JBOSS should simply rollback everything ; why is it throwing run
time exception.
can any
Hello All,
I am evaluating distributed trransaction using JBOSS4.2.2.
I have oracle9i database X and another oracle 9i database Y.
Both the databse X and Y is located in the diffrent country and machine.
I want to make changes in the databas X and database Y in one transaction.
I have created
Thanks a lot for the reply.
I have used EJB3.O entity bean in my session bean to update the databses's
table.
The XML configuration files of databases are put in the deploy directory of
JBOSS which details are as follwos:-
Databas X:
-
| ?xml version=1.0 encoding=UTF-8?
|
|
Thanks a lot for the reply.
I have changed the datasouurce configuration file XA as follows :-
| ?xml version=1.0 encoding=UTF-8?
|
| !-- =
--
| !--
The following are extract of error message from the server.log file for your
perusal :-
anonymous wrote :
| oracle.jdbc.xa.OracleXAException
| at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1270)
|
anonymous wrote :
| 6950 at
I checked in the oracle documentation and I have found this type of error
occured when one writes DDL statement in a transation. The DDL statement is
auto commit.
But I have not written any DDL statement in my distributed trasaaction. I have
simply updating two tables using Entity bean.
] XAExceptionFormatters are
not supported by the JBossTS Transaction Service - this warning can safely be
ignored
| 15:29:32,423 ERROR [MainDeployer] Could not create deployment:
file:/app/jboss-4.2.2.GA/server/ajayks/deploy/oracle1-xa-ds.xml
| org.jboss.deployment.DeploymentException: Trying to install
After removing the part of datsource XML flle stating with mbean code there
was no error at the time of deployment.
But I am getting following error message at run time after initiating
distributed transaction from client :-
| 15:47:20,643 INFO [SessionFactoryObjectFactory] Factory name:
Dear All,
I am evaluating JAX-WS using JBOSS 4.2.3. I have exposed a simple statetless
EJB3.0 as a web service which echo back the argument sent to it.
The code of web service is as follows :
| package ccc;
|
| import javax.jws.*;
| import javax.ejb.*;
| @Stateless
|
Dear Peter,
I have included all the jars from $JBOSS_HOME/client/lib directory in the
classpath of client program of web service since begining and it is still not
working.
Do I need to provide integration layer of web service to the srever in
order to run the web service on jboss
Thanks Peter for the taking time to reply.
1.What is strange in my JBOSS 4.2..2 installation is that I have not finding
following jars in my $JBOSS_HOME/client/ path :-
jbossws-native-jaxws.jar
jbossws-native-core.jar
client/jbossws-native-jaxws-ext.jar
Thanks a lot peter for the reply. I am new in JbossWS and I am evaluating it
for the use in our organization.
1.I did not call the web service using wsrunclient.I called it from simple
java program.
I found some of the the jars specified by you like jbossws-native-jaxws.jar
is not
Thanks a lot peter for the reply.
I created the client stub for the my deployed web service and
I called the webservice with the help following code :-
GreetingService greetingSrv = new GreetingService();
Greeting greeting =greetingSrv.getGreetingPort();
But I am getting following run time
I exposed a stateless EJB3.0 as a web service as per JAX-WS specification.
I deployed the web service on JBOSS 4.2.2 Application server which created
the corresponding WSDL file successfully .I can see the produced WSDL file for
the deployed Web service.
I tried to consume the deployed web
Hello all,
I have created EJB3.0 stateteless session bean named Greeting as a webservice
using JAX-WS specifcation. This web service simply returning the parameter
what is sent to it. I am successfully able to deploy the created web service
on JBOSS application server 4.2.2 and the WSDL
I want to know about the configuration in JBOSS which allow me to store JMS
message sent to Queue in Oracle database.
I want to following information with regard to this:-
1. What configuration I need to do in JBOSS 4.2.2.GA for persisting message in
Database
2. How can I view persisted message
I want to know about the configuration in JBOSS which allow me to store JMS
message sent to a Queue in the Oracle database.
I want to following information with regard to this:-
1. What configuration I need to do in JBOSS 4.2.2.GA for persisting JMS
message in the oaracke Database
2. How can I
Thanks a lot ALR.
I have now got the required class.
I want one more clarification from your side,
there is jboss-ejb3x.jar available in the $JBOSS_HOME/server/[serverName]/lib
directory. What is diffrence between this jar and the
the jboss-ejb3.jar jar available in the
I am using JBOSS4.2.2.GA for the application writen in EJB3.0.
I want to control size of instance pool of a stateless/MDB bean using
org.jboss.ejb3.StrictMaxPool class.
But the jar file shipped with JBOSS4.2.2.GA doesnot contains any
org.jboss.ejb3.StrictMaxPool class.
I request to help me
I am using JBOSS4.2.2.GA for the application writen in EJB3.0.
I want to control size of instance pool of a stateless/MDB bean using
org.jboss.ejb3.StrictMaxPool class.
But the jar file shipped with JBOSS4.2.2.GA doesnot contains any
org.jboss.ejb3.StrictMaxPool class.
I request to help me
I am testing an EJB3.0 application ih JBOSS hosted in Linux machine
It simply calls a business method 100 times.
The business method simply inserts some JMS messages in the well defined queues.
The MDB is attached with each queue and each MDB call a local business method
which simply update the
Hello JaiKiran,
Thanks for the reply.
I am using JDK1.5 of SunMicrosystem and the version of JBOSS I have used is
4.2.2.GA.
The following are the stack trace for the exception I have got:-
11:10:22,744 WARN [UILServerILService] Failed to setup client connection
java.net.SocketException: Too
22 matches
Mail list logo