• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Deployment errors in JBoss5.1

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi brothers.........

Can anyone help me to sort out the deployment issues below?
I tried to deploy some EJB2 and hibernate components to JBoss5.1.
And the datasource is Oracle. ojdbc14.jar and all related hibernate jars have been copied to the lib folder.

I have used the correct oracle-ds.xml format and oracle-persistence-service.xml files in messaging folder.

The EJB2 is just a jar file and the META-INF folder contains:

ejb-jar.xml:




----------------------------------------------------------------------------------------------------------------------------------------------------

jboss.xml :




----------------------------------------------------------------------------------------------------------------------------------------------------

The JBoss default deploy folder contains a DS xml file:




----------------------------------------------------------------------------------------------------------------------------------------------------

a hibernate service xml file:




----------------------------------------------------------------------------------------------------------------------------------------------------

Common_Oracle.hbm.xml,C_Oracle.hbm.xml,H_Oracle.hbm.xml are all in conf folder.

and a dar.properties file in conf folder with below content:




----------------------------------------------------------------------------------------------------------------------------------------------------



=========================================================================

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This Mbean no longer exists in 5.1.0: jboss.jca:service=RARDeployer
Remove the related dependency from the hibernate service xml file and see if that works.
 
David Lin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, brother
 
David Lin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now I am having another issue calling the JNDI.


Any suggestions?
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make sure that your client is using the 5.1.0 client JAR files.
 
David Lin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.............
 
And inside of my fortune cookie was this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic