SAX entityresolver

I'm trying to get my Java XML application (which uses DOM incidently) to resolve external entities, and am looking for an implementation of org.xml.sax.EntityResolver.resolveEntity(String publicId, String systemId) which doesn't return null by default (i.e. one that will actually run off and try and find the external entity over the internet.
Does anyone have or can anyone find any help with this???

Hi Tristan,
You don't need an entity resolver that does not return null. Returning null is a behaviour that asks the parser to open a regular URI connection to the system identifier.
see: http://java.sun.com/j2se/1.4.1/docs/api/org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,%20java.lang.String)
If you find that the parser can't resolve the URI, it might be due to some firewall problems. In that case, ask a network administrator what proxy server and parameters should be used and set the java proxy system parameters on the command line.
Cheers
Benoit

Similar Messages

  • BUG? using own EntityResolver with SAX doesn't work

    Hello,
    I was experimenting with the oracle.xml.parser.XMLParser using
    the SAX interface.
    I've written a test program that instantiates a driver and
    registers my own handlers (which just print to System.out).
    I also have my own org.xml.sax.EntityResolver, it looks like
    this:
    public class SAXEntityResolver implements EntityResolver {
    public InputSource resolveEntity(String publicId,
    String systemId) throws SAXException, IOException {
    System.out.println("<<Call to resolveEntity>>");
    try { //assume it's a URL of some sort
    URL url=new URL(systemId);
    return new InputSource(url.openStream());
    catch (MalformedURLException e1) {
    try { //it's not a URL, assume a file spec
    FileInputStream fin=new FileInputStream(systemId);
    return new InputSource(fin);
    catch (FileNotFoundException e2) {
    return null;
    //don't understand it, let the parser handle it.
    when I parse the following xml file:
    <?xml version="1.0"?>
    <!DOCTYPE dinner SYSTEM "dinner.dtd">
    <dinner>
    <location planet="Earth">Alma 3</location>
    <time>12:30</time>
    <date>Vandaag</date>
    </dinner>
    The parser generates an error to my org.xml.sax.ErrorHandler
    which prints it to the screen. The output looks like this:
    [C:\temp\xml]java -cp c:\TEMP\xml\oracle\lib\xmlparser.jar;.
    SAXParseXML oracle.xml.parser.XMLParser dinner.xml
    Locater accepted: oracle.xml.parser.SAXLocator@6ba51a96
    document parsing start
    [error: Couldn't find external DTD 'dinner.dtd']
    element dinner start: null:4:1
    (other output follows with no more errors)
    It seems as if the Oracle XMLParser doesn't use my EntityResolver
    to resolve it's external entities (the dinner.dtd file in this
    case, the file is indeed there, trust me!), otherwise it would
    have printed the message seen in the code above (<<Call to
    resolveEntity>>). If you're wondering how I configured the
    systemId in the SAX parser, here's how:
    File f=new File(args[1]);
    InputSource src=new InputSource(new FileInputStream(f));
    src.setSystemId(f.toURL().toString());
    p.parse(src);
    Can you tell me why this is? (I use NT4 with jdk 1.2)
    I've tested the same thing with the IBM, Microstar and Sun
    parsers, and they all seem to work fine with this example...
    Hope to hear from you! (cc in with mail please)
    Erwin.
    null

    Thanks for the post. You have identified a bug which will be
    fixed in a maintenance release. Until that time you can parse a
    String type rather than a InputSource type in SAXParseXML.java as
    a workaround.
    Oracle XML Team
    http://technet.oracle.com
    Erwin Vervaet (guest) wrote:
    : Oracle XML Team wrote:
    : : Which version of the parser are you using? If not 1.0.0.3
    (the
    : : latest) try that version. If the problem still exists it
    would
    : : help if you could provide your test program.
    : The readme.html in the xmlparser_v1_0_0_3.zip file (I download
    it
    : on monday 8/2/1999) says: 'Oracle XML Parser 1.0.0.3.0'.
    : So that's not the problem, below are all the files of the test
    : program. The command I use to start the program is the
    following
    : (note that there cannot be a classpath clash problem!, I use
    Sun
    : jdk1.2 on NT4 SP4):
    : [C:\temp\xml]dir
    : Volume in drive C is unlabeled Serial number is 2C90:8BDE
    : Directory of C:\temp\xml\*
    : 11/02/99 10:50 <DIR> .
    : 11/02/99 10:50 <DIR> ..
    : 9/02/99 16:34 <DIR> aelfred
    : 9/02/99 21:56 <DIR> oracle
    : 8/02/99 17:44 <DIR> xml-ea2
    : 8/02/99 14:10 <DIR> xml4j
    : 9/02/99 22:44 <DIR> xp
    : 9/02/99 16:42 215 dinner.dtd
    : 9/02/99 23:03 167 dinner.xml
    : 8/02/99 15:23 438 ParseXml.java
    : 11/02/99 10:50 2.402 SAXDocHandler.class
    : 9/02/99 21:14 1.585 SAXDocHandler.java
    : 11/02/99 10:50 1.129 SAXEntityResolver.class
    : 9/02/99 22:04 737 SAXEntityResolver.java
    : 11/02/99 10:50 976 SAXErrHandler.class
    : 9/02/99 15:39 495 SAXErrHandler.java
    : 11/02/99 10:50 1.261 SAXParseXML.class
    : 9/02/99 22:09 629 SAXParseXML.java
    : 10.034 bytes in 11 files and 7 dirs 12.800 bytes
    : allocated
    : 201.152.512 bytes free
    : [C:\temp\xml]java -cp c:\temp\xml\oracle\lib\xmlparser.jar;.
    : SAXParseXML oracle.xml.parser.XMLParser dinner.xml
    : Here are the files:
    : //file SAXErrHandler.java
    : import org.xml.sax.*;
    : public class SAXErrHandler implements ErrorHandler {
    : public void warning(SAXParseException exception) throws
    : SAXException {
    : System.err.println("[warning: " + exception +
    : public void error(SAXParseException exception) throws
    : SAXException {
    : System.err.println("[error: " + exception + "]");
    : public void fatalError(SAXParseException exception)
    : throws SAXException {
    : System.err.println("[fatal error: " + exception + "]");
    : //file SAXEntityResolver.java
    : import org.xml.sax.*;
    : import java.net.*;
    : import java.io.*;
    : public class SAXEntityResolver implements EntityResolver {
    : public InputSource resolveEntity(String publicId, String
    : systemId) throws SAXException, IOException {
    : System.out.println("<<Call to resolveEntity>> " + publicId + "
    : + systemId);
    : try { //assume it's a URL of some sort
    : URL url=new URL(systemId);
    : return new InputSource(url.openStream());
    : catch (MalformedURLException e1) {
    : try { //it's not a URL, assume a file
    : spec
    : FileInputStream fin=new
    : FileInputStream(systemId);
    : return new InputSource(fin);
    : catch (FileNotFoundException e2) {
    : return null; //don't understand
    : it, let the parser handle it.
    : //file SAXDocHandler.java
    : import org.xml.sax.*;
    : public class SAXDocHandler implements DocumentHandler {
    : private Locator locator=null;
    : public void startDocument() throws SAXException {
    : System.out.println("document parsing start");
    : public void setDocumentLocator(Locator locator) {
    : System.out.println("Locater accepted: " + locator);
    : this.locator=locator;
    : public void startElement(String name, AttributeList atts)
    : throws SAXException {
    : System.out.println("element " + name + " start: "
    : + locate());
    : for (int i = 0; i < atts.getLength(); i++)
    : System.out.println("attribute " +
    : atts.getName(i) + "=" + atts.getValue(i) + " (" +
    atts.getType(i)
    : + ")");
    : public void characters(char[] ch, int start, int length)
    : throws SAXException {
    : System.out.println("char data: " + new
    : String(ch,start,length));
    : public void ignorableWhitespace(char[] ch, int start, int
    : length) throws SAXException {
    : System.out.println("ignoring some whitespace: " +
    : new String(ch,start,length));
    : public void endElement(String name) throws SAXException {
    : System.out.println("element " + name + " end: " +
    locate());
    : public void processingInstruction(String target, String
    : data) throws SAXException {
    : System.out.println("PI: " + target + "=" + data);
    : public void endDocument() throws SAXException {
    : System.out.println("document parsing end");
    : private String locate() {
    : if (locator!=null) {
    : return locator.getSystemId() + ":" +
    : locator.getLineNumber() + ":" + locator.getColumnNumber();
    : return "";
    : //file SAXParseXML.java
    : import org.xml.sax.*;
    : import org.xml.sax.helpers.ParserFactory;
    : import java.io.*;
    : public class SAXParseXML {
    : public static void main(String[] args) {
    : if (args.length>1) {
    : try {
    : Parser
    : p=ParserFactory.makeParser(args[0]);
    : p.setDocumentHandler(new
    : SAXDocHandler());
    : p.setErrorHandler(new
    : SAXErrHandler());
    : p.setEntityResolver(new
    : SAXEntityResolver());
    : File f=new File(args[1]);
    : InputSource src=new
    : InputSource(new FileInputStream(f));
    : src.setSystemId(f.toURL().toString());
    : p.parse(src);
    : catch (Exception e) {
    : e.printStackTrace();
    : //file dinner.xml
    : <?xml version="1.0"?>
    : <!DOCTYPE dinner SYSTEM "dinner.dtd">
    : <dinner>
    : <location planet="Earth">Alma 3</location>
    : <time>12:30</time>
    : <date>Vandaag</date>
    : </dinner>
    : //file dinner.dtd
    : <?xml version="1.0" encoding="UTF-8"?>
    : <!ELEMENT dinner (location, time, date?)>
    : <!ELEMENT location (#PCDATA)>
    : <!ELEMENT time (#PCDATA)>
    : <!ELEMENT date (#PCDATA)>
    : <!ATTLIST location country CDATA "Belgium">
    Oracle Technology Network
    null

  • Another SAX Parser Question

    Hi All,
    I get an xml file by making an http request. The name of the DTD comes as a relative path in the response xml file.
    Questions
    1. Is there a way to handle this
    2. I read somewhere that i could avoid looking at the DTD alltogether,
    can someone show me how with a sample code.
    Kind regards

    Nothing seems to help, Please help,
    Im using jdk1.4 A full source codee would be great.
    Thanks in advance.
    This is the trace and the Code follows below:
    C:\codes\parser>java -classpath xerces.jar;. ReaderConnector
    Initiating Connection to System URL = http://a.b.c.com:5280/vega/
    request?method=login&ui=ch16132-user&pwd=pass
    Connected ..
    Opening Stream for reading data
    Got input stream java.io.BufferedInputStream@19821f
    Got reader java.io.BufferedReader@addbf1
    Read login file ...
    Parsing ...
    Start of Login document
    \vega\xml\xrf.dtd (The system cannot find the path)
    Parsed
    ********************************3
    *****Code*****
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import org.xml.sax.EntityResolver;
    import org.xml.sax.InputSource;
    import org.xml.sax.helpers.*;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.Attributes;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    * @author  JAVA
    * @version
    public class ReaderConnector{
        public ReaderConnector() {
        /*Login URl doesnt change*/
        private  String loginUrl  = "http://a.b.c.com:5280/vega/request?method=login&ui=ch16132-user&pwd=pass";
        //private  String loginUrl  = "c://temp/test.xml";
        private String sessionId;
        public String getSessionId(){
            if(sessionId == null){
                createConnection();
                return sessionId;
            }else{
                return sessionId;
        public void createConnection() {
            DataInputStream inputStream = null;              
            BufferedReader reader = null;
             InputStream in = null;
             FileOutputStream fos= null;
             //System.setProperty("javax.xml.parsers.SAXParserFactory",  "org.apache.xerces.jaxp.SAXParserFactoryImpl");
            try {
                URL url = new URL(loginUrl);
                URLConnection connection = url.openConnection();               
                connection.setUseCaches(false);               
                System.out.println(" Initiating Connection to System URL =  " + "http://a.b.c.com:5280/vega/request?method=login&ui=ch16132-usr&pwd=pass");
                connection.connect();
                System.out.println(" Connected ..");
                System.out.println(" Opening Stream for reading data ");
                 in = new BufferedInputStream (new DataInputStream (connection.getInputStream()));                                                               
                System.out.println("Got input stream "+ in);
                reader = new BufferedReader(new InputStreamReader(new BufferedInputStream(in)));                               
                System.out.println("Got reader "+ reader);
                System.out.println("Read login file ...");
                parseStream(reader);
            }catch (Exception e) {
                    System.out.println(e.getMessage());               
            }finally {
                try {
                    in.close();
                        //fos.close();
                    if (inputStream != null) {
                        inputStream.close();
                    if(reader!=null){
                        reader.close();
                } catch (Exception ex) {
                    System.out.println(ex.getMessage());
                    ex.printStackTrace();
         public void parseStream(BufferedReader br){
            System.out.println("Parsing ...");
            try{           
                /*SAXParserFactory spf = SAXParserFactory.newInstance();
                spf.setValidating(false);
                spf.setNamespaceAware(false);
                org.xml.sax.Parser sp = (org.xml.sax.Parser)spf.newSAXParser();
                //sp.isValidating(false);
                sp.setDTDHandler(new Resolver());
                //sp.setDocumentHandler(new Handler());
                InputSource iSource = new InputSource(br);
                Handler h = new Handler();
                sp.parse(iSource );            */
              XMLReader parser;
              parser = XMLReaderFactory.createXMLReader();
              parser.setContentHandler(new Handler());
             parser.setDTDHandler(new Resolver());
              parser.parse(new InputSource(br));
            }catch(Exception e){
                System.out.println(e.getMessage());
            System.out.println("Parsed");
        public static void main(String [] args){
            ReaderConnector connector = new ReaderConnector ();
            //connector.testParsing("c://temp/test.xml");
            connector.createConnection();
        private class Resolver extends DefaultHandler{
            public InputSource resolveEntity(String publicId, String systemId) throws SAXException {
          System.err.println(publicId + " ! " + systemId);
          if (("/vega/xml/xrf.dtd").equalsIgnoreCase(systemId) || ("/vega/xml/xrf.dtd").equalsIgnoreCase(publicId))
            try {
              return new InputSource(new URL("http://a.b.c.com:5280"+systemId).openStream());
            } catch (MalformedURLException e) {
              throw new SAXException(e);
            } catch (IOException e) {
              throw new SAXException(e);
          else return null;
        private class Handler extends org.xml.sax.helpers.DefaultHandler{                      
            public void startDocument() throws org.xml.sax.SAXException {
                System.out.println("Start of Login document");           
            public void endDocument() throws org.xml.sax.SAXException {           
                System.out.println("End of document");
            public void ignorableWhitespace(char[] values, int param, int param2) throws org.xml.sax.SAXException {
            public void endElement(java.lang.String str, java.lang.String str1, java.lang.String str2) throws org.xml.sax.SAXException {
                System.out.println("End of element reached: str, str1, str2 "+ str + " , "+ str1 + " , "+ str2);
                System.out.println("Session ID "+ sessionId);
            public void skippedEntity(java.lang.String str) throws org.xml.sax.SAXException {           
            public void processingInstruction(java.lang.String str, java.lang.String str1) throws org.xml.sax.SAXException {           
            public void startElement(java.lang.String str, java.lang.String str1, java.lang.String str2, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException {                            
                if(("A").equals(str2)){
                    for(int i=0; i< attributes.getLength();i++){
                        System.out.println("Attribute "+ i + ", Name, Value "+ attributes.getQName(i) + ", " + attributes.getValue(i));
                        if(("v").equalsIgnoreCase(attributes.getQName(i)))
                            sessionId = attributes.getValue(i);
            public void endPrefixMapping(java.lang.String str) throws org.xml.sax.SAXException {
            public void startPrefixMapping(java.lang.String str, java.lang.String str1) throws org.xml.sax.SAXException {
            public void characters(char[] values, int param, int param2) throws org.xml.sax.SAXException {           
                String s =  new String(values);
                String text = s.substring(param, param+param2);                       
            public void setDocumentLocator(org.xml.sax.Locator locator) {
    XML File
      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <!DOCTYPE XRF (View Source for full doctype...)>
    - <XRF r="2.11.1" c="" g="" u="ch16132-user" k="" d="20050614" t="151146">
      <A k="i0005" n="3" v="1964216949" />
      </XRF>
    ****When you view source*******
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE XRF SYSTEM "/vega/xml/xrf.dtd">
    <XRF r="2.11.1" c="" g="" u="ch16132-user" k="" d="20050614" t="151722">
    <A k="i0005" n="3" v="350287547"/>
    </XRF>

  • How to retrieve information from XML using servlets

    Hi
    I have a scenario like this
    File-->XI-->J2ee application(HTTP Receiver adapter)
    I want to know how XI sends xml file as a query string file name?
    What ever may be the case i just need to retrieve the information from Request object and display the same in browser(JSP).How to do that, I am totally confused, please anyone help me!
    Code help is highly rewarded.
    Thanx

    Hi Rajesh!
    I have tried your code. But some where i went wrong. Please correct me: I am using NWDS2.0.9
    my web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
                             "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <display-name>WEB APP</display-name>
        <description>WEB APP description</description>
        <servlet>
            <servlet-name>DisplayRes</servlet-name>
            <servlet-class>com.quinnox.DisplayRes</servlet-class>
        </servlet>
        <servlet-mapping>
              <servlet-name>DisplayRes</servlet-name>
              <url-pattern>/DisplayRes/*</url-pattern>
         </servlet-mapping>
    </web-app>
    my application.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                                 "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
        <display-name>ReceiverEntpr</display-name>
        <description>EAR description</description>
        <module>
            <web>
                <web-uri>HttpReceiver.war</web-uri>
                <context-root>/HttpReceiver</context-root>
            </web>
        </module>
    </application>
    and my servlet code:
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.io.Writer;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.xml.sax.EntityResolver;
    import org.xml.sax.SAXException;
    import com.sun.java_cup.internal.parser;
    import com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl;
    public class DisplayRes extends HttpServlet {
         public void doGet(HttpServletRequest requset, HttpServletResponse response) throws ServletException, IOException
              doWork(requset, response);
         public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
              doWork(req, resp);
         private void doWork(HttpServletRequest req, HttpServletResponse resp) throws IOException
              String path = null;
              PrintWriter out = null;
              PrintWriter p2=resp.getWriter();     
              try
                   resp.setContentType("text/xml");
                   out = resp.getWriter();
                   out.println("hi");
                   path = req.getPathInfo();
                   if(req.getContentLength() != -1){
                   outputURI(req.getInputStream(), out);
              } catch (IOException ioe) {     return;     
         //private void outputURI(InputStream resultStream, Writer out) {
              private void outputURI(InputStream resultStream, PrintWriter out) {
              if (resultStream == null) {
    //             no default file
    //            logger.error("No File to return");
              return;
              try {
              DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    //            Class clazz = loader.loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
    //            DocumentBuilderFactoryImpl factory = (DocumentBuilderFactoryImpl) clazz.newInstance();
    //            DocumentBuilder parser = factory.newDocumentBuilder();
              parser.setEntityResolver(new ClassPathEntityResolver());
              printXML(parser.parse(resultStream), out);
              resultStream.close();
              } catch (Exception e) {
    //            logger.error("Trying to parse the output " , e);
         //private void printXML(Document document, Writer writer) throws Exception {
              private void printXML(Document document, PrintWriter writer) throws Exception {
              Transformer transformer = TransformerFactory.newInstance().newTransformer();
              Source source = new DOMSource(document);
              Result output = new StreamResult(System.out);
              transformer.transform(source, output);
    //             Write as XML so that entity references can be resolved.
              if (writer != null) {
              transformer.transform(source, new StreamResult(writer));
    Please tell me how to display in servlet.
    If it is better to display in a browser. Please send me the code.
    Thanks

  • Parsing an XML doc with unavailable entity (DTD)

    Hi all,
    I am trying to parse an XML file (web.xml) that has the following DOCTYPE in the head of the document:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app id="WebApp">When the parser starts, it will look for the DTD on the Sun site, however my work firewall blocks access to this so I get an exception when parsing.
    To resolve this, I have tried to force the parser to look for a local copy of the DTD instead of the Sun site but to no avail. I still get the same error but don't know why it wont look at the local DTD.
    Here is my code:
    * InterceptingXml.java
    * Created on 04 April 2006, 15:58
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package org.xmldemos;
    import java.io.File;
    import java.io.FileReader;
    import java.io.IOException;
    import java.net.URI;
    import java.net.URISyntaxException;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.xml.sax.EntityResolver;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    * @author CS781RJ
    public class InterceptingXml
        /** Creates a new instance of InterceptingXml */
        public InterceptingXml() { }
        public void parse(String filename)
            try
                // Create an XML parser
                DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
                // Install the entity resolver
                builder.setEntityResolver(new MyResolver());
                // Parse the XML file
                Document doc = builder.parse(new File(filename));
            catch (SAXException e) { e.printStackTrace(); }
            catch (ParserConfigurationException e) { e.printStackTrace(); }
            catch (IOException e) { e.printStackTrace(); }
            catch (Exception e) { e.printStackTrace(); }
        public class MyResolver implements EntityResolver
            // This method is called whenever an external entity is accessed
            // for the first time.
            public InputSource resolveEntity(String publicId, String systemId)
                try
                    System.out.println("publicId: " + publicId + " systemId: " + systemId);
                    // Wrap the systemId in a URI object to make it convenient
                    // to extract the components of the systemId
                    URI uri = new URI(systemId);
                    System.out.println("URI scheme: " + uri.getScheme());
                    System.out.println("URI scheme specific: " + uri.getSchemeSpecificPart());
                    // Check if external source is a file
                    if ("http".equals(uri.getScheme()))
                        String filename = uri.getSchemeSpecificPart();
                        filename = "file:/C:/web-app_2_3.dtd";
                        InputSource isrc = new InputSource(new FileReader(filename));
                        return isrc;
                catch (URISyntaxException e) { }
                catch (IOException e) { }
                // Returning null causes the caller to try accessing the systemid
                return null;
        public static void main(String[] args)
            InterceptingXml ixml = new InterceptingXml();
            ixml.parse("c:\\web.xml");
    }And here is the exception:
    init:
    deps-jar:
    compile-single:
    run-single:
    publicId: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN systemId: http://java.sun.com/dtd/web-app_2_3.dtd
    URI scheme: http
    URI scheme specific: //java.sun.com/dtd/web-app_2_3.dtd
    java.net.UnknownHostException: java.sun.com
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
            at java.net.Socket.connect(Socket.java:507)
            at java.net.Socket.connect(Socket.java:457)
            at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
            at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
            at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
            at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
            at sun.net.www.http.HttpClient.New(HttpClient.java:287)
            at sun.net.www.http.HttpClient.New(HttpClient.java:299)
            at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
            at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
            at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
            at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)
            at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905)
            at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872)
            at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
            at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
            at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
            at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
            at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
            at org.xmldemos.InterceptingXml.parse(InterceptingXml.java:45)
            at org.xmldemos.InterceptingXml.main(InterceptingXml.java:88)
    BUILD SUCCESSFUL (total time: 18 seconds)I have noticed that return isrc; does not get executed even though the debugger steps to the line above it.
    Thanks in advance.
    Riz

    What's the point of all that code in your EntityResolver? Would the code work just as well if the DTD didn't even exist? Then do this:public InputSource resolveEntity(String publicId, String systemId)
                return new InputSource(new StringReader(""));
            }However if you really do need to redirect to a local copy of the DTD then consider this:catch (IOException e) { }can be a real barrier to understanding in the case that an IOException is thrown. At least print a stacktrace. And: the FileReader class wants a file name in its constructor, not a URI. And in this code:String filename = uri.getSchemeSpecificPart();
    filename = "file:/C:/web-app_2_3.dtd";you could write this instead:String filename = "file:/C:/web-app_2_3.dtd";which would be both shorter and easier to understand.

  • Missing Imports in Java stored Procedure

    --- Oracle Database Configuration :-
    --- Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    --- PL/SQL Release 9.2.0.4.0 - Production
    --- CORE 9.2.0.3.0 Production
    --- TNS for Solaris: Version 9.2.0.4.0 - Production
    --- NLSRTL Version 9.2.0.4.0 - Production
    When loading a java stored procedure into the above database I am seeing the following errors:-
    Class javax.xml.parsers.DocumentBuilder not found in import.
    Class javax.xml.parsers.DocumentBuilderFactory not found in import.
    Class javax.xml.parsers.FactoryConfigurationError not found in import.
    Class javax.xml.parsers.ParserConfigurationException not found in import.
    Class org.xml.sax.EntityResolver not found in import.
    Class org.xml.sax.InputSource not found in import.
    Class org.xml.sax.SAXException not found in import.
    Class org.xml.sax.SAXParseException not found in import.
    Class org.w3c.dom.Document not found in import.
    Interface ErrorHandler of class CMSLogic not found.
    However, the process results in no errors when running against a database running on a Windows platform.
    Assistance would be appreciated.
    Thanks.
    Adrian

    Adrian,
    Package "javax.xml" is part of the JDK since version 1.4
    However, Oracle 9i is compatible with JDK 1.3
    So either you need to find a 3rd-party implementation of package "javax.xml" that is compatible with JDK 1.3, or upgrade your database to Oracle 10g, which is compatible with JDK 1.4
    Good Luck,
    Avi.

  • How to parse XML document with default namespace with JDOM XPath

    Hi All,
    I am having difficulty parsing using Saxon and TagSoup parser on a namespace html document. The relevant content of this document are as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body>
        <div id="container">
            <div id="content">
                <table class="sresults">
                    <tr>
                        <td>
                            <a href="http://www.abc.com/areas" title="Hollywood, CA">hollywood</a>
                        </td>
                        <td>
                            <a href="http://www.abc.com/areas" title="San Jose, CA">san jose</a>
                        </td>
                        <td>
                            <a href="http://www.abc.com/areas" title="San Francisco, CA">san francisco</a>
                        </td>
                        <td>
                            <a href="http://www.abc.com/areas" title="San Diego, CA">San diego</a>
                        </td>
                  </tr>
    </body>
    </html>
    Below is the relevant code snippets illustrates how I have attempted to retrieve the contents (value of  <a>):
                 import java.util.*;
                 import org.jdom.*;
                 import org.jdom.xpath.*;
                 import org.saxpath.*;
                 import org.ccil.cowan.tagsoup.Parser;
    ( 1 )       frInHtml = new FileReader("C:\\Tmp\\ABC.html");
    ( 2 )       brInHtml = new BufferedReader(frInHtml);
    ( 3 ) //    SAXBuilder saxBuilder = new SAXBuilder("org.apache.xerces.parsers.SAXParser");
    ( 4 )       SAXBuilder saxBuilder = new SAXBuilder("org.ccil.cowan.tagsoup.Parser");
    ( 5 )       org.jdom.Document jdomDocument = saxbuilder.build(brInHtml);
    ( 6 )       XPath xpath =  XPath.newInstance("/ns:html/ns:body/ns:div[@id='container']/ns:div[@id='content']/ns:table[@class='sresults']/ns:tr/ns:td/ns:a");
    ( 7 )       xpath.addNamespace("ns", "http://www.w3.org/1999/xhtml");
    ( 8 )       java.util.List list = (java.util.List) (xpath.selectNodes(jdomDocument));
    ( 9 )       Iterator iterator = list.iterator();
    ( 10 )     while (iterator.hasNext())
    ( 11 )     {
    ( 12 )            Object object = iterator.next();
    ( 13 ) //         if (object instanceof Element)
    ( 14 ) //               System.out.println(((Element)object).getTextNormalize());
    ( 15 )             if (object instanceof Content)
    ( 16 )                   System.out.println(((Content)object).getValue());
    ….This program would work on the same document without the default namespace, hence, it would not be necessary to include “ns” prefix along in the XPath statements (line 6-7) either. Moreover, I was using “org.apache.xerces.parsers.SAXParser” to have successfully retrieve content of <a> from the same document without default namespace in the past.
    I would like to achieve the following objectives if possible:
    ( i ) Exclude DTD and namespace in order to simplifying the parsing process. How this could be done?
    ( ii ) If this is not possible, how to include it in XPath statements (line 6-7) so that the value of <a> is picked up correctly?
    ( iii ) Would changing from “org.apache.xerces.parsers.SAXParser” to “org.ccil.cowan.tagsoup.Parser” make any difference as far as using XPath is concerned?
    ( iv ) Failing to exlude DTD, how to change the lookup of a PUBLIC DTD to a local SYSTEM one and include a local DTD for reference?
    I am running JDK 1.6.0_06, Netbeans 6.1, JDOM 1.1, Saxon6-5-5, Tagsoup 1.2 on Windows XP platform.
    Any assistance would be appreciated.
    Thanks in advance,
    Jack

    Here's an example of using a custom EntityResolver with the standard DocumentBuilder provided by the JDK. The code may or may not be similar for the parsers that you're using.
    import java.io.IOException;
    import java.io.StringReader;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.xml.sax.EntityResolver;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    public class ParseExamples
        private final static String COMMON_XML
            = "<music>"
            +     "<artist name=\"Anderson, Laurie\">"
            +         "<album>Big Science</album>"
            +         "<album>Strange Angels</album>"
            +     "</artist>"
            +     "<artist name=\"Fine Young Cannibals\">"
            +         "<album>The Raw & The Cooked</album>"
            +     "</artist>"
            + "</music>";
        private final static String COMMON_DTD
            = "<!ELEMENT music (artist*)>"
            + "<!ELEMENT artist (album+)>"
            + "<!ELEMENT album (#PCDATA)>"
            + "<!ATTLIST artist name CDATA #REQUIRED>";
        public static void main(String[] argv)
        throws Exception
            // this version uses just a SYSTEM identifier - note that it gets turned
            // into a file: URL
            String xml = "<!DOCTYPE music SYSTEM \"bar\">"
                       + COMMON_XML;
            // this version uses both PUBLIC and SYSTEM identifiers; the SYSTEM ID
            // gets munged, the PUBLIC ID doesn't
    //        String xml = "<!DOCTYPE music PUBLIC \"foo\" \"bar\">"
    //                   + COMMON_XML;
            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
            dbf.setValidating(true);
            DocumentBuilder db = dbf.newDocumentBuilder();
            db.setEntityResolver(new EntityResolver()
                public InputSource resolveEntity(String publicId, String systemId)
                    throws SAXException, IOException
                    System.out.println("publicId = " + publicId);
                    System.out.println("systemId = " + systemId);
                    return new InputSource(new StringReader(COMMON_DTD));
            Document dom = db.parse(new InputSource(new StringReader(xml)));
            System.out.println("root element name = " + dom.getDocumentElement().getNodeName());
    }

  • Java.lang.LinkageError in weblogic 10.3

    i had deployed the jasperserver.war in weblogic 10.3 server...
    i am getting the following exception...
    Context Initialization failed
    org.springframework.beans.factory.BeanDefinationStroreException:unexpected exception parsing xml document from ServletCotext resource[WEB-INF/applicationContext.xml]nested exception is java.lang.LinkageError:loader constraint voilation when resolving the method javax.xml.parser.DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver:)V"the class loader intance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class,og/springframework/factory/xm/DefaultDocumentLoader and the classloader<instance of <bootloader>) for resolved classes javax/xml/parsers/DocumentBuiler have different class objects for the type org/xml/sax/EntityResolver used in the signature
    please help me out ...
    thanks in advance
    venkat seerla

    I think there is conflict with a class in the system classloader an one into jasperserver.war. Maybe It is due to a diferent implementation of Spring framework of WebLogic and jasper reports. Check if jasper spring version matches weblogic spring version.
    To understand classloading visit http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/classloading.htm

  • Parsing XML with invalid URI for DTD

    When parsing an XML file (with aelfred2) I get the following error:
    Exception in thread "main" gnu.xml.dom.ls.DomLSException: Absolute URL required with null context: CQCGWProtocol.DTD
    at gnu.xml.dom.ls.DomLSParser.doParse(libgcj.so.7)
    at gnu.xml.dom.ls.DomLSParser.parse(libgcj.so.7)
    at gnu.xml.dom.DomDocumentBuilder.parse(libgcj.so.7)
    at CQC.main(CQC.java:44)
    Caused by: java.net.MalformedURLException: Absolute URL required with null context: CQCGWProtocol.DTD
    at java.net.URL.<init>(libgcj.so.7)
    at java.net.URL.<init>(libgcj.so.7)
    at gnu.xml.aelfred2.XmlParser.pushURL(libgcj.so.7)
    at gnu.xml.aelfred2.XmlParser.parseDoctypedecl(libgcj.so.7)
    at gnu.xml.aelfred2.XmlParser.parseProlog(libgcj.so.7)
    at gnu.xml.aelfred2.XmlParser.parseDocument(libgcj.so.7)
    I'm puzzled, as I have disabled validation:
    DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
    domFactory.setIgnoringComments(true);
    domFactory.setNamespaceAware(false);
    domFactory.setValidating(false);
    My goal is to have the parser ignore the DOCTYPE tag and not try to find the DTD. Can someone suggest how you turn this off - apparently, setting the validation to false is not the right approach.
    I'm running Java 1.4.2 on Fidora Core 5.
    Thanks for suggestions!

    Create an org.xml.sax.EntityResolver and apply it to your parser. The API documentation for the interface has an example of how to write one.
    And no, turning of validation doesn't turn off processing of DTDs because DTDs are for things other than validation. Entity replacement, for example.

  • Errors with cmsxdb installation

    OS: Solaris 8
    DB: Oracle921
    IAS:ias903
    JDev9031
    I tried to deploy and run the application as the installation document. One problem is that deploying FOP.jar costs too many time. The document said it is about 10 minutes but it costed nearly 5 hours,:(
    In the 4 step, Jdev returned following errors:
    class org/w3c/dom/svg/SVGStylable: resolution
    Error while checking status of org/w3c/dom/svg/SVGStyleElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGStyleElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGSwitchElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGSwitchElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGSymbolElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGSymbolElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTRefElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTRefElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTSpanElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTSpanElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTests
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTests: resolution
    Error while checking status of org/w3c/dom/svg/SVGTextContentElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTextContentElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTextElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTextElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTextPathElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTextPathElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTextPositioningElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTextPositioningElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTitleElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTitleElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTransform
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTransform: resolution
    Error while checking status of org/w3c/dom/svg/SVGTransformList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTransformList: resolution
    Error while checking status of org/w3c/dom/svg/SVGTransformable
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTransformable: resolution
    Error while checking status of org/w3c/dom/svg/SVGURIReference
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGURIReference: resolution
    Error while checking status of org/w3c/dom/svg/SVGUnitTypes
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGUnitTypes: resolution
    Error while checking status of org/w3c/dom/svg/SVGUseElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGUseElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGVKernElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGVKernElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGViewElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGViewElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGViewSpec
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGViewSpec: resolution
    Error while checking status of org/w3c/dom/svg/SVGZoomAndPan
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGZoomAndPan: resolution
    Error while checking status of org/w3c/dom/svg/SVGZoomEvent
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGZoomEvent: resolution
    Error while checking status of org/w3c/dom/traversal/DocumentTraversal
    Io exception: Broken pipe
    class org/w3c/dom/traversal/DocumentTraversal: resolution
    Error while checking status of org/w3c/dom/traversal/NodeFilter
    Io exception: Broken pipe
    class org/w3c/dom/traversal/NodeFilter: resolution
    Error while checking status of org/w3c/dom/html/HTMLHtmlElement
    Error while checking status of org/w3c/dom/traversal/NodeIterator
    Io exception: Broken pipe
    class org/w3c/dom/traversal/NodeIterator: resolution
    Error while checking status of org/w3c/dom/traversal/TreeWalker
    Io exception: Broken pipe
    class org/w3c/dom/traversal/TreeWalker: resolution
    Error while checking status of org/w3c/dom/views/AbstractView
    Io exception: Broken pipe
    class org/w3c/dom/views/AbstractView: resolution
    Error while checking status of org/w3c/dom/views/DocumentView
    Io exception: Broken pipe
    class org/w3c/dom/views/DocumentView: resolution
    Error while checking status of org/xml/sax/AttributeList
    Io exception: Broken pipe
    class org/xml/sax/AttributeList: resolution
    Error while checking status of org/xml/sax/Attributes
    Io exception: Broken pipe
    class org/xml/sax/Attributes: resolution
    Error while checking status of org/xml/sax/ContentHandler
    Io exception: Broken pipe
    class org/xml/sax/ContentHandler: resolution
    Error while checking status of org/xml/sax/DTDHandler
    Io exception: Broken pipe
    class org/xml/sax/DTDHandler: resolution
    Error while checking status of org/xml/sax/DocumentHandler
    Io exception: Broken pipe
    class org/xml/sax/DocumentHandler: resolution
    Error while checking status of org/xml/sax/EntityResolver
    Io exception: Broken pipe
    class org/xml/sax/EntityResolver: resolution
    Error while checking status of org/xml/sax/ErrorHandler
    Io exception: Broken pipe
    class org/xml/sax/ErrorHandler: resolution
    Error while checking status of org/xml/sax/HandlerBase
    Io exception: Broken pipe
    class org/xml/sax/HandlerBase: resolution
    Io exception: Broken pipe
    Error while checking status of org/xml/sax/InputSource
    Io exception: Broken pipe
    class org/xml/sax/InputSource: resolution
    Error while checking status of org/xml/sax/Locator
    Io exception: Broken pipe
    class org/xml/sax/Locator: resolution
    Error while checking status of org/xml/sax/Parser
    Io exception: Broken pipe
    class org/xml/sax/Parser: resolution
    Error while checking status of org/xml/sax/SAXException
    Io exception: Broken pipe
    class org/xml/sax/SAXException: resolution
    Error while checking status of org/xml/sax/SAXNotRecognizedException
    Io exception: Broken pipe
    class org/xml/sax/SAXNotRecognizedException: resolution
    Error while checking status of org/xml/sax/SAXNotSupportedException
    Io exception: Broken pipe
    class org/xml/sax/SAXNotSupportedException: resolution
    Error while checking status of org/xml/sax/SAXParseException
    Io exception: Broken pipe
    class org/xml/sax/SAXParseException: resolution
    Error while checking status of org/xml/sax/XMLFilter
    Io exception: Broken pipe
    class org/xml/sax/XMLFilter: resolution
    Error while checking status of org/xml/sax/XMLReader
    Io exception: Broken pipe
    class org/xml/sax/XMLReader: resolution
    Error while checking status of org/xml/sax/ext/DeclHandler
    Io exception: Broken pipe
    class org/xml/sax/ext/DeclHandler: resolution
    Error while checking status of org/xml/sax/ext/LexicalHandler
    class org/w3c/dom/html/HTMLHtmlElement: resolution
    Io exception: Broken pipe
    class org/xml/sax/ext/LexicalHandler: resolution
    Error while checking status of org/xml/sax/helpers/AttributeListImpl
    Io exception: Broken pipe
    class org/xml/sax/helpers/AttributeListImpl: resolution
    Error while checking status of org/xml/sax/helpers/AttributesImpl
    Io exception: Broken pipe
    class org/xml/sax/helpers/AttributesImpl: resolution
    Error while checking status of org/xml/sax/helpers/DefaultHandler
    Io exception: Broken pipe
    class org/xml/sax/helpers/DefaultHandler: resolution
    Error while checking status of org/xml/sax/helpers/LocatorImpl
    Io exception: Broken pipe
    class org/xml/sax/helpers/LocatorImpl: resolution
    Error while checking status of org/xml/sax/helpers/NamespaceSupport$Context
    Io exception: Broken pipe
    class org/xml/sax/helpers/NamespaceSupport$Context: resolution
    Error while checking status of org/xml/sax/helpers/NamespaceSupport
    Io exception: Broken pipe
    class org/xml/sax/helpers/NamespaceSupport: resolution
    Error while checking status of org/xml/sax/helpers/ParserAdapter$AttributeListAdapter
    Io exception: Broken pipe
    class org/xml/sax/helpers/ParserAdapter$AttributeListAdapter: resolution
    Error while checking status of org/xml/sax/helpers/ParserAdapter
    Io exception: Broken pipe
    class org/xml/sax/helpers/ParserAdapter: resolution
    Error while checking status of org/xml/sax/helpers/ParserFactory
    Io exception: Broken pipe
    class org/xml/sax/helpers/ParserFactory: resolution
    Error while checking status of org/xml/sax/helpers/XMLFilterImpl
    Io exception: Broken pipe
    class org/xml/sax/helpers/XMLFilterImpl: resolution
    Error while checking status of org/xml/sax/helpers/XMLReaderAdapter$AttributesAdapter
    Io exception: Broken pipe
    Error while checking status of org/w3c/dom/html/HTMLIFrameElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLIFrameElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLImageElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLImageElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLInputElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLInputElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLIsIndexElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLIsIndexElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLLIElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLLIElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLLabelElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLLabelElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLLegendElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLLegendElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLLinkElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLLinkElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLMapElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLMapElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLMenuElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLMenuElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLMetaElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLMetaElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLModElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLModElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLOListElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLOListElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLObjectElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLObjectElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLOptGroupElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLOptGroupElement: resolution
    class org/xml/sax/helpers/XMLReaderAdapter$AttributesAdapter: resolution
    Error while checking status of org/w3c/dom/html/HTMLOptionElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLOptionElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLParagraphElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLParagraphElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLParamElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLParamElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLPreElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLPreElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLQuoteElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLQuoteElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLScriptElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLScriptElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLSelectElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLSelectElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLStyleElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLStyleElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLTableCaptionElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLTableCaptionElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLTableCellElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLTableCellElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLTableColElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLTableColElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLTableElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLTableElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLTableRowElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLTableRowElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLTableSectionElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLTableSectionElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLTextAreaElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLTextAreaElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLTitleElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLTitleElement: resolution
    Error while checking status of org/w3c/dom/html/HTMLUListElement
    Io exception: Broken pipe
    class org/w3c/dom/html/HTMLUListElement: resolution
    Error while checking status of org/w3c/dom/range/DocumentRange
    Io exception: Broken pipe
    class org/w3c/dom/range/DocumentRange: resolution
    Error while checking status of org/w3c/dom/range/Range
    Io exception: Broken pipe
    class org/w3c/dom/range/Range: resolution
    Error while checking status of org/w3c/dom/range/RangeException
    Io exception: Broken pipe
    class org/w3c/dom/range/RangeException: resolution
    Error while checking status of org/w3c/dom/ranges/DocumentRange
    Io exception: Broken pipe
    class org/w3c/dom/ranges/DocumentRange: resolution
    Error while checking status of org/w3c/dom/ranges/Range
    Io exception: Broken pipe
    class org/w3c/dom/ranges/Range: resolution
    Error while checking status of org/w3c/dom/ranges/RangeException
    Io exception: Broken pipe
    class org/w3c/dom/ranges/RangeException: resolution
    Error while checking status of org/w3c/dom/smil/ElementTimeControl
    Io exception: Broken pipe
    class org/w3c/dom/smil/ElementTimeControl: resolution
    Error while checking status of org/w3c/dom/stylesheets/DocumentStyle
    Io exception: Broken pipe
    class org/w3c/dom/stylesheets/DocumentStyle: resolution
    Error while checking status of org/w3c/dom/stylesheets/LinkStyle
    Io exception: Broken pipe
    class org/w3c/dom/stylesheets/LinkStyle: resolution
    Error while checking status of org/w3c/dom/stylesheets/MediaList
    Io exception: Broken pipe
    class org/w3c/dom/stylesheets/MediaList: resolution
    Error while checking status of org/w3c/dom/stylesheets/StyleSheet
    Io exception: Broken pipe
    class org/w3c/dom/stylesheets/StyleSheet: resolution
    Error while checking status of org/w3c/dom/stylesheets/StyleSheetList
    Io exception: Broken pipe
    class org/w3c/dom/stylesheets/StyleSheetList: resolution
    Error while checking status of org/w3c/dom/svg/GetSVGDocument
    Io exception: Broken pipe
    class org/w3c/dom/svg/GetSVGDocument: resolution
    Error while checking status of org/w3c/dom/svg/SVGAElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGAltGlyphDefElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAltGlyphDefElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGAltGlyphElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAltGlyphElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGAltGlyphItemElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAltGlyphItemElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGAngle
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAngle: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimateColorElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimateColorElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimateElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimateElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimateMotionElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimateMotionElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimateTransformElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimateTransformElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedAngle
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedAngle: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedBoolean
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedBoolean: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedEnumeration
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedEnumeration: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedInteger
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedInteger: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedLength
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedLength: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedLengthList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedLengthList: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedNumber
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedNumber: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedNumberList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedNumberList: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedPathData
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedPathData: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedPoints
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedPoints: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedRect
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedRect: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedString
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedString: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimatedTransformList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimatedTransformList: resolution
    Error while checking status of org/w3c/dom/svg/SVGAnimationElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGAnimationElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGCSSRule
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGCSSRule: resolution
    Error while checking status of org/w3c/dom/svg/SVGCircleElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGCircleElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGClipPathElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGClipPathElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGColor
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGColor: resolution
    Error while checking status of org/w3c/dom/svg/SVGColorProfileElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGColorProfileElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGColorProfileRule
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGColorProfileRule: resolution
    Error while checking status of org/w3c/dom/svg/SVGComponentTransferFunctionElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGComponentTransferFunctionElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGCursorElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGCursorElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGDefinitionSrcElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGDefinitionSrcElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGDefsElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGDefsElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGDescElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGDescElement: resolution
    Error while checking status of org/xml/sax/helpers/XMLReaderAdapter
    Io exception: Broken pipe
    class org/xml/sax/helpers/XMLReaderAdapter: resolution
    Error while checking status of org/xml/sax/helpers/XMLReaderFactory
    Io exception: Broken pipe
    class org/xml/sax/helpers/XMLReaderFactory: resolution
    Error while checking status of org/w3c/dom/svg/SVGDocument
    Io exception: Broken pipe
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:700)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
         at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:428)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:315)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:257)
         at oracle.jdevimpl.deploy.StoredProcProfileDt$3.run(StoredProcProfileDt.java:370)
    class org/w3c/dom/svg/SVGDocument: resolution
    Error while checking status of org/w3c/dom/svg/SVGElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGElementInstance
    Io exception: Broken pipe
    #### Deployment incomplete. #### Jul 2, 2003 1:38:58 PM
    class org/w3c/dom/svg/SVGElementInstance: resolution
    Error while checking status of org/w3c/dom/svg/SVGElementInstanceList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGElementInstanceList: resolution
    Error while checking status of org/w3c/dom/svg/SVGEllipseElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGEllipseElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGEvent
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGEvent: resolution
    Error while checking status of org/w3c/dom/svg/SVGException
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGException: resolution
    Error while checking status of org/w3c/dom/svg/SVGExternalResourcesRequired
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGExternalResourcesRequired: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEBlendElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEBlendElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEColorMatrixElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEColorMatrixElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEComponentTransferElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEComponentTransferElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFECompositeElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFECompositeElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEConvolveMatrixElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEConvolveMatrixElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEDiffuseLightingElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEDiffuseLightingElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEDisplacementMapElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEDisplacementMapElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEDistantLightElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEDistantLightElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEFloodElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEFloodElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEFuncAElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEFuncAElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEFuncBElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEFuncBElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEFuncGElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEFuncGElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEFuncRElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEFuncRElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEGaussianBlurElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEGaussianBlurElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEImageElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEImageElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEMergeElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEMergeElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEMergeNodeElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEMergeNodeElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEMorphologyElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEMorphologyElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEOffsetElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEOffsetElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFEPointLightElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFEPointLightElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFESpecularLightingElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFESpecularLightingElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFESpotLightElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFESpotLightElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFETileElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFETileElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFETurbulenceElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFETurbulenceElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFilterElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFilterElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes: resolution
    Error while checking status of org/w3c/dom/svg/SVGFitToViewBox
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFitToViewBox: resolution
    Error while checking status of org/w3c/dom/svg/SVGFontElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFontElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFontFaceElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFontFaceElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFontFaceFormatElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFontFaceFormatElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFontFaceNameElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFontFaceNameElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFontFaceSrcElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFontFaceSrcElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGFontFaceUriElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGFontFaceUriElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGForeignObjectElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGForeignObjectElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGGElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGGElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGGlyphElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGGlyphElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGGlyphRefElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGGlyphRefElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGGradientElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGGradientElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGHKernElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGHKernElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGICCColor
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGICCColor: resolution
    Error while checking status of org/w3c/dom/svg/SVGImageElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGImageElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGLangSpace
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGLangSpace: resolution
    Error while checking status of org/w3c/dom/svg/SVGLength
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGLength: resolution
    Error while checking status of org/w3c/dom/svg/SVGLengthList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGLengthList: resolution
    Error while checking status of org/w3c/dom/svg/SVGLineElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGLineElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGLinearGradientElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGLinearGradientElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGLocatable
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGLocatable: resolution
    Error while checking status of org/w3c/dom/svg/SVGMPathElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGMPathElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGMarkerElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGMarkerElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGMaskElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGMaskElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGMatrix
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGMatrix: resolution
    Error while checking status of org/w3c/dom/svg/SVGMetadataElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGMetadataElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGMissingGlyphElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGMissingGlyphElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGNumber
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGNumber: resolution
    Error while checking status of org/w3c/dom/svg/SVGNumberList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGNumberList: resolution
    Error while checking status of org/w3c/dom/svg/SVGPaint
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPaint: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSeg
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSeg: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegArcAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegArcAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegArcRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegArcRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegClosePath
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegClosePath: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegCurvetoCubicRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegCurvetoCubicRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegLinetoAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegLinetoAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegLinetoRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegLinetoRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegLinetoVerticalRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegLinetoVerticalRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegList: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegMovetoAbs
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegMovetoAbs: resolution
    Error while checking status of org/w3c/dom/svg/SVGPathSegMovetoRel
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPathSegMovetoRel: resolution
    Error while checking status of org/w3c/dom/svg/SVGPatternElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPatternElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGPoint
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPoint: resolution
    Error while checking status of org/w3c/dom/svg/SVGPointList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPointList: resolution
    Error while checking status of org/w3c/dom/svg/SVGPolygonElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPolygonElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGPolylineElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPolylineElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGPreserveAspectRatio
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGPreserveAspectRatio: resolution
    Error while checking status of org/w3c/dom/svg/SVGRadialGradientElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGRadialGradientElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGRect
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGRect: resolution
    Error while checking status of org/w3c/dom/svg/SVGRectElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGRectElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGRenderingIntent
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGRenderingIntent: resolution
    Error while checking status of org/w3c/dom/svg/SVGSVGElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGSVGElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGScriptElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGScriptElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGSetElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGSetElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGStopElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGStopElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGStringList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGStringList: resolution
    Error while checking status of org/w3c/dom/svg/SVGStylable
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGStylable: resolution
    Error while checking status of org/w3c/dom/svg/SVGStyleElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGStyleElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGSwitchElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGSwitchElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGSymbolElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGSymbolElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTRefElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTRefElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTSpanElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTSpanElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTests
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTests: resolution
    Error while checking status of org/w3c/dom/svg/SVGTextContentElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTextContentElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTextElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTextElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTextPathElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTextPathElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTextPositioningElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTextPositioningElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTitleElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTitleElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGTransform
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTransform: resolution
    Error while checking status of org/w3c/dom/svg/SVGTransformList
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTransformList: resolution
    Error while checking status of org/w3c/dom/svg/SVGTransformable
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGTransformable: resolution
    Error while checking status of org/w3c/dom/svg/SVGURIReference
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGURIReference: resolution
    Error while checking status of org/w3c/dom/svg/SVGUnitTypes
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGUnitTypes: resolution
    Error while checking status of org/w3c/dom/svg/SVGUseElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGUseElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGVKernElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGVKernElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGViewElement
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGViewElement: resolution
    Error while checking status of org/w3c/dom/svg/SVGViewSpec
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGViewSpec: resolution
    Error while checking status of org/w3c/dom/svg/SVGZoomAndPan
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGZoomAndPan: resolution
    Error while checking status of org/w3c/dom/svg/SVGZoomEvent
    Io exception: Broken pipe
    class org/w3c/dom/svg/SVGZoomEvent: resolution
    Error while checking status of org/w3c/dom/traversal/DocumentTraversal
    Io exception: Broken pipe
    class org/w3c/dom/traversal/DocumentTraversal: resolution
    Error while checking status of org/w3c/dom/traversal/NodeFilter
    Io exception: Broken pipe
    class org/w3c/dom/traversal/NodeFilter: resolution
    Error while checking status of org/w3c/dom/traversal/NodeIterator
    Io exception: Broken pipe
    class org/w3c/dom/traversal/NodeIterator: resolution
    Error while checking status of org/w3c/dom/traversal/TreeWalker
    Io exception: Broken pipe
    class org/w3c/dom/traversal/TreeWalker: resolution
    Error while checking status of org/w3c/dom/views/AbstractView
    Io exception: Broken pipe
    class org/w3c/dom/views/AbstractView: resolution
    Error while checking status of org/w3c/dom/views/DocumentView
    Io exception: Broken pipe
    class org/w3c/dom/views/DocumentView: resolution
    Error while checking status of org/xml/sax/AttributeList
    Io exception: Broken pipe
    class org/xml/sax/AttributeList: resolution
    Error while checking status of org/xml/sax/Attributes
    Io exception: Broken pipe
    class org/xml/sax/Attributes: resolution
    Error while checking status of org/xml/sax/ContentHandler
    Io exception: Broken pipe
    class org/xml/sax/ContentHandler: resolution
    Error while checking status of org/xml/sax/DTDHandler
    Io exception: Broken pipe
    class org/xml/sax/DTDHandler: resolution
    Error while checking status of org/xml/sax/DocumentHandler
    Io exception: Broken pipe
    class org/xml/sax/DocumentHandler: resolution
    Error while checking status of org/xml/sax/EntityResolver
    Io exception: Broken pipe
    class org/xml/sax/EntityResolver: resolution
    Error while checking status of org/xml/sax/ErrorHandler
    Io exception: Broken pipe
    class org/xml/sax/ErrorHandler: resolution
    Error while checking status of org/xml/sax/HandlerBase
    Io exception: Broken pipe
    class org/xml/sax/HandlerBase: resolution
    Error while checking status of org/xml/sax/InputSource
    Io exception: Broken pipe
    class org/xml/sax/InputSource: resolution
    Error while checking status of org/xml/sax/Locator
    Io exception: Broken pipe
    class org/xml/sax/Locator: resolution
    Error while checking status of org/xml/sax/Parser
    Io exception: Broken pipe
    class org/xml/sax/Parser: resolution
    Error while checking status of org/xml/sax/SAXException
    Io exception: Broken pipe
    class org/xml/sax/SAXException: resolution
    Error while checking status of org/xml/sax/SAXNotRecognizedException
    Io exception: Broken pipe
    class org/xml/sax/SAXNotRecognizedException: resolution
    Error while checking status of org/xml/sax/SAXNotSupportedException
    Io exception: Broken pipe
    class org/xml/sax/SAXNotSupportedException: resolution
    Error while checking status of org/xml/sax/SAXParseException
    Io exception: Broken pipe
    class org/xml/sax/SAXParseException: resolution
    Error while checking status of org/xml/sax/XMLFilter
    Io exception: Broken pipe
    class org/xml/sax/XMLFilter: resolution
    Error while checking status of org/xml/sax/XMLReader
    Io exception: Broken pipe
    class org/xml/sax/XMLReader: resolution
    Error while checking status of org/xml/sax/ext/DeclHandler
    Io exception: Broken pipe
    class org/xml/sax/ext/DeclHandler: resolution
    Error while checking status of org/xml/sax/ext/LexicalHandler
    Io exception: Broken pipe
    class org/xml/sax/ext/LexicalHandler: resolution
    Error while checking status of org/xml/sax/helpers/AttributeListImpl
    Io exception: Broken pipe
    class org/xml/sax/helpers/AttributeListImpl: resolution
    Error while checking status of org/xml/sax/helpers/AttributesImpl
    Io exception: Broken pipe
    class org/xml/sax/helpers/AttributesImpl: resolution
    Error while checking status of org/xml/sax/helpers/DefaultHandler
    Io exception: Broken pipe
    class org/xml/sax/helpers/DefaultHandler: resolution
    Error while checking status of org/xml/sax/helpers/LocatorImpl
    Io exception: Broken pipe
    class org/xml/sax/helpers/LocatorImpl: resolution
    Error while checking status of org/xml/sax/helpers/NamespaceSupport$Context
    Io exception: Broken pipe
    class org/xml/sax/helpers/NamespaceSupport$Context: resolution
    Error while checking status of org/xml/sax/helpers/NamespaceSupport
    Io exception: Broken pipe
    class org/xml/sax/helpers/NamespaceSupport: resolution
    Error while checking status of org/xml/sax/helpers/ParserAdapter$AttributeListAdapter
    Io exception: Broken pipe
    class org/xml/sax/helpers/ParserAdapter$AttributeListAdapter: resolution
    Error while checking status of org/xml/sax/helpers/ParserAdapter
    Io exception: Broken pipe
    class org/xml/sax/helpers/ParserAdapter: resolution
    Error while checking status of org/xml/sax/helpers/ParserFactory
    Io exception: Broken pipe
    class org/xml/sax/helpers/ParserFactory: resolution
    Error while checking status of org/xml/sax/helpers/XMLFilterImpl
    Io exception: Broken pipe
    class org/xml/sax/helpers/XMLFilterImpl: resolution
    Error while checking status of org/xml/sax/helpers/XMLReaderAdapter$AttributesAdapter
    Io exception: Broken pipe
    class org/xml/sax/helpers/XMLReaderAdapter$AttributesAdapter: resolution
    Error while checking status of org/xml/sax/helpers/XMLReaderAdapter
    Io exception: Broken pipe
    class org/xml/sax/helpers/XMLReaderAdapter: resolution
    Error while checking status of org/xml/sax/helpers/XMLReaderFactory
    Io exception: Broken pipe
    class org/xml/sax/helpers/XMLReaderFactory: resolution
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:700)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
         at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:428)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:315)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:257)
         at oracle.jdevimpl.deploy.StoredProcProfileDt$2.run(StoredProcProfileDt.java:214)
    #### Deployment incomplete. #### Jul 2, 2003 1:38:58 PM
    And, because the document said there might be errors but can be ignored, I try the next steps and passed successful. Then, when I run the CMSProject.jpr with Jdev, such errors occured:
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdeveloper.deploy.oc4j.ds.Oc4jDataSourcesNode.syncWithConnectionManager(Oc4jDataSourcesNode.java:68)
         at oracle.jdeveloper.runner.Oc4jStarter.transmogrifyConfigFiles(Oc4jStarter.java:861)
         at oracle.jdeveloper.runner.Oc4jStarter.startImpl(Oc4jStarter.java:513)
         at oracle.jdeveloper.runner.Oc4jStarter.start(Oc4jStarter.java:199)
         at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:461)
         at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:457)
         at oracle.ide.runner.RunProcess$2.run(RunProcess.java:404)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Caused by: oracle.ide.marshal.xml.Object2DomException: Error parsing XML
         at oracle.ide.marshal.xml.Object2Dom.getDocument(Object2Dom.java:1149)
         at oracle.ide.marshal.xml.Object2Dom.toObject(Object2Dom.java:236)
         at oracle.jdeveloper.deploy.common.DescriptorIO.load(DescriptorIO.java:199)
         at oracle.jdevimpl.deploy.DescriptorNode.getLastSavedDescriptor(DescriptorNode.java:382)
         at oracle.jdevimpl.deploy.DescriptorNode.getDescriptor(DescriptorNode.java:347)
         at oracle.jdeveloper.deploy.oc4j.ds.Oc4jDataSourcesNode.getOc4jDataSources(Oc4jDataSourcesNode.java:55)
         at oracle.jdeveloper.deploy.oc4j.ds.Oc4jDataSourcesNode.syncWithConnectionManager(Oc4jDataSourcesNode.java:62)
         ... 13 more
    oracle.ide.marshal.xml.Object2DomException: Error parsing XML
         at oracle.ide.marshal.xml.Object2Dom.getDocument(Object2Dom.java:1149)
         at oracle.ide.marshal.xml.Object2Dom.toObject(Object2Dom.java:236)
         at oracle.jdeveloper.deploy.common.DescriptorIO.load(DescriptorIO.java:199)
         at oracle.jdevimpl.deploy.DescriptorNode.getLastSavedDescriptor(DescriptorNode.java:382)
         at oracle.jdevimpl.deploy.DescriptorNode.getDescriptor(DescriptorNode.java:347)
         at oracle.jdeveloper.deploy.oc4j.ds.Oc4jDataSourcesNode.getOc4jDataSources(Oc4jDataSourcesNode.java:55)
         at oracle.jdeveloper.deploy.oc4j.ds.Oc4jDataSourcesNode.syncWithConnectionManager(Oc4jDataSourcesNode.java:62)
         at oracle.jdeveloper.runner.Oc4jStarter.transmogrifyConfigFiles(Oc4jStarter.java:861)
         at oracle.jdeveloper.runner.Oc4jStarter.startImpl(Oc4jStarter.java:513)
         at oracle.jdeveloper.runner.Oc4jStarter.start(Oc4jStarter.java:199)
         at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:461)
         at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:457)
         at oracle.ide.runner.RunProcess$2.run(RunProcess.java:404)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Pls help me. Thanks.

    Pushkala, thank u for ur help.
    I tried to reinstall my demo in command line, and it worked ok.
    but, i have a new problem at Step 6. to deploy the EAR to OC4J and bind the web app to the site.
    $ java -jar /export/home0/9ias/j2ee/home/admin.jar ormi://localhost:23791 admin -deploy -file ./lib/cmsxdb.ear -deploymentName cmsxdb
    Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused; nested exception is:
    java.net.ConnectException: Connection refused
    $
    And I checked rmi.xml and principals.xml
    *****rmi.xml*******
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE rmi-server PUBLIC "Orion RMI-server" "http://xmlns.oracle
    .com/ias/dtds/rmi-server.dtd">
    <rmi-server port="23791" >
    <!-- A remote server connection example -->
    <!-- <server host="the.remote.server.com" username="adminUs
    er" password="123abc" /> -->
    <!-- path to the log-file where RMI-events/errors are store
    d -->
    <log>
    <file path="../log/rmi.log" />
    </log>
    </rmi-server>
    *****principals.xml********
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" "http
    ://xmlns.oracle.com/ias/dtds/principals.dtd">
    <principals>
    <groups>
    <group name="users">
    <description>users</description>
    <permission name="rmi:login" />
    <permission name="com.evermind.server.rmi.R
    MIPermission" />
    </group>
    <group name="guests">
    <description>guests</description>
    </group>
    <group name="administrators">
    <description>administrators</description>
    <permission name="administration" />
    <permission name="com.evermind.server.Admin
    istrationPermission" />
    </group>
    </groups>
    <users>
    <user username="SCOTT" password="TIGER">
    <description>no description</description>
    <group-membership group="users" />
    </user>
    <user username="user" password="456" deactivated="t
    rue">
    <description>The default user</description>
    <group-membership group="users" />
    <group-membership group="guests" />
    </user>
    <user username="anonymous" password="">
    <description>The default guest/anonyomous u
    ser</description>
    <group-membership group="guests" />
    </user>
    <user username="admin" password="" deactivated="tr
    ue">
    <description>The default administrator</des
    cription>
    <group-membership group="users" />
    <group-membership group="guests" />
    <group-membership group="administrators" />
    </user>
    </users>
    </principals>
    So, what can i do ?

  • Oracle XDK and FOP 0.20.4 not working...

    Hi all,
    We have created a sample application with Apache FOP to obtain a PDF document.
    But, although it works fine with XERCES and XALAN, it doesn4t work with Oracle XDK, why?
    May it be a bug in Oracle XDK? Or do Apache projects implements something non-standard that is used? Or is Oracle who does not implement all the specification?
    This is the sample: (in perfect spanish ;-) )
    You only should change the file locations and the System.setParameters and libraries to use Apache or Oracle XDK.
    Can anybody help us?
    Thanks in advance
    Jose R.
    TESTFO.java:
    package es.aranzadi.fo;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import javax.xml.transform.sax.*;
    import javax.xml.parsers.SAXParserFactory;
    import javax.xml.parsers.SAXParser;
    import javax.xml.transform.sax.SAXSource;
    import java.io.*;
    import org.xml.sax.InputSource;
    import org.xml.sax.EntityResolver;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    import org.apache.fop.apps.Driver;
    import org.apache.fop.layout.Page;
    import org.apache.fop.apps.Version;
    import org.apache.fop.apps.XSLTInputHandler;
    import org.apache.fop.messaging.MessageHandler;
    import org.apache.fop.render.awt.AWTRenderer ;
    import java.net.URL;
    public class TestFo
    public TestFo()
    public static void main (String [] args) throws Exception
    TestFo tf= new TestFo();
    tf.go();
    public void go() throws Exception
    // THIS IS FOR ORACLE XDK
    System.setProperty("javax.xml.transform.TransformerFactory","oracle.xml.jaxp.JXSAXTransformerFactory");
    System.setProperty("javax.xml.parsers.SAXParserFactory","oracle.xml.jaxp.JXSAXParserFactory");
    System.setProperty("org.xml.sax.parser","oracle.xml.parser.v2.SAXParser");
    // THIS IS FOR APACHE XALAN AND XERCES
    //System.setProperty("javax.xml.transform.TransformerFactory","org.apache.xalan.processor.TransformerFactoryImpl");
    //System.setProperty("javax.xml.parsers.SAXParserFactory","org.apache.xerces.jaxp.SAXParserFactoryImpl");
    Driver driver = new Driver();
    driver.setOutputStream(getResultOutputStream());
    driver.setRenderer(Driver.RENDER_PDF);
    Transformer transformer= (TransformerFactory.newInstance()).newTransformer(getXSLSource());
    transformer.transform(getXMLSource(), new SAXResult(driver.getContentHandler()));
    public StreamSource getXSLSource() throws Exception
    return new StreamSource(new File("YOUR_PATH\\myPrueba.xsl"));
    public SAXSource getXMLSource() throws Exception
    File fichero=new File("YOUR_PATH\\myPrueba.xml");
    InputSource is=new InputSource(new FileReader(fichero));
    is.setSystemId("file://YOUR_PATH\\\\myPrueba.xml");
    is.setEncoding("iso-8859-1");
    return new SAXSource(is);
    public OutputStream getResultOutputStream() throws Exception
    File fichero=new File("YOUR_PATH\\pruebafo.pdf");
    return new FileOutputStream(fichero);
    myPrueba.xsl
    <?xml version="1.0" encoding="iso-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xml.apache.org/fop/extensions">
    <xsl:template match="/">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
    <fo:simple-page-master master-name="my-page">
    <fo:region-body margin="1in"/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="my-page">
    <fo:flow flow-name="xsl-region-body">
    <fo:block>
    <xsl:apply-templates select="prueba"/>
    </fo:block>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    </xsl:stylesheet>
    miPrueba.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <prueba>
    Hola mundo
    </prueba>

    Sorry, this is the exception:
    java.lang.NullPointerException
    java.lang.NullPointerException
         at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:720)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:304)
         at oracle.xml.jaxp.JXTransformerHandler.endDocument(JXTransformerHandler.java:137)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:263)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:146)
         at oracle.xml.jaxp.JXXMLFilter.parse(JXXMLFilter.java:91)
         at org.apache.fop.apps.Driver.render(Driver.java:481)
         at es.aranzadi.documentos.pruebaFOP.metodoB(pruebaFOP.java:120)
         at es.aranzadi.documentos.pruebaFOP.main(pruebaFOP.java:41)

  • Linkage Error using Entity Resolver

    Hello,
    I'm working on a project that requires the use of an alternate JAXP
    parser implementation than what comes default with weblogic 6.1 (I'm
    using crimson). However, I'm getting a LinkageError when I try to use
    my code. The same code that gets this error is working fine on Weblogic
    5.1 (see exception below).
    It appears that there is some problem with the classloader hierarchy
    from what I can tell. I've tried defining a new XML service via the WL
    GUI with specific entries for my entities and have mapped these settings
    to my server, all to no avail.
    The problem appears to be appearing when I load my custom Entity
    Resolver which uses my own caching mechanism. For my own sanity, I do
    not want to be tightly coupled to the entity caching mechanism in WL 6.1
    and like I said this worked fine on 5.1. It appears that the
    LinkageException is complaining that the version of EntityResolver
    interface compiled against my class is not compatible with runtime
    version available.
    <Nov 19, 2001 3:03:01 PM CST> <Error> <HTTP>
    <[WebAppServletContext(7574644,gmlc,/gmlc)] Servlet failed with
    Exception
    java.lang.LinkageError: loader constraints violated when linking
    org/xml/sax/EntityResolver class
    at
    com.nokia.gmlc.lcs.nokiaapi.NokiaRequestParser.parse(NokiaRequestParser.java:101)
    at com.nokia.gmlc.lcs.nokiaapi.NokiaApi.doPost(NokiaApi.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:
    2456)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    I'm really frustrated by this one. I've lost nearly 2 days trying to
    figure this one out. Any help would be appreciated.
    What I've tried:
    Adding custom JAXP classes to WL GUI and linking to server.
    Adding custom JAXP classes per entity and linknig to server.
    Mucking around with class paths, etc.
    Adding PreferWebInfClasses="true" to config.xml so my libraries would be
    used before system libraries.
    Thanks for any help,
    Dan Flynn
    [email protected]

    Ok, this could be an issue with start-up options being different with Sun Hotspot and BEA JRockit. When the server running JRockit is started, it usually prints its command line, could you try to capture it and post it into this news thread? Also specify which version of JRockit you are using (you could specify -showversion on the command line paste the output in this thread).
    Kind regards,
    Cecilia Borg
    BEA WebLogic JRockit

  • Parser Error In Portlet Startup

    We have a portlet application that uses Crystal Reports. It uses the spring framework and runs fine in our development environment (Pluto) but when trying to deploy on the production environment (WebSphere) we get an xml parsing error during the startup. Removing the Crystal Reports jars solves the problem but of course the reports portion of the application won't work. So is there a different set of jars for portal and specifically WebSphere? Or is there xml related functionality in the CR jars  and would eliminating them from the lib solve the problem since there may be framework jars that provide the same functionality in the production environment?
    Here's a snippet of the error:
    Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/sys-cfg/applicationContext.xml]; nested exception is java.lang.VerifyError: javax/xml/parsers/DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver;)

    The only officially tested and fully supported product for Crystal Reports on Portal Servers/Portlets are the JSR-168 Portal Integration Kits supplied with BusinessObjects Enterprise or Crystal Reports Servers. 
    There's currently not a fully tested Portal solution for Crystal Reports Java Reporting Component.
    There's no different sets of jars for different Web Application Servers with any Business Objects products.
    Are you able to isolate which XML file contains the problematic schema?  I'm assuming the error message you have does not show this info.
    Other than that, a possible difference is that different XML parsers are being used between your dev and prod web app servers.   I've known issues where the XML parser supplied with Crystal was incompatible with the shared default parser supplied with Web App Servers.
    Sincerely,
    Ted Ueda

  • JAXB XML Unmarshalling validation problem

    Hello,
    I'm using toplink JAXB to map XML document to an object hierarchy. The set of objects was built using Toplink workbench from the corresponding XSD file. The XSD file is specified in <toplink:resource> element using an absolute path. If I use unmarshaller validation (Unmarshaller u = jc.createUnmarshaller(); u.setValidating(true)) it works fine in embedded oc4j, but fails withan UnmarshalException "An internal error condition occurred" for Line N 1.
    It looks like the cause of the exception is that toplink cannot find the XSD file. I've tried to put the XSD file into META-INF and into classes directly, and specify the relative path, but it has failed event locally in the embedded oc4j.
    Everything works if I do not turn the validation on.
    Has anybody gotten the same issue? What could be a solution if we have to perform the validation?
    Thanks
    Kate

    Hello Kate,
    One possible work around would be use the TopLink OXM specific APIs for this unmarshal. For the most part they mirror the JAXB APIs so there usage is pretty straight forward.
    XMLContext xmlContext = new XMLContext(YOUR_JAXB_CONTEXT_PATH);
    xmlUnmarshaller = xmlContext.createUnmarshaller();One API that we offer that is not part of the standard JAXB Unmarshaller is the ability to specify an EntityResolver. This class allows you to override where the XML Schema is loaded from.
    EntityResolver entityResolver = new YourEntityResolver();
    xmlUmarshaller.setEntityResolver(entityResolver);YourEntityResolver must implement org.xml.sax.EntityResolver. There is one method on this interface that returns an InputSource representing the XML Schema. You can implement this method to load the Schema from a ClassLoader.
    -Blaise

  • Problem with desktop presentation.[..SAXParseException: (Unicode: 0x{2})..]

    i get into the WebLogic Administration Tools Portal.. make a portal (with name "he")... make a desktop (with name "ho")... open browser .. enter there url : http://localhost:7001/portal/appmanager/he/hu
    .. press ok
    And get this in weblogic console. Can anybody explain what
    i'm doing wrong?
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}".
         at weblogic.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Lweblogic.apache.xerces.xni.parser.XMLParseException;)Lorg.xml.sax.SAXParseException;(ErrorHandlerWrapper.java:232)
         at weblogic.apache.xerces.util.ErrorHandlerWrapper.fatalError(Ljava.lang.String;Ljava.lang.String;Lweblogic.apache.xerces.xni.parser.XMLParseException;)V(ErrorHandlerWrapper.java:213)
         at weblogic.apache.xerces.impl.XMLErrorReporter.reportError(Lweblogic.apache.xerces.xni.XMLLocator;Ljava.lang.String;Ljava.lang.String;[Ljava.lang.Object;S)V(XMLErrorReporter.java:375)
         at weblogic.apache.xerces.impl.XMLErrorReporter.reportError(Ljava.lang.String;Ljava.lang.String;[Ljava.lang.Object;S)V(XMLErrorReporter.java:305)
         at weblogic.apache.xerces.impl.XMLScanner.reportFatalError(Ljava.lang.String;[Ljava.lang.Object;)V(XMLScanner.java:1269)
         at weblogic.apache.xerces.impl.XMLScanner.scanAttributeValue(Lweblogic.apache.xerces.xni.XMLString;Lweblogic.apache.xerces.xni.XMLString;Ljava.lang.String;Lweblogic.apache.xerces.xni.XMLAttributes;IZ)V(Optimized Method)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Lweblogic.apache.xerces.xni.XMLAttributes;)V(Optimized Method)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement()Z(Optimized Method)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(Optimized Method)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
         at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DTDConfiguration.java:525)
         at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblogic.apache.xerces.xni.parser.XMLInputSource;)V(DTDConfiguration.java:581)
         at weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apache.xerces.xni.parser.XMLInputSource;)V(XMLParser.java:152)
         at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)V(AbstractSAXParser.java:1175)
         at com.bea.netuix.servlets.services.WeblogicXmlServices.doSaxParse(Lorg.xml.sax.InputSource;Lorg.xml.sax.ContentHandler;Lorg.xml.sax.ErrorHandler;Lorg.xml.sax.EntityResolver;ZZZZ)V(WeblogicXmlServices.java:81)
         at com.bea.netuix.nf.factories.ControlTreeFactoryBuilder.getNetuixControlFactory(Ljava.io.InputStream;Z)Lcom.bea.netuix.nf.factories.ControlTreeFactory;(ControlTreeFactoryBuilder.java:103)
         at com.bea.netuix.servlets.manager.PortalServlet.createPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.definition.PortalResource;Lcom.bea.netuix.application.manager.util.CacheKey;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1158)
         at com.bea.netuix.servlets.manager.PortalServlet.getAnonymousPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.identifier.PortalPath;Lcom.bea.netuix.application.identifier.DesktopPath;Lcom.bea.netuix.application.manager.util.CacheKey;Ljava.util.ArrayList;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1038)
         at com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessDataForDesktop(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.identifier.PortalPath;Lcom.bea.netuix.application.identifier.DesktopPath;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1002)
         at com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:897)
         at com.bea.netuix.servlets.manager.PortalServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PortalServlet.java:803)
         at com.bea.netuix.servlets.manager.PortalServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PortalServlet.java:671)
         at com.bea.netuix.servlets.manager.UIServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(UIServlet.java:135)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.xxxxxxx.system.linkredirector.GlobalLinkRedirectorFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(GlobalLinkRedirectorFilter.java:37)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
    <Mar 27, 2006 12:06:28 PM GMT-02:00> <Error> <netuix> <BEA-423291> <Encountered a SAXParseException while parsing control tree :: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}".
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}".
         at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)V(AbstractSAXParser.java:1189)
         at com.bea.netuix.servlets.services.WeblogicXmlServices.doSaxParse(Lorg.xml.sax.InputSource;Lorg.xml.sax.ContentHandler;Lorg.xml.sax.ErrorHandler;Lorg.xml.sax.EntityResolver;ZZZZ)V(WeblogicXmlServices.java:81)
         at com.bea.netuix.nf.factories.ControlTreeFactoryBuilder.getNetuixControlFactory(Ljava.io.InputStream;Z)Lcom.bea.netuix.nf.factories.ControlTreeFactory;(ControlTreeFactoryBuilder.java:103)
         at com.bea.netuix.servlets.manager.PortalServlet.createPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.definition.PortalResource;Lcom.bea.netuix.application.manager.util.CacheKey;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1158)
         at com.bea.netuix.servlets.manager.PortalServlet.getAnonymousPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.identifier.PortalPath;Lcom.bea.netuix.application.identifier.DesktopPath;Lcom.bea.netuix.application.manager.util.CacheKey;Ljava.util.ArrayList;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1038)
         at com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessDataForDesktop(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.identifier.PortalPath;Lcom.bea.netuix.application.identifier.DesktopPath;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1002)
         at com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:897)
         at com.bea.netuix.servlets.manager.PortalServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PortalServlet.java:803)
         at com.bea.netuix.servlets.manager.PortalServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PortalServlet.java:671)
         at com.bea.netuix.servlets.manager.UIServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(UIServlet.java:135)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.xxxxxxx.system.linkredirector.GlobalLinkRedirectorFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(GlobalLinkRedirectorFilter.java:37)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.xxxxxxx.util.urlmapping.URLMappingFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(URLMappingFilter.java:45)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.xxxxxxx.system.linkredirector.SecurityFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(SecurityFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    >
    <Mar 27, 2006 12:06:28 PM GMT-02:00> <Error> <netuix> <BEA-423111> <Parsing exception while parsing portal xml.
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}".
         at weblogic.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Lweblogic.apache.xerces.xni.parser.XMLParseException;)Lorg.xml.sax.SAXParseException;(ErrorHandlerWrapper.java:232)
         at weblogic.apache.xerces.util.ErrorHandlerWrapper.fatalError(Ljava.lang.String;Ljava.lang.String;Lweblogic.apache.xerces.xni.parser.XMLParseException;)V(ErrorHandlerWrapper.java:213)
         at weblogic.apache.xerces.impl.XMLErrorReporter.reportError(Lweblogic.apache.xerces.xni.XMLLocator;Ljava.lang.String;Ljava.lang.String;[Ljava.lang.Object;S)V(XMLErrorReporter.java:375)
         at weblogic.apache.xerces.impl.XMLErrorReporter.reportError(Ljava.lang.String;Ljava.lang.String;[Ljava.lang.Object;S)V(XMLErrorReporter.java:305)
         at weblogic.apache.xerces.impl.XMLScanner.reportFatalError(Ljava.lang.String;[Ljava.lang.Object;)V(XMLScanner.java:1269)
         at weblogic.apache.xerces.impl.XMLScanner.scanAttributeValue(Lweblogic.apache.xerces.xni.XMLString;Lweblogic.apache.xerces.xni.XMLString;Ljava.lang.String;Lweblogic.apache.xerces.xni.XMLAttributes;IZ)V(Optimized Method)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Lweblogic.apache.xerces.xni.XMLAttributes;)V(Optimized Method)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement()Z(Optimized Method)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(Optimized Method)
         at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
         at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DTDConfiguration.java:525)
         at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblogic.apache.xerces.xni.parser.XMLInputSource;)V(DTDConfiguration.java:581)
         at weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apache.xerces.xni.parser.XMLInputSource;)V(XMLParser.java:152)
         at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)V(AbstractSAXParser.java:1175)
         at com.bea.netuix.servlets.services.WeblogicXmlServices.doSaxParse(Lorg.xml.sax.InputSource;Lorg.xml.sax.ContentHandler;Lorg.xml.sax.ErrorHandler;Lorg.xml.sax.EntityResolver;ZZZZ)V(WeblogicXmlServices.java:81)
         at com.bea.netuix.nf.factories.ControlTreeFactoryBuilder.getNetuixControlFactory(Ljava.io.InputStream;Z)Lcom.bea.netuix.nf.factories.ControlTreeFactory;(ControlTreeFactoryBuilder.java:103)
         at com.bea.netuix.servlets.manager.PortalServlet.createPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.definition.PortalResource;Lcom.bea.netuix.application.manager.util.CacheKey;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1158)
         at com.bea.netuix.servlets.manager.PortalServlet.getAnonymousPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.identifier.PortalPath;Lcom.bea.netuix.application.identifier.DesktopPath;Lcom.bea.netuix.application.manager.util.CacheKey;Ljava.util.ArrayList;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1038)
         at com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessDataForDesktop(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.application.identifier.PortalPath;Lcom.bea.netuix.application.identifier.DesktopPath;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:1002)
         at com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessData(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lcom.bea.netuix.servlets.manager.PortalServlet$PortalAccessData;(PortalServlet.java:897)
         at com.bea.netuix.servlets.manager.PortalServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PortalServlet.java:803)
         at com.bea.netuix.servlets.manager.PortalServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PortalServlet.java:671)
         at com.bea.netuix.servlets.manager.UIServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(UIServlet.java:135)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.xxxxxxx.system.linkredirector.GlobalLinkRedirectorFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(GlobalLinkRedirectorFilter.java:37)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
    >
    <Mar 27, 2006 12:06:28 PM GMT-02:00> <Warning> <netuix> <BEA-423225> <The streaming file could not be found in the webapp directory or war. The file name is: /appmanager/he/hu; calling from method ServletContext.getResource().>
    <Mar 27, 2006 12:06:28 PM GMT-02:00> <Warning> <netuix> <BEA-423229> <The UIControl Tree is null for the given request :: /appmanager/he/hu.>
    <Mar 27, 2006 12:06:28 PM GMT-02:00> <Error> <HTTP> <BEA-101020> <[ServletContext(id=152207972,name=portal,context-path=/portal)] Servlet failed with Exception
    java.lang.IllegalStateException: response already committed
         at weblogic.servlet.internal.ServletResponseImpl.sendError(ILjava.lang.String;)V(ServletResponseImpl.java:402)
         at weblogic.servlet.internal.ServletResponseImpl.sendError(I)V(ServletResponseImpl.java:383)
         at com.bea.netuix.servlets.manager.UIServlet.setupJspContext(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.nf.UIControl;)Lcom.bea.netuix.nf.UIContext;(UIServlet.java:258)
         at com.bea.netuix.servlets.manager.UIServlet.processControlTree(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lcom.bea.netuix.nf.UIControl;)V(UIServlet.java:207)
         at com.bea.netuix.servlets.manager.PortalServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PortalServlet.java:815)
         at com.bea.netuix.servlets.manager.PortalServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(PortalServlet.java:671)
         at com.bea.netuix.servlets.manager.UIServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(UIServlet.java:135)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.xxxxxxx.system.linkredirector.GlobalLinkRedirectorFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(GlobalLinkRedirectorFilter.java:37)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.xxxxxxx.util.urlmapping.URLMappingFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(URLMappingFilter.java:45)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at com.xxxxxxx.system.linkredirector.SecurityFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(SecurityFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    >
    Thanx for any responces. ;)

    ha =))
    i found the reason...
    it was really bad symbol in my *.portal file.
    It was [Ђ™] instead of ['].
    =) Damn.. it was really hard to find it.
    The way was to remove book-by-book and page-by-page in the desktop (from WL Administration Tool Portal .. streaming moe). When "bad book" was removed site become working!!! =)
    Message was edited by:
    ustas

Maybe you are looking for