[jboss-user] [EJB 3.0] - Re: Exception in Distributed transaction in EJB3.0

2008-10-21 Thread ajayks
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

[jboss-user] [EJB 3.0] - Exception in Distributed transaction in EJB3.0

2008-10-20 Thread ajayks
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

[jboss-user] [EJB 3.0] - Re: Exception in Distributed transaction in EJB3.0

2008-10-20 Thread ajayks
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? | |

[jboss-user] [EJB 3.0] - Re: Exception in Distributed transaction in EJB3.0

2008-10-20 Thread ajayks
Thanks a lot for the reply. I have changed the datasouurce configuration file XA as follows :- | ?xml version=1.0 encoding=UTF-8? | | !-- = -- | !--

[jboss-user] [EJB 3.0] - Re: Exception in Distributed transaction in EJB3.0

2008-10-20 Thread ajayks
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

[jboss-user] [EJB 3.0] - Re: Exception in Distributed transaction in EJB3.0

2008-10-20 Thread ajayks
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.

[jboss-user] [EJB 3.0] - Re: Exception in Distributed transaction in EJB3.0

2008-10-20 Thread ajayks
] 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

[jboss-user] [EJB 3.0] - Re: Exception in Distributed transaction in EJB3.0

2008-10-20 Thread ajayks
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:

[jboss-user] [JBossWS] - Unable to create instance of Service object from a WSDL file

2008-10-10 Thread ajayks
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 |

[jboss-user] [JBossWS] - Re: Not getting instance of Service object from a WSDL file.

2008-10-02 Thread ajayks
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

[jboss-user] [JBossWS] - Re: Not getting instance of Service object from a WSDL file.

2008-10-01 Thread ajayks
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

[jboss-user] [JBossWS] - Re: Not getting instance of Service object from a WSDL file.

2008-09-29 Thread ajayks
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

[jboss-user] [JBossWS] - Re: Not getting instance of Service object from a WSDL file.

2008-09-28 Thread ajayks
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

[jboss-user] [JBossWS] - Not getting instance of Service object from a WSDL file.

2008-09-27 Thread ajayks
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

[jboss-user] [JBossWS] - Unable to connect webservice deployed on JBOSS AS version 4.

2008-09-26 Thread ajayks
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

[jboss-user] [JBoss Messaging] - How to persist JMS message in the Oracle Database

2008-03-07 Thread ajayks
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

[jboss-user] [Messaging, JMS JBossMQ] - How to persist JMS message in the Oracle Database

2008-03-07 Thread ajayks
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

[jboss-user] [EJB 3.0] - Re: Not finding org.jboss.ejb3.StrictMaxPool class in the J

2008-02-29 Thread ajayks
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

[jboss-user] [EJB/JBoss] - Not finding org.jboss.ejb3.StrictMaxPool class

2008-02-28 Thread ajayks
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

[jboss-user] [EJB 3.0] - Not finding org.jboss.ejb3.StrictMaxPool class in the JBOSS

2008-02-28 Thread ajayks
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

[jboss-user] [EJB/JBoss] - Too many open files exception JBOSS 4.2

2008-02-25 Thread ajayks
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

[jboss-user] [EJB/JBoss] - Re: Too many open files exception JBOSS 4.2

2008-02-25 Thread ajayks
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