See which of your colleagues or former colleagues are already on Java Link: Check out the Contact Finder
Java - General » EJB » Not able To run EJB in JBoss

254 Views
  3 Replies

0
Vote Vote
Not able To run EJB in JBoss
Share  
 Type: Professional, Report if fun topic
Renjith
Renjith Picture
1 Posts
back to top
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

Rajesh
Rajesh Picture
25 Posts
back to top
  Rated 0 | Posted 14-05-2009

Hi Renjith,

please check up for all the configuration files once again. or else can u post the code, now i am working on EJB. if i can, i will help u.

Mukesh
Mukesh Picture
37 Posts
back to top
  Rated 0 | Posted 13-11-2009


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);

Mukesh
Mukesh Picture
37 Posts
back to top
  Rated 0 | Posted 15-01-2011


you must try this really enjoying in money clicks.

http://www.neobux.com/?rh=6D756B6573683031


http://images.neobux.com/imagens/banner9.gif

0
Vote Vote
Share  
 Type: Professional, please report if fun topic

Recent Activity in Forums

05-04-2012.
05-04-2012.
Kanchana posted a new forum topic in
27-02-2012.
11-02-2012.
Kanchana posted a new forum topic in
11-02-2012.