Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

EJB 3.0 jboss : Remote not bound

Thread view: 
timasmith@hotmail.com - 05 Jul 2006 12:08 GMT
I had this working but something I changed broke it...

I am running JBoss in one session and have deployed my bean

02:17:44,363 INFO  [EJBContainer] STARTED EJB: com.patient.ejb.MyBean
ejbName: MyBean
02:17:44,363 INFO  [EJB3Deployer] Deployed: file:/C:/Program
Files/jboss_4_0_4/server/default/deploy/patient.ejb3

My program connects, finds the bean but fails to find the remote
interface?

    [java] MyBean/Remote
    [java] javax.naming.NameNotFoundException: Remote not bound
    [java]     at
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)

I didnt change my bean much - just the method contents and a few
imports...?

@Stateless
public class MyBean implements IMyRemote {
    public String myMethod() {
                     ...
    }

@Remote
public interface IMyRemote {
    public String myMethod();
}
Kai Schwebke - 05 Jul 2006 16:38 GMT
timasmith@hotmail.com schrieb:
>...
> My program connects, finds the bean but fails to find the remote
[quoted text clipped - 8 lines]
>     public String myMethod();
> }

The remote interface might be bound to IMyRemote/remote.

Just go to /jmx-console/ of JBoss, choose jboss: service=JNDIView and
invoke list() there to dump the contents of your jndi.

Regards
Kai


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.