Hi, The beans are getting deployed by the war file is throwing exceptions which say,
14:20:09,555 ERROR [WebModule] Starting failed jboss.web.deployment:war=myapp.war,id=907090138 org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: SampleBean, no ejb-link in web.xml and no jndi-name in jboss-web.xml) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:383) I have ejb-link in the web.xml and I do not have jboss-web.xml as there are only internal beans. What could the reason be? (for jboss 4.0.1). Here is the web.xml. Thanks for yout time | <ejb-ref> | <ejb-ref-name>SampleBean</ejb-ref-name> | <ejb-ref-type>Session</ejb-ref-type> | <home>com.admin.beans.SecurityHome</home> | <remote>com.admin.beans.SecurityObject</remote> | <ejb-link>SecurityBean</ejb-link> | </ejb-ref> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866140#3866140 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866140 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user