Hi everybody,
I got a problem while JBoss was deploying the traditional HelloEJB
sample. The most interesting part of the JBoss's log says:
====================================
12:20:23,302 WARN [verifier] EJB spec violation:
Bean : Hello
Section: 22.2
Warning: The bean provider must specify the fully-qualified name
of the enterprise bean's remote home interface, if any, in the <
home >
element.
Info : Class not found: examples.HelloHome
12:20:23,312 WARN [verifier] EJB spec violation:
Bean : Hello
Section: 22.2
Warning: The bean provider must specify the fully-qualified name
of the enterpri
se bean's remote interface, if any, in the < remote > element.
Info : Class not found: examples.Hello
12:20:23,352 ERROR [MainDeployer] could not create deployment:
file:/C:/jboss/se
rver/default/deploy/HelloWorld.jar
org.jboss.deployment.DeploymentException: Verification of
Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:487)
===================================================
As it seems a descriptor problem I also post the ejb.jar (I think
my W2K classpath settings are fully correct):
< !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD
Enterprise
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd" >
< ejb-jar >
< enterprise-beans >
< session >
< ejb-name >Hello< /ejb-name >
< home >examples.HelloHome< /home >
< remote >examples.Hello< /remote >
< local-home >examples.HelloLocalHome< /local-home >
< local >examples.HelloLocal< /local >
< ejb-class >examples.HelloBean< /ejb-class >
< session-type >Stateless< /session-type >
< transaction-type >Container< /transaction-type >
< /session >
< /enterprise-beans >
< /ejb-jar >
I'd thank a lot any help !
Santi.