Problem with com.sun.xml.parser.Parser

Hi ,
I am using weblogic 6.01.
In my ejb class, I am parsing a String to create XmlDocument.
I created xml registry in weblogic server.
In my weblogic server's xml registry,
I have com.sun.xml.parser.DocumentBuilderFactoryImpl as
DocumentBuilderFactory
and com.sun.xml.parser.Parser as parser.
I am using jaxp 1.1 for all my xml related processing. All required jars are
in the classpath.
following is my code
protected Document createDocument ( String a_sXmlDocument )
try
ByteArrayInputStream baInputStream = new ByteArrayInputStream
(a_sXmlDocument.getBytes ());
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance ();
DocumentBuilder builder = factory.newDocumentBuilder ();
Document xmlDocument = builder.parse (baInputStream);
return xmlDocument ;
catch (
I get following exception at builder.parse ( baInputStream )
Can't find bundle for base name com.sun.xml.parser.resources.Messages,
locale en
at com.sun.xml.parser.Parser.parseInternal(Parser.java:516)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java
:95)
at
weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuild
er.java:98)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:78)
at
com.datamap.arch.datamap.BasicTransportableDelegate.createDocument(Ba
I would appreciate if anyone could help in this exception.
Thank you,
Mahendra

Hi ,
I am using weblogic 6.01.
In my ejb class, I am parsing a String to create XmlDocument.
I created xml registry in weblogic server.
In my weblogic server's xml registry,
I have com.sun.xml.parser.DocumentBuilderFactoryImpl as
DocumentBuilderFactory
and com.sun.xml.parser.Parser as parser.
I am using jaxp 1.1 for all my xml related processing. All required jars are
in the classpath.
following is my code
protected Document createDocument ( String a_sXmlDocument )
try
ByteArrayInputStream baInputStream = new ByteArrayInputStream
(a_sXmlDocument.getBytes ());
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance ();
DocumentBuilder builder = factory.newDocumentBuilder ();
Document xmlDocument = builder.parse (baInputStream);
return xmlDocument ;
catch (
I get following exception at builder.parse ( baInputStream )
Can't find bundle for base name com.sun.xml.parser.resources.Messages,
locale en
at com.sun.xml.parser.Parser.parseInternal(Parser.java:516)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java
:95)
at
weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuild
er.java:98)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:78)
at
com.datamap.arch.datamap.BasicTransportableDelegate.createDocument(Ba
I would appreciate if anyone could help in this exception.
Thank you,
Mahendra

Similar Messages

  • Problem with com.sun.media.protocol.sunvideo

    I just installed the JMF and it says it cannot located com.sun.media.protocol.sunvideo. Any suggestions?

    Verify if the lib folder inside JMF directory is set in the classpath

  • Problem with Regular Expression: XML comment parsing

    I have create pattern to parse xml comments:
    <!--(?!.*(<!--)).*-->It works fine but only problem that I have is that it parse only last occurrence :(

    sabre150 wrote:
    MrJbee wrote:
    I have create pattern to parse xml comments:
    <!--(?!.*(<!--)).*-->It works fineI'm surprised it works fine since the ".*" is greedy and will gobble as much as it can and you will end up matching from the start of the first comment to the end of the last comment.
    but only problem that I have is that it parse only last occurrence :(Make the ".*" reluctant using ".*?" or, best of all, use an XML parser.
    Edited by: sabre150 on Jan 11, 2010 4:00 PMFirst at thanks for reply.
    Second it is not so greedy like it look. Because of that:
    (?!.*(<!--))I can`t use xml parser since It is only part of my JEditor with styles. I use reg exp to highlight comments, strings, chars and so on....
    By the way I try to replace .* => .*? and it is still no results. I mean only last is selected. Maybe you have an example on how to match structure if the do not
    have specified substrings.
    Something like this:
    hello[^(guten tag)]*bye // I know that this is wrongEdited by: MrJbee on Jan 11, 2010 1:22 PM

  • Looking for com.sun.xml.tree package

    Hi,
    I�m looking for a jar which contains the XmlDocument class to download.
    I found the package, (it�s com.sun.xml.tree) but I cannot find where the package/jar is to download it.
    Your help will be much appreciated.
    Thank you,
    Chris

    I have all latest jars (jaxp, xerces, xalan, jdom, dom4j and any related jars). I have w3c DOM and i have been trying to convert it to JDOM and dom4j using relevant APIs. i keep getting following error.
    Exception in thread "main" java.lang.AbstractMethodError: com.sun.xml.tree.Eleme
    ntNode.getNamespaceURI()Ljava/lang/String;
    at org.dom4j.io.DOMReader.readElement(DOMReader.java:181)
    at org.dom4j.io.DOMReader.readTree(DOMReader.java:106)
    at org.dom4j.io.DOMReader.read(DOMReader.java:88)
    Can you advise what could be the reason and how to resolve this?
    FYI : my w3c DOM has been created with com.sun.xml.tree.XmlDocumentBuilder class and other methods of the package. I need to resolve this error at earliest to move forward.
    I would apprecaite early response at [email protected]
    Thanks,

  • Error in parsing: SAX2 driver class com.sun.xml.parser not found

    Hi I have this exception
    Error in parsing: SAX2 driver class com.sun.xml.parser not found
    when I try to run the examples from the book xml and java
    I have added the following jar files to the class path that i have download form java.sun.com
    xml.jar
    xalan.jar
    jaxp.jar
    crimson.jar
    Please can anyone tell me what is missing or wrong..the code must be right since written by oreilly... please have u any ideA
    XMLReaderFactory.createXMLReader(
    // "org.apache.xerces.parsers.SAXParser");
                        "com.sun.xml.parser");//
    I HAVE ONLY CHANGED THIS LINE FROM THE apache parser..to com.sun.xml.parser
    THIS IS THE ALL CODE
    import java.io.IOException;
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    import org.xml.sax.*;
    * <b><code>SAXParserDemo</code></b> will take an XML file and parse it using SAX,
    * displaying the callbacks in the parsing lifecycle.
    * @author Brett McLaughlin
    * @version 1.0
    public class SAXParserDemo {
    * <p>
    * This parses the file, using registered SAX handlers, and output
    * the events in the parsing process cycle.
    * </p>
    * @param uri <code>String</code> URI of file to parse.
    public void performDemo(String uri) {
    System.out.println("Parsing XML File: " + uri + "\n\n");
    // Get instances of our handlers
    ContentHandler contentHandler = new MyContentHandler();
    ErrorHandler errorHandler = new MyErrorHandler();
    try {
    // Instantiate a parser
    XMLReader parser =
    XMLReaderFactory.createXMLReader(
    // "org.apache.xerces.parsers.SAXParser");
                        "com.sun.xml.parser");// I HAVE ONLY CHANGED THIS LINE FROM THE apache parser..
    // Register the content handler
    parser.setContentHandler(contentHandler);
    // Register the error handler
    parser.setErrorHandler(errorHandler);
    // Parse the document
    parser.parse(uri);
    } catch (IOException e) {
    System.out.println("Error reading URI: " + e.getMessage());
    } catch (SAXException e) {
    System.out.println("Error in parsing: " + e.getMessage());
    * <p>
    * This provides a command line entry point for this demo.
    * </p>
    public static void main(String[] args) {
    // if (args.length != 1) {
    // System.out.println("Usage: java SAXParserDemo [XML URI]");
    // System.exit(0);
    //String uri = args[0];
    SAXParserDemo parserDemo = new SAXParserDemo();
    parserDemo.performDemo("content.xml");
    * <b><code>MyContentHandler</code></b> implements the SAX
    * <code>ContentHandler</code> interface and defines callback
    * behavior for the SAX callbacks associated with an XML
    * document's content.
    class MyContentHandler implements ContentHandler {
    /** Hold onto the locator for location information */
    private Locator locator;
    * <p>
    * Provide reference to <code>Locator</code> which provides
    * information about where in a document callbacks occur.
    * </p>
    * @param locator <code>Locator</code> object tied to callback
    * process
    public void setDocumentLocator(Locator locator) {
    System.out.println(" * setDocumentLocator() called");
    // We save this for later use if desired.
    this.locator = locator;
    * <p>
    * This indicates the start of a Document parse - this precedes
    * all callbacks in all SAX Handlers with the sole exception
    * of <code>{@link #setDocumentLocator}</code>.
    * </p>
    * @throws <code>SAXException</code> when things go wrong
    public void startDocument() throws SAXException {
    System.out.println("Parsing begins...");
    * <p>
    * This indicates the end of a Document parse - this occurs after
    * all callbacks in all SAX Handlers.</code>.
    * </p>
    * @throws <code>SAXException</code> when things go wrong
    public void endDocument() throws SAXException {
    System.out.println("...Parsing ends.");
    * <p>
    * This will indicate that a processing instruction (other than
    * the XML declaration) has been encountered.
    * </p>
    * @param target <code>String</code> target of PI
    * @param data <code>String</code containing all data sent to the PI.
    * This typically looks like one or more attribute value
    * pairs.
    * @throws <code>SAXException</code> when things go wrong
    public void processingInstruction(String target, String data)
    throws SAXException {
    System.out.println("PI: Target:" + target + " and Data:" + data);
    * <p>
    * This will indicate the beginning of an XML Namespace prefix
    * mapping. Although this typically occur within the root element
    * of an XML document, it can occur at any point within the
    * document. Note that a prefix mapping on an element triggers
    * this callback <i>before</i> the callback for the actual element
    * itself (<code>{@link #startElement}</code>) occurs.
    * </p>
    * @param prefix <code>String</code> prefix used for the namespace
    * being reported
    * @param uri <code>String</code> URI for the namespace
    * being reported
    * @throws <code>SAXException</code> when things go wrong
    public void startPrefixMapping(String prefix, String uri) {
    System.out.println("Mapping starts for prefix " + prefix +
    " mapped to URI " + uri);
    * <p>
    * This indicates the end of a prefix mapping, when the namespace
    * reported in a <code>{@link #startPrefixMapping}</code> callback
    * is no longer available.
    * </p>
    * @param prefix <code>String</code> of namespace being reported
    * @throws <code>SAXException</code> when things go wrong
    public void endPrefixMapping(String prefix) {
    System.out.println("Mapping ends for prefix " + prefix);
    * <p>
    * This reports the occurrence of an actual element. It will include
    * the element's attributes, with the exception of XML vocabulary
    * specific attributes, such as
    * <code>xmlns:[namespace prefix]</code> and
    * <code>xsi:schemaLocation</code>.
    * </p>
    * @param namespaceURI <code>String</code> namespace URI this element
    * is associated with, or an empty
    * <code>String</code>
    * @param localName <code>String</code> name of element (with no
    * namespace prefix, if one is present)
    * @param rawName <code>String</code> XML 1.0 version of element name:
    * [namespace prefix]:[localName]
    * @param atts <code>Attributes</code> list for this element
    * @throws <code>SAXException</code> when things go wrong
    public void startElement(String namespaceURI, String localName,
    String rawName, Attributes atts)
    throws SAXException {
    System.out.print("startElement: " + localName);
    if (!namespaceURI.equals("")) {
    System.out.println(" in namespace " + namespaceURI +
    " (" + rawName + ")");
    } else {
    System.out.println(" has no associated namespace");
    for (int i=0; i<atts.getLength(); i++)
    System.out.println(" Attribute: " + atts.getLocalName(i) +
    "=" + atts.getValue(i));
    * <p>
    * Indicates the end of an element
    * (<code></[element name]></code>) is reached. Note that
    * the parser does not distinguish between empty
    * elements and non-empty elements, so this will occur uniformly.
    * </p>
    * @param namespaceURI <code>String</code> URI of namespace this
    * element is associated with
    * @param localName <code>String</code> name of element without prefix
    * @param rawName <code>String</code> name of element in XML 1.0 form
    * @throws <code>SAXException</code> when things go wrong
    public void endElement(String namespaceURI, String localName,
    String rawName)
    throws SAXException {
    System.out.println("endElement: " + localName + "\n");
    * <p>
    * This will report character data (within an element).
    * </p>
    * @param ch <code>char[]</code> character array with character data
    * @param start <code>int</code> index in array where data starts.
    * @param end <code>int</code> index in array where data ends.
    * @throws <code>SAXException</code> when things go wrong
    public void characters(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    System.out.println("characters: " + s);
    * <p>
    * This will report whitespace that can be ignored in the
    * originating document. This is typically only invoked when
    * validation is ocurring in the parsing process.
    * </p>
    * @param ch <code>char[]</code> character array with character data
    * @param start <code>int</code> index in array where data starts.
    * @param end <code>int</code> index in array where data ends.
    * @throws <code>SAXException</code> when things go wrong
    public void ignorableWhitespace(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    System.out.println("ignorableWhitespace: [" + s + "]");
    * <p>
    * This will report an entity that is skipped by the parser. This
    * should only occur for non-validating parsers, and then is still
    * implementation-dependent behavior.
    * </p>
    * @param name <code>String</code> name of entity being skipped
    * @throws <code>SAXException</code> when things go wrong
    public void skippedEntity(String name) throws SAXException {
    System.out.println("Skipping entity " + name);
    * <b><code>MyErrorHandler</code></b> implements the SAX
    * <code>ErrorHandler</code> interface and defines callback
    * behavior for the SAX callbacks associated with an XML
    * document's errors.
    class MyErrorHandler implements ErrorHandler {
    * <p>
    * This will report a warning that has occurred; this indicates
    * that while no XML rules were "broken", something appears
    * to be incorrect or missing.
    * </p>
    * @param exception <code>SAXParseException</code> that occurred.
    * @throws <code>SAXException</code> when things go wrong
    public void warning(SAXParseException exception)
    throws SAXException {
    System.out.println("**Parsing Warning**\n" +
    " Line: " +
    exception.getLineNumber() + "\n" +
    " URI: " +
    exception.getSystemId() + "\n" +
    " Message: " +
    exception.getMessage());
    throw new SAXException("Warning encountered");
    * <p>
    * This will report an error that has occurred; this indicates
    * that a rule was broken, typically in validation, but that
    * parsing can reasonably continue.
    * </p>
    * @param exception <code>SAXParseException</code> that occurred.
    * @throws <code>SAXException</code> when things go wrong
    public void error(SAXParseException exception)
    throws SAXException {
    System.out.println("**Parsing Error**\n" +
    " Line: " +
    exception.getLineNumber() + "\n" +
    " URI: " +
    exception.getSystemId() + "\n" +
    " Message: " +
    exception.getMessage());
    throw new SAXException("Error encountered");
    * <p>
    * This will report a fatal error that has occurred; this indicates
    * that a rule has been broken that makes continued parsing either
    * impossible or an almost certain waste of time.
    * </p>
    * @param exception <code>SAXParseException</code> that occurred.
    * @throws <code>SAXException</code> when things go wrong
    public void fatalError(SAXParseException exception)
    throws SAXException {
    System.out.println("**Parsing Fatal Error**\n" +
    " Line: " +
    exception.getLineNumber() + "\n" +
    " URI: " +
    exception.getSystemId() + "\n" +
    " Message: " +
    exception.getMessage());
    throw new SAXException("Fatal Error encountered");

    I have seen this error when I'm executing inside one of the (j2ee sun reference implementation) server containers (either web or ejb). I believe its caused by "something" having previously loaded the "sax 1 driver class". In my case, I think the container or server is loading the sax parser from a jar that contains a sax 1 version. If you can, ensure that nothing is loading the sax 1 parser from another jar on your system. Verify that you are loading the sax parser from a jar containing the latest version so that you get the sax 2 compliant parser. Good luck!

  • Provider com.sun.xml.parser.DocumentBuilderFactoryImpl not found

    During the deployment process using deploy tool i frequently get this error :
    Exception is:
    java.lang.RuntimeException: javax.xml.parsers.FactoryConfigurationError: Provider com.sun.xml.parser.DocumentBuilderFactoryImpl not found.
    and when i restart the server then the home page of the server displays the following message:
    com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Error in starting application sap.com/com.sap.engine.docs.examples
    Can anybody please help in rectifying this problem .It is urgent.

    Alezander,
    First off thanks for resposnding. Following are the further details.
    1. Engine version: 6.30
    2. No, I tried even simple applications which doesnot have any XML parsing at all.
    3. Bellow is the full stack track
    04/07/08 15:16:23 -  ***********************************************************
    04/07/08 14:52:08 -  Start updating EAR file...
    04/07/08 14:52:08 -  EAR file updated successfully for 265ms.
    04/07/08 14:52:08 -  Start deploying ...
    04/07/08 14:52:08 -  EAR file uploaded to server for 78ms.
    04/07/08 14:52:08 -  ERROR: NOT deployed. Deploy Service returned ERROR:
                         For detailed information see the log file of Deploy Service.
                         Exception is:
                         java.lang.RuntimeException: javax.xml.parsers.FactoryConfigurationError: Provider com.sun.xml.parser.DocumentBuilderFactoryImpl not found
                              at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:68)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:81)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    04/07/08 14:52:08 -  ***********************************************************
    04/07/08 14:57:38 -  Start updating EAR file...
    04/07/08 14:57:38 -  EAR file updated successfully for 187ms.
    04/07/08 14:57:38 -  Start deploying ...
    04/07/08 14:57:39 -  EAR file uploaded to server for 140ms.
    04/07/08 14:57:39 -  ERROR: NOT deployed. Deploy Service returned ERROR:
                         For detailed information see the log file of Deploy Service.
                         Exception is:
                         java.lang.RuntimeException: javax.xml.parsers.FactoryConfigurationError: Provider com.sun.xml.parser.DocumentBuilderFactoryImpl not found
                              at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:68)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:81)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    04/07/08 14:57:39 -  ***********************************************************
    04/07/08 14:57:57 -  Start updating EAR file...
    04/07/08 14:57:58 -  EAR file updated successfully for 187ms.
    04/07/08 14:57:58 -  Start deploying ...
    04/07/08 14:57:58 -  EAR file uploaded to server for 78ms.
    04/07/08 14:57:58 -  ERROR: NOT deployed. Deploy Service returned ERROR:
                         For detailed information see the log file of Deploy Service.
                         Exception is:
                         java.lang.RuntimeException: javax.xml.parsers.FactoryConfigurationError: Provider com.sun.xml.parser.DocumentBuilderFactoryImpl not found
                              at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:68)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:81)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    04/07/08 14:57:58 -  ***********************************************************
    04/07/08 15:04:16 -  Start updating EAR file...
    04/07/08 15:04:16 -  EAR file updated successfully for 266ms.
    04/07/08 15:04:16 -  Start deploying ...
    04/07/08 15:04:16 -  EAR file uploaded to server for 94ms.
    04/07/08 15:04:16 -  ERROR: NOT deployed. Deploy Service returned ERROR:
                         For detailed information see the log file of Deploy Service.
                         Exception is:
                         java.lang.RuntimeException: javax.xml.parsers.FactoryConfigurationError: Provider com.sun.xml.parser.DocumentBuilderFactoryImpl not found
                              at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:68)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:81)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    04/07/08 15:04:16 -  ***********************************************************
    04/07/08 15:16:23 -  Start updating EAR file...
    04/07/08 15:16:23 -  EAR file updated successfully for 204ms.
    04/07/08 15:16:23 -  Start deploying ...
    04/07/08 15:16:24 -  EAR file uploaded to server for 62ms.
    04/07/08 15:16:24 -  ERROR: NOT deployed. Deploy Service returned ERROR:
                         For detailed information see the log file of Deploy Service.
                         Exception is:
                         java.lang.RuntimeException: javax.xml.parsers.FactoryConfigurationError: Provider com.sun.xml.parser.DocumentBuilderFactoryImpl not found
                              at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:68)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
                              at com.sap.engine.lib.xml.StandardDOMParser.<init>(StandardDOMParser.java:81)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.getDescriptor(EARReader.java:190)
                              at com.sap.engine.services.deploy.ear.jar.EARReader.<init>(EARReader.java:89)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.<init>(DeploymentTransaction.java:127)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:452)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:268)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:165)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:102)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
                              at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    04/07/08 15:16:24 -  ***********************************************************
    Thanks,
    Abilash

  • Org.xml.sax.SAXParseException: com.sun.xml.parser/P-067

    this is an error I get, i tried everything to solve it, please help
    org.xml.sax.SAXParseException: com.sun.xml.parser/P-067
    at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
    at com.sun.xml.parser.Parser.fatal(Parser.java:2805)
    at com.sun.xml.parser.Parser.parseInternal(Parser.java:493)
    at com.sun.xml.parser.Parser.parse(Parser.java:284)
    at ParseXML.readFile(ParseXML.java:56)
    at ParseXML.getXMLData(ParseXML.java:40)

    Googling I get this....
    P-067 = Document root element is missing.

  • Help Me what is the "Parse Error: com.sun.xml.parser/P-067"?

    OS: Window 2000 (it will be changed HP-UX 11)
    Web Server: iPlanet 4.1 SP14
    DB Server : Oracle 8i
    JDK: 1.2.2_017
    Tag Library : jakarta-taglibs-dbtags-1.0.0 (http://jakarta.apache.org/taglibs/doc/dbtags-doc/intro.html)
    DTD file: web-jsptaglib_1_1.dtd ( actually, jakarta used http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd, but that dosen't work in iPlanet 4.1 SP 14. so i changed the path of dtd location to web-jsptaglib_1_1.dtd like the following tld file.)
    How should I use Jakarta DB Tag Library in iPlanet 4.1 SP? I'm very tired to set all of thses stupid things!
    I can't use Tag Library in iPlanet 4.1 SP 14
    Any comments make me happy~!
    Please, help me~!
    &#9632; Error Message
    [15/3/2005:20:21:41] info ( 4552): Internal Info: loading servlet /test/jdbc5.jsp
    [15/3/2005:20:21:42] info ( 4552): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to open taglibrary http://localhost/tlds/dbtags5.jar : Parse Error in the tag library descriptor: com.sun.xml.parser/P-067
         at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, Compiled Code)
         at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:119)
         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code)
         at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1022)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1018)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:231)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:453)
    &#9632; TLD File
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
         "http://localhost/dtd/web-jsptaglib_1_1.dtd">
    <!-- a tab library descriptor -->
    <!-- "http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
    <taglib>
         <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <prefix>DBTag</prefix>
    <urn></urn>
    <info>
              A simple db tab library for the examples
    </info>
    <tag>
    <name>connection</name>
    <tagclass>org.apache.taglibs.dbtags.connection.ConnectionTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.connection.ConnectionTEI</teiclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>id</name>
    <required>yes</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>dataSource</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>jndiName</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>url</name>
    <tagclass>org.apache.taglibs.dbtags.connection.DatabaseURLTag</tagclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>initParameter</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>jndiName</name>
    <tagclass>org.apache.taglibs.dbtags.connection.JndiNameTag</tagclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>initParameter</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>driver</name>
    <tagclass>org.apache.taglibs.dbtags.connection.DriverTag</tagclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>initParameter</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>userId</name>
    <tagclass>org.apache.taglibs.dbtags.connection.UserIdTag</tagclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>initParameter</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>password</name>
    <tagclass>org.apache.taglibs.dbtags.connection.PasswordTag</tagclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>initParameter</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>closeConnection</name>
    <tagclass>org.apache.taglibs.dbtags.connection.CloseConnectionTag</tagclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>conn</name>
    <required>yes</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>statement</name>
    <tagclass>org.apache.taglibs.dbtags.statement.StatementImplTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.statement.StatementTEI</teiclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>id</name>
    <required>yes</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>conn</name>
    <required>yes</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>escapeSql</name>
    <tagclass>org.apache.taglibs.dbtags.statement.EscapeSQLTag</tagclass>
    <bodycontent>JSP</bodycontent>
    </tag>
    <tag>
    <name>query</name>
    <tagclass>org.apache.taglibs.dbtags.statement.QueryTag</tagclass>
    <bodycontent>JSP</bodycontent>
    </tag>
    <tag>
    <name>execute</name>
    <tagclass>org.apache.taglibs.dbtags.statement.ExecuteTag</tagclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>ignoreErrors</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>preparedStatement</name>
    <tagclass>org.apache.taglibs.dbtags.preparedstatement.PreparedStatementImplTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.preparedstatement.PreparedStatementTEI</teiclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>id</name>
    <required>yes</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>conn</name>
    <required>yes</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>setColumn</name>
    <tagclass>org.apache.taglibs.dbtags.preparedstatement.SetColumnTag</tagclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>position</name>
    <required>yes</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>resultSet</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.ResultSetTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.resultset.ResultSetTEI</teiclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>id</name>
    <required>yes</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>loop</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>name</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>scope</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>wasNull</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.WasNullTag</tagclass>
    <bodycontent>JSP</bodycontent>
    </tag>
    <tag>
    <name>wasNotNull</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.WasNotNullTag</tagclass>
    <bodycontent>JSP</bodycontent>
    </tag>
    <tag>
    <name>getColumn</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.GetColumnTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.resultset.BaseGetterTEI</teiclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>position</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>colName</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>to</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>scope</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>getNumber</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.GetNumberTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.resultset.BaseGetterTEI</teiclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>position</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>colName</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>to</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>scope</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>locale</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    <attribute>
    <name>format</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>getTime</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.GetTimeTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.resultset.BaseGetterTEI</teiclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>position</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>colName</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>to</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>scope</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>locale</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    <attribute>
    <name>format</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>getTimestamp</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.GetTimestampTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.resultset.BaseGetterTEI</teiclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>position</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>colName</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>to</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>scope</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>locale</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    <attribute>
    <name>format</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>getDate</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.GetDateTag</tagclass>
    <teiclass>org.apache.taglibs.dbtags.resultset.BaseGetterTEI</teiclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>position</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>colName</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>to</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>scope</name>
    <required>no</required>
    <rtexprvalue>no</rtexprvalue>
    </attribute>
    <attribute>
    <name>locale</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    <attribute>
    <name>format</name>
    <required>no</required>
    <rtexprvalue>yes</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <name>wasEmpty</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.WasEmptyTag</tagclass>
    <bodycontent>JSP</bodycontent>
    </tag>
    <tag>
    <name>wasNotEmpty</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.WasNotEmptyTag</tagclass>
    <bodycontent>JSP</bodycontent>
    </tag>
    <tag>
    <name>rowCount</name>
    <tagclass>org.apache.taglibs.dbtags.resultset.RowCountTag</tagclass>
    <bodycontent>empty</bodycontent>
    </tag>
    </taglib>

    Googling I get this....
    P-067 = Document root element is missing.

  • Missing com.sun.xml.parser in Java EE 5

    I am upgrading from J2EE 1.4 to 5. In 1.4 I was using j2ee.jar file, but after installing J2EE 5, I think the file has changed to javaee.jar. But javaee.jar is missing the package com.sun.xml.parser. Can anybody tell me where I can find it?
    Thanks
    Aditi

    I am upgrading from J2EE 1.4 to 5. In 1.4 I was using j2ee.jar file, but after installing J2EE 5, I think the file has changed to javaee.jar. But javaee.jar is missing the package com.sun.xml.parser. Can anybody tell me where I can find it?
    Thanks
    Aditi

  • At com.sun.xml.stream.xerces.util.SymbolTable.hash(SymbolTable.java:222)

    Hi all,
    I'm trying to use a gSOAP server and a jax-ws client.
    I did a first test with WSDLReader to ask the wsdl from the gSOAP server and read it to display all informations.
    It was ok !
    Now I try to call a method whit this code :
              URL url = new URL("http://localhost:" + port + "/BenchOperations?wsdl");
              QName qname = new QName("http://www.Bench.toto.com", "BenchOperations");
              Service service = Service.create(url, qname); // EXCEPTION
              BenchPortType interfaceDeService = service.getPort(BenchPortType.class);
              TimeRequest timeRequest = new TimeRequest();
              timeRequest.setSleepDuration(sleep);
              TimeResponse timeResponse = interfaceDeService.time(timeRequest);but I have this exception on "Service.create" :
    Exception in thread "main" java.lang.NullPointerException
            at com.sun.xml.stream.xerces.util.SymbolTable.hash(SymbolTable.java:222)
            at com.sun.xml.stream.xerces.util.SymbolTable.addSymbol(SymbolTable.java:143)
            at com.sun.xml.stream.XMLReaderImpl.getNamespaceURI(XMLReaderImpl.java:1238)
            at javax.xml.stream.util.StreamReaderDelegate.getNamespaceURI(StreamReaderDelegate.java:94)
            at com.sun.xml.ws.wsdl.parser.ParserUtil.getQName(ParserUtil.java:66)
            at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parsePortTypeOperationInput(RuntimeWSDLParser.java:689)
            at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parsePortTypeOperation(RuntimeWSDLParser.java:662)
            at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parsePortType(RuntimeWSDLParser.java:636)
            at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:297)
            at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:253)
            at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:131)
            at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:239)
            at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:201)
            at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:172)
            at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:82)
            at javax.xml.ws.Service.<init>(Service.java:56)
            at javax.xml.ws.Service.create(Service.java:697)
            at com.thalesgroup.bench.client.Client.startClient(Client.java:25)
            at com.thalesgroup.bench.client.Client.<init>(Client.java:20)
            at com.thalesgroup.bench.client.Client.main(Client.java:16)I don't understand why ! This excpetion show that the client is trying to parse something (that's why I did the first test) and there is a nullPointer.
    Thanks a lot for your help
    Ob�

    Hi all,
    I compared the wsdl sent by the gSOAP server and the jax-ws server and there are not similar !
    this can explain that I have a nullPointerExcpetion when I use a gSOAP server
    How I can do ? Why the wsdl sent are not the same ?
    Thanks for your help
    Ob�lix

  • Java.io.NotSerializableException: com.sun.xml.tree.XmlDocument

    Hi,
    I got this error when my servlet is trying to parse a xml document:
    RuntimeRemoteException( java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: com.sun.xml.tree.XmlDocument )
    And my application runs ok when Tomcat is used as servlet container, but it runs into problem when iPlanet is used.
    Any idea?
    Thanks in advance!

    Thanks for your reply.
    The EJBs in the application are all stateless beans. The error happens at the servlet side, not the EJB side. When the servlet tries to parse the returned XML document using xalan 1.0, the error happened. However, I can not reproduce the error when I use Tomcat as servlet container.
    here is how I coded:
    XSLTProcessor processor = XSLTProcessorFactory.getProcessor(new org.apache.xalan.xpath.xdom.XercesLiaison());
    XSLTInputSource xmlSource = new XSLTInputSource(doc);
    XSLTInputSource xslSheet = new XSLTInputSource("file:"+xslFile);
    Writer out = new StringWriter();
    XSLTResultTarget xmlResult= new XSLTResultTarget(out);
    processor.process(xmlSource,xslSheet,xmlResult);

  • Import  com.sun.xml.tree.XmlDocument

    Hello! Can some one help me on the following problem?
    I am writing a DOM parser and I need to print out the modified xml file. So I want to use the write funcition defined in the com.sun.xml.tree.XmlDocument library. But this package is NOT included in JAXP package. Where shall I get this com.sun.xml.tree.XmlDocument library?
    Any help is greatly appreciated.

    You are WRITING an XML parser? Hopefully you meant that you were USING an XML parser. If you are using JAXP (which does include an XML parser) then you don't need that package to output XML. The example you got that idea from is obsolete.
    If your question is "How to use JAXP to write XML from a Document object?" then this is a FAQ here. Perhaps the search function is working and you could find the answer in this forum; I recall that it involves creating a Transformer whose input is the Document and whose output is wherever you wanted the XML to go to.

  • Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.con

    Hi everyone,
    Just now i tried to run the 'simple' example in an JAXRPC Security part in the JWSDP 1.4 tutorial but got the following error:
    run-sample:
    [echo] Running the simple.TestClient program....
    [java] Service URL=http://localhost:8080/securesimple/Ping
    [java] Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.configuration.SecurityConfigurationXmlReader.readJAXRPCSecurityConfigurationString(Ljava/lang/String;Z)Lcom/sun/xml/wss/configuration/JAXRPCSecurityConfiguration;
    [java]      at com.sun.xml.rpc.security.SecurityPluginUtil.<init>(SecurityPluginUtil.java:128)
    [java]      at simple.PingPort_Ping_Stub.<clinit>(PingPort_Ping_Stub.java:40)
    [java]      at simple.PingService_Impl.getPing(PingService_Impl.java:68)
    [java]      at simple.TestClient.main(TestClient.java:27)
    Can anybody give me a clue?

    Vishal, thanks a lot for your reply. I used the App Server 2004Q4 beta and got the problem. When I switch to version 8.0.0_01 the things work well.
    But now I'm trying to understand this example and creating my own simple web app using encryption feature. From the files in the example dicrectory I can figure out the security applied at client by examining client stub files generated by the wscompile in the asant gen-client task. But I wonder when security is added to the server side. Is it when we use wsdeploy with the model part specifiedin jaxrpc-ri.xml? What is the procedure to apply the security to the web service?
    The last thing I want to ask is whether the deploytool bundled inside App Server can do the same things as ant task (eg. wsdeploy with some arguments).

  • Moving from com.sun.xml classes to the new xml support integrated in java

    So far, for our XML implementation, we have used the DocumentEx, ElementEx, etc. from com.sun.xml.
    We understand that xml is now supported by the java itself (javax.xml.parsers?) and we wish to update our code to use the newer API.
    Is there a simple mapping between the old DocumentEx and ElementEx and new classes in javax.xml? Can it really be simple to "get rid" of com.sun.xml?

    The combination of the:
    Oracle XML SQL Utility
    and
    Oracle XML Parser for PLSQL V2
    give you what you need.
    null

  • Com.sun.xml?

    I'm just starting to teach myself XML from a text book and the examples use an import line:
    import com.sun.xml.parser.Resolver
    I have downloaded the java xml pack from java.sun.com but can't find where I can get the other library I need to import.
    Can somebody help me and tell me where to get it from or possibly email it to me. If you have the library I will post my email address later.
    Thanks
    Michael

    Hi Michael,
    since Version JAXP 1.1 You find the Resolver.class in org\apache\crimson\parser.
    Good Luck

Maybe you are looking for

  • Trying to do a pop up from a column link

    I have one interactive report (page 1) which I have defined a column link. The column link is targeted to another interactive (page 2) within the same application. Everything works except when I click on the column link in page 1 it does not pop up p

  • Implementing Response Id in CRM 5.0

    Hi Friends, Can you please help me with the steps to implement the RESPONSE ID in CRM 5.0 thanks.

  • White Screen when "video" chatting with PC

    My friend is running AIM 5.9 on Windows XP and when I try to video chat with her, all she sees is a white screen, but still can hear me. I have rebooted my computer, and so has she. We used to not be able to connect at all, but she rebooted and now s

  • Elements 13 won't open from iphoto

    Elements 13 won't open from iphoto. I have gone in Preferences/Advanced/ and changed the Edit photos to Elements 13.

  • How to sync a second calendar

    I have an 8830 running 4.5 in a BES/Exchange environment.  I'm not the admin, so I don't know the version of the BES nor Exchange. I understand that 4.5 now supports multiple calendars, so I have created a second calendar on my Exchange account.  All