And what if you replace "myEJBName" by *your EJB name* that is "Contact"...
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de John LYC
> Envoy� : lundi, 17 septembre 2001 12:13
> � : Jboss Mailing List
> Objet : [JBoss-user] Error during conetxt.lookup()
>
>
> Hi all,
> im a newbie to J2ee and jboss...
> and i had a hard time configuring and trying to get jboss to work..
> hope i can get some help here...
>
> well, i finally got my EJB deployed...
> and i have a test client (like the one in the nitro-interest example) to
> test my EJB.
> when i run the test-client locally on my machines.. i get a
> noIntialConetxt
> exceptions..
> now i have move my test-client into the myEJB.jar and run it from the
> container itself..
> now when i do a lookup("myEJBName"), i get a "myEJBName not bound"
> i checked my ejb-jar.xml
> and have the following...
> ===================
> <ejb-jar>
> <enterprise-beans>
> <entity>
> <ejb-name>Contact</ejb-name>
> <home>testejb.ContactHome</home>
> <remote>testejb.Contact</remote>
> <ejb-class>testejb.ContactBeanBMP</ejb-class>
> <persistence-type>Bean</persistence-type>
> <prim-key-class>java.lang.String</prim-key-class>
> <reentrant>False</reentrant>
> <resource-ref>
> <res-ref-name>jdbc/DefaultDS</res-ref-name>
> <res-type>javax.sql.DataSource</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
> </entity>
> </enterprise-beans>
> <assembly-descriptor>
> <container-transaction>
> <method>
> <ejb-name>Contact</ejb-name>
> <method-name>*</method-name>
> </method>
> <trans-attribute>Required</trans-attribute>
> </container-transaction>
> </assembly-descriptor>
> </ejb-jar>
> ========end=============
>
> in my jboss.xml , i have :...
> ======================
>
> <jboss>
> <enterprise-beans>
> <entity>
> <ejb-name>Contact</ejb-name>
> <jndi-name>Contact</jndi-name>
> </entity>
> </enterprise-beans>
> </jboss>
>
> ========end=============
>
> please help... thanks!!!!
>
> john
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user