[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [JBoss-user] [Beginners Corner] - tusc tutorial -> jboss dont bound jndi StoreAccessBean Namin
From:       danielferreira <nukes () jboss ! org>
Date:       2004-04-30 20:38:50
Message-ID: 24656121.1083357530745.JavaMail.root () nukes ! jboss ! org
[Download RAW message or body]

Hi,

I started tusc tutorial using jboss-3.2.3 and eclipse 2.1.3 and I'm stuck tring to \
test  Stateless SessionBean StoreAccess example (chap 3).

At jboss.xml there are the tags 

<ejb-name>StoreAccess</ejb-name>
<jndi-name>StoreAccessBean</jndi-name>
<local-jndi-name>StoreAccessLocal</local-jndi-name>

I took a look in jmx-console and it doesn't shows this name in JNDITree. All the \
classes are generated and deployed just fine. When I run the test client it shows:

anonymous wrote : javax.naming.NameNotFoundException: StoreAccessBean not bound
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
  | 	at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
  | 	at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:324)
  | 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
  | 	at sun.rmi.transport.Transport$1.run(Transport.java:148)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  | 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | 	at java.lang.Thread.run(Thread.java:534)
  | 	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
  | 	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
  | 	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
  | 	at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
  | 	at javax.naming.InitialContext.lookup(InitialContext.java:347)
  | 	at au.com.tusc.client.StoreAccessClient.getHome(StoreAccessClient.java:27)
  | 	at au.com.tusc.client.StoreAccessClient.testBean(StoreAccessClient.java:51)
  | 	at au.com.tusc.client.StoreAccessClient.main(StoreAccessClient.java:74) 

what should I do????? Please help!!! 

tanks,

Daniel

View the original post : \
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833297#3833297

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833297



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic