Weired "IllegalArgumentException", while i try to parse my schema.

Here is the stack trace.
Any one of you encountered this before? I am totally confused about this... any idea what it is all about?
parsing a schema...
Exception in thread "main" java.lang.IllegalArgumentException
at com.sun.xml.xsom.impl.ElementDecl.<init>(ElementDecl.java:40)
at com.sun.xml.xsom.impl.parser.state.elementDeclBody.makeResult(element
DeclBody.java:615)
at com.sun.xml.xsom.impl.parser.state.elementDeclBody.text(elementDeclBo
dy.java:419)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.revertToParentFromText
(NGCCRuntime.java:503)
at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:127)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.processPendingText(NGC
CRuntime.java:188)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime
.java:248)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:595)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:595)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:595)
at org.iso_relax.verifier.impl.VerifierFilterImpl.endElement(Unknown Sou
rce)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Abst
ractXMLDocumentParser.java:222)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNames
paceBinder.java:874)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBi
nder.java:591)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.
java:151)
at com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMParser.java:116)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:511)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)

This error is mostly due to a missing type in an element or attribute.
like: <xsd:element name="foo"/>
I ran into this also a couple of times. XMLSPY validates a schema
without the type. quit confusing...

Similar Messages

  • IllegalArgumentException: While exporting to PDF in Websphere 6

    Hi,
    <br>
    We are using Crystal Report XI and Java 1.5. We are using JRC jars to parse the Crystal Report in Server side. From our application we will export the report to PDF. It is working fine for all reports except for a specific report where it gives IllegalArgumentException while exporting the PDF. The same report is working fine in Windows Environment. Only in Linux environment the below error occurred. It will be of great help if any one can suggest us on this.
    <br>
    Exception:<br>
    <br>
    [1/31/11 13:31:13:397 CST] 00000026 SystemOut     O Openning rowset<br>
    [1/31/11 13:31:13:399 CST] 00000026 SystemOut     O Executing query: null<br>
    [1/31/11 13:31:13:401 CST] 00000026 SystemOut     O PdfExporter: serializing pdf document and cleaning up<br>
    [1/31/11 13:31:13:401 CST] 00000026 SystemOut     O Disk Exporter: verifying export to destination<br>
    [1/31/11 13:31:13:401 CST] 00000026 SystemOut     O Disk Exporter: no output file was created by an exporter<br>
    [1/31/11 13:31:13:407 CST] 00000026 SystemOut     O PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export<br>
    java.lang.IllegalArgumentException<br>
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)<br>
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)<br>
         at com.crystaldecisions.reports.a.e.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.mysystem.myapp.common.Crystal_Report.print(Crystal_Report.java:447)
         at com.ibm._jsp._Crystal_Report._jspService(_Crystal_Report.java:305)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at com.mysystem.myapp.common.ServletFilter.doFilter(ServletFilter.java:107)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)<br>
    [1/31/11 13:31:13:408 CST] 00000026 SystemOut     O Disk Exporter: finalizing export to destination<br>
    [1/31/11 13:31:13:408 CST] 00000026 SystemOut     O JRCAgent203 detected an exception: java.lang.NullPointerException<br>
    [1/31/11 13:31:13:413 CST] 00000026 SystemOut     O 2011-01-31 13:31:13.411 30706059IBN_IBON MARMAGOST Crystal_Report.print(748) Error while generating crystal report<br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.mysystem.myapp.common.Crystal_Report.print(Crystal_Report.java:447)
         at com.ibm._jsp._Crystal_Report._jspService(_Crystal_Report.java:305)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at com.mysystem.myapp.common.ServletFilter.doFilter(ServletFilter.java:107)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

    I recommend searching on that Exception message first. 
    Sincerely,
    Ted Ueda

  • Everytime i eject my ipod and reconnect it all my music is gone. and sometimes while i try adding music to it. itunes completely freezes. please help. and sometimes when i plug it back into my PC i have to rename my ipod and such

    Everytime i eject my ipod and reconnect it all my music is gone. and sometimes while i try adding music to it. itunes completely freezes. please help. and sometimes when i plug it back into my PC i have to rename my ipod and such

    Antivirus has a tendency to freeze iTunes sync Operation with iPod Classic, causing a timeout, which corrupt your iPod filesystem, so when iTunes can't read the iPod, it is pointing to this problem. Other causes is when your iPod hardisk is dying, or your battery is dying causing hardisk crashes.
    My suggestion.
    Connect your iPod to the PC and run chkdsk, to fix any iPod diskerror, then disconnect it, after chkdsk complete.
    Disconnect your PC from Internet. (just to make sure no nasties creep into your system while you syncing.
    Stop the Antivirus program
    Connect your Ipod to the PC
    When iTunes Open up, Restore your iPod please, this is for iTunes to map correctly, to fix the corrupted filesystem.
    When Restore complete, eject the iPod and reconnect again.
    Sync your ipod, preferably manually Manage in small batches and disconnect after every batch, to check that all is well, since you got such a huge library.
    When all sync is complete, and iPod disconnected, start back your Antivirus and connect back the Internet.
    If this doesn't resolve your problem, then let me know.
    Good Luck!

  • Is there a way to "loop" audio while I try audio filters?

    Is there a way to "loop" audio while I try audio filters?
    Thanks

    Yes.
    Toggle Loop to ON
    Set an In and Out in the timeline then select Play In to Out.
    If you can't find these commands in the Menu Bar or are looking for the keyboard commands, use Help.
    Have fun.
    x

  • There is some problem while I try to put a figure in a slide.

    Hi, There is some problem while I try to put a figure in a slide. For editing the data, the input will change into a date(e.g. 2014/1/8) while I key in a floating(e.g. 1.8), and I can't change it back to a floating while I use the new version of keynote. Is that a bug?

    I have never seen this issue.
    Try this, ensure you complete all the tasks and in the order shown:

    delete all the iWork applications if you have them, not just Keynote, using Appcleaner from Mac Update, its a freeware application

    empty the trash:  Finder > Empty Trash

    Shut down your Mac, wait 30 seconds, then power on the Mac, immediately after the start chime, hold down the Shift key
    When you see the grey Apple symbol and progress indicator (a spinning gear), release the Shift key.
    If you are prompted to log in, type your password, then hold down the Shift key again as you click Log in. 
    Let the Mac fully boot up, it will take longer as the OS is repairing the drive
    4
    when fully booted, go to Applications > Utilities > Disc Utility; click on the boot drive then First Aid tab and click  repair disc permissions
    5
    when complete, restart the Mac normally, Apple menu > Restart

    install Keynote from the Mac App Store

  • OAC2 while you try to create content repository

    Hi Friends,
    in a OAC2 while you try to create content repository, it doesnt allow you to select the document area (actually it doesnt allow you to select any of the options for eg: 'Archive Link' 'Data Archiving' etc.)
    Although it shows these options in a drop down menu but it doesnt let you select it.
    and this is happening only in DEV and QAC environment, rather it worked in Sandbox system(its a seperate SAP system)
    Please let me know how can we resolve this issue
    Regards
    Ayush

    You can have a look at the third party connection beans available and choose whichever is good. http://www.j2eeolympus.com/J2EE/JDBC/JDBCConnectionPooling.html

  • I had formatted external HDD as Mac OS Extended(journaled) earlier, but now i want to format the same as ExFAT so that i can copy files between PC and MAC. But it is giving 'Can't unmount' error while i try to run Erase

    I had formatted external HDD as Mac OS Extended(journaled) earlier, but now i want to format the same as ExFAT so that i can copy files between PC and MAC. But it is giving 'Can't unmount' error while i try to run Erase

    Use the PC to reformat the drive.

  • HT1414 my ipad 3 got truble while updating. there is showing conect to itune while i try to switch on. please let me knwo what is the solution to recover my ipad to previuos stage?

    my ipad 3 got truble while updating. there is showing conect to itune while i try to switch on. please let me knwo what is the solution to recover my ipad to previuos stage?

    That image on the iPad screen is telling you what to do. Connect the iPad to your computer and use iTunes to restore the iOS software. You said it yourself, something went wrong. So now you have to restore the device.
    The instructions for restoring the iOS are in this kb article - the article from which you posted your question.
    http://support.apple.com/kb/ht1414
    Make sure that you read all the way to the end under "Additional Information" where it talks about using recovery mode. You just might need to use that in order to restore.

  • Why does mozilla wants to make changes to my laptop settings while I try to download firefox 3.6 ?

    Why does mozilla wants to make changes to my laptop settings while I try to download firefox

    If you install a program then elevated (Administrator) permissions are needed and Windows will ask you to confirm.
    If it happens all the time if you start a program then you need to check the Compatibility tab in the Properties of the shortcut via the right-click context menu and make sure that Privilege Level: "Run this program as Administrator" is not selected.

  • Memory Leakage while parsing and schema validation

    It seems there is some kind of memory leakage. I was using xdk 9.2.0.2.0. Later i found that from this forum which contain a Topic on this and they (oracle ) claim they have memory leakage. And they have fixes this bugs in 9.2.0.6.0 xdk. When i used truss command, for each call to parser and schame validation, it was opening file descriptor for lpxus and lsxus file. And this connections were not close. And keep on openning it with each call to parser. I was able to diagonise this using truss command on on solaris. After making many calls, i was error message could not open file Result.xsd (0202). I am using one instance of Parser and Schema. And i am doing clean up for parser after each parse.
    Later i downloaded, 9.2.0.6.0,
    Above problem for the parser was solvedm but still the problem continued for schema validation. And even i tried with latest beta release 10.
    And this has caused great troubles to us. Please can u look whether there is come sort of leakage. Please advice if u have any solution.
    Code---
    This below code is called multiple times
    char* APIParser::execute(const char* xmlInput) {
              char* parseResult = parseDocument(xmlInput);
              //if(strcmp(parseResult,(const char*)"")==0) {
    if(parseResult == NULL) {
                   parseResult = getResult();
    parser.xmlclean();
         return parseResult;
              } else {
                   return parseResult;
    Parser and schema are intialised in Construtor and terminated in Destructor.

    Hi, here is the complete test case
    #include<iostream>
    #ifndef ORAXML_CPP_ORACLE
    # include <oraxml.hpp>
    #endif
    using namespace std;
    #define FAIL { cout << "Failed!\n"; return ; }
    void mytest(int count)
         uword ecode;
         XMLParser parser;
         Document *doc;
         Element root, elem;
         if (ecode = parser.xmlinit())
              cout << "Failed to initialze XML parser, error " << ecode << "\n";
              return ;
         cout << "\nCreating new document...\n";
         if (!(doc = parser.createDocument((oratext *) 0, (oratext *) 0,(DocumentType *) 0)))
         FAIL
         if (!(elem = doc->createElement((oratext *) "ROOT")))
                   FAIL
         string test="Elem";
         for(int i=0;i<count;i++)
              //test="Elem"+string(ltoa(i));
              if (!(elem = doc->createElement((oratext *) "element")))
                   FAIL
              if (!doc->appendChild(elem))
                   FAIL
         //doc ->print();
         //parser.xmlclean();
         parser.xmlterm();
    int main(int argc,char* argv[])
         int count=atol(argv[1]);
         mytest(count);
         char c;
         cout<<"check memory usage n press any key"<<endl;
         cin>>c;
         return 0;
    -------------------------------------------cut here-----
    Now, i cant use the xdk 10g because i work on a hpux machine. I have tried the above program with a count of 1000000. the memory usage at the end was around 2 gigabytes.
    Could someone please please help me? :(
    Thank you.

  • How to parse a schema

    Hi
    I try to parse a xml-schema file.
    I know that a xml-schema is a XML , so I could use any XML parser to parse XML-schema.
    But I still want to find a paser specific for xml-schema.
    thanks:)

    Why do you need to parse the XML Schema? If you want to get the metadata info from the XML Schema, please use the XSDBuilder to build the XML Schema Object instead of using the XML Parser.
    For example:
    XSDBuilder builder = new XSDBuilder();
    URL url = createURL(args[0]);
    // Build XML Schema Object
    XMLSchema schemadoc = (XMLSchema)builder.build(url);

  • Workspace 10 has no privileges to parse as schema APEX_030200.

    I'm installing apex 3.2 into a 10.2.0.3 database and the install went fine. I've followed the same procedures to install apex in several other database with the same characteristics and they are all running fine. But in this install I get the "Workspace 10 has no privileges to parse as schema APEX_030200." message with I try to load the Admin page for the first time.
    Any help is greatly appreciated!
    Ken
    PS. I just ran apxremov.sql and reinstalled and all is good now. I had no error messages in the original install, so don't know what that was all about. That a couple hours I'll never get back! :)
    Edited by: kenkrug on Jan 7, 2010 3:55 PM

    At your place, I would go through Upgrade Guide again, with special attention on grants and privileges.

  • Workspace has no privileges to parse as schema

    Hi,
    when i try to run the application appear this error Workspace has no privileges to parse as schema XXX
    Apex version = 3.2.0.00.27
    DB verison = 11g
    the workspace worked well until now
    please help
    regards

    Hi
    I think that after database upgrade from 9i to 11g the grants of the APEX users changed, and today to solve my first problem (i could't create new workspace) i grant some privilege to the user APEX_030200 and the user that now didn´t work.
    this is the grants
    GRANT CREATE CLUSTER TO "APEX_030200" WITH ADMIN OPTION;
    GRANT CREATE CLUSTER TO "XXX" WITH ADMIN OPTION;
    GRANT CREATE JOB TO "XXX" WITH ADMIN OPTION;
    GRANT CREATE JOB TO "APEX_030200" WITH ADMIN OPTION;
    GRANT CREATE ANY CONTEXT TO"XXX" WITH ADMIN OPTION;
    GRANT CREATE ANY CONTEXT TO"APEX_030200" WITH ADMIN OPTION;
    GRANT CREATE MATERIALIZED VIEW TO"XXX" WITH ADMIN OPTION;
    GRANT CREATE MATERIALIZED VIEW TO"APEX_030200" WITH ADMIN OPTION;
    revoke this grants?
    Note: the user XXX has the DBA role
    Thanks

  • Workspace 940406121245604 has no privileges to parse as schema MYAPP.

    When I try to run the application, I get the error message
    Workspace 940406121245604 has no privileges to parse as schema MYAPP.
    Anyone know how to grant the privileges?
    Thanks in advance.
    MKBH

    Hi
    As Varad said you need to use the name of the schema followed by a full stop, followed by the package synonym followed by a full stop, followed by the procedure name like this (in your case it is FLOWS_030000)
    BEGIN
    FLOWS_030000.APEX_INSTANCE_ADMIN.REMOVE_WORKSPACE('MY','Y','Y');
    END;Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • No priviliges to parse as schema

    I have upgraded from 1.5 to 1.6. I checked the log and it shows no errors. I can access HTMLDB 1.6 without any problems however when I try to run any of the applications that I developed in 1.5 I get error "Error Workspace XXXXXX has no priviliges to parse as schema HR". When I go in as ADMIN and check the mapping between the workspace and the schema I can only see "invalid" schema. I tried to change the schema but when I select the LOV I only get few schemas displayed for selection. I can't see HR or OE schemas that do exist in my database and that I used for creating my applications.

    165127,
    From Part III, Administration, of the 1.6 User's Guide:
    Understanding Oracle Default Schema Restrictions
    When Oracle HTML DB installs, the Oracle HTML DB administrator does not have the ability to assign Oracle default schemas to workspaces. Default schemas (such as SYS, SYSTEM, and RMAN) are reserved by Oracle for various product features and for internal use. Access to a default schema can be a very powerful privilege. For example, a workspace with access to the default schema SYSTEM can run applications that parse as the SYSTEM user. In order for an Oracle HTML DB administrator to have the ability to assign Oracle default schemas, the database administrator (DBA) must explicitly grant the privilege. The DBA can remove this restriction and grant the privilege using SQL*Plus to run the HTMLDB_SITE_ADMIN_PRIVS.ALLOW procedure within the HTML DB engine schema. For example:  EXEC HTMLDB_SITE_ADMIN_PRIVS.ALLOW;The DBA can reimpose this restriction and revoke this privilege using the HTMLDB_SITE_ADMIN_PRIVS.RESTRICT procedure within the HTML DB engine schema. For example:  EXEC HTMLDB_SITE_ADMIN_PRIVS.RESTRICT;The DBA can determine the current status of the privilege using SQL*Plus to run the HTMLDB_SITE_ADMIN_PRIVS.REPORT procedure within the HTML DB engine schema. For example:  SET SERVEROUTPUT ON
      EXEC HTMLDB_SITE_ADMIN_PRIVS.REPORT;EXEC HTMLDB_SITE_ADMIN_PRIVS.REPORT returns number of rows in the wwv_flow_restrict_admin table. 0 rows means that the Oracle HTML DB administrator is restricted and may not assign Oracle default schemas to workspaces. One or more rows means that the Oracle HTML DB administrator may assign Oracle default schemas to workspaces.
    Scott

Maybe you are looking for

  • Can I use iOS4 Mail App on MacBook Pro or the MacOSX 1.6 Snow Leopard OS

    Is there any way to use use the iOS mail application on a MacBook Pro?  My company does not support MAC Outlook 2011 but I can get my exchange email on my iPad and iPhone. 

  • Necessary to have internet to execute Web Reports?

    Hi, I'm new to WAD -at learning stage Is it necessay to have web / Internet  connection to view or execute Web reports? 'Coz On executing webreport i'm getting error :"Operation Could  not be performed due  to portal comunication  error" Thanq

  • IWeb not publishing

    Just empty cache in the browser!

  • Library cache locks

    Hi, There were some locks acquired in our production database by two sessions. On investigation we found that one session was waiting for library cache lock and another for transaction enque lock. No entries were made into the alert log. We waited fo

  • Radius acts as if the cert file is login rather then system

    I have new lion client macbook trying to authenticate to radius on lion server. Authentication works fine if you are logged in and will auto connect to the network as you login. On 10.6 I could the cert in systems so that networked users would have a