Hi,
I have a strange Problem. I have an ejb to deploy. If I make a hot deploy, JBoss deploys this bean without any errors. But if the jar-File is already in the deploy directory when I start the server, I get following error:
11:22:39,310 WARN [verifier] EJB spec violation:
Bean : TestSB
Section: 16.2
Warning: The Bean Provider must specify the fully-qualified name of the Java cla
ss that implements the enterprise bean's business methods.
11:22:39,310 WARN [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: myproject/TestSB
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
at java.lang.Class.privateGetPublicMethods(Class.java:1778)
at java.lang.Class.getMethods(Class.java:832)
at org.jboss.verifier.strategy.EJBVerifier11.verifySessionHome(EJBVerifi...
How can it be that JBoss finds this Class during hotdeploy but not at normal startup???
Anyway, in my ejb-jar.xml I entered the fully qualified name:
myproject.TestSB!
Thanks in advance,
aibo