wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Deployment errors in JBoss5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deployment errors in JBoss5.1" Watch "Deployment errors in JBoss5.1" New topic
Author

Deployment errors in JBoss5.1

David Lin
Greenhorn

Joined: Feb 22, 2010
Posts: 4
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:




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



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

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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.


JBoss In Action
David Lin
Greenhorn

Joined: Feb 22, 2010
Posts: 4
Thanks, brother
David Lin
Greenhorn

Joined: Feb 22, 2010
Posts: 4
Now I am having another issue calling the JNDI.


Any suggestions?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Make sure that your client is using the 5.1.0 client JAR files.
David Lin
Greenhorn

Joined: Feb 22, 2010
Posts: 4
Thanks.............
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment errors in JBoss5.1
 
Similar Threads
jboss deployment exception
Getting IO Exception
Server starts but page can't display (JBoss AS 5.1.0.GA)
Error while deplloying the application on JBoss.
Error on Starting jboss 5.1.0