File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Getting Error during deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Getting Error during deployment" Watch "Getting Error during deployment" New topic

Getting Error during deployment

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
I'm getting below error during deployment of my ear file.

The entry in ejb-jar.xml file:

Could you please give me some clue why JBOSS is complaining.
Peter Johnson

Joined: May 14, 2008
Posts: 5772

The error says that it cannot find this class: com.retek.rsm.external.service.SecurityDisplayableReferenceServiceEjb
Did you spell it correctly? If so, where does that class exist? And where is the JAR containing that class?

JBoss In Action
Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342

I have verified that I spelled it correctly. Our application jar contains this class in same package structure how it's mentioned in the ejb-jar.xml file.

I have also verified in the C:\jboss-3.2.7\server\default\deploy\rpm11.ear\rpm11.jar\com\retek\rsm\external\service folder

and the SecurityDisplayableReferenceServiceEjb.class exits in that location.


I agree. Here's the link:
subject: Getting Error during deployment
Similar Threads
Problem while deplying stateful session bean
JBoss 4.0 and MSSQL Server 2000
How to get the datasource from Bean through deployment descriptor
deployment problem in entity beans having bean manage persistence in jboss
Ejb deployment issue