aspose file tools
The moose likes JBoss and the fly likes NamingContext Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "NamingContext" Watch "NamingContext" New topic
Author

NamingContext

Akhil Maharaj
Ranch Hand

Joined: Sep 29, 2007
Posts: 63
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 ,

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8147
    
  52

-- 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.


[My Blog] [JavaRanch Journal]
michael austin
Greenhorn

Joined: Apr 04, 2010
Posts: 1
HI, AKHIL MAHARAJ
I am agree with you dear,
Thanks for sharing this topic, it is helpful for me,
Keep it up,
Regards


220-702 and 70-432 preparation especially for 70-640 and 70-290 latest dumps.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: NamingContext
 
Similar Threads
NamingException: Could not dereference object - EJB 3.0 workbook ex05-2
Help with example Deployment in EJB 3.0 by O'Reilly
TestEJB not bound
orielly ejb3 book, @RemoteBinding problem
Hi, why am I getting this exception on console