This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EJB 2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB 2.1" Watch "EJB 2.1" New topic
Author

EJB 2.1

Adhir Aima
Greenhorn

Joined: Jul 19, 2007
Posts: 3
All,

I am trying to learn ejb, developed an application on eclipse 3.2 and have tried to deploy it on jrun4 jboss 4.2 sun one app server 9 without any success, i have worked out all dependencies of latest jdk version or java ee versions but still no good. Mostly it is that the container that throws an error saying the "verification failed".
I also have heard the fact that the order of nodes in the DD would make a difference, is it true.
Can some one please help me out with how to deploy ejb on jrun 4 or jboss 4.2 or atleast suggest any links on how to deploy..

Thanks in advance,
Adhir Aima
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

Welcome to JavaRanch

Can you post the exception stacktrace that you are seeing? Also, how is your ejb packaged? Is it as a jar file or an ear file?


[My Blog] [JavaRanch Journal]
Adhir Aima
Greenhorn

Joined: Jul 19, 2007
Posts: 3
Jai,
I am unable to deploy it on jrun 4..maybe its beacuse of the wrong dd.

The problem is thar when i specify the ejb jar path...the app server says no ejb package found.

And the way i package my app is create a ejb project in eclipse 3.2 and export to a ejb jar.

Any help is appreciated.
adhir
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

I havent generated EJB jars using any IDE, so i dont have much idea as to how they are done. The jar that gets generated from your IDE, does it contain an ejb-jar.xml? Also what are the contents of the ejb jar that gets created? Could you post the output of the following command run from the command prompt:

From the command prompt, first move to the folder containing your ejb jar file and then run this

where myApp.jar is the ejb jar file.

The problem is thar when i specify the ejb jar path...the app server says no ejb package found.


Also, can you please post the entire exception stacktrace or maybe the error message that you seeing on the server? Someone here might be able to figure out the problem seeing that log.

P.S. While posting the exception stacktrace or the output of the command, make sure that you use the Code button to wrap the contents in a code block. That will make it easier to read
 
 
subject: EJB 2.1
 
Similar Threads
Enterprise Application in Eclipse 3.4.0 with JBoss
How to configure JBoss for hot deployment.
Cannot connect remotely to Jboss 4.2
RMI other Https
Cannot connect remotely to Jboss 4.2