trying to execute junitEE example under jBoss I found a problem.
beans are searched there in a such way:
      Object ref = jndiContext.lookup("java:comp/env/ejb/EinsteinEJB");
but nothing works up to moment I edit sources to
      Object ref = jndiContext.lookup("EinsteinEJB");

I found that jBoss documentation says that jBoss doesn't support
'java:comp/env'
The same problem I found naming mySQL datasource.

I tried to fix a problem by adding appropriate jBoss.xml to jars but nothing
changed.

Sorry for a stupid question, but should  I edit all the EJB sources to make
them suitable to jBoss? What is my error?

Vale! - Mikhail Akopov


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to