EJB spec violation [message #146342] |
Fri, 04 November 2005 13:03  |
Eclipse User |
|
|
|
Hi everyone,
I'm using Eclipse 3.2M2 on Mac OS X 10.4.2 with the JVM 1.4.2_09 and WST
0.7.1 (installed via the update functionality of Eclipse).
When following the tutorial "Building a simple EJB application" I have the
following problem: once I have successfully created my project and
configured the server (JBoss 3.2.3) I start it to have the generated EAR
deployed on it.
Here is the error in JBoss:
12:59:18,265 WARN [verifier] EJB spec violation:
Bean : Tiger
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 on 'com.zoo.TigerHome': Unexpected error during
load of: com.zoo.TigerHome, msg=com/zoo/TigerHome (Illegal field
modifiers: 0x2)
..
..
..
12:59:18,533 ERROR [MainDeployer] could not create deployment:
file:/Apps/jboss-3.2.3/server/default/tmp/deploy/tmp17087Zoo BeansEAR.ear-contents/ZooBeans.jar
And when I extracted the "ZooBeans.jar" from the EAR here is what I found:
56 Fri Nov 04 11:20:22 AST 2005 META-INF/MANIFEST.MF
3128 Fri Nov 04 11:20:22 AST 2005 META-INF/ejb-jar.xml
4066 Fri Nov 04 11:20:22 AST 2005 ZooBeanClient.jar
466 Fri Nov 04 11:20:22 AST 2005 com/foo/TigerBean.class
752 Fri Nov 04 11:20:22 AST 2005 com/foo/TigerSession.class
Now I am not a J2EE wizard but it looks like the classes for the
interfaces are missing... and I couldn't find how to configure the
generation of the JAR file.
Any help would be appreciated. Thanks in advance.
Best regards,
Phil
|
|
|
Re: EJB spec violation [message #146400 is a reply to message #146342] |
Mon, 07 November 2005 08:53  |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Phil,
it seems that XDoclet didn't run and thus the bean interfaces were not
generated. Could you verify this ? Did you activate the XDoclet builder in the
eclipse preferences?
Hope I could help
Wolfgang
Phil wrote:
>
> Hi everyone,
>
> I'm using Eclipse 3.2M2 on Mac OS X 10.4.2 with the JVM 1.4.2_09 and WST
> 0.7.1 (installed via the update functionality of Eclipse).
>
> When following the tutorial "Building a simple EJB application" I have
> the following problem: once I have successfully created my project and
> configured the server (JBoss 3.2.3) I start it to have the generated EAR
> deployed on it.
>
> Here is the error in JBoss:
>
> 12:59:18,265 WARN [verifier] EJB spec violation: Bean : Tiger
> 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 on 'com.zoo.TigerHome': Unexpected error during
> load of: com.zoo.TigerHome, msg=com/zoo/TigerHome (Illegal field
> modifiers: 0x2)
> .
> .
|
|
|
Powered by
FUDForum. Page generated in 0.03400 seconds