Oracle RDF as portlets

Hello,
How can I deploy a oracle rdf report as a portlet in Oracle 10g?
Any help is highly appreciable.
Thanks

You can call you report on the Reports server via servlet.
This will produce a PDF file.
Is this what you looking for?
This has nothing to do with Portal, but you can place the link in a portlet.

Similar Messages

  • Layout issue in Oracle rdf

    Hi Experts,
    I am facing a strange issue in oracle rdf reports.
    Requesting an assistance from you.
    I have a report which displays the vendor information.
    For all the vendors the layout is working fine for me, but for one particular vendor the vendor name is splitting into 2 lines as follows.
    EAD - Empresa de Arquivo de
    Documentação, SA
    But it is one name as 'EAD - Empresa de Arquivo de Documentação, SA'.
    Please help me on this. how to display this as a single value.
    Thanks,
    Zaheer.

    This is probably because the field is not wide enough. Check the horizontal elasticity property of this field (and possibly the frames around it).

  • How to print message in oracle rdf report output?

    Hi,
    There is a requirement to print message in output of oracle rdf report. srw.message prints the message in log file but how to print message in output.
    Please suggest.
    Thanks & Regards,
    Sunita

    897745 wrote:
    Hi,
    We are trying to print BARCODE for Order Number in RDF report. Kindly let me know how to do this.It's very easy. Download a font which show barcode then choose your desire field's font that font. I use IDAutomationHC39M font.
    Hope this will help you.

  • Oracle RDF / Joseki : issue with large literals

    Hi,
    I have been using Joseki to query an Oracle RDF model. There seems to be an issue with large literals (according to a few unreliable tests, I would say this concerns literals around and over 4000 chars).
    Here are the two potential behaviours :
    First case:
    If the results contains several lines, one of which contains an overly large literal, there are NO exception on the server side, but the resulting xml is incomplete.
    It misses the "line" containing the large literal, and the xml is stopped there (which means that it also misses the closing </results> and </sparql>. In my case, I am using the results through Jena's sparqlService, which means I get this message :
    XMLStreamException: Unexpected EOF; was expecting a close tag for element <results>
    +at [row,col {unknown-source}]: [31,0]+
    Second case:
    If the query only returns one line which contains an overly large literal, the client receives a simple *"HttpException: 500 Internal Server Error"*
    Here is the error message from my server :
    +INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] (SPARQL.java:165) - Throwable: we+
    blogic.jdbc.wrapper.Clob_oracle_sql_CLOB cannot be cast to oracle.sql.CLOB
    java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB cannot be cast to oracle.sql.CLOB
    at oracle.spatial.rdf.client.jena.OracleSemIterator.getNodesFromResultSet(OracleSemIterator.java:579)
    at oracle.spatial.rdf.client.jena.OracleSemIterator.next(OracleSemIterator.java:445)
    at oracle.spatial.rdf.client.jena.OracleLeanQueryIter.moveToNextBinding(OracleLeanQueryIter.java:135)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.nextBinding(QueryIteratorBase.java:98)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.moveToNextBinding(QueryIterConvert.java:56)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.nextBinding(QueryIteratorBase.java:98)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.moveToNextBinding(QueryIterRepeatApply.java:76)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.nextBinding(QueryIteratorBase.java:98)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterProcessBinding.hasNextBinding(QueryIterProcessBinding.java:54
    +)+
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding(QueryIterConvert.java:50)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:30)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:30)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:62)
    at org.joseki.processors.SPARQL.executeQuery(SPARQL.java:309)
    at org.joseki.processors.SPARQL.execQueryWorker(SPARQL.java:288)
    at org.joseki.processors.SPARQL.execQueryProtected(SPARQL.java:126)
    at org.joseki.processors.SPARQL.execOperation(SPARQL.java:120)
    at org.joseki.processors.ProcessorBase.exec(ProcessorBase.java:112)
    at org.joseki.ServiceRequest.exec(ServiceRequest.java:36)
    at org.joseki.Dispatcher.dispatch(Dispatcher.java:59)
    at org.joseki.http.Servlet.doCommon(Servlet.java:177)
    at org.joseki.http.Servlet.doGet(Servlet.java:138)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Would there be any fix / workaround ?
    Please let me know if you need further information / tests.
    Thanks,
    Regards,
    Julien

    Thanks for your reply.
    While trying to build up a small test case, I found out why there were discrepancies between the two cases I described.
    Indeed, usually, the two cases return the same thing (no exception on the server side, but incomplete resulting XML).
    The exception I described happened when I tried something else. Since I saw that issues were coming from long literals, I used fn:string-length (ARQ) to figure out how long they were.
    The test case resulting in the CLOB-cast-exception is:
    - too large literal
    - only one result "line" containing this literal
    - usage of fn:string-length (which does not change the behaviour in other cases (i.e. no long literals or/and several lines).
    Anyway, you will receive the other test cases shortly.
    Thanks,
    Regards,
    Julien

  • Oracle rdf protege plugin and owl

    Does the oracle rdf plugin for protege support writing owl files into oracle rdf storage backend? I tried saving a new protege owl project, and get stack dumps (see below).
    Thanks
    In saveKnowledgeBase 1
    java.sql.SQLException: Io exception: The Network Adapter could not establish the
    connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :100)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :130)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :215)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:378)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    434)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:772)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:349)
    at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.w
    alk(Unknown Source)
    at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.
    java:177)
    at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124
    at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.ja
    va:109)
    at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unkno
    wn Source)
    at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Un
    known Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
    Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    null : : : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http://protege.stan
    ford.edu/system#owl_ontology
    java.lang.NullPointerException
    at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:403)
    at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.w
    alk(Unknown Source)
    at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.
    java:177)
    at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124
    at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.ja
    va:109)
    at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unkno
    wn Source)
    at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Un
    known Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
    Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    WARNING: java.lang.NullPointerException -- OImportExportPlugin.handleErrors()

    dlrubin
    did you ever figure out your problem? I'm having the same error.
    java.sql.SQLException: Io exception: The Network Adapter could not establish the
    connection
    Not 100% sure where my error is coming from, if its a classpath issue or something else. Just wanted to see if you came up with a solution. Thanks

  • How do you query Oracle RDF database using Java program?

    Does anyone know how to get data out of the oracle RDF database using Java?
    I'm running the following java code and it returns basically null values. My guess is that the get_triple() function returns a dataset other than resultset. I've tried searching the Oracle web site. Am I supposed to be using CLOB object? Any help would be appreciated. Thanks
    sql = "SELECT a.triple.GET_TRIPLE() AS triple FROM family_rdf_data a";
    ResultSet rs = stmt.executeQuery( sql ) ;
    while ( rs.next() )
    System.out.println( rs.getString(1) ) ;
    rs.close() ;

    get_triple() returns an object, and the code would be different from the code of retrieving a string. Some sample code for retrieving objects is at http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.html
    get_subject(), get_property() return strings so the code below should work. get_object() returns a CLOB so different handling would be required and there is some sample code at the link above.
    Melli

  • WWC-43176 when register Oracle Discussion Forum Portlet.

    Hi,
    i want to install the Oracle Discussion Forum Portlet in our Oracle iAS 10.1.2.0.0.
    My Problem is that all went fine until i want to register the Forum Portlet. I get WWC-43176 Error: The provider URL specified may be wrong or the provider is not running, but i did not belive this error message.
    Have anyone sucessfully done this on this iAS Version? When yes how did you get this to work.
    Any help will be nice.
    thanks
    Peter

    Hi Peter,
    Have you tried searching this forum for a similar issue. If i am not wrong there a lot of threads discussing the installation issues of the discussion forum portlet. I will let you know if i come across any information.
    thanks,
    Harsha

  • Oracle RDF Rules Semantics

    Hi,
    Are the semantics of the rules for Oracle RDF documented anywhere? I'm not exactly sure what I can and cannot say.
    thanks
    John

    I'm trying to create user defined rule function and bind variable in rule syntax, but i dont know how to do that in
    Oracle Db. I did that successfully when i tried in Jena and using RDF/XML File...
    For example i have such RDF/XML file like this :
    <?xml version="1.0"?>
    <rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns="http://www.owl-ontologies.com/Ontology1230795417.owl#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xml:base="http://www.owl-ontologies.com/Ontology1230795417.owl">
    <owl:Ontology rdf:about=""/>
    <owl:Class rdf:ID="Example"/>
    <owl:FunctionalProperty rdf:ID="has_factorialvalue">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
    <rdfs:domain rdf:resource="#Example"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
    </owl:FunctionalProperty>
    <owl:FunctionalProperty rdf:ID="has_value">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
    <rdfs:domain rdf:resource="#Example"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
    </owl:FunctionalProperty>
    <Example rdf:ID="Example_1">
    <has_value rdf:datatype="http://www.w3.org/2001/XMLSchema#int" >5</has_value>
    </Example>
    <Example rdf:ID="Example_2">
    <has_value rdf:datatype="http://www.w3.org/2001/XMLSchema#int">3</has_value>
    </Example>
    </rdf:RDF>
    I have one Class "Example" which has 2 datatype properties : has_value and has_factorial_value, So if I have
    an Example1 as an instance of Example which has_value is 5 then has_factorial_value must be 120.
    So the Rule is
    exampletestrule1: (?b rdf:type h:Example) (?b h:has_value ?z) myfactorial(?z,?rs) -> (?b h:has_factorialvalue ?rs)
    Here for the source code
    Now... The problem is how to implement this user defined rule in Oracle db (create our own builtin function then apply it to oracle semantic rule, in this case, myfactorial

  • Implementing Oracle RDF for existing databases.

    Hi,
    I am a newbie to RDF. I am supposed to dio a PoC for a Oracle RDF. I donot know what is RDF [i have learnt it now], OWL, SPARQL etc...I need advice from experienced people about how to start with a simple applications etc...
    Please let me know if there is any good step by step tutorials and sample code. I have searched the entire web and i couldn't get a good sample code for Oracle RDF projects.
    May i know whether there is any such projects gets implemented in Oracle RDF or is that just a area for research?
    Why do we need Jena API? Why should i opt for Oracle RDF? By what means it is going to give me a performance boost? etc.. are some unanswered questions i still have in my mind.
    Thanks much in advance for your time....
    Regards,
    Sakthi.

    Hi Sakthi,
    My name is Jorge Barba, working in Support for Semantic Technologies.
    We have a set of notes that I can share with you so you can start implementing simple ontologies, I can also present to you a 1hour and a half presentation via remote web conference of Semantics and Oracle. If you are interested please send me an email at [email protected]
    Regards!
    Jorge

  • Oracle RDF graph DB data modeling

    I am wondering how Oracle RDF graph DB modeling the attributes of the node or relationship? Suppose a node (dubject or object) is a person which has a lot of attriubtes, say age, birthdate, ssn, address, etc, it sounds to me Oracle RDF cannot assoicate attriubtes to the node and instead it just models each attribute as a node in the graph. Is it common practice to include so many attributes in the graph database?

    Hi,
    RDF (and Oracle's RDF offering) in general allows associating as many attributes as you need to nodes in the graph. You are right in saying that those attributes are
    modeled as RDF resources (nodes). This promotes sharing of resources.
    e.g. The first two triples associate the same street resource with two individuals. The third triple
    provides some descriptive information about this street resource.
    <urn:John>  <urn:livesOnStreet>  <urn:StreetXYZ>
    <urn:Mary>  <urn:livesOnStreet>  <urn:StreetXYZ>
    <urn:StreetXYZ>  rdfs:comment  "Sunset Rd. .... "
    It is usually up to an application to determine how many attributes to use. The underlying RDF graph model supports
    multiple attributes and Oracle's RDF implementation supports multiple attributes.
    It is also possible to store attributes in a separate relational table and use a SQL to join the graph query results
    with your relational data.
    Hope it helps,
    Zhe Wu

  • Oracle rdf report format

    I want a help form you . If you can, please share.
    In a oracle .rdf report, suppose data are arranged in this format, like this
    RED     5
    RED     6
    RED     10
    GREEN     15
    GREEN     2
    BLUE     10
    BLUE     5
    but now, I want the report like this format:-
    RED     5
    ''     6
    ''     10
    GREEN     15
    "     2
    BLUE     10
    "     5
    How can i do this ? I am waiting for your early reply.

    In Data Model, find the group that contains your data.
    In that group:
    1. create a formula column named for example ”CF_set_value_color”
    2. create a placeholder column named for example ”CP_show_value_color” of VARCHAR2
    Outside the group; create a stand alone placeholder named ”CP_last_value_color” of VARCHAR2
    Now, create a PL/SQL procedure for your formula column ”CF_set_value_color:
    ”color” should be replaced with the name of the column that returns RED, GREEN or BLUE..
    function CF_set_value_colorFormula return Number is
    begin
    -- First row
    if :cp_last_value_color is null then
    -- Set values for placeholders
    :cp_last_value_color := :color;
    :cp_show_value_color := :color;
    else
    -- Second row and beyond
    if :cp_last_value_color = :color then
    -- If last color is the same as the current, show "
    :cp_show_value_color := '"';
    else
    -- If last color is NOT the same as this one, show new color
    :cp_last_value_color := :color; -- Set for comparison of next row
    :cp_show_value_color := :color;
    end if;
    end if;
    return 1;
    end;
    For each row the query retrieves, the value of “CP_show_value_color” will be RED, ”, ”, GREEN, ”, BLUE, ”
    Use that column for output instead of ”color” and it should work just fine.
    Morten

  • When i run load test on oracle RDF i get the following modelname_RI busy

    Hi
    Issue:
    When running load test for 250 VU on oracle RDF getting the following error:
    modelname_RI table busy
    This happens for all methods that use inferencing.
    Inferencing used in the application is:
    graph.performInference();
    Kindly suggest wts the remedy for the issue

    database:Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    Jena:2.0
    Stack trace:
    SEVERE: rethrew: oracle.spatial.rdf.client.jena.InvalidStatusException: executeBindings: ORA-20000: We do not have a valid rules index for this Model-Rulebase combination
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 695
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 222
    ORA-06512: at line 1
    oracle.spatial.rdf.client.jena.InvalidStatusException: executeBindings: ORA-20000: We do not have a valid rules index for this Model-Rulebase combination
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 695
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 222
    ORA-06512: at line 1
         at oracle.spatial.rdf.client.jena.OracleSemQueryPlan.executeBindings(OracleSemQueryPlan.java:329)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH$StagePattern.<init>(QueryIterBlockTriplesQH.java:89)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH.nextStage(QueryIterBlockTriplesQH.java:55)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage(QueryIterRepeatApply.java:92)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:54)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterSort.sort(QueryIterSort.java:47)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterSort.<init>(QueryIterSort.java:39)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterSort.<init>(QueryIterSort.java:34)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compile(OpCompiler.java:355)
         at com.hp.hpl.jena.sparql.engine.main.CompilerDispatch.visit(CompilerDispatch.java:163)
         at com.hp.hpl.jena.sparql.algebra.op.OpOrder.visit(OpOrder.java:28)
         at com.hp.hpl.jena.sparql.engine.main.CompilerDispatch.compile(CompilerDispatch.java:33)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compileOp(OpCompiler.java:94)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compile(OpCompiler.java:361)
         at com.hp.hpl.jena.sparql.engine.main.CompilerDispatch.visit(CompilerDispatch.java:170)
         at com.hp.hpl.jena.sparql.algebra.op.OpProject.visit(OpProject.java:38)
         at com.hp.hpl.jena.sparql.engine.main.CompilerDispatch.compile(CompilerDispatch.java:33)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compileOp(OpCompiler.java:94)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compile(OpCompiler.java:72)
         at com.hp.hpl.jena.sparql.engine.main.QueryEngineMain.eval(QueryEngineMain.java:44)
         at com.hp.hpl.jena.sparql.engine.QueryEngineBase.createPlan(QueryEngineBase.java:86)
         at com.hp.hpl.jena.sparql.engine.QueryEngineBase.getPlan(QueryEngineBase.java:75)
         at com.hp.hpl.jena.sparql.engine.main.QueryEngineMain$1.create(QueryEngineMain.java:67)
         at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.getPlan(QueryExecutionBase.java:282)
         at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.startQueryIterator(QueryExecutionBase.java:259)
         at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execResultSet(QueryExecutionBase.java:264)
         at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execSelect(QueryExecutionBase.java:92)
         at my.mimos.stp.kbinterface.impl.rdbms.common.UtilCommon.doSparqlSelect(UtilCommon.java:320)
         at my.mimos.stp.kbinterface.impl.rdbms.oracle.OracleKBInterfaceDAO.processSPARQLQuery(OracleKBInterfaceDAO.java:1722)
         at my.mimos.stp.kbinterface.impl.rdbms.oracle.OracleKBInterfaceDAO.processSPARQLQuery(OracleKBInterfaceDAO.java:1613)
         at my.mimos.stp.kbinterface.impl.rdbms.common.RdbmsImpl.processSPARQLQuery(RdbmsImpl.java:245)
         at my.mimos.stp.kbinterface.webservice.KBInterfaceService.processSPARQLQuery(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
         at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
         at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
         at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
         at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:470)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
         at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Thread.java:619)
    com.hp.hpl.jena.shared.JenaException: rethrew: oracle.spatial.rdf.client.jena.InvalidStatusException: executeBindings: ORA-20000: We do not have a valid rules index for this Model-Rulebase combination
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 695
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 222
    ORA-06512: at line 1
         at oracle.spatial.rdf.client.jena.OracleSemQueryPlan.executeBindings(OracleSemQueryPlan.java:352)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH$StagePattern.<init>(QueryIterBlockTriplesQH.java:89)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH.nextStage(QueryIterBlockTriplesQH.java:55)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage(QueryIterRepeatApply.java:92)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:54)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:69)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterSort.sort(QueryIterSort.java:47)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterSort.<init>(QueryIterSort.java:39)
         at com.hp.hpl.jena.sparql.engine.iterator.QueryIterSort.<init>(QueryIterSort.java:34)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compile(OpCompiler.java:355)
         at com.hp.hpl.jena.sparql.engine.main.CompilerDispatch.visit(CompilerDispatch.java:163)
         at com.hp.hpl.jena.sparql.algebra.op.OpOrder.visit(OpOrder.java:28)
         at com.hp.hpl.jena.sparql.engine.main.CompilerDispatch.compile(CompilerDispatch.java:33)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compileOp(OpCompiler.java:94)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compile(OpCompiler.java:361)
         at com.hp.hpl.jena.sparql.engine.main.CompilerDispatch.visit(CompilerDispatch.java:170)
         at com.hp.hpl.jena.sparql.algebra.op.OpProject.visit(OpProject.java:38)
         at com.hp.hpl.jena.sparql.engine.main.CompilerDispatch.compile(CompilerDispatch.java:33)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compileOp(OpCompiler.java:94)
         at com.hp.hpl.jena.sparql.engine.main.OpCompiler.compile(OpCompiler.java:72)
         at com.hp.hpl.jena.sparql.engine.main.QueryEngineMain.eval(QueryEngineMain.java:44)
         at com.hp.hpl.jena.sparql.engine.QueryEngineBase.createPlan(QueryEngineBase.java:86)
         at com.hp.hpl.jena.sparql.engine.QueryEngineBase.getPlan(QueryEngineBase.java:75)
         at com.hp.hpl.jena.sparql.engine.main.QueryEngineMain$1.create(QueryEngineMain.java:67)
         at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.getPlan(QueryExecutionBase.java:282)
         at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.startQueryIterator(QueryExecutionBase.java:259)
         at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execResultSet(QueryExecutionBase.java:264)
         at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execSelect(QueryExecutionBase.java:92)
         at my.mimos.stp.kbinterface.impl.rdbms.common.UtilCommon.doSparqlSelect(UtilCommon.java:320)
         at my.mimos.stp.kbinterface.impl.rdbms.oracle.OracleKBInterfaceDAO.processSPARQLQuery(OracleKBInterfaceDAO.java:1722)
         at my.mimos.stp.kbinterface.impl.rdbms.oracle.OracleKBInterfaceDAO.processSPARQLQuery(OracleKBInterfaceDAO.java:1613)
         at my.mimos.stp.kbinterface.impl.rdbms.common.RdbmsImpl.processSPARQLQuery(RdbmsImpl.java:245)
         at my.mimos.stp.kbinterface.webservice.KBInterfaceService.processSPARQLQuery(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
         at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
         at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
         at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
         at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:470)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
         at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.spatial.rdf.client.jena.InvalidStatusException: executeBindings: ORA-20000: We do not have a valid rules index for this Model-Rulebase combination
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 695
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 222
    ORA-06512: at line 1
         at oracle.spatial.rdf.client.jena.OracleSemQueryPlan.executeBindings(OracleSemQueryPlan.java:329)
         ... 65 more

  • Oracle PDK Java Portlet

    Hello,
    I am using jDeveloper 9.0.4 and currently have a stand-alone server. I create a new project, then create a Portlet using the Item Oracle PDK Java Portlet. The project is generated, however when I try to run the jsp to see the output, I receive a null pointer error.
    There is a line that says:
    PortletRenderRequest pReq = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String name = pReq.getUser().getName();
    If I comment out these two lines I am able to view the jsp file. However, if I leave this as is and upload to the Oracle 10g Application Server, register the portlet, I am able to add this portlet to my pagegroup and it will show the username you are currently logged in as.
    My question is how can I set up my jDeveloper so I can run this jsp without having to upload and register the portlet?
    Thank you

    Hello Kevin
    However, if they enter a wrong password or username, will it bring up the screen indicating the wrong credentials were entered and the user needs to try again?
    tug: To alert portal that the cedentials are wrong you have to raise an AuthenticationException that will show the "login message" in the portlet.
    I am trying to figure out if this tutorial makes a url based external application or if this is a web based.
    tug: in my example I am using the SSO External Application just to send the credential information to the portlet and the login mechanism is fully programmatic. (it is not related to URL based portlet.
    Also, once you have created the java class, SQLProviderInstance were do you put it on the server?
    tug: in my case I am creating a portlet from scratch, so it is a J2EE application deploys using WAR/EAR file.
    The application I am trying to do this for is a web based authentication that has a username/password field, but also 5 hidden fields. I have sucessfully configured the application with external application, but I am having problems when I am trying to use a url based portlet.
    tug: Please explain step by step how you have done the portlet. Also I will invite you to using the Web Clipping portlet instead of URL Portlet since it is browser based, easy to use and support also SSO External Application
    Regards
    Tugdual

  • Oracle Forms and Oracle Reports as portlets

    Please, where can I get the documentation to publish Oracle Forms and Oracle Reports as portlets. I found some information about it in metalink but the URLs are invalid.

    Hi,
    Here are the steps you need to follow while building Portlets .
    1) After creating a Application,in the last step click on the Checkbox 'EXPOSE AS PROVIDER'.
    If the application has already been created ,click on the same checkbox in the grant access section.
    2) When creating a component within the application ,select the checkbox 'PUBLISH TO PORTAL'.
    Incase ,you have already created the component then just click on the same option in the grant access section.
    Now when you want to add these portlets to be part of a page .Just select the provider(Application) and the portlets under it.
    Hope this helps.
    Anu

  • Portlet unavailab: oracle.adf.model.portlet.binding.PortletBindingException

    I've created a webcenter page with a omni portlet on it. Configuring this portlet for the first time is OK. However customizing this same portlet later on will always give me the portlet unavailable error, together with this stacktrace.
    SEVERE: oracle.adf.model.portlet.binding.PortletBindingException: Portletmodus 5 kan niet worden ingesteld voor portletbinding OmniPortlet1_1., Please check the privileges before executing this operation
    at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.process(ADFPortletServlet.java:473)
    at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.process(ADFPortletServlet.java:343)
    at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.doGet(ADFPortletServlet.java:315)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    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:595)
    My OS is Windows XP SP2.
    Help needs.
    Thanks.

    Hi,
    Thanks for the quick reply.
    - is your portlet container running? -- YES
    - do you run your consuming application from JDev? If so, is the proxy setting turned off, or having your localhost and IP as an exception? -- Im consuming it from jdev only and proxy is turned off.
    - if running as a deployed application, is there a firewall between consumer and provider? - It is delployed in my machine only.
    My application is Event Based Calendar, i have 2 dropdowns to select the month, & year also a button. when i click on the button i'm getting the following response in the browser
    "Unable to process portlet action for portlet binding Event4_1"

Maybe you are looking for