GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes EJB 3.0 look up throw naming exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB 3.0 look up throw naming exception" Watch "EJB 3.0 look up throw naming exception" New topic
Author

EJB 3.0 look up throw naming exception

Gopi Chand
Greenhorn

Joined: Feb 04, 2007
Posts: 24
Hi,

I just started learning ejb 3.0. I downloaded jboss 4.0.5 AS and downloaded EJB3Trail from jboss trailblazer. When I deployed it by copying the EJB3Trail.ear file in the default/deploy directory of jboss. I tried running the calculator example and got a naming not found exception.

After reading some blogs it seems we have install jboss with a installer and not just zip.So i installed jboss4.0.4 with the installer, but the problem is still there.. This is driving me crazy.. I have no idea why this is happening and not to say about the jboss documentation..

Please help me out..

Thanks,
Gopi
sameer ravindra
Greenhorn

Joined: Sep 16, 2008
Posts: 4
i think you need to install ejb3 using jems installer...

or you can use jboss 4.2.2 (it comes with ejb3 support)

thanks,
Sameer P


Sameer Ravindra<br />PA
Gopi Chand
Greenhorn

Joined: Feb 04, 2007
Posts: 24
Hi Sameer,

thanks for your reply.when we install jboss,it give some installation profiles.. i selected all, do i have to select ejb3?
sameer ravindra
Greenhorn

Joined: Sep 16, 2008
Posts: 4
yes you have to use.... ejb3( or ejb3 clustering..if you want) with jdk 5.0....( applicable to jboss 4.04)

thanks,
Sameer P
Gopi Chand
Greenhorn

Joined: Feb 04, 2007
Posts: 24
i installed jboss 4.2.3 and everything worked fine..

i don't know why installing and configuring jboss is always difficult for new guys.. why don't jboss release a specific version of jboss a complete zip file with everything.. no configuration should be required, atleast minimal..
it should allow have a default db configuration packed (not Hypersonic one).. probably mysql.. getting even the basic configuration working is taking lot of time, searching and head banging..

Do you guys feel the same or it is just because i am lazy?

is something like that already there??
 
GeeCON Prague 2014
 
subject: EJB 3.0 look up throw naming exception