[jboss-user] [JBoss jBPM] - Problem with the decision making node

2007-09-28 Thread ashusri000
Hi All , I am a new user to the jBPM tool and quite in a fix with it . I am trying a simple process as this : | START | | | Set Check Account Type |

[jboss-user] [JBoss jBPM] - Re: Problem with the decision making node

2007-09-28 Thread ashusri000
Thanks for the reply , but the thing I could not get across is how do I map a simple java class to the decision box . To be more precise under which event (Field / Bean / Constructor /Compatibility) I can see the Java Class implementing the DecisionHandler Interface because I think

[jboss-user] [JBoss jBPM] - how to interconnect jBPM with a third Party tool ? Pls Help

2007-08-06 Thread ashusri000
Hi All , I am quite new to the jBPM tool and I want to figure out if there is anyway to configure the jbpm tool with a billing application . to be more precise , I want to define the work flow in the jBPM interface and then want my billing app to follow the rules defined at the jBPM interface

[jboss-user] [EJB 3.0] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora

2007-07-18 Thread ashusri000
It would be very kind of you if you can send me a simple ear file containing an entity bean (one you have been able to deploy successfully) to my mail id : [EMAIL PROTECTED] Along with other configuration files... Regards View the original post :

[jboss-user] [EJB 3.0] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora

2007-07-18 Thread ashusri000
HI , I am using Oracle 10g , the same configuration as you are using . Actually I wished if you could give me the configuration details such as -.ds.xml files along with the packaging details of the ear/ jar files. It would be very kind of you if I could get some respite from you in

[jboss-user] [EJB/JBoss] - Exception in deploying ejb with Oracle but works with defaul

2007-07-17 Thread ashusri000
Hi All , I am trying to deploy a stateless bean and an entity bean and along with it I am using Hibernate as persistence provider but to my surprise , the code works fine with default data source(the one embedded in JBoss) but when I use the jndi name that I have used with the orcale-ds.xml

[jboss-user] [EJB 3.0] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora

2007-07-17 Thread ashusri000
Hi waynebaylor , I am sure you can help me out . Now I am trying to put this hibernate thing instead of toplink . Please can you put the configuration so that I can get ahead with this persistence. I am supposed to use JBoss4.2 with hibernate . Kindly , let me know the

[jboss-user] [EJB 3.0] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora

2007-07-16 Thread ashusri000
Hi waynebaylor , Earlier I did put the datasource in the same as you have , but when it didn't work out I tried to put in this way . Still it just did not worked out . Any clue ... Regards View the original post :

[jboss-user] [EJB 3.0] - Problem in deployment of ejb 3 in JBoss Server using Oracle

2007-07-12 Thread ashusri000
Hi All , I have packed a simple stateless bean along with an entity bean but there is an exception thrown during deployment as this : -

[jboss-user] [EJB/JBoss] - Problem in deployment of ejb 3 in JBoss Server using Oracle

2007-07-12 Thread ashusri000
Hi All , I have packed a simple stateless bean along with an entity bean but there is an exception thrown during deployment as this : -

[jboss-user] [EJB/JBoss] - Annotation Excepton durng Deployment

2007-07-08 Thread ashusri000
Hi All ... I am getting this exception while deploying an ear which contains a call to the entity bean from a session bean , does anybody have an idea where the things are going wrong : code: 09:44:13,765 WARN [ServiceController] Problem starting service

[jboss-user] [EJB 3.0] - Exception got in deployment of EJB3 .ear

2007-07-05 Thread ashusri000
Hi All , I am using ejb3 along with JBoss 4.2.0 , Java5 and Oracle Toplink as the persistence provider and Oracle 10g . After having deployed my datasource successfully , when I deploy my ear file , I get this error : Please help me out . 11:17:51,078 WARN [ServiceController] Problem creating

[jboss-user] [EJB 3.0] - Re: Exception got in deployment of EJB3 .ear

