I deployed the application in 2 parts now -JAR and WAR along with the -ds.xml file as suggested.
I have a page(JSP) which looks up the JNDI and when I checked the logs, found the error 'javax.naming.NameNotFoundException' during the lookup.
I think during this lookup it is not found due to improper deployment(of the JAR).
Can we deploy ejb2.1 based EJB's in the embeddedJBoss and tomcat combination?
Or EJB 3 beans are the only one's that can be deployed in this?
I have EJB 2.1 deployment descriptors in the application(deployed), and in the tutorials ,found that the samples are based on EJB3.
No clue if it really works for EJB's developed on ver 2.1.
An early reply is apprecited.
Thanks and Regards.
You may be able to deploy EJB 2.1 SL and SF beans under a EJB 3.0 schema. Haven't tried yet.... But no CMP/BMP, sorry.
You'd have to pull in jars/config from JBoss 5 beta2 to use the old EJB 2.1 container.