Is provider.xml mandatory?

Hi there,
I'm looking through some source code developed elsewhere and it doesn't seem to have a provider.xml file included with the source code.
Unfortunately, I don't have access to the app. server to see where this code has been deployed.
My question is, can a j2ee application run as a portlet within an Oracle Portal Release 1 environment (on an oc4j instance) without a provider.xml file? My guess is no, but I want to confirm that.
Thanks,
Aidan

Aidan,
Theoretically it's possible, but very unlikely. (The PDK allows you to create a new ProviderLoader class and use that instead of the DefaultProviderLoader.)
Peter

Similar Messages

  • How can i add more than one portlet description in my provider.xml

    I already tested MyFirstPortlet developed using JPDK and is working fine.I add one more portlet description in the same provider.xml. But the new portlet is not getting displayed under the provider when i try to add it in my page.
    null

    Abdulla,
    I just want to verify that I understand your question. You successfully created "MyFirstPortlet" using the JPDK, now you are trying to add a second portlet using the provider.xml file and it does not show up in the Add Portlets Screen when trying to add the new portlet to a page.
    This could be one of many different problems.
    1) Make sure that you added it to the provider.xml file correctly. You should have two portlets within one provider within the file. For example (note only displaying tags, content missing):
    <provider class="oracle.portal.provider.v1.http.DefaultProvider" session="true">
    <portlet class="oracle.portal.provider.v1.http.DefaultPortlet" version="1" >
    <id>1</id>
    </porltet>
    <portlet class="oracle.portal.provider.v1.http.DefaultPortlet" version="1" >
    <id>2</id>
    </porltet>
    </provider>
    Notice above that i have two portlet open/close tags within a single provider.
    2) Make sure that the location of this file is the one listed in zone.properties.
    3) Make sure you stop and restart your listener to accept the changes of the provider.xml file.
    4) Login to Portal as an Administrator and go to the Administration page of Portal. Click on Administer, then click on "Display Portlet Repository". Click on Refresh at the top right of the page to retrieve the changes to the provider.xml file. Scroll down to the myfirstprovider and you should now see the new portlet you added.
    Hope this helps,
    Sue

  • Title and header in provider.xml

    Hi
    We changed the portlet title and portlet name in provider.xml file. After the portlet repository has been refreshed we could see the changes in the repository. But on the pages where the portlets already exists it does not show the change. If we reate a new instance of the portlet to a page, the new
    name is reflected.Restarting the apache( and jserv) did not make any difference. Any more changes or refresh we need to carry out?.
    In case it helps
    There are 2 tables called WWPOB_PORTLET_INSTANCE$, WWPOB_PORTLET_INSTANCE_FLAT$. Each of these tables has a name column that does not
    appear to reflect the new name of the portlet for the records that existed before the provider.xml changed.
    Thanks
    Raja V
    null

    When existing instances of a portlet are rendered, the title is taken from the stored customization for that instance, not from the portal. The title you specify in the provider.xml is an initial value that can be overridden

  • I want to assign values to input parameters in provider.xml

    The following is cut from the provider.xml file for the exchange inbox portlet:
    <inputParameter class="oracle.portal.provider.v1.URLPortletParameter">
    <name>Mailbox</name>
    <isMandatory>true</isMandatory>
    <displayName>Mailbox alias:</displayName>
    </inputParameter>
    The value that is expected from our Exchange server equals the user's username in Portal so I'd like this value to be assigned programatically instead of making the user key this in once more. Is there a way of doing this in the provider.xml file?

    Hi Henning,
    You can do this in Oracle9iAS Portal 3.0.9 by the following:
    1. Extend the oracle.portal.provider.v2.render.RenderManager class with your_class.
    2. Override the getPageUrlFromRequest(PortletRenderRequest pr, int debugLevel) method in you renderer class. In the overridden method, modify the pageUrl value to replace the value of a parameter named "Mailbox" in the with the value returned by the newValue = pr.getUser().getName().
    Do something like this:
    String pageUrl = pr.getQualifiedParameter(UrlServicesUtils.PAGE_URL);
    //In this string find the value of the parameter "Mailbox" and then replace it with the value of pr.getUser().getName().
    3. Now modify the provider.xml by replacing the showPage class to your_class, something like:
    <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
    to
    <showPage class="your_package.your_class.class">
    4. Place your your_class.class file in your_oc4j_home\j2ee\home\applications\jpdk\jpdk\WEB-INF\classes directory.
    Thanks,
    Geeta

  • Manual Changes in Provider.XML

    Hi Experts,
      Mine is a File to XI to JDBC[SQL SERVER]  scenerio. Certain JAR files were missing in the JDBC application, so I had to follow the PDF file: How To Installand Configure ExternalDrivers for the JDBC & JMS Adapters  which instructed me to download the msbase.jar, mssqlserver.jar, msutil.jar [ from MS SQL  VENDOR ] as well as the  aii_af_jmsproviderlib.sda from the path
    /usr/sap/<SID>/DVEBMGS<SYSNO>/SDM/root/origin/
    sap.com/com.sap.aii.af.jmsproviderlib/SAP AG/3.0.0220040608173429.0000/aii_af_jmsproviderlib .sda  and unzipped and put the .JAR files in them ,and put the jar files name in provider.XML file and again zipped and converted it to a .SDA folder.
       Now my query is the PDF is asking to DEPLOY it using SDM, but I wish to know, prior to that, will I replace the .com/com.sap.aii.af.jmsproviderlib.SDA in  the path   /usr/sap/<SID>/DVEBMGS<SYSNO>/SDM/root/origin/
    sap.com/com.sap.aii.af.jmsproviderlib/SAP AG/3.0.0220040608173429.0000/aii_af_jmsproviderlib .sda  , with the newly modified aii_af_jmsproviderlib .sda carrying the JAR files and the updated provider.XML file??
    Regards,
    Arnab .
    Modertors, can u comment , is this the right forum to ask this question?
    Edited by: Arnab Mondal on Dec 17, 2008 7:37 AM

    You have to deploy the required JDBC drivers for the database before making connection. Ask the database provider or your vendor for the divers. That should be deployed using SDM tool
    Start visual admin of XI and select service "Deploy" and then select option "Deploy and start" to select file and deploy it
    now here is the steps to deploy this module.
    How to deploy adapter module in production
    Three option available:
    1. Using SDM
    2. Using Visual Admin
    3. Using NW development studio (Not available for Production)
    We will use Visual Admin u201CDeployu201D deploy service to deploy EAR file of adapter module.
    Steps:
    1. Goto VM->Deploy service
    2. Select option u201CDeploy and startu201D
    3. Select EAR file provided for deployment
    4. Restart the service.
    5. Done

  • Diff. btw. Region edit controls and provider.xml controls on rendering portlet UI

    hi,
    Apologize if this has been asked already.
    What are the differences if any between -
    - controlling the display of portlet header/border in the provider.xml file (containerRenderer set to false)
    V/S
    - controlling in the page edit mode (edit defaults) and uncheck the "display banners/borders" for the portlets at the region level.
    Appreciate it if anyone can explain any subtle differnces if they exist, or if they complement/overide each other. I am planning to set the containerRenderer to false to show them programmatically.
    regards
    -Ananth

    I'm using VS 2013 Coded UI Test Builder trying to add some new recorded elements to an existing window. The top level window that the coded ui test builder generated had to be modified since the title changes depending on the contents in a form. I've tried
    different ways to identify it but the simplest that seems to work looks like this (basically eliminated the name and just search for the winform name):
    public class UICustomerWindow: WinWindow
    public UICustomerWindow()
    #region Search Criteria
    this.SearchProperties[WinWindow.PropertyNames.ControlName] = "frmCustomerMaintenance";
    #endregion
    Like I said, this works in all the tests automated already and the coded ui test builder can find it if I click the refresh button. The problem occurs when I try to add any new element or exiting element. The UI builder likes to ignore all the previous recordings
    for that UI map and add a completely new top level window and elements in that window:
    public class UIViewEditCustomerDURGWindow : WinWindow
    public UIViewEditCustomerDURGWindow()
    #region Search Criteria
    this.SearchProperties[WinWindow.PropertyNames.Name] = "View/Edit Customer DURGAN, KENYON";
    this.SearchProperties.Add(new PropertyExpression(WinWindow.PropertyNames.ClassName, "WindowsForms10.Window", PropertyExpressionOperator.Contains));
    this.WindowTitles.Add("View/Edit Customer DURGAN, KENYON");
    #endregion
    Is there something I'm missing or this just a limitation of the Coded UI Test Builder? BTW, if more info is needed, let me know and I can probably provide it since its all dummy data.

  • Problem: J2EE Server Component Library's provider.xml error message

    Hello,
    I open the provider.xml fle. Then I click on the Jars tab and I get an error  message:
    The source page has errrors.  Other pages cannot be used until these errors are
    corrected.
    How can I correct the error(s) so that when I click on the Jars tab it will allow me add jar files?
    provider.xml content:
    ======================
    <?xml version="1.0" encoding="utf-8"?>
    <provider-descriptor>
      <display-name>Store jar files that need to be used at runtime</display-name>
      <component-name>global/lmco/runtime/j2ee/libs</component-name>
      <description/>
      <major-version>6</major-version>
      <minor-version>40</minor-version>
      <micro-version>0</micro-version>
      <provider-name>lmco.com</provider-name>
      <jars>
        <jar-name>
            commons-dbutils-1.0.jar
        </jar-name>
      </jars>
    </provider-descriptor>

    I have one provider.xml which has the dtd in it
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
      <display-name>abclib</display-name>
      <component-name>abcLib</component-name>
      <description>
      </description>
      <major-version>6</major-version>
      <minor-version>1</minor-version>
      <micro-version>0</micro-version>
      <provider-name>com.company</provider-name>
      <group-name>
      </group-name>
      <references>
         <reference reference-type="hard">
         <reference-target provider-name="com.company" target-  type="library">xyzLib</reference-target>
    </reference>
    </references>
      <jars>
        <jar-name>aspectjrt.jar</jar-name>
        <jar-name>axiom-api-1.2.5.jar</jar-name>
        <jar-name>axiom-impl-1.2.5.jar</jar-name>
        <jar-name>nux.jar</jar-name>
        <jar-name>stax.jar</jar-name>
        <jar-name>xom.jar</jar-name>
      </jars>
    </provider-descriptor>
    check for the DOCTYPE declaration
    Regards
    Fariha

  • JPDK 1.4 provider.xml upgrade

    I downloaded JPDK 1.4 and read the release notes. It said that to upgrade your provider.xml files manually, you should run a long command that referenced the following file: <pdk_home>/pdk/jpdk/src/oracle/portal/provider/v1/http/resource/upgrade_v1_to_v2.xsl
    Unfortunately, that upgrade_v1_to_v2.xsl file seems to be missing from the jdpk14.zip file. Where can I get the upgrade_v1_to_v2.xsl file from?

    OK - it looks like the file was not included in the source for some reason. I'll make sure that is fixed in the next release.
    For now, you can get a copy of the XSL from the provider.jar file.
    make a copy of provider.jar
    Open your copy of provider.jar in WinZip, locate the file and extract it from the jar file.
    You can now use the command included in the release notes.
    Chris

  • HTML portlet provider.xml

    Hi,
    can anyone tell me where is located the HTML portlet provider.xml file??
    Thanks

    AMN wrote:
    email81107 wrote:
    AMN wrote:
    email81107 wrote:
    That's right. You should login as portal.
    1. on Builder Page/ Administer tab, here you should be seeing page arranged into three columns. The central column will have three portlets and the top one should be this. This is the default arrangement. if you do not see it, then portal permissions seems to have been modified or the portlet has been removed from the page.
    2. The other way I told you is the alternate method to reach the same tool going directly through SSO server page.
    3. There is another way to get this: by adding this portlet into this page. For that, edit the page, and click the icon for add portlets in the top central columnar region. Now search for 'SSO Server Administration' in the search box. If the privileges are not modified, then you should be able to see it. Include it in that page.
    thanks,
    AMN
    none of this worked!
    I think it works that's how you get (NOT got) access to the Add External Application tool. It was all meant to give you access to the tool.
    However, the tool couldnt do what you wanted to.
    you may want to check permissions for portal which seem messed up. you should be able to login to SSO server page using portal. You seem to have no privilege for it. It did not work for portal but worked for ORCLADMIN. That is why you cannot see the portlet on the builder/administer page too.
    regards,
    AMNTHIS IS INCORRECT.
    no portlet was added or modified. I was able to get to my 'SSO Server Administration' by way of http://<server>.<domain>:7777/pls/orasso/orasso.home and logged in as ORCLADMIN.
    It's not to claim a credit; it is to describe a valid method. I do not wish to waste time on personal claims or disclaims.
    If you haven't read my message completely then you may be right.
    I wish you good luck in finding a solution.
    AMNthen you dont know how to incorporate this product into portal?
    who does know?

  • Providing XML Editing functionality in JDeveloper Application

    Hi Members,
    Can anyone help me.
    I’m developing a JDeveloper application and need to provide some means of editing XML files within my application UI.
    Is it possible to integrate the XML editor that is used in the JDeveloper IDE as a UI component?, That would be an ideal solution.
    Alternately if anyone could recommend a good alternative solution, I’d be grateful.
    Many Thanks
    Gary
    Edited by: su**** on 22-Jul-2011 07:52
    Edited by: su**** on 22-Jul-2011 07:53

    XAmple XML viewer/editor Swing components may be used as a Swing component in a GUI application.
    http://www.java2s.com/Product/Java/XML/XML-Editor.htm
    Edited by: dvohra16 on Jul 23, 2011 1:29 PM
    Edited by: dvohra16 on Jul 23, 2011 1:32 PM

  • Provide XML or json format API

    I love Curah!, it's simple and clean service. Wouldn't it be great if it serve curated contents with json or xml format? I want to display my contents via my Windows Store App.

    Can you tell us a little more about how you would use a Curah! API?  Is the goal to display your own curations in a Windows Store App?  If so, would a curator-specific RSS feed meet your needs?  Or are you interested in other use cases too?
    Sorry for the late reply.
    It would be great to have REST interface not only fetching list of articles but also submitting new items. I'm building statistics learning app, so if Curah provides REST interface, I can mix and personalize contents list with
    YouTube video link, Wikipedia articles, etc in order to share to my colleagues.

  • Example provider- XML Portlet

    I'm trying to do something like the XML portlet that is an example in portal, but I can't find any doc on this.
    Can anyone help me?
    I've tried with the XML Component from Portal Apps, but it has a bug and we can't continue by that way (we're waiting for a patch, but this is really urgent for us)
    Thanks in advance

    Try using URLServices for XML portlets, details to installation and samples are available at http://portalstudio.oracle.com/servlet/page?_pageid=477&_dad=ops&_schema=OPSTUDIO&_mode=3&_ref=20010403190457

  • Provide XML interface from Cloud for Customer

    Hi,
    We have a following integration scenario with an external application. This will application will need to call an URL from C4C which returns a stream of XML which the application can process. We can't see anyway of doing this. Any help would be much appreciated.
    Regards
    Jie

    Hello Jie,
    Did you have a look at the WebServices?
    HTH,
       Horst

  • Hi to all... What is a  XML data provider,stored Procedure, personal data

    Hi to all... What is a  XML data provider,stored Procedure, personal data providers in deski.  when we use these data provider in desk top intelligence.. and use of it.
    Please give detail description of the above...
    Thanks for reply..........

    Hi,
    We can create Desktop Intelligence reports using XML Data Provider, Personal Data Files and Stored Procedure.
    Following is some detailed information about these three.
    Xml data provider:
    Xml data provider is used for the integration of external data sources stored in XML format.
    This is similar to HTML.
    Stored Procedure:
    A stored procedure is a set of SQL commands that has been compiled and stored on the database server.
    Once the stored procedure has been "stored", client applications can execute the stored procedure over and over again without sending it to the database server again and without compiling it again.
    Stored procedures improve performance by reducing network traffic and CPU load.
    Personal data files:
    u2022     *.prn files
         A PRN file is a special type of file which contains instructions for a printer, it tells the printer what to print on the page and where as well as which paper tray to use, what the paper size is and a number of other controls.
    u2022     *.asc files
          Between the values of a row any number of carriage returns  or blanks are allowed. In any case it is strongly recommended that the data table be stored in such a way that it can be read and edited easily.
           The values may be stored in any format (integer, floating point, exponential notation) and they must be separated at least by one blank. The class information must be of integer type, the row identifiers are interpreted as strings. The lines can have any length and must not contain any comment.
    u2022     *.csv files
    A CSV file is a specially formatted plain text file which stores spreadsheet or basic database-style information in a very simple format, with one record on each line, and each field within that record separated by a comma.
    Regards,
    Pradnya Kokil

  • XMLType toobject return invalid number while providing the XML Schema/DTD

    We are exploring an option of converting XML into an oracle object and found toobject procedure that does the job. It works fine without XML Schema and provides XML data as oracle object. But it takes more time in parsing the XML since it uses canonical mapping. I hope by providing XML Schema we can improve the performance of this procedure. However when we use toobject with XML Schema it reports error as INVALID NUMBER irrespective of the input XML changes. Could anyone help me in this regard?

    Sorry
    The option of using toObect() to get an instance of the object that was creaed by regidsteing an XML Schema with the database, or which is associated with an XML Schema that has been registered with the database is depricated and will be removed in the next release. The main reason for this is that we reserve the right to change the structure, naming conventions or any other aspects of the object model we dervie from an XML schema, even as a result of a one-off patch, and consequently any code that was written to rely on this mapping would be broken on a regular basis.
    We do gurantee that code that uses the XML abstraction (eg XPATH/XQUERY) to access the content of the XML will work unchanged...
    In you case you have 2 options...
    1. Use the canonical mapping mechansim
    2. Write code that instantiates the objects from the outpiut of an XMLTable...
    -M

Maybe you are looking for

  • Looking for VCDX Mentor

    Hello All, Me and a college are currently working on our VCDX design and have been looking for a VCDX mentor.  We have tried the VCDX mentor list with mixed results but haven't managed to find a Mentor as of yet. If anyone in the group is reading thi

  • IPhone display is all back to front I need a mirror to read all writing and numbers

    Sometimes it's normal but most of the day it's all in reverse the keyboard is backwards as we'll to press the letterA I have to press the letter L.

  • How to create Bridge connecting distributed Topic to queue

    Hi, I am trying to create a bridge which connects distributed topic with JMS queue. Both the topic and queue are in the same domain. But it is not getting connected. Status is failed. Below is the configuration - <messaging-bridge> <name>DisTopicBrid

  • :( I Just can't get this code to work (Help plzzzz)

    I was assigned a final exam project, but most of the stuff we never actually saw in class, so I just have to figure it out for myself. The part I'm stucked in (among other stuff) is: room = new JLabel[4]; selec = new JRadioButton[4]; roomg= new Butto

  • My macbook (2010) won't turn on and won't charge

    It died recently and when I tried to charge it again there was no light that showed. I thought it was the charger so I bought a new one but that changed nothing. It's useless as of now: won't charge and won't turn on.  PLEASE help