2007-07-05 Thread ashusri000
Hi , I already have this xml in the deploy directory , do I need to edit this file. Please revert back. Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4060654#4060654 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Exception got in deployment of EJB3 .ear

2007-07-05 Thread ashusri000
No , there are no exceptions when I start up the sever . I have packed an entity bean along with the stateless bean in a single jar . I didint get any error when there was a single stateless bean and I were to make a call also o it successfully , but since the time I have packed it with the

[jboss-user] [EJB 3.0] - Re: Exception got in deployment of EJB3 .ear

2007-07-05 Thread ashusri000
My persistence.xml looks like this : ?xml version=1.0 encoding=UTF-8? persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 xsi:schemaLocation=http://java.sun.com/xml/ns/persistence

[jboss-user] [EJB 3.0] - Re: Exception got in deployment of EJB3 .ear

2007-07-05 Thread ashusri000
Yes ! I have got this class very much in the jar along with the source Code . Moreover I am able to get a response also , from this class. But then this class is unable to further continue its call to the entity bean and this is the place where it throws up the exception then. View the

[jboss-user] [EJB 3.0] - Re: Exception got in deployment of EJB3 .ear

2007-07-05 Thread ashusri000
Hi , Thanks a ton for the kind effort that you are putting up. I am now stuck as every time it wont throw up the same message . This time when I made deploy the ear it threw up this message : 2:39:15,218 INFO [PersistenceUnitDeployment] Starting persistence unit

[jboss-user] [EJB/JBoss] - Re: Exception in calling an Entity Bean from Servlet

2007-07-05 Thread ashusri000
Hi All , I am getting this exception after making a call to persist some data . Please can anybody help me out : ERROR [[TestServlet]] Servlet.service() for servlet TestServlet threw exception java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence at

[jboss-user] [EJB/JBoss] - Exception in calling an Entity Bean from Servlet

2007-07-05 Thread ashusri000
Hi All , I am getting this exception after making a call to persist some data . Please can anybody help me out : ERROR [[TestServlet]] Servlet.service() for servlet TestServlet threw exception java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence at

[jboss-user] [EJB 3.0] - Re: Can a Stateless bean make a call to an entity bean to pe

2007-06-28 Thread ashusri000
Hi , thanks for the response but I had already been to this page with this exception and if you take a look at the code that is given there then you will notice that they have used a variable by the name mySession which they have provided no reference for as how did they implemented or

[jboss-user] [JNDI/Naming/Network] - Re: Exception javax.naming.NameNotFoundException

2007-06-28 Thread ashusri000
Hi All , I am facing a similar problem after I deploy my datasource.xml file in the deploy directory . Then if I try to list the jndo tree from the server's web console then I face this error: 18:50:34,953 ERROR [JNDIView] JNDIView.getHAJndiAttributes() failed

[jboss-user] [EJB/JBoss] - Problem in calling an enity bean from the Stateless bean

2007-06-27 Thread ashusri000
Hi All , I am facing problem in calling a entity Bean from a Stateless Bean .The call flow goes like this: Jsp Page -- Servlet -- Stateless Bean -- Persisting the Data obtained from jsp page into entity bean . The jsp page Servlet are deployed as a separate .war file on the Jboss server

[jboss-user] [EJB 3.0] - Can a Stateless bean make a call to an entity bean to persis

2007-06-27 Thread ashusri000
Hi All , I am facing a problem in trying to put a call from a Stateless bean to an entity bean to persist an object . The beans are packed in an ear file and have been deployed on JBOss Server 4.xx . When I make a call to persist the entity bean object then it throws up an error as

[jboss-user] [EJB 3.0] - Re: Can a Stateless bean make a call to an entity bean to pe

2007-06-27 Thread ashusri000
Hi oskar.carlstedt, First of all thanks a lot for your reply . Yes , I am using toplink here and I have already got the clue for ds.xml file but I want to where I should be putting this ds.xml file : 1.Should I pack it in the ear file along with the persistence.xml file

