PDK for OC4J

Hi All,
I want to integrate application developed running on OC4J with oracle portal as partner application.
I would like to know if there are api PDK java V2 version available for download.
If yes then where is the link and which version oracle portal it supports .
Can you mention the documentation link for same
Thanx
Cleophus P

This was answered in the following thread:
Re: Network Access using Forms 6i and  9iAS
Sue

Similar Messages

  • Reading files from KM using PDK for Java

    Hi Experts,
    I am developing an application in PDK for Java.This application will read the latest files in the KM folder.
    There are 100s of files in 100 of folders in KM. So I want to display the latest files that are from the KM folder. For eg., need to display the last 6 files that are created.
    Please let me know,how to do this, because, if we search in all the files,then it will take some time, so I want to reduce this time.
    How can be this done.
    Awaiting for your replies.
    Thanks & Regards,
    Palani

    your Km folder can be sorted based on the 'Creation date' in descendgin order.
    Then you will get all the latest documents in the top of your folder.
    You can do this in the Collectione renderer of your layoutset used.
    There in the sorting mode you can give cm_created
    Raghu

  • Integrating PDK with OC4J

    Hi friends,
    I am using PDK with OC4J(9.0.0.2.0)
    I created a provider.xml, created a provider using Oracle Portal, created a page which contais this provider created, but when I run this page some error messages are being displayed:
    Exception:
    oracle.jsp.parse.JspParseException: Line Number : 1,
    Error: oracle.xml.parser.v2.XMLParseException: Invalid element 'servlet' in content of 'web-app', expected elements '[servlet-mapping, session-config, mime-mapping, welcome-file-list, error-page, taglib, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref]'.
    at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:79)
    at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:124)
    at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:672)
    at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:200)
    at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:548)
    at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:160)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:40)
    at oracle.jsp.app.JspAppLoader.translatePage(JspAppLoader.java:1667)
    at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java:1297)
    at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java:1141)
    at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java:797)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:368)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:265)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:184)
    at oracle.jsp.JspServlet.service(JspServlet.java:154)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:108)
    at oracle.portal.provider.v2.render.http.ResourceRenderer.renderBody(Unknown Source)
    at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
    at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    What I must do to solve this problem?
    Thanks.

    hi
    can you please tell me how did you solve that problem.I am having the same problem.Not able to find the solution.
    oracle.jsp.parse.JspParseException: Line # 10,
    Error: Attribute: releasemode is not a valid attribute name
         at oracle.jsp.parse.OpenJspTagHandler.processAttributeValue(OpenJspTagHandler.java, Compiled Code)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java, Compiled Code)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:467)
         at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java, Compiled Code)
         at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java, Compiled Code)
         at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:40)
         at oracle.jsp.app.JspAppLoader.translatePage(JspAppLoader.java:1513)
         at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java:1146)
         at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java:1005)
         at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java:671)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:343)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.portal.provider.v1.http.JspRenderer.renderBody(JspRenderer.java:133)
         at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:165)
         at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(ServletProviderResponse.java:524)
         at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.java:660)
         at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java:390)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:435)
         at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
         at java.lang.Thread.run(Thread.java, Compiled Code
    Thanks
    ashwini

  • JSP Primer for OC4J

    1) Has the tag libraries and references been published yet
    as per the qustion on this ref:
    http://forums.oracle.com/forums/message.jsp?id=502762
    2) You have a major problem with your samples in the JSP
    Primer for OC4J. Reference pg 1-15 sqltagquery.jsp is
    non functional. I will assume the output of this is
    displayed on page 1-18. ref:
    http://web06-02.us.oracle.com/tech/java/oc4j/pdf/jspPrV1.pdf
    Error I found.
    a) how can it even output when there where no
    methods to query the result and print them? All this
    has is dbQuery and dbClose tags.
    b) I get an exception error, missing catch on line
    143 __ej2e(i didnt get to right the spelling correctly
    as i was doing my test last night). The
    sqptagquery.jsp is only 17 lines and referring to line
    143? I assume its on one of the libraries mentioned
    to be put under j2ee/home/lib.
    3)Further question,
    Which version of OJSP is assumed on this sample?
    I choosed the osjp_11320.zip.
    --ap

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Steve Button ([email protected]):
    gday Barry -
    I'll check into this for you. The various doc pieces we have for OC4J are all in the process of being being created and we're pushing completed pieces out whenever they are ready.
    This might be one of those situation where we've 'forward declared' the docs you mentioned but they're not completed yet.
    I'll post back here when I get an answer for you.
    cheers!
    -steve-<HR></BLOCKQUOTE>
    Barry,
    The docs you mentioned are in the final phase of review. They wiil be posted soon. thanks
    -Prasad

  • JAXB 2.0 Support for OC4J 10.1.3.3

    http://java2go.blogspot.com/2008/01/jaxb-10-vs-20-in-jdeveloper-10g.html
    This blog entry talks about how to get JAXB 2.0 in JDeveloper 10g. I want to know whether JAXB 2.0 is supported or not for OC4J 10.1.3.3, before i start using it in JDeveloper.
    Chandresh.

    Has anyone ever tried using spring web services with oc4j? I tried using JAXB 2.0. But it gives lot of errors while deploying the example.
    Operation failed with error: Error creating bean with name 'messageReceiver' defined in class path resource [org/springframework/ws/samples/airline/ws/applicationContext-ws.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.ws.server.endpoint.adapter.GenericMarshallingMethodEndpointAdapter#0': Cannot resolve reference to bean 'marshaller' while setting bean property 'marshaller'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'marshaller': Invocation of init method failed; nested exception is org.springframework.oxm.jaxb.JaxbSystemException: Provider com.sun.xml.bind.ContextFactory_1_0_1 not found; nested exception is javax.xml.bind.JAXBException: Provider com.sun.xml.bind.ContextFactory_1_0_1 not found - with linked exception: [oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: com.sun.xml.bind.ContextFactory_1_0_1 Dependent class: javax.xml.bind.ContextFinder Loader: oracle.xml:10.1.0_2 Code-Source: /C:/oc4j/lib/xml.jar Configuration: (ignore manifest Class-Path) in META-INF/boot.xml in C:\oc4j\j2ee\home\oc4j.jar This load was initiated at airline.web.airline:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system.]

  • Specifying system properties/security manager for OC4J

    I have a couple of related questions regarding OC4J/orion.jar:
    1. Generically, how can we specify system properties to orion.jar? Being an executable JAR, simply using -D does not work.
    2. Specifically, I need to launch the OC4J app server with a Java security manager (with associated security policies, etc.) Java's way of doing this is via -Djava.security.manager=... but this does not work with executable JARs it seems. I tried specifying these parameters via -D and I got a security exception:
    Exception in thread "main" java.security.AccessControlException: access denied (java.util.PropertyP
    rmission java.protocol.handler.pkgs write)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.System.setProperty(Unknown Source)
    at com.evermind.server.ApplicationServer.initProtocolHandlers(ApplicationServer.java:652)
    at com.evermind.server.ApplicationServer.launchCommandline(ApplicationServer.java:319)
    at com.evermind.server.ApplicationServer.main(ApplicationServer.java:314)
    So, how do I install the Java security manager with orion.jar? Is there any other way to specify system properties to this, or is there any other way to install the Java security manager for OC4J?
    Any help much appreciated.
    ..Hrishi

    Thanks, that seemed to work. However it seems that spawned another little problem. I was using the -Xbootclasspath/a option while firing up orion.jar because I needed to append something to OC4J's default classpath (that is specified in orion.jar's Manifest). Now, when I start OC4J with the -D options for the security policy, it seems to ignore the -Xbootclasspath argument. I have not yet been able to confirm this fact, but based on the ClassNotFoundError I'm running into, that does seem to be the problem.
    So I guess my question is, could specifying the -D options to the executable JAR cause it to ignore any other options you may be passing to it (such as -Xbootclasspath)? Is there any sequence in which these args need to be passed?
    Thanks.
    ..Hrishi
    Hi,
    You can try this :
    - Check if you have a file java2.policy in <OC4J_HOME>\config\policy and check if the permission java.util.PropertyPermission "read,write" is granted to <OC4J_HOME>.
    if there is no file, you can create one based on <JAVA_HOME>\lib\security\java.policy and grant the approriate privileges.
    - Launch OC4J :
    java -Djava.security.manager -Djava.security.policy=<OC4J_HOME>/config/java2.policy -jar orion.jar
    OR java -Djava.security.manager -Djava.security.policy=<PATH_TO_FILE_POLICY>/<YOUR_FILE>.policy -jar orion.jar
    Maher

  • Where to get PDK for EP 7.0 (2004s)?

    where do I download the PDK for EP 7.0 (2004s) SP13?
    References in older threads to
    https://www.sdn.sap.com/sdn/downloadarea.sdn
    https://www.sdn.sap.com/irj/sdn/downloads
    or
    https://www.sdn.sap.com/sdn/downloaditem.sdn?res=/html/PDK60patch_download.htm
    do not seem to be current.

    Hi Douglas,
    Sorry to bring your this news but from Portal Development News:
    Developing for SAP NetWeaver Portal
    Portal Development Kit
    With the delivery of SAP NetWeaver 7.0 SP13, the PDK Development samples are no longer supported.  Please see the [Portal Developer's Guide|http://help.sap.com/saphelp_nw70/helpdata/en/19/4554426dd13555e10000000a1550b0/frameset.htm] for more informatioon.
    Alternative, checkout the above post on alternate solution and the use of API as well.
    Hope that helps and award points for helpful suggestions.
    Ray

  • 'Profile' Example on PDK for EP 7.0

    Hi there,
    <u><b>Situation 1</b></u>
    I am trying out an example in the PDK for EP 7.0. The Example is under
    Portal Development Kit-> Portal Runtime -> Portal Components -> Portal Profile Examples ->Example 1
    I build the portal application as follows, all the codes that were given, i did not change anything in there. I deployed into the EP and build the iViews it was successful but when i tried to preview the iView
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object(s): com.sap.portal.system/security/sap.com/UndefinedSecurityArea/no_safety/Example12/components/ExampleLayer).
    Exception id: 01:27_24/04/07_0236_19610550
    See the details for the exception ID in the log file</b>
    have anyone tried the examples online and encountered this error??
    <u><b>Situation 2</b></u>
    I have build the Profile example as usual, but i did not copy the portalapp.xml into my codes. The portalapp.xml was generated by itself as i continued to build the Profile.jsp, profile.java etc etc.
    but i hit this error
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Error occurs during the rendering of jsp component.
    Exception id: 01:14_24/04/07_0232_19610550
    See the details for the exception ID in the log file</b>
    i have check the log file. There have been error like
    Missing package bean in my project.
    and
    Check the imports and correct them to show to where your ProfileBean class exists.
    have anyone have this prob ??
    thanks

    Hi,
    I have never worked with the examples but I can tell you how to solve your problem in situation 1. The portal user you use to preview the iView does not have sufficient permissions for the security zone to which the iView belongs.
    To set the permissions follow the instructions below:
    1) Log into portal with system administration rights
    2) Navigate to => "System Administration" => "Permissions" => "Portal Permissions"
    3) Open folder "SecurityZones/com.sap/UndefinedSecurityArea/no_safety/Example12/components"
    4) Right-click object "ExampleLayer" and choose "Open Permissions" from context menu
    5) Set permissions for your user
    6) Save changes with click on "Save" button
    Best regards,
    Martin

  • PDK for EP 7.0

    Hi all,
    We installed EP 7.0 successfully. But we couldn't find the PDK for EP 7.0 anywhere. The links which were mentioned in other threads are not working. I couldn't find any info regarding PDK download.
    Any inputs on the path to download PDK for EP 7.0.
    Any help will be rewarded.
    Thanks in advance.
    Regards,
    Yoga

    HI,
    Please check out this link -
    Version of pdk for EP 7.0.4  in SAP NetWeaver 2004s
    Regards
    Lekha

  • Installing BPEL PM 10.1.2.0.2 for OC4J Developers on AIX

    Hi
    I'm trying to install BPEL PM 10.1.2.0.2 for OC4J Developers on AIX. I downloaded the as_aix5l_power_bpel_101202.cpio and ran the "./runInstaller" from the "bpel_oc4j" directory. As per the installation instructions(it did not specifically have instructions for AIX, only Windows and Unix), i should get a screen in which i can choose the Type of Installation as "BPEL Process Manager for Developers", but this option never showed up, instead after accepting the path this dialog came up.,
    Error :
    BPEL Process Manager for OracleAS Middle Tier will run on top of a supported Oracle Application Server 10.1.2 j2ee and Web Cache orPortal and Wireless instance. This location does not contain this instance. Please refer to the installation Guide for supported versions.Please select a new Oracle Home that contains a supported instance.
    Has anyone installed the Developer's version of the BPEL PM on AIX?
    Or is the download available is actually only for Middletier?
    Alll help is appreciated.
    Thanks
    Sam

    I also have a customer who is running BPEL on AIX / WAS 4.0. He has reported some issues while running some specific Java codes (JDK 1.5). Has anyone faced any issues with BPEL deployed on WAS having issues due to compatibility?
    Any help is appreciated.

  • Problem with table paging [PDK for NET]

    Hi All,
    I have a problem with table paging in PDK for .NET (ver 2).
    The Table has 14 visible rows.
    The lead selection is set to "SINGLE"
    When the user selects a row I can use
    Table1.SelectedKeys(0) Mod Table1.VisibleRowCount
    in order to get the info of the selected row.
    If I will page using the "Prev/Next" page of the Table UI element it will also work.
    However, when I press "Prev/Next" item and then select a row it chooses the wrong row.
    (See picture: http://img509.imageshack.us/img509/3882/table5tq.jpg)
    What can I do in order to solve the problem?
    Thanks,
    Omri

    Hi Omri,
    how are you doing ?
    The SAPTable is similar to a DataGrid control and need to be bound to the datasource on every postback
    a good idea is to keep the dataset available in the page or on the server ( so that you dont need to keep making expensive fetch operations
    The selected row is affected by the recordset (dataset) and needs additional programming
    A work around for the selected row issue is to save it in a server side hidden variable (or anything that will persist) and read and set the value in the page / next button handler
    with respect,
    amit

  • Any sample for Message with Attachment  for OC4J-10.1.3?

    Does any one know where I can find sample for Message with Attachment for oc4j 10.1.3. ORacle web service site how-to pages has no any sample for this. I saw this a new chapter is added to Oracle Web Service USer Guide, but no sample to test.
    Thanks
    TZhang

    Does any one know where I can find sample for Message with Attachment for oc4j 10.1.3. ORacle web service site how-to pages has no any sample for this. I saw this a new chapter is added to Oracle Web Service USer Guide, but no sample to test.
    Thanks
    TZhang

  • How to implement Startup class for OC4J

    I'm in the process of converting my current J2EE application from weblogic 5.1 to OC4J.
    I have startup class that would set application specific properties by reading property file. In addition, this class would also check for certain resource availability (like database) during weblogic startup. I could not find similar option in OC4J.
    Any help to convert this startup class for OC4J would be highly appreciated.
    Thanks
    Sankaran.

    Hi Sankaran,
    Your eMail address suggests you work for Oracle. Do you? Can't someone
    at Oracle help you?
    I imagine that Oracle would have some kind of agreement with Ironflare
    as well. Can't someone at Ironflare help you?
    But remember, with application servers (as with RDBMSs), no two are the
    same. Each one offers the same functionality, but using different methods
    to achieve that functionality. I don't know how to do it, but I'm sure
    you can check database availability when starting up OC4J -- just not
    the same way you do it in Weblogic.
    Good Luck,
    Avi.

  • How to find and install the Portal Development Kit (PDK) for SAP Enterprise

    Hi ,
    I have the following question regarding thePortal Development Kit (PDK) for SAP Enterprise Portal 6.0. We have Enterprise Portal 6.0 up and running.
    1> How Do I find whether we already have this inported in the EP environment: I have admin and super admin role and trying to find '*java' in the Role. But didn't find one. Does that mean we don't have this imported already?
    2> I have tried to Find out the PDK( which is also a Business Content) in SDN in the Portal Business content link (https://www.sdn.sap.com/sdn/contentportfolio.sdn) , but haven't found. Where from I download this business content?
    3> What are the special steps that need to be taken to import this and make it working?
    Thanks
    Arunabha

    Hi Arunabha,
    1. Note that the search is case sensitive. Therefore you should search for java and Java.
    2. Download from: https://www.sdn.sap.com/sdn/downloaditem.sdn?res=/html/PDK60_download.htm
    3. Deploy with SDM: http://help.sap.com/saphelp_nw04/helpdata/en/22/a7663bb3808c1fe10000000a114084/content.htm
    Hope that helps,
    Yoav.

  • Wiki for OC4J and JDeveloper

    Hi,
    I'm not sure this is the correct place for this question. But here it goes:
    Is there an Wiki engine that is designed especially for oc4j? or does any of you have and wiki engine that works on oc4j?

    We don't have one specifically designed for OC4J but there are several I have seen running it:
    - Confluence - we are using/evaluating this a little internally for some projects at Oracle. It is a commercial offering here: http://www.atlassian.com/software/confluence/. Seems very high quality.
    - Yawiki (Java version, not PHP) - we are shipping this as a free pre-certified Wiki with WebCenter, our interaction platform ala Portal for ADF developers. http://yawiki.jzonic.org/page/show.jz - we didn't want to force a commercial license on our WebCenter customers so this one is a free, reasonably solid engine.
    - JSPWiki - http://www.jspwiki.org/Wiki.jsp - again I have seen this used internally at Oracle and it is running on OC4J. Again, works like a champ.
    Some ideas - hope one of them works for you - hard for me to say good or bad about any as they all seem to work fine though I haven't mucked administratively with any.
    Mike.

Maybe you are looking for