Problem cmsxdb

hi,
question for Running the application using standalone OC4J
when i Load Servlet files
% loadjava -user cmsadmin/cmsadmin@HostName:Port:SID -verbose -force -order -resolve -thin -grant public <SAMPLE_HOME>\src\oracle\otnsamples\cmsxdb\admin\Resource.java <SAMPLE_HOME>\src\oracle\otnsamples\cmsxdb\admin\SearchResult.java <SAMPLE_HOME>\src\oracle\otnsamples\cmsxdb\dbmanager\*.java <SAMPLE_HOME>\src\oracle\otnsamples\cmsxdb\exception\CMSAccessException.java
I have this error
granting : execute on source oracle/otnsamples/cmsxdb/exception/CMSAccessExcepti
on to public
granting : execute on class oracle/otnsamples/cmsxdb/exception/CMSAccessExceptio
n to public
Error while computing shortname of oracle/otnsamples/cmsxdb/exception/CMSAccessE
xception
ORA-29516: Θchec d'assertion Aurora : Assertion failure at eox.c:232
Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
ORA-06512: α "SYS.DBMS_JAVA", ligne 213
ORA-06512: α ligne 1
The following operations failed
source oracle/otnsamples/cmsxdb/admin/Resource: creation
source oracle/otnsamples/cmsxdb/admin/SearchResult: creation
source oracle/otnsamples/cmsxdb/dbmanager/CMSXDBServletOnDB: creation
source oracle/otnsamples/cmsxdb/dbmanager/CMSXDBServletUtils: creation
source oracle/otnsamples/cmsxdb/dbmanager/SearchServlet: creation
source oracle/otnsamples/cmsxdb/dbmanager/TransformServlet: creation
source oracle/otnsamples/cmsxdb/exception/CMSAccessException: creation
exiting : Failures occurred during processing
can you help me
thank you.

Uraigli,
Please provide the following info :
Database Version :
Operating System :
Regards
Pushkala

