An Error Occurred Deploying Ejb Module
Contents |
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it
Ejb:011023
will not work correctly without it enabled. Please turn error processing annotations .' in weblogic JavaScript back on and reload this page. Please enter a title. You can
An Error Occurred While Reading The Deployment Descriptor The Error Was Error Processing Annotations
not post a blank message. Please type your message and try again. More discussions in WebLogic Server - General All PlacesFusion MiddlewareWebLogicWebLogic Server - General This discussion is archived 8 Replies Latest reply on Jan 6, 2012 12:06 PM by 908954 EJB module deployment issue: NoClassDefFoundError while deploying weblogic 908954 Jan 4, 2012 5:00 PM Hi I created a session bean which implements an interface of a thirdparty jar. created the ej.jar file in eclipse added the the extra jars through Project->properties -> deployment Assembly and included in the jar. gave path to the jars in MANIFEST.MF file. SiteValidatorEjb.jar(EJB Module) created from through Eclipse export utility as following contents: META-INF com (class files) j2ee.jar thirdparty1.jar thirdparty2.jar META-INF folder consist of: ejb-jar.xml weblogic-ejb-jar.xml MANIFEST.MF MANIFEST.MF: Manifest-Version: 1.0 Class-Path: asi.jar xng-plugin-sdk.jar j2ee.jar core-services-utility.jar core-services-client-stubs.jar While deploying this jar in weblogic admin server got the below error: ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unable to load EJB module up vote 5 down vote favorite I am taking https://community.oracle.com/thread/2331082 a course in Enterprise Application Development. I am new to JSF. I am trying to deploy my app using Glassfish 3.1 using JSF and Netbeans IDE. The error I get is listed below. Error occurred during deployment: Exception while preparing the app : Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for F:\Seagate\docs backup\NetBeansProjects\ent-app-dev\Slamka_Project1\build\web. If you use EJB component http://stackoverflow.com/questions/12414526/unable-to-load-ejb-module annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected. Please see server.log for more details. Below are the references to EJB I have made. import javax.ejb.LocalBean; import javax.ejb.Stateless; import javax.ejb.EJB; @EJB Any help would be appreciated. EDIT: This is a Java Web Application. EDIT WAR FILE STRUCTURE TREE META-INF/MANIFEST.MF WEB-INF/classes WEB-INF/lib/primefaces-2.1.1.jar WEB-INF/web.xml index.shtml My file does not have an EJB tag in teh xhtml document. it has what is listed below. java glassfish share|improve this question edited Sep 13 '12 at 22:04 asked Sep 13 '12 at 20:46 jslamka 1082312 Post more code and jar structure –Ilya Sep 13 '12 at 20:55 Can't seem to get the directory structure into a list format. –jslamka Sep 13 '12 at 21:06 add a comment| 3 Answers 3 active oldest votes up vote 4 down vote Changing the web.xml web-app attribute version to 2.5 or higher resolved this issue. Updated web-app element of web.xml will be, clean. Screenshot instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Cobertura Mailing Lists Cobertura Brought to you by: christ66, dennislundberg, hauserx, jthomerson, lewijw Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Patches Feature Requests Bugs cobertura-bugs cobertura-commits cobertura-devel cobertura-featurerequests cobertura-patches [Cobertura-devel] Problem deploying app with EJB to Server after instrumenting classes: [Cobertura-devel] Problem deploying app with EJB to Server after instrumenting classes: From: Khue Vu