Hi,
I am new to JBoss/EJB, and have built my stateless session bean via my IDE
so I think the syntax of all three (home, remote and bean) classes are fine and
they compile. My ejb-jar.xml is in META-INF under my src root (below).
I run Ant to bundle them all up in to the deploy (default) dir of JBoss.
The JAR is there with * 3 classes plus ejb-jar.xml and manifest. The console
shows:
09:06:06,294 WARN [verifier] EJB spec violation:
Bean : TestSessionEJB
Section: 16.2
Warning: The Bean Provider must specify the fully-qualified name of the Java
class that implements the enterprise bean's business methods.
09:06:06,294 WARN [verifier] EJB spec violation:
Bean : TestSessionEJB
Section: 16.2
Warning: The Bean Provider must specify the fully-qualified name of the
enterprise bean's home interface in the home element.
09:06:06,294 WARN [verifier] EJB spec violation:
Bean : TestSessionEJB
Section: 16.2
Warning: The Bean Provider must specify the fully-qualified name of the
enterprise bean's remote interface in the remote element
then later the stacktrace:
09:06:06,294 ERROR [MainDeployer] could not create deployment:
file:/C:/jboss-4.0.2/server/default/deploy/ejb-app.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans
failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)........
I have found entries of this message on the net, but none with a real
resolution. Any ideas please? I notice there's not a great deal of content in
the manifest -
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.1
Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
perhaps with is contributing? I am using JB 4.0.2 on Win XP.
thanks
Paul.
<ejb-jar>
<enterprise-beans>
this is a test
<display-name>Test</display-name>
<ejb-name>TestSessionEJB</ejb-name>
au.com.twtva.ejb.TestSessionHome
au.com.twtva.ejb.TestSession
<ejb-class>au.com.twtva.ejb.TestSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
</ejb-jar>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891983#3891983
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891983
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user