Similar Messages

  • Problem about CMSXDB Sample Application

    Have installed cmsxdb sample app on Oracle 10gr2 and run webapp on jdeveloper 10.1.3 embedded oc4j.
    when try to login, the following errors are displayed:
    Stack Trace :
    oracle.otnsamples.cmsxdb.exception.CMSAccessException: Error sending request : java.io.IOException: Premature EOF
         at oracle.otnsamples.cmsxdb.useraction.ServletUtils.sendRequest(ServletUtils.java:165)
         at oracle.otnsamples.cmsxdb.useraction.DataUtils.serveRequest(DataUtils.java:330)
         at Contents.jspService(_Contents.java:119)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)
    Can anyone help on this?

    can you try with another browser... looks like embedded OC4J doesn't send proper HTTP header about connection and browser closes connection just before servlet does.
    Try Real Browsers Such as Firefox or Firefox ;-)

  • Problem when creating new resource in CMSXDB

    We installed the CMSXDB sample succesfully.
    We can create new users, create new folders; but when adding a documnt (resource) to a folder we get following error.
    For an external document:
    oracle.otnsamples.cmsxdb.exception.CMSAccessException: IOException in FileUploadUitlsjava.io.IOException: java.sql.SQLException: Invalid argument(s) in call
         at oracle.otnsamples.cmsxdb.useraction.FileUploadUtils.(FileUploadUtils.java:89)
         at oracle.otnsamples.cmsxdb.useraction.DataUtils.resource(DataUtils.java:885)
         at NewResource.jspService(_NewResource.java:73)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    If we try the other option (creation on the fly); we get following error:
    oracle.otnsamples.cmsxdb.exception.CMSAccessException: SQLException in createresource in resource method of DataUtils : java.sql.SQLException: SQLException in getCLOB : java.sql.SQLException: Invalid argument(s) in call
         at oracle.otnsamples.cmsxdb.useraction.DataUtils.resource(DataUtils.java:1109)
         at NewResource.jspService(_NewResource.java:73)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) ...
    Do you have any idea what can be the cause for this error?

    Hi Mark,
    The details of the properties that you have to set in Connection.properties file
    List of properties to be altered (Mandatory)
    DBWebURL=http://incq234a.idc.oracle.com:8080
    The HTTP url where the xdb servlet engine is running
    Format : http://<hostname_where_db_is_installed>:8080
    siteRootPath=/tmp/testsite
    The absolute path under which the files will be generated, once a file is sent for externalization and approved by cmsadmin.
    The file will be generated under ConnParams.siteRoot/<resource_path>.<content_type>
    example: /tmp/testsite/cmshome/news/headlines.html
    List of properties to be altered( Optional )
    [ we recommend that the default values be used and these properties not be altered ]
    DataSourceName=jdbc/CmsdbDS
    Name of the datasource, that was entered in J2EE_HOME/config/data-sources.xml
    DBUsername=cmsadmin
    DBPassword=cmsadmin
    [ if any of the below properties are modified, then the corresponding changes have to done in xdbconfig.xml ]
    CMSServletContextRoot=/OTNCMSServlet
    The context root where the OTNCMSServlet can be accessed. It will be appended with the DBWebURL.i.e
    http://localhost:8080/OTNCMSServlet
    Once the servlet is deployed to XDB and the xdbconfig.xml file updated with the servlet entry. The Servlet can be accessed from the above URL
    TransServletContextRoot =/transformservlet
    The context root where the TransformServlet can be accessed. It will be appended with the DBWebURL.i.e
    http://localhost:8080/transformservlet
    SearchServletContextRoot =/searchservlet
    The context root where the SearchServlet can be accessed. It will be appended with the DBWebURL.i.e
    http://localhost:8080/searchservlet
    We are looking into the resource creation issue, pls update us on wheather you are using the right values for these properties. If you were using any incorrect property values, update it and try deploying and running the app again.
    Regards
    Elango.

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

  • Cmsxdb Error sending request  : java.io.IOException: Premature EOF

    Having installed a new 10g database and then installed the cmsxdb onto it, I followed the instructions for deploying the application. This completed, and the application was started using the web browser.
    Upon attempting to login the following error is displayed :
    Stack Trace :
    oracle.otnsamples.cmsxdb.exception.CMSAccessException: Error sending request : java.io.IOException: Premature EOF
         at oracle.otnsamples.cmsxdb.useraction.ServletUtils.sendRequest(ServletUtils.java:165)
         at oracle.otnsamples.cmsxdb.useraction.DataUtils.serveRequest(DataUtils.java:330)
         at Contents2e_jsp._jspService(_Contents_2e_jsp.java:121)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:365)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:519)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:423)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:771)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:298)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:829)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:291)
         at java.lang.Thread.run(Thread.java:534)
    Can anyone shed any light please ??

    Hi,
    is there a solution for this problem? I'm getting the same error.
    TIA,
    Lars Geldner

  • My noob problem? FTP to Database.

    Hello guys, i'm new to oracle database environment where my friend persuade me to give it a try. I'm interested in xml database but having problem setup the cmsxdb sample. I currently stuck at ftp to Oracle XML DB repository where i need to run this syntax:
    ftp> open <dbhostname> 2100
    in my case i run:
    ftp> open localhost 2100
    but an error came out show:
    ftp: connect: Unknown Error Numberi also try this for unknown reason but no avail:
    ftp> open localhost 8080
    Connected to feed06v5.
    Connection closed by remote host.
    Sorry about this noob question. I seem just don't get it. What is dbhostname should be?. Any guidance is appreciated.
    my oracle info is:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    the listener has started shown below:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-SEP-2007 14:36
    :36
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    the status of the listener is:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 19-SEP-2007 13:29:50
    Uptime 0 days 1 hr. 7 min. 26 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File D:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=feed06v5)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=feed06v5)(PORT=8080))(Presentation=H
    TTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    but i haven't set the port of http and ftp yet. How can i do so?. I will try to find some guidance... but if u could guide me its awesome. :D

  • Starting Sample CMSXDB

    Hello *,
    I have installed the Sample CMS for Oracle XML DB. If I run CMSProject.jpr I get the login page where the login as cmsadmin is possible. But if I want to sign up a new user I get the error:
    Stack Trace :
    oracle.otnsamples.cmsxdb.exception.CMSAccessException: Error sending request : java.net.UnknownHostException: http
         at oracle.otnsamples.cmsxdb.useraction.ServletUtils.sendRequest(ServletUtils.java:165)
         at oracle.otnsamples.cmsxdb.useraction.DataUtils.serveRequest(DataUtils.java:330)
         at Contents.jspService(Contents.jsp:446)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    How can I solve this problem? Is there anyone who had installed CMSXDB successfully? If I deploy transformservlet.deploy I get some errors too. But I think thats only relevant when transforming some XML content?
    Thanks in advance,
    Lars Geldner

    Hello *,
    I have installed the Sample CMS for Oracle XML DB. If I run CMSProject.jpr I get the login page where the login as cmsadmin is possible. But if I want to sign up a new user I get the error:
    Stack Trace :
    oracle.otnsamples.cmsxdb.exception.CMSAccessException: Error sending request : java.net.UnknownHostException: http
         at oracle.otnsamples.cmsxdb.useraction.ServletUtils.sendRequest(ServletUtils.java:165)
         at oracle.otnsamples.cmsxdb.useraction.DataUtils.serveRequest(DataUtils.java:330)
         at Contents.jspService(Contents.jsp:446)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    How can I solve this problem? Is there anyone who had installed CMSXDB successfully? If I deploy transformservlet.deploy I get some errors too. But I think thats only relevant when transforming some XML content?
    Thanks in advance,
    Lars Geldner

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

  • A problem with Threads and MMapi

    I am tring to execute a class based on Game canvas.
    The problem begin when I try to Play both a MIDI tone and to run an infinit Thread loop.
    The MIDI tone "Stammers".
    How to over come the problem?
    Thanks in advance
    Kobi
    See Code example below:
    import java.io.IOException;
    import java.io.InputStream;
    import javax.microedition.lcdui.Graphics;
    import javax.microedition.lcdui.Image;
    import javax.microedition.lcdui.game.GameCanvas;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    public class MainScreenCanvas extends GameCanvas implements Runnable {
         private MainMIDlet parent;
         private boolean mTrucking = false;
         Image imgBackgound = null;
         int imgBackgoundX = 0, imgBackgoundY = 0;
         Player player;
         public MainScreenCanvas(MainMIDlet parent)
              super(true);
              this.parent = parent;
              try
                   imgBackgound = Image.createImage("/images/area03_bkg0.png");
                   imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
                   imgBackgoundY = this.getHeight() - imgBackgound.getHeight();
              catch(Exception e)
                   System.out.println(e.getMessage());
          * starts thread
         public void start()
              mTrucking = true;
              Thread t = new Thread(this);
              t.start();
          * stops thread
         public void stop()
              mTrucking = false;
         public void play()
              try
                   InputStream is = getClass().getResourceAsStream("/sounds/scale.mid");
                   player = Manager.createPlayer(is, "audio/midi");
                   player.setLoopCount(-1);
                   player.prefetch();
                   player.start();
              catch(Exception e)
                   System.out.println(e.getMessage());
         public void run()
              Graphics g = getGraphics();
              play();
              while (true)
                   tick();
                   input();
                   render(g);
          * responsible for object movements
         private void tick()
          * response to key input
         private void input()
              int keyStates = getKeyStates();
              if ((keyStates & LEFT_PRESSED) != 0)
                   imgBackgoundX++;
                   if (imgBackgoundX > 0)
                        imgBackgoundX = 0;
              if ((keyStates & RIGHT_PRESSED) != 0)
                   imgBackgoundX--;
                   if (imgBackgoundX < this.getWidth() - imgBackgound.getWidth())
                        imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
          * Responsible for the drawing
          * @param g
         private void render(Graphics g)
              g.drawImage(imgBackgound, imgBackgoundX, imgBackgoundY, Graphics.TOP | Graphics.LEFT);
              this.flushGraphics();
    }

    You can also try to provide a greater Priority to your player thread so that it gains the CPU time when ever it needs it and don't harm the playback.
    However a loop in a Thread and that to an infinite loop is one kind of very bad programming, 'cuz the loop eats up most of your CPU time which in turn adds up more delays of the execution of other tasks (just as in your case it is the playback). By witting codes bit efficiently and planning out the architectural execution flow of the app before start writing the code helps solve these kind of issues.
    You can go through [this simple tutorial|http://oreilly.com/catalog/expjava/excerpt/index.html] about Basics of Java and Threads to know more about threads.
    Regds,
    SD
    N.B. And yes there are more articles and tutorials available but much of them targets the Java SE / EE, but if you want to read them here is [another great one straight from SUN|http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html] .
    Edited by: find_suvro@SDN on 7 Nov, 2008 12:00 PM

  • J2ME problem with threads

    Hi all,
    I would like to ask you for a help. I need to write a small program at my university. I started to write a midlet which function would be to countdown time for sports activities. I woul like to start a new thread - the one that counts down - and at the same time make the main thread sleep. After the "countdown" thread finishes, the main thread wakes up and waits for user input. The problem is that when the "countdown" thread finishes his work, I've got Uncaught exception java/lang/NullPointerException. error and the midlet halts.
    Below you can find the code
    import java.lang.*;
    import java.util.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class intervals extends MIDlet implements CommandListener
    public Display ekran;
    private SweepCanvas sweeper;
    private Form rundy;
    private TextField round0, round1, round2, round3, round4, round5, round6, round7, round8;
    private long czas,x;
    private Command exitCommand;
    private Command addRound;
    private Command delRound;
    private Command start;
    private TextField repeat;
    private Form odliczanie;
    private Alert ostrz;
    Licznik thread;
    String test;
    StringItem test1;
    int parz,i,j,k;
    static int l;
    int ilrund;
    int ilpowt;
    Item sec;
    long sec1;
    public intervals()
        rundy = new Form("Interwa&#322;y sportowe");
        exitCommand = new Command("Wyj&#347;cie", Command.EXIT, 2);
        addRound = new Command("Dodaj","Dodaj rund&#281;", Command.ITEM,1);
        delRound = new Command("Usu&#324;","Usu&#324; ostatni&#261; rund&#281;", Command.ITEM,1);
        start = new Command("Start", Command.ITEM,1);
        odliczanie = new Form("Odliczanie");
        TextField dodaj(TextField kolej)
            kolej=new TextField("Podaj czas (s) rundy "+parz,null, 4, TextField.NUMERIC);//stworzenie nowej instancji do wybierania czasu trwania rundy
            if(rundy.size()==0)
                rundy.insert(rundy.size(),kolej);
                else
                    rundy.insert(rundy.size()-1, kolej);
            return kolej;
        void odliczanie(TextField round)
            monitor m=new monitor();
            k=Integer.parseInt(round.getString());
            ekran.setCurrent(odliczanie);
            thread=new Licznik(k,odliczanie);
            thread.start();
            ekran.setCurrent(rundy);
    public void startApp()// throws MIDletStateChangeException
        rundy.deleteAll();
        repeat = new TextField("Podaj ilo&#347;&#263; powtórze&#324;",null,1,TextField.NUMERIC);
        rundy.addCommand(addRound);
        rundy.addCommand(exitCommand);
        rundy.setCommandListener(this);
        Canvas obrazek = new MyCanvas();
        ekran = Display.getDisplay(this);
        ekran.setCurrent(obrazek);
        czas=System.currentTimeMillis();
        while (System.currentTimeMillis()<czas+1000)
            continue;
        ekran.setCurrent(rundy);
    public void pauseApp()
    public void destroyApp(boolean unconditional)
        notifyDestroyed();
    public void commandAction(Command c, Displayable s)
        if (c == exitCommand)
            destroyApp(false);
            notifyDestroyed();
        else if(c==addRound)
            if(rundy.size()==0)//Sprawdzenie ilo&#347;ci elementów w celu poprawnego wy&#347;wietlania liczby rund w formie
                parz=1;
                else
                parz=rundy.size();
            switch(parz)
                case 1:
                    round0=dodaj(round0);break;
                case 2:
                    round1=dodaj(round1);break;
                case 3:
                   round2= dodaj(round2);break;
                case 4:
                    round3=dodaj(round3);break;
                case 5:
                    round4=dodaj(round4);break;
                default:
                    ostrz=new Alert("Uwaga","Maksymalna liczba rund wynosi 9", null, AlertType.INFO);
                    ostrz.setTimeout(3000);
                    ekran.setCurrent(ostrz);
            if(rundy.size()==1)
                rundy.append(repeat);
                rundy.addCommand(start);
            rundy.addCommand(delRound);
        else if(c==delRound)
            if(rundy.size()!=0)
                rundy.delete(rundy.size()-2);
                if (rundy.size()==1)
                    rundy.deleteAll();
                if(rundy.size()==0)
                    rundy.removeCommand(delRound);
                    rundy.removeCommand(start);
        else if(c==start)
            ilrund=rundy.size()-1;
            if(this.repeat.size()>0)
                ilpowt=Integer.parseInt(this.repeat.getString());
            ekran = Display.getDisplay(this);
            for (i=1; i<=ilpowt;i++)
                odliczanie= new Form("Odliczanie");
                 for (j=0;j<ilrund;j++)
                    switch(j)
                         case 0:
                             odliczanie(round0);
                             break;
                         case 1:
                             odliczanie(round1);
                             break;
                         case 2:
                             odliczanie(round2);
                             break;
                         case 3:
                             odliczanie(round3);
                             break;
                         case 4:
                             odliczanie(round4);
                             break;
                         case 5:
                             odliczanie(round5);
                             break;
                         case 6:
                             odliczanie(round6);
                             break;
                         case 7:
                             odliczanie(round7);
                             break;
                         case 8:
                             odliczanie(round8);
                             break;
    class Licznik extends Thread
        int czas1,k;
        Form forma;
        monitor m;
        public Licznik(int k,Form formap)
            czas1=k;
            forma=formap;
        public synchronized void run()
            while(czas1>0)
                forma.deleteAll();
                forma.append("Czas pozosta&#322;y (s): "+czas1);
                try{Thread.sleep(1000);} catch(InterruptedException e){e.printStackTrace();}
                czas1--;
            if(czas1<=0)
                m.put();
        }and monitor class
    public class monitor
    boolean busy=false;
    synchronized void get()
        if(!busy)
            try
                wait();
            }catch(InterruptedException e){e.printStackTrace();}
        notify();
    synchronized void put()
        if(busy)
            try
            wait();
            }catch(InterruptedException e){e.printStackTrace();}
        busy=true;
        notify();
    }Can anybody help me with this?

    Groovemaker,
    Your Licznik class has a member m of type monitor, which has not been instantiated (in other words is null) hence, when calling m.put() you get NullPointerException. Please also mind, that using Thread.sleep(1000) is not an accurate way of measuring time.
    If I may, please use recommended for Java class naming conventions - some of your names use lower case, while other don't which is confusing to the reader.
    Daniel

  • Problem with threads within applet

    Hello,
    I got an applet, inside this applet I have a singleton, inside this singleton I have a thread.
    this thread is running in endless loop.
    he is doing something and go to sleep on and on.
    the problem is,
    when I refresh my IE6 browser I see more than 1 thread.
    for debug matter, I did the following things:
    inside the thread, sysout every time he goes to sleep.
    sysout in the singleton constructor.
    sysout in the singleton destructor.
    the output goes like this:
    when refresh the page, the singleton constructor loading but not every refresh, sometimes I see the constructor output and sometimes I dont.
    The thread inside the singleton is giving me the same output, sometime I see more than one thread at a time and sometimes I dont.
    The destructor never works (no output there).
    I don't understand what is going on.
    someone can please shed some light?
    thanks.
    btw. I am working with JRE 1.1
    this is very old and big applet and I can't convert it to something new.

    Ooops. sorry!
    I did.
         public void start() {
         public void stop() {
         public void destroy() {
              try {
                   resetAll();
                   Configuration.closeConnection();
                   QuoteItem.closeConnection();
              } finally {
                   try {
                        super.finalize();
                   } catch (Throwable e) {
                        e.printStackTrace();
         }

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • Problem with threads running javaw

    Hi,
    Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
    troy.

    troy,
    Try and post a minimum code sample of your app which
    does not work.
    When using javaw, make sure you redirect the standard
    error and standard output streams to file.
    Graeme.Hi Graeme,
    I dont understand what you mean by redirection to file? some of my code below.
    The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
    public class Server{
    ServerSocket aServerSocket;
    Socket dianosticsSocket;
    Socket nPortExpress;
    ClientListener aClientListener;
    LinkedList queue = new LinkedList();
    int port = 0;
    int clientPort = 0;
    String clientName = null;
    boolean serverAlive = true;
    * Server constructor generates a server
    * Socket and then starts a client threads.
    * @param aPort      socket port of local machine.
    public Server(int aPort, String aClientName, int aClientPort){
    port = aPort;
    clientName = aClientName;
    clientPort = aClientPort;
    try{
    // create a new thread
    aServerSocket = new ServerSocket(port) ;
    // connect to the nPortExpress
    aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
    // aClientListener.setDaemon(true);
    aClientListener.start();
    // start a dianostic port
    DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
    // System.out.println("Server is running on port " + port + "...");
    // System.out.println("Connect to nPort");
    catch(Exception e)
    // System.out.println("ERROR: Server port " + port + " not available");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
    serverAlive = false;
    System.exit(1);
    while(serverAlive&&aClientListener.hostSocket.isConnected()){
    try{
    // connect the client
    Socket aClient = aServerSocket.accept();
    //System.out.println("open client connection");
    //System.out.println("client local: "+ aClient.getLocalAddress().toString());
    // System.out.println("client localport: "+ aClient.getLocalPort());
    // System.out.println("client : "+ aClient.getInetAddress().toString());
    // System.out.println("client port: "+ aClient.getLocalPort());
    // make a new client thread
    ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
    // start thread
    clientThread.start();
    catch(Exception e)
    //System.out.println("ERROR: Client connection failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
    }// end while
    } // end constructor Server
    void serverExit(){
         JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
         System.exit(1);
    }// end class Server
    *** connect to another server
    public class ClientListener extends Thread{
    InetAddress hostName;
    int hostPort;
    Socket hostSocket;
    BufferedReader in;
    PrintWriter out;
    boolean loggedIn;
    LinkedList queue;      // reference to Server queue
    Server serverRef; // reference to main server
    * ClientListener connects to the host server.
    * @param aHostName is the name of the host eg server name or IP address.
    * @param aHostPort is a port number of the host.
    * @param aLoginName is the users login name.
    public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer)      // reference to Server queue)
    hostName = aHostName;
    hostPort = aHostPort;
    queue = aQueue;
    serverRef = aServer;      
    // connect to the server
    try{
    hostSocket = new Socket(hostName, hostPort);
    catch(IOException e){
    //System.out.println("ERROR: Connection Host Failed");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);     
    System.exit(0);
    } // end constructor ClientListener
    ** multi client connection server
    ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
    queue = aQueue;
    addToQueue(this);
    client = aSocket;
    clientRef = aClientListener;
    aDiagnostic = diagnostics;
    } // end constructor ClientWorker
    * run method is the main loop of the server program
    * in change of handle new client connection as well
    * as handle all messages and errors.
    public void run(){
    boolean alive = true;
    String aSubString = "";
    in = null;
    out = null;
    loginName = "";
    loggedIn = false;
    while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
    try{
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
    if(aDiagnostic){
    out.println("WELCOME to diagnostics");
    broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    out.println("WELCOME to Troy's Server");
    broadCastDia("Connect : client "+client.getInetAddress().toString());
         out.flush();
    String line;
    while(((line = in.readLine())!= null)){
    StringTokenizer aStringToken = new StringTokenizer(line, " ");
    if(!aDiagnostic){
    broadCastDia(line);
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    else{
    if(line.equals("GETIPS"))
    getIPs();
    else{
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    } // end while
    catch(Exception e){
    // System.out.println("ERROR:Client Connection reset");
                             JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);     
    try{
    if(aDiagnostic){
    broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    broadCastDia("Disconnect : client "+client.getInetAddress().toString());
         out.flush();
    // close the buffers and connection;
    in.close();
    out.close();
    client.close();
    // System.out.println("out");
    // remove from list
    removeThreadQueue(this);
    alive = false;
    catch(Exception e){
    // System.out.println("ERROR: Client Connection reset failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);     
    }// end while
    } // end method run
    * method run - Generates io stream for communicating with the server and
    * starts the client gui. Run also parses the input commands from the server.
    public void run(){
    boolean alive = true;
    try{
    // begin to life the gui
    // aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
    // aGuiClient.show();
    in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
    while (alive && hostSocket.isConnected()){
    String line;
    while(((line = in.readLine())!= null)){
    System.out.println(line);
    broadCast(line);
    } // end while
    } // end while
    catch(Exception e){
    //     System.out.println("ERRORa Connection to host reset");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
    try{
    hostSocket.close();
         }catch(Exception a){
         JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
    alive = false;
    System.exit(1);
    } // end method run

  • Problem with Threads and "plase wait..."-Window

    Hi everyone,
    I have a problem that I'm not able to solve in any way... I have a time-consuming task (a file decryption) which I execute in a separate thread; I've used the SwingWorker class, like suggested by sun-tutorial, and it works right. The problem is that I have to wait that the decryption have finished before continuing with program-execution. Therefore I would like to display a "please wait"-window while the task runs. I've tryed all the possible ways I know but the problem is always the same: the waitWindow is displayed empty, the bounds are painted but the contents no; it's only painted when the decrypt-task has finished. Please help me, I have no more resources....
    decrypt-file code:
    public class DecryptFile {
      private String cryptedFileNameAndPath;
      private ByteArrayInputStream resultStream = null;
      // need for progress
      private int lengthOfTask;
      private int current = -1;
      private String statMessage;
      public DecryptFile(String encZipFileNameAndPath) {
        cryptedFileNameAndPath = encZipFileNameAndPath;
        //Compute length of task...
        // 0 for indeterminate
        lengthOfTask = 0;
      public ByteArrayInputStream getDecryptedInputStream() {
        return this.resultStream;
       * Called from ProgressBarDemo to start the task.
      public void go() {
        current = -1;
        final SwingWorker worker = new SwingWorker() {
          public Object construct() {
            return new ActualTask();
        worker.start();
       * Called from ProgressBarDemo to find out how much work needs
       * to be done.
      public int getLengthOfTask() {
        return lengthOfTask;
       * Called from ProgressBarDemo to find out how much has been done.
      public int getCurrent() {
        return current;
      public void stop() {
        current = lengthOfTask;
       * Called from ProgressBarDemo to find out if the task has completed.
      public boolean done() {
        if (current >= lengthOfTask)
          return true;
        else
          return false;
      public String getMessage() {
        return statMessage;
       * The actual long running task.  This runs in a SwingWorker thread.
      class ActualTask {
        ActualTask () {
          current = -1;
          statMessage = "";
          resultStream = AIUtil.getInputStreamFromEncZip(cryptedFileNameAndPath); //here the decryption happens
          current = 0;
          statMessage = "";
      }The code that calls decryption and displays waitWindow
          final WaitSplash wS = new WaitSplash("Please wait...");
          final DecryptFile cryptedTemplate = new DecryptFile (this.templateFile);
          cryptedTemplate.go();
          while (! cryptedTemplate.done()) {
            try {
              wait();
            } catch (Exception e) { }
          this.templateInputStream = cryptedTemplate.getDecryptedInputStream();
          wS.close();Thanks, thanks, thanks in advance!
    Edoardo

    Maybe you can try setting the priority of the long-running thread to be lower? so that the UI will be more responsive...

  • Problem with threads in j2me

    im using jdk 1.6 with java wtk 2.1
    ya i know..
    2.1 is a jdk1.4 source
    but im using souce as 1.4 during compiliation so thats not the prob
    this is my code
    package org.learn;
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.lcdui.Alert;
    import javax.microedition.lcdui.Display;
    public class thtest extends MIDlet
    Thread t;
    public void startApp()
    Alert a=new Alert("hello");
    a.setString("hello");
    Alert b=new Alert("world");
    b.setString("world");
    Display d = Display.getDisplay(this );
    d.setCurrent(a);
    t=Thread.currentThread();
    try{
    t.sleep(10000);
    catch (Exception e){}
    d.setCurrent(b);
    public void pauseApp()
    public void destroyApp(boolean unconditional)
    its just supposed to pause between the alerts using threads
    however when i run it using the wtk, the emulator run properly but when i launch the app, it stops executing giving me this:
    "Error verifying method org/learn/thtest startApp()V
    Approximate bytecode offset 49: Inconsistent or missing stackmap at target
    %the stack info%
    Execution completed.
    437782 bytecodes executed
    9 thread switches
    486 classes in the system (including system classes)
    2506 dynamic objects allocated (73832 bytes)
    2 garbage collections (60652 bytes collected)
    Execution completed.
    437782 bytecodes executed
    9 thread switches
    486 classes in the system (including system classes)
    ALERT: java/lang/VerifyError: org/learn/thtest.
    2506 dynamic objects allocated (73832 bytes)
    2 garbage collections (60652 bytes collected)
    please can someone help me out with this, is it an error on my part or do i have to set some option.

    Hi gandalf123,
    First, Thread.sleep is a static method, so you don't need to create a Thread object to use it.
    I think the problem is due to the fact you don't preverify your midlet.
    More over, you don't need to double post your question.

Maybe you are looking for