[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=bb&op=viewtopic&p=4066691#4066691

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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...






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 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";>

oracle.toplink.essentials.PersistenceProvider
java:comp/env/jdbc/my-ejb-test
src.Employee






 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066685#4066685

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/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:

  | 
  | 
  | 
  |   
  | OracleDS
  | 
jdbc:oracle:thin:@db_host:1521:database_name
  | 
  | oracle.jdbc.driver.OracleDriver
  | 
  | my_name
  | my_pass
  | 
  |   
  | 
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
  |
  | 
  |   
  |   
  |  Oracle9i
  |   
  |   
  | 
  | 

and here's an example persistence.xml:

  | http://java.sun.com/xml/ns/persistence";
  |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  |version="1.0">
  |
  | 
  | 
  | org.hibernate.ejb.HibernatePersistence
  | 
  | java:/OracleDS
  | 
  | onetoone.Parent
  | onetoone.Child
  | onetoone.Person
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065794#4065794

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065794
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 this regard.
  Expecting a relief from you soon.

Regards


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065632#4065632

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4065477#4065477

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065477
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065352#4065352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 process of configuration steps along with 
the required .xml and other config files.


Regards 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065245#4065245

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065245
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065026#4065026

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064811#4064811

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064811
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4064589#4064589

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064589
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064284#4064284

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064284
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063433#4063433

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063433
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user