When I run the jboss verifier over the ejb-jar and associated beans I get
errors.  It appears that the verifier is confused with the PUBLIC  section
in the DOCTYPE where it attempts to retrieve the dtd.  Does anyone know of a
workaround where the DTD is still parsed (weblogic will require fuly
qualified dtd's otherwise the jar willnot deploy)

If I have the first 2 lines of ejb-jar as follows the verifier spits out
errors, the clue to the line number for the errors is the
[java] java.lang.NullPointerException:-1:2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>

if I remove the public secion above the verifier works as designed.  Any
ideas?

John Coffey
Pingtel Corporation
====================

The error stacktrace above is:

compile.pgs.ejb:
    [mkdir] Created dir: D:\main\product\sw\pds\pgs\build\classes
    [javac] Compiling 122 source files to
D:\main\product\sw\pds\pgs\build\classes

pgs.ejb:
     [copy] Copying 1 file to D:\main\product\sw\pds\pgs\build\META-INF
     [copy] Copying 1 file to D:\main\product\sw\pds\pgs\build\META-INF
     [copy] Copying 1 file to D:\main\product\sw\pds\pgs\build\META-INF
      [jar] Building jar: D:\main\product\sw\pds\pgs\build\pgs.jar

verifydeploy:
     [java] java.lang.NullPointerException:-1:2
     [java] java.lang.NullPointerException
     [java]  at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:523)
     [java]  at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
     [java]  at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
     [java]  at
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1
79)
     [java]  at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86)
     [java]  at
org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:245)
     [java]  at
org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:217)
     [java]  at
org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:136)
     [java]  at org.jboss.verifier.Main.main(Main.java:78)
     [java] Problem starting the application:
     [java] Exception: org.jboss.ejb.DeploymentException:
java.lang.NullPointerException, Cause:java.lang.NullPointerException
     [java] Message:   java.lang.NullPointerException
     [java] org.jboss.ejb.DeploymentException:
java.lang.NullPointerException, Cause:java.lang.NullPointerException
     [java]  at
org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:250)
     [java]  at
org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:217)
     [java]  at
org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:136)
     [java]  at org.jboss.verifier.Main.main(Main.java:78)


     [java] Java Result: -1


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

Reply via email to