Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > EJB 3.0 jboss : Remote not bound

Reply
Thread Tools

EJB 3.0 jboss : Remote not bound

 
 
timasmith@hotmail.com
Guest
Posts: n/a
 
      07-05-2006
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(NamingServe r.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();
}

 
Reply With Quote
 
 
 
 
Kai Schwebke
Guest
Posts: n/a
 
      07-05-2006
http://www.velocityreviews.com/forums/(E-Mail Removed) schrieb:
>...
> 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
>...
> @Remote
> public interface IMyRemote {
> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to generate "ejb-jar.xml" from EJB class (source)? "ejb-jar.xml" appserver independent? Raymond Schanks Java 0 08-03-2010 08:21 AM
How to represent the data in a not bound control via bound control Mario Krsnic ASP .Net 0 06-23-2006 07:38 AM
EJB Application show not bound Exception Jignesh Java 1 02-08-2006 11:10 AM
[newbie-ejb...helppppppppppp]Remote ejb Connection Massimiliano Java 5 01-04-2004 11:41 AM
To EJB or not to EJB Jeremy Haile Java 5 09-10-2003 03:52 AM



Advertisments