[jboss-user] [EJB 3.0] - Re: Can a Stateless bean make a call to an entity bean to pe

2007-06-27 Thread ashusri000
TO further add to the things I had already put the ds.xml file in the deploy directory but it when I go to access the entity it throws up this error : Internal Exception: javax.naming.InvalidNameException: Not a compound name: my-ejb-test 16:05:48,312 ERROR [STDERR] at

[jboss-user] [EJB 3.0] - Re: Can a Stateless bean make a call to an entity bean to pe

2007-06-27 Thread ashusri000
Hi ! I am able to get the datasource being properly deployed and able to see it at the server console also. There is no error so far with this part . But when I go for deployment of the entity bean then it shows an error that this jndi name is not a compound name and then the call to

[jboss-user] [EJB 3.0] - generating a Primary Key using a Sequence in JPA

2007-06-26 Thread ashusri000
Hi All , I have a simple POJO where I want to generate the Primary key using a sequence that increments value by 1 each time a new row gets inserted , .Here is the sample code: public class Tab1 implements Serializable { @Id @GeneratedValue(strategy=GenerationType.TABLE, generator = tabGen)

[jboss-user] [EJB/JBoss] - generating a Primary Key using a Sequence in JPA

2007-06-26 Thread ashusri000
Hi All , I have a simple POJO where I want to generate the Primary key value incremented by 1 each time a new row gets inserted , using a sequence . Here is the sample code: public class Tab1 implements Serializable { @Id @GeneratedValue(strategy=GenerationType.TABLE, generator = tabGen)

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem in deploying ejb

2007-06-26 Thread ashusri000
I am unable to deploy a POJO which I want to persist on Oracle database , but I am getting an error as this while deploying it : -- 12:35:05,187 ERROR [URLDeploymentScanner] Incomplete Deployment listing: ---

[jboss-user] [EJB 3.0] - Re: generating a Primary Key using a Sequence in JPA

2007-06-26 Thread ashusri000
CORRECTION in above Post : Hi All , I have a simple POJO where I want to generate the Primary key using a sequence that increments value by 1 each time a new row gets inserted , .Here is the sample code: public class Tab1 implements Serializable { @Id

[jboss-user] [EJB 3.0] - Re: generating a Primary Key using a Sequence in JPA

2007-06-26 Thread ashusri000
Hi , What I am trying to do is , simply trying to persist a new Object every time the main method gets called and could not see anypoint where there are multiple / double call to sequence. The sequence that I am using is not already defined in the database , I have defined it in the code

[jboss-user] [EJB 3.0] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All , I am trying to deploy make a simple flow as : Servlet --- (invokes) Stateless Bean (invokes) Entity Bean(persistence object ) But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this entity bean as an ear . The persistence.xml has following

[jboss-user] [EJB/JBoss] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All , I am trying to deploy make a simple flow as : Servlet --- (invokes) Stateless Bean (invokes) Entity Bean(persistence object ) But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this entity bean as an ear . The persistence.xml has following entries : ?xml

[jboss-user] [Installation, Configuration Deployment] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All , I am trying to deploy make a simple flow as : Servlet --- (invokes) Stateless Bean (invokes) Entity Bean(persistence object ) But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this entity bean as an ear . The persistence.xml has following entries : ?xml

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All , I am trying to deploy make a simple flow as : Servlet --- (invokes) Stateless Bean (invokes) Entity Bean(persistence object ) But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this entity bean as an ear . The persistence.xml has following entries : ?xml

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Unable to deploy persistence entity on JBOss : Please Help

2007-06-19 Thread ashusri000
Dear All , I am trying to deploy make a simple flow as : Servlet --- (invokes) Stateless Bean (invokes) Entity Bean(persistence object ) But I am unable to deploy this Entity Bean on JBoss 4.xx. I have packed this entity bean as an ear . The persistence.xml has following entries : ?xml