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!

Similar Messages

  • 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.

  • 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.

  • 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

  • Nested while defining class: com.sun.xml.ws.api.WSBinding ???

    Why is this happening, I am trying to access servlet, 2.4 on the Webshere 6.1, installation as succesfull and the servlet is running without exceptions.
      nested while defining class: com.sun.xml.ws.api.WSBinding
    This error indicates that the class: javax.xml.ws.Binding
    could not be located while defining the class: com.sun.xml.ws.api.WSBinding
    This is often caused by having the class at a higher point in the classloader hierarchy
    Dumping the current context classloader hierarchy:
        ==> indicates defining classloader
        *** indicates classloader where the missing class could have been found
    ==>[0]
    com.ibm.ws.classloader.CompoundClassLoader@51905190
       Local ClassPath: C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\classes;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\aopalliance-1.0.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\commons-logging-1.1.1.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\jaxb-impl-2.1.7.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\jaxb-xjc-2.1.7.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\jaxws-rt-2.1.4.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\jaxws-rt-2.1.7.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\jaxws-spring-1.8.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\jboss-j2ee.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\jremote.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\log4j-1.2.9.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.aop-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.asm-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.beans-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.context-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.core-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.expression-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.jms-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.transaction-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\org.springframework.web-3.0.1.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\spring-batch-infrastructure-2.1.0.RELEASE.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\stax-ex-1.2.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\streambuffer-0.7.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\TWSCore.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war\WEB-INF\lib\xbean-spring-3.4.3.jar;C:\Program Files\IBM\WebSphere\AppServer2\profiles\AppSrv01\installedApps\UKDSK-DBURFORD1Node02Cell\myappservelett2_4_again_war.ear\myappservelett2.4_again.war
       Delegation Mode: PARENT_FIRST
       [1] com.ibm.ws.classloader.JarClassLoader@777399894 Local Classpath:  Delegation mode: PARENT_FIRSTEdited by: romanshtekelman on Sep 9, 2010 7:34 AM

    For future reference...
    We followed the following instructions and created a shared lib.
    http://download.oracle.com/docs/cd/E12524_01/web.1013/e12290/opensrc.htm#BABDDAIF
    We resolved most of our class loading issues.
    BR//Bahman

  • No serializer found for class com.sun.xml.messaging.saaj.soap.ver1_1.Messag

    Hi,
    I am developing a soap web service using apache axis tool. I am using tomcat6 and jdk6. I need to return SOAPMessage as return object from remote interface methods. Now I have success fully deploy web service in tomcat. Also I have create client too, but when I am trying to call web service throw client then it show me a exception on client is
    org.xml.sax.SAXParseException: Premature end of file.
    and on server log, it show me this exception
    java.io.IOException:
    xisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.io.IOException: No serializer found for class com.sun.xml.messaging.saaj.soap.ver1_1.M
    ssage1_1Impl in registry org.apache.axis.encoding.TypeMappingDelegate@98062f
    faultActor:
    faultNode:
    faultDetail:
           {http://xml.apache.org/axis/}stackTrace:java.io.IOException: No serializer found for class com.su
    .xml.messaging.saaj.soap.ver1_1.Message1_1Impl in registry org.apache.axis.encoding.TypeMappingDelegate@
    8062f
           at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1507)
           at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
           at org.apache.axis.encoding.SerializationContext.outputMultiRefs(SerializationContext.java:1055)
           at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
           at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
           at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
           at org.apache.axis.Message.writeTo(Message.java:539)
           at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
           at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
           at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:2
    0)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:58
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Thread.java:619)
           {http://xml.apache.org/axis/}hostname:EMRG-409964-L19
    ava.io.IOException: No serializer found for class com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
    n registry org.apache.axis.encoding.TypeMappingDelegate@98062f
           at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
           at org.apache.axis.Message.writeTo(Message.java:539)
           at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
           at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
           at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:2
    0)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:58
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Thread.java:619)
    aused by: java.io.IOException: No serializer found for class com.sun.xml.messaging.saaj.soap.ver1_1.Mess
    ge1_1Impl in registry org.apache.axis.encoding.TypeMappingDelegate@98062f
           at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1507)
           at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
           at org.apache.axis.encoding.SerializationContext.outputMultiRefs(SerializationContext.java:1055)
           at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
           at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
           at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
           ... 19 moreI have deploy new version of saa-impl.jar and saaj-api.jar too. And I also have deploy webservice-rt.jar too in server lib and application lib folder. but still this exception is there. I dont understand, how can I over come from this error. If some one have resolved this type of exception then please reply. Please reply me on [email protected]
    --Thanks in Advance
    Umashankar Adha
    Sr. Soft. Eng.
    United States

    FYI, now I'm in work:
    import javax.xml.namespace.*;
    import javax.xml.rpc.*;
    import javax.activation.*;
    import javax.mail.*;
    import com.sun.xml.messaging.saaj.*;
    -classpath D:\jwsdp-1.3\jaxp\lib\endorsed\dom.jar;D:\jwsdp-1.3\jaxp\lib\endorsed\xercesImpl.jar;D:\jwsdp-1.3\saaj\lib\saaj-impl.jar;D:\jwsdp-1.3\saaj\lib\saaj-api.jar;D:\jwsdp-1.3\jwsdp-shared\lib\activation.jar;D:\jwsdp-1.3\jwsdp-shared\lib\mail.jar;D:\jwsdp-1.3\jaxrpc\lib\jaxrpc-api.jar;D:\jwsdp-1.3\jaxrpc\lib\jaxrpc-impl.jar;D:\jwsdp-1.3\jaxrpc\lib\jaxrpc-spi.jar;D:\jwsdp-1.3\jwsdp-shared\lib\jax-qname.jar
    Those are what I had to use to get it working.
    Chris

  • 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

  • Taskdef [b]class com.sun.xml.rpc.tools.ant.Wscompile cannot be found[/b]

    Hi everybody,
    I m new in developing web service.
    I am using NetBeans IDE 4.1 EA2 for developing web service.
    I have created a sample jaxrpc web service. When i build project it gives me error that:taskdef class com.sun.xml.rpc.tools.ant.Wscompile cannot be found.
    This error is contain in the file build-impl.xml which is referred by build.xml file.
    netbeans ide uses ant tool for compiling, building & deploying web service.
    All the xml files are automatically generated by netbeans ide.
    Please help me with this...
    Thanx in advance..
    Nirav Patel.

    You'll need to add jaxrpc-impl.jar to your
    classpath.
    You can find it under %JWSDP_HOME%\jaxrpc\lib
    If you haven't got JWSDP then try
    http://java.sun.com/webservices/downloads/webservicesp
    ack.htmlhello...
    i want to add jaxepc-impl.jar to classpath.
    i got the same problem.
    i check the user variable c:\sun\jwsdp-1.6\jwsdp_shared\bin;c:\sun\jwsdp-1.6\jwsdp_shared\bin
    have been there.
    but still the same error appear in the netbeans.
    i hope can't get the one-by-one steps guidelines from u.
    thanks

  • 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

  • Package com.sun.java.swing not found in import

    I'm trying to show graphic information but the swing package does not load up don't know what is going on Any help is welcome
    THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
    Package com.sun.java.swing not found in import

    I'm trying to show graphic information but the swing
    package does not load up don't know what is going on
    Any help is welcome
    THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
    Package com.sun.java.swing not found in importThat's an old package reference. Try javax.swing

  • Deployment problem on WLS8.1sp3: com.sun.javac.Main not found

    Hi,
    I have a curious problem, after adding some simple (logging) code to an Session Bean, the EAR file will not deploy. I get the message below concerning compilation problems. If however I restore the Session Bean to the previous state, and having build a new EAR file, the erro persists. What is this strange behaviour, has this to do with weblogic settings for the EAR file of whatever ?
    NB I also have tried to include the tool.lib jar in the projekt but that doesn't solve the problem.
    Any help would be appreciated,
    Harry van Rijn
    Exception:weblogic.management.ApplicationException: prepare failed for UasEJB.jar Module: UasEJB.jar Error: Exception preparing module: EJBModule(UasEJB.jar,status=NEW) Unable to deploy EJB: UasEJB.jar from UasEJB.jar: Compiler class: 'com.sun.tools.javac.Main', not found at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:762) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1317) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule

    hi,
    i am migrating my application from wls7.0sp2 to wls8.1 sp3. i am using weblogic.ejbc to make my ear in my ant build script.
    My Classpath settings are > C:\bea8.1\weblogic81\server\lib\weblogic.jar;C:\j2sdk1.4.2_08\lib\tools.jar;
    My Path Settings are > C:\j2sdk1.4.2_08\bin;C:\j2sdk1.4.2_08\jre\bin;
    i am getting the error message>>
    [java] Compiler class: 'com.sun.tools.javac.Main', not found
    [java] java.lang.ClassNotFoundException: com.sun.tools.javac.Main
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    [java] at java.lang.Class.forName0(Native Method)
    [java] at java.lang.Class.forName(Class.java:141)
    [java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:406)
    [java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [java] at weblogic.ejbc.main(ejbc.java:29)
    [java] ERROR: Error from ejbc: Compiler class: 'com.sun.tools.javac.Main', not found
    [java] ERROR: ejbc couldn't invoke compiler

  • Problem wtih deploying EAR: com.sun.javac.Main NOT FOUND

    Hi,
    I have a curious problem, after adding some simple (logging) code to an Session Bean, the EAR file will not deploy. I get the message below concerning compilation problems. If however I restore the Session Bean to the previous state, and having build a new EAR file, the erro persists. What is this strange behaviour, has this to do with weblogic settings for the EAR file of whatever ?
    NB I also have tried to include the tool.lib jar in the projekt but that doesn't solve the problem.
    Any help would be appreciated,
    Harry van Rijn
    Exception:weblogic.management.ApplicationException: prepare failed for UasEJB.jar Module: UasEJB.jar Error: Exception preparing module: EJBModule(UasEJB.jar,status=NEW) Unable to deploy EJB: UasEJB.jar from UasEJB.jar: Compiler class: 'com.sun.tools.javac.Main', not found at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:762) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1317) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule

    hi,
    i am migrating my application from wls7.0sp2 to wls8.1 sp3. i am using weblogic.ejbc to make my ear in my ant build script.
    My Classpath settings are > C:\bea8.1\weblogic81\server\lib\weblogic.jar;C:\j2sdk1.4.2_08\lib\tools.jar;
    My Path Settings are > C:\j2sdk1.4.2_08\bin;C:\j2sdk1.4.2_08\jre\bin;
    i am getting the error message>>
    [java] Compiler class: 'com.sun.tools.javac.Main', not found
    [java] java.lang.ClassNotFoundException: com.sun.tools.javac.Main
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    [java] at java.lang.Class.forName0(Native Method)
    [java] at java.lang.Class.forName(Class.java:141)
    [java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:406)
    [java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [java] at weblogic.ejbc.main(ejbc.java:29)
    [java] ERROR: Error from ejbc: Compiler class: 'com.sun.tools.javac.Main', not found
    [java] ERROR: ejbc couldn't invoke compiler

  • SCM2007 on AIX/Ora install error: class com.sap.engine.offline not found

    Hello Readers,
    I am doing a fresh install of SCM2007 on AIX5.3, Oracle 10.2.0.4. Type of install is central instance (ABAP, Java, DB on one server). After importing ABAP, sapinst proceeds to create secure store. At that point sapinst fails with the message:
           CJS-30050  Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
           The java class is not found:  com.sap.engine.offline.OfflineToolStart.
    The log file SecureStoreCreate.log says:
           The java class is not found:  com.sap.engine.offline.OfflineToolStart
    The command being executed is
           Execution of the command "/usr/java14_64/bin/java -classpath /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/launcher.jar -Xmx256m -Xj9 com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s AD1 -f /sapmnt/AD1/global/security/data/SecStore.properties -k /sapmnt/AD1/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 1.
    Output:
    The java class is not found:  com.sap.engine.offline.OfflineToolStart
    Based on another forum suggestion I extracted the J2EEINSTALL.SAR file from the Java components DVD to the temporary installation folder like so but this has not helped so far:
         cd /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS
         var_file=/installdvds/51032953_javacomp/J2EE_OSINDEP/J2EE-INST/J2EEINSTALL.SAR
         /sapmnt/SID/exe/SAPCAR -xvf $var_file
    Any suggestions? Have you come across this before? It seems to me that this particular sapinst has some bugs.
    Thanks in advance!

    hi bhalu,
    please check whether you have given the correct JCE policy files.
    If you have installed IBM java then you to use the IBM JCE policy file in installation.
    regards
    chandru

  • WebRowSet & com.sun.xml.parser.Resolver error

    Hi all,
    I have a xml file which is generated by a webrowset on the server and which is read by a webrowset object in an applet with readXml method. I know that the xml is sent in a well-formed format as I checked it in IE6.
    I also know that the applet is reading the url correctly. From my searches I have found people refering to chaning the SYTEM_ID property which keeps the location of the DTD file to point to a local copy to avoid lookup problems. I have done this and still get the error.
    I have an idea that it may be the way the XML file is being read. (See code below.)
    URL url = new URL ("http","localhost",8081,"/getXML.jsp");
    HttpURLConnection host =(HttpURLConnection)url.openConnection();
    host.connect();
    java.io.Reader tmp = new java.io.InputStreamReader(host.getInputStream());
    java.io.BufferedReader buf = new BufferedReader(tmp);
    webrs.readXml (buf);
    Any ideas or pointer appreciated.
    TIA

    Hmm. Could you perhaps post the full stack trace and error message from the exception.
    .P.

  • Web Service error com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStack

    Hi,
    I have implemented a Java class which calls some XML RPC 3.0 proxy methods.
    If I test the method input inside a "main ()" method and get the output, it works nice.
    The XML RPC 3.0 procy method is also invoked and there is no problem.
    However, when I expose this java class as a "web service" and invoke the web service from the JDeveloper integrated console or
    even an external test client running on a browser, I get the error mentioned below.
    Which setting must be defined in the JDevelopper ( Studio Edition Version 11.1.1.2.0 on :
    set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false"
    class="java.lang.NoClassDefFoundError"
    +++++++++ Integrated WebLogic server ( + Integrated WebLogic server started on port 7101) +++++++++
    [Running application AllCustomers on Server Instance IntegratedWebLogicServer...]
    [02:47:42 PM] ---- Deployment started. ----
    [02:47:42 PM] Target platform is (Weblogic 10.3).
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Thanks
    YL
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>S:Server</faultcode>
    <faultstring>org/opensource/proxy/OpenSourceApiXmlRpcProxy</faultstring>
    <detail>
    <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" class="java.lang.NoClassDefFoundError">
    <message>org/opensource/proxy/OpenSourceApiXmlRpcProxy</message>
    <ns2:stackTrace>
    <ns2:frame line="246" file="GetAllCustomers.java" method="GetOneCustomerWithProxy" class="com.std.customer.GetAllCustomers" />
    <ns2:frame line="native" file="NativeMethodAccessorImpl.java" method="invoke0" class="sun.reflect.NativeMethodAccessorImpl" />
    <ns2:frame line="39" file="NativeMethodAccessorImpl.java" method="invoke" class="sun.reflect.NativeMethodAccessorImpl" />
    <ns2:frame line="25" file="DelegatingMethodAccessorImpl.java" method="invoke" class="sun.reflect.DelegatingMethodAccessorImpl" />
    <ns2:frame line="597" file="Method.java" method="invoke" class="java.lang.reflect.Method" />
    <ns2:frame line="101" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker" />
    <ns2:frame line="83" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker" />
    <ns2:frame line="152" file="InvokerTube.java" method="invoke" class="com.sun.xml.ws.server.InvokerTube$2" />
    <ns2:frame line="264" file="EndpointMethodHandler.java" method="invoke" class="com.sun.xml.ws.server.sei.EndpointMethodHandler" />
    <ns2:frame line="93" file="SEIInvokerTube.java" method="processRequest" class="com.sun.xml.ws.server.sei.SEIInvokerTube" />
    <ns2:frame line="604" file="Fiber.java" method="__doRun" class="com.sun.xml.ws.api.pipe.Fiber" />
    <ns2:frame line="563" file="Fiber.java" method="_doRun" class="com.sun.xml.ws.api.pipe.Fiber" />
    <ns2:frame line="548" file="Fiber.java" method="doRun" class="com.sun.xml.ws.api.pipe.Fiber" />
    <ns2:frame line="445" file="Fiber.java" method="runSync" class="com.sun.xml.ws.api.pipe.Fiber" />
    <ns2:frame line="275" file="WSEndpointImpl.java" method="process" class="com.sun.xml.ws.server.WSEndpointImpl$2" />
    <ns2:frame line="454" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" />
    <ns2:frame line="250" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter" />
    <ns2:frame line="140" file="ServletAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" />
    <ns2:frame line="319" file="HttpServletAdapter.java" method="run" class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke" />
    <ns2:frame line="232" file="HttpServletAdapter.java" method="post" class="weblogic.wsee.jaxws.HttpServletAdapter" />
    <ns2:frame line="310" file="JAXWSServlet.java" method="doPost" class="weblogic.wsee.jaxws.JAXWSServlet" />
    <ns2:frame line="727" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet" />
    <ns2:frame line="87" file="JAXWSServlet.java" method="service" class="weblogic.wsee.jaxws.JAXWSServlet" />
    <ns2:frame line="820" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet" />
    <ns2:frame line="227" file="StubSecurityHelper.java" method="run" class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction" />
    <ns2:frame line="125" file="StubSecurityHelper.java" method="invokeServlet" class="weblogic.servlet.internal.StubSecurityHelper" />
    <ns2:frame line="292" file="ServletStubImpl.java" method="execute" class="weblogic.servlet.internal.ServletStubImpl" />
    <ns2:frame line="26" file="TailFilter.java" method="doFilter" class="weblogic.servlet.internal.TailFilter" />
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl" />
    <ns2:frame line="326" file="DMSServletFilter.java" method="doFilter" class="oracle.dms.wls.DMSServletFilter" />
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl" />
    <ns2:frame line="3592" file="WebAppServletContext.java" method="run" class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction" />
    <ns2:frame line="321" file="AuthenticatedSubject.java" method="doAs" class="weblogic.security.acl.internal.AuthenticatedSubject" />
    <ns2:frame line="121" file="SecurityManager.java" method="runAs" class="weblogic.security.service.SecurityManager" />
    <ns2:frame line="2202" file="WebAppServletContext.java" method="securedExecute" class="weblogic.servlet.internal.WebAppServletContext" />
    <ns2:frame line="2108" file="WebAppServletContext.java" method="execute" class="weblogic.servlet.internal.WebAppServletContext" />
    <ns2:frame line="1432" file="ServletRequestImpl.java" method="run" class="weblogic.servlet.internal.ServletRequestImpl" />
    <ns2:frame line="201" file="ExecuteThread.java" method="execute" class="weblogic.work.ExecuteThread" />
    <ns2:frame line="173" file="ExecuteThread.java" method="run" class="weblogic.work.ExecuteThread" />
    </ns2:stackTrace>
    </ns2:exception>
    </detail>
    </S:Fault>
    </S:Body>
    </S:Envelope>

    Hello AYVR
    I found your post because I want to suppress the stack trace in my response of the web service. I put the -Dcom.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace=false parameter in the setDomainEnv.cmd in the bin directory of my domain. Maybe this is also a solution for you.
    Cheers Chris
    Edited by: user8989253 on Aug 5, 2011 6:36 AM

Maybe you are looking for

  • Color Cast

    The LCD Touch Screen on my W512 has a rather bad color cast. For instance if you look a bit form the side or from above the color changes quite dramatically. One example is the area of a windows between the scroll bar and the very edge of the window.

  • Regarding Tcode in selction-screen.

    Hi all,     My requirement is like this....if the user gives transaction code in the selection-screen..corresponding fields should be showed in alv putput... for example if i run MM01...what are tall the fields in tat screen hav to be showed in ALV w

  • Adobe Flash Pro Volume License Install

    I have use various methods of including the volume license in the install of Adobe Flash Professional and none of these methods actually prevent the Validation screen from appearing on the first load of Adobe Flash Professional version 8. I have use

  • SAP Retail Store -  Physical Inventory

    In R3 system it is possible to do a count without the reference of a PI doc. but we are entering the count through SRS in our stores. In SRS we first need to enter the PI doc to enter the count? Is there a way where in we enter the count without refe

  • Wifi & Battery Problem since upgrading to ios 8.0.2

    me upgraded my iPhone 5s to iOS 8.0.2 but I have a problem about Wifi and Battery !!! my wifi disconnect every 1 minute and when i turn it Off then On it will work for 1 minute and will disconnect again and i have to turn it Off then On again ! And m