Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

Weird error deploying EJB on Glassfish 3.1

$
0
0

Hi,

I've came across an NPE deploying an EJB project depending on whether the glassfish-ejb-jar.xml descriptor is present in the jar file. Removing the descriptor file from the project, the EJB is deployed successfully.

I've attached the server.log file from Glassfish 3.1.2. Also I've attached the EJB jar files where the MyEJB1.jar doesn't contain the descriptor and MyEJB2.jar that it does. The exception is thrown when I attempt to deploy MyEJB2.jar with the descriptor file. Does anybody knows how to solve the problem?.

This is happening to me when I updated the Eclipse plugin GlassFish Tools 5.2.2.201305291930

The content of the descriptor is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-ejb-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 EJB 3.1//EN" "http://glassfish.org/dtds/glassfish-ejb-jar_3_1-1.dtd">
<glassfish-ejb-app/>

Cheers,

AttachmentSize
serverlog.txt5.99 KB
MyEJB1.jar785 bytes
MyEJB2.jar1.08 KB

Viewing all articles
Browse latest Browse all 1091

Trending Articles