Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » EJB spec violation
EJB spec violation [message #146342] Fri, 04 November 2005 18:03 Go to next message
Phil Camus is currently offline Phil CamusFriend
Messages: 4
Registered: July 2009
Junior Member
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 13:53 Go to previous message
Eclipse UserFriend
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)
> .
> .
Previous Topic:Selecting text in WSDL editor
Next Topic:Classpath issues - Tomcat 5.5 server referencing other projects
Goto Forum:
  


Current Time: Thu Sep 19 08:32:51 GMT 2024

Powered by FUDForum. Page generated in 0.03750 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top