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

2007-07-23 Thread sankarreddy123
hi there is mistake in u r persistence.xml file i correctd it and i am giving that at here. u should give provider class in the tag only... ?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;

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

2007-07-23 Thread waynebaylor
please enclose your XML in quote or code tags. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066691#4066691 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066691 ___ jboss-user

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

2007-07-19 Thread waynebaylor
here's an example oracle-ds.xml: | ?xml version=1.0 encoding=UTF-8? | | datasources | local-tx-datasource | jndi-nameOracleDS/jndi-name | connection-urljdbc:oracle:thin:@db_host:1521:database_name/connection-url | |

[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 waynebaylor
JBoss comes with Hibernate installed, so there's no work to do there. What database are you using? oracle, mysql, ...? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065477#4065477 Reply to the 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 3.0] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora

2007-07-17 Thread waynebaylor
hmmm, well it looks like there's a conflict with toplink: anonymous wrote : java.lang.ClassCastException: oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider but i don't know what would cause this error. i'm using hibernate with oracle 10g. View the original post :

[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 waynebaylor
ashusri000, i think you may need to change your JTA data source. I'm using oracle (i copied the oracle-ds.xml) and my JTA data source is: java:/OracleDS which was specified in the xml file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064589#4064589 Reply

[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] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora

2007-07-15 Thread ejbiva
I also have similar problem when I call EntityManager.create to insert one record into oracle DB.Fatal error occur.one thing should be added that is I have never create related table in the DB.I think the mapping machenism should create it instead of me.It is true? Stanley View the original

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

2007-07-12 Thread alexandre.krohn
Hi, I have a similar problem as you, but the exception I got is different. I got ClassNotFoundException, and I guess is due the unusual ClassLoader architecture of JBoss. Which versions of JBoss and Toplink Essentials are you using? How did you installed Toplink on JBoss? Alexandre View the