A runtime problem occurs when a Web 2.4 project requests EJB 3.0 injections
If a servlet is contained in a web 2.4 project and is requesting EJB 3.0 injections, a runtime error in WebSphere® Application Server v7.0 results. An example of a runtime error that can be produced is a null pointer error that is produced from a doGet or doPost method.
Important: Applicable to WebSphere
Application Server traditional
Select one of the following solutions: - Move the servlet into a web 2.5 project
- Edit the MANIFEST.MF file with the source editor or the workbench's
text editor, and add the following line of code.
In the Enterprise Explorer, you can find this MANIFEST.MF file in the Web 2.4 project under the <web project>\WebContent\META-INF directory.UseEJB61FEPScanPolicy: true