Hi,

        I use JBoss-2.2.1/Tomcat-3.2.1 and Jakarta-Ant 1.3 with the Sun JDK
1.3.1-b24 and I'm having problems running the Verifier both through Ant and
through the command line (java -jar verifier.jar ejb.jar).  I get the
problem when I specify the DTD in the ejb-jar.xml file (which is required
when I use Sun's J2EE RI verifier).  If I remove the DTD specification in
the ejb-jar.xml file, the JBoss verifier works okay.  Is there a fix for
this?  I'd like to be able to verify both against JBoss and Sun RI.  Thanks
in advance.

        Here's what I get:

OCFO-040117:~/common/src/components/dolfinbatch$ java -jar
$JBOSS_HOME/bin/verifier.jar build/dolfinbatchEjb.jar
java.lang.NullPointerException:-1:20
java.lang.NullPointerException
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:523)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
        at
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1
79)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86)
        at
org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:148)
        at
org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:132)
        at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:89)
        at org.jboss.verifier.Main.main(Main.java:78)
Problem starting the application:
Exception: org.jboss.ejb.DeploymentException:
java.lang.NullPointerException, Cause:java.lang.NullPointerException
Message:   java.lang.NullPointerException
org.jboss.ejb.DeploymentException: java.lang.NullPointerException,
Cause:java.lang.NullPointerException
        at
org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:153)
        at
org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:132)
        at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:89)
        at org.jboss.verifier.Main.main(Main.java:78)

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to