Java - General » EJB » Not able To run EJB in JBoss
if you are using 3.** version of EJB then you can ANT for deployment for
easy development . i think if you cheak once angain the all java file you
find some where right instance is not for the object is decleared ..
This is main rean behind the classcast exception ..
see here it can genrate class cast exception ..
Object x = new Integer(0);
System.out.println((String)x);
254 Views
3 Replies
Not able To run EJB in JBoss
Posted 14-05-2009Reply
Hi All,
Iam getting the ClassCastException while narrowing the Object (Object got from lookup() method) class to the Home Interface, I am using JBoss 4.2 version, I have checked the JMX-Console and I think everything is correct there.
Thanks In Advance......
Renjith M
if you are using 3.** version of EJB then you can ANT for deployment for
easy development . i think if you cheak once angain the all java file you
find some where right instance is not for the object is decleared ..
This is main rean behind the classcast exception ..
see here it can genrate class cast exception ..
Object x = new Integer(0);
System.out.println((String)x);











