WLS 10.0 - EJB 3.0 not deployed if class file size is greater than 40Kb (Doc ID 958805.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version 10.0 to 10.0
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

When appc is run on an EJB 3.0 JAR file where the size of the class file is more than 40Kb, the following exception is thrown:

weblogic.ejb.container.compliance.ComplianceException: No EJBs found in the ejb-jar file
'server.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment
descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB
annotation.




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms