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 Getting this exception 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 "Getting this exception "is in error due to the following reason(s): java.lang.IllegalStateException:" Watch "Getting this exception "is in error due to the following reason(s): java.lang.IllegalStateException:" New topic
Author

Getting this exception "is in error due to the following reason(s): java.lang.IllegalStateException:

Srinivas Karthik
Greenhorn

Joined: Sep 17, 2011
Posts: 28

Hello ranchers,

I am struggling with this problem since 2days, But not able 2 resolve it..
I created a simple JSP, which in turn instantiated and does some work, its a part of a big project though, it always throws the exception, I googled every possible way but din't find a perfect solution,
This is the error, log



It says that PolicyNameDAOBean, is already being registered. I checked many times there is only one instance of PolicyNameDAOBean.java in the project .ear file .

Please help me. I am in a big trouble
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting this exception "is in error due to the following reason(s): java.lang.IllegalStateException:
 
Similar Threads
struts newbie needs help with autocompleter
error due to the following reason(s): Web mapping already exists
Problem of dependency injection in jboss
@MappedSuperclass and @SecondaryTable Causing Exception In JBoss 5.1
unable to deploy a war(includes web services) on jboss 5.0.1 GA