Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

NamingContext

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am relatively new to this . But I think I have spent more than 10 hours googling . My goal is to run my first EJB3.0 . I have taken the code from
Ch4 of Oriely Mastering EJB3.0 5th edition. I am using Ant and JBoss 4.2.2

First Thing is ant task compile is ok .
Even deploy task is also happening OK . I can see the titan.jar in the deploy direcotry . However , It is not listed in the jmx_console.

Second thing is after titan.jar is deployed to Jboss , I am running the client , Thats where I am getting this exception .



Here is the client code



Another thing that is puzzling me is what is the meaning of messages that I see ( the following) on the console ,

 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

-- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:jar=titan.jar,name=TravelAgentBean,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:unitName=titan

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:unitName=titan
State: NOTYETINSTALLED
Depends On Me:
jboss.j2ee:jar=titan.jar,name=TravelAgentBean,service=EJB3



Looks like the application is not deployed successfully. The actual error messages will be somewhere above these few lines of exception. Post that exception stacktrace here. That might give us a clue.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, AKHIL MAHARAJ
I am agree with you dear,
Thanks for sharing this topic, it is helpful for me,
Keep it up,
Regards
 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic