General indication on NamingContext/NotFound exception
Hello,
I have an app running on jboss 304 server that make calls to a corba gateway with jacORB library.
The follow exception occured when it tries to resolve the object name.
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
May I ask if anyone can tell any possible indication on what might went wrong?
Regards,
v8mirage
[413 byte] By [
v8miragea] at [2007-11-27 10:19:24]

# 1
The JavaDoc says that the exception is generated by the IDL-to-Java compiler
http://java.sun.com/javase/6/docs/api/org/omg/CosNaming/NamingContextPackage/NotFound.html
Are you sure the IDL file is ok?
And if it is, is there a reason you are still working with jboss 3.0.4? It might be a bug in the app server and there are more recent versions of JBoss available.
# 2
The IDL files are ok. I compiled them with jacORB instead of idlj.
What confuses me is that there is an actual class of NamingContext.NotFound, so I take it as something not found from the naming context. My best guess is the object name I'm looking for is incorrect.
I'd like to confirm if that's the case, or there are some other situation where it throws this kind of exception as well.