This content has been marked as final.
Show 2 replies
-
1. Re: javax.naming.NameNotFoundException: InterfaceStyleLocal
aisulisheng Oct 28, 2005 6:56 AM (in response to aisulisheng)"aisulisheng" wrote:
jboss.xml:
.........
.........
<entity>
<ejb-name>InterfaceStyle</ejb-name>
<local-jndi-name>InterfaceStyleLocal </local-jndi-name>
</entity>
.............
.............
Client:
(Context)new InitialContext().lookup("InterfaceStyleLocal ");
env:jboss3(4)
InterfaceStyle is a entity-bean(BMP) .I have deploy the ejb.jar on the jboss.Starting the jboss,the jboss server work well.But when I see the http://localhost:8080/webMudule/*.jsp ,the error is :javax.naming.NameNotFoundException: InterfaceStyleLocal not bound
Can you help me? Thank you in advance!
My email :lisheng@joinkey.com -
2. Re: javax.naming.NameNotFoundException: InterfaceStyleLocal
starksm64 Oct 28, 2005 12:31 PM (in response to aisulisheng)Trailing whitespace in the local-jndi-name will not be preserved. If the code you show is correct you are expecting the whitespace to exist in the bound name.