-
1. Re: wrong verifier deployment error
juhalindfors Jun 30, 2003 9:20 AM (in response to vrotaru)Please attach the relevant descriptors.
-
2. Re: wrong verifier deployment error
vrotaru Jun 30, 2003 9:20 PM (in response to vrotaru)Hi Juha,
I have noticed that all the time the first bean declared in jboss-web.xml is listed with the error. In jboss-web.xml the first bean is declared:
------------------------------------------------------------------
<ejb-ref>
<ejb-ref-name>ejb/EmployeeLocalHome</ejb-ref-name>
<jndi-name>data/EmployeeBean</jndi-name>
</ejb-ref>
------------------------------------------------------------------
In web.xml
------------------------------------------------------------------
<ejb-local-ref>
<ejb-ref-name>ejb/EmployeeLocalHome</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.brightsoft.mobilemaster.ejb.data.EmployeeHome</local-home>
com.brightsoft.mobilemaster.ejb.data.Employee
<ejb-link>EmployeeBean</ejb-link>
</ejb-local-ref>
------------------------------------------------------------------
In jboss.xml
------------------------------------------------------------------
<ejb-name>EmployeeBean</ejb-name>
<local-jndi-name>data/EmployeeBean</local-jndi-name>
<configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
------------------------------------------------------------------
If I swap the place of the Employee entity bean with other bean then that bean is going to be flaged with that error (existing in jboss-web.xml but not in web.xml.
I must stress that the ejb part of application is correctly deployed. This error occurs when the web part is deployed. -
3. Re: wrong verifier deployment error
juhalindfors Jun 30, 2003 9:25 PM (in response to vrotaru)Hmm, mismatch between ejb-ref in jboss-web.xml and ejb-LOCAL-ref in web.xml ?
-
4. Re: wrong verifier deployment error
vrotaru Jun 30, 2003 9:57 PM (in response to vrotaru)This might help.... Stack trace is:
-
5. Re: wrong verifier deployment error
juhalindfors Jun 30, 2003 10:50 PM (in response to vrotaru)Drop the jboss-web.xml part, the jndi name should be resolved through the link to ejb-jar.xml (no need for duplicate jndi name declaration in both jboss-web.xml and jboss.xml).
Let me know if it works. -
6. Re: wrong verifier deployment error
vrotaru Jul 1, 2003 2:40 AM (in response to vrotaru)Juha, all OK now. Those warnings were generated because of that double definition in jboss.web and jboss-web.xml. Though the application was working OK ;)
Thanks for help.
Cheers,
Victor