Developing portlets with Jdev 10.1.3.0 possible?

Hi all,
I'm currently using Jdev 10.1.3.0 and I need to develop a portal (and portlets) using AS Portal 10.1.4.
I tried to install the PDK on jdev 10.1.3.0, but that didn't work well.... do i need to upgrade my jdev version or there's another way to develop portlets for AS Portal 10.1.4 ?
Thanks,
Rui

Hello Rui,
I experience the same problem. PDK is not compatible with JDev 10.1.3. Actually I'm developing with the prevoius release of JDev, 10.1.2.2, with PDK extension and it works fine.
Bye,
Maurizio.

Similar Messages

  • It's possible to develop portlets with Jdev 10.1.3.0 ?

    Hi all,
    I'm currently using Jdev 10.1.3.0 and I need to develop a portal (and portlets) using AS Portal 10.1.4.
    I tried to install the PDK on jdev 10.1.3.0, but that didn't work well.... do i need to upgrade my jdev version or there's another way to develop portlets for AS Portal 10.1.4 ?
    Thanks,
    Rui

    Hi,
    Use Jdevloper 10.1.3.2 version which comes up with portlet devlopment stuff.
    Regards,
    Tanmai

  • Integrating JDveloper for developing portlet with JBoss Portal

    How can I do it? There is a guide?
    Thank you

    Oracle Portal Extension for JDeveloper
    may also be used with JDeveloper.
    http://www.oracle.com/technology/products/ias/portal/pdk.html

  • Developing with JDev 10.1.3.0.1 for BPEL 10.1.2.0.2

    Hi,
    Does anyone knows if it is possible or adviseble to develop with JDev 10.1.3.0.1 to deploy the processes in OC4J BPEL 10.1.2.0.2?
    If it is, is there any issues involved?
    Tks

    in general you could develop bpel 10.1.2.02 compliant processes, but it would create a bunch of possible hazards you could run into - deployment structure, new services, workflow and so on .. add'ly you cannot deploy from jdev 10.1.3.1 to bpel 10.1.2.0.2 server -- all in all not really recommendable, and not really supported too :D
    /clemens
    SOA Product Management

  • How to have one provider with multiple portlets in JDev 11g

    Hi,
    I am trying to create Oracle PDK Portlets using JDeveloper 11g but for each portlet JDeveloper is creating a provider. As In JDeveloper 10.1.3.4 we can have one provider with multiple portlets in it. But JDev 11g creates provider for each portlet. How can we have one provider with multiple portlets in JDev 11g. Is it something changed in 11g version or am I doing it wrong. As the Help says we can have multiple portlets in one provider but when creating portlets it does not do that. Any help is appreciated.
    Thanks

    Hi,
    I am trying to create Oracle PDK Portlets using JDeveloper 11g but for each portlet JDeveloper is creating a provider. As In JDeveloper 10.1.3.4 we can have one provider with multiple portlets in it. But JDev 11g creates provider for each portlet. How can we have one provider with multiple portlets in JDev 11g. Is it something changed in 11g version or am I doing it wrong. As the Help says we can have multiple portlets in one provider but when creating portlets it does not do that. Any help is appreciated.
    Thanks

  • Announcing: Developing JSF Portlets with WebLogic Portal Whitepaper

    Just Released: Developing JSF Portlets with WebLogic Portal Whitepaper
    A supplemental developer's guide has been published to help guide WLP 10.x customers that wish to use JSF as the web framework for building portlets on WebLogic Portal. This is a sizable document (150 pages) that covers a large number of topics. It also coaches developers on best practices and common pitfalls.
    Important: It also clarifies the supported configuration of JSF within Portal Web Projects. Workshop for WebLogic by default configures a web project in a configuration that is not supported by WebLogic Portal. The guide explains how to address this:
    * Change from the unsupported MyFaces JSF implementation to the supported Sun Reference Implementation (RI)
    * Change from the unsupported "client" STATE_SAVING_METHOD to the supported "server"
    The guide can be downloaded here:
    http://download.oracle.com/technology/products/weblogic/portal/weblogic-portal-jsf-whitepaper.pdf
    To help internet searches locate this document, the table of contents is reproduced below:
    Introduction
    1.1. Prerequisites...................................................................... 8
    1.2. Applicable Versions............................................................ 8
    1.3. Native Portlet Bridges and Standard Portlet Bridges .......... 8
    1.4. JSF Portlet Support Roadmap ........................................... 9
    1.5. Whitepaper Structure ....................................................... 10
    1.6. Look Before You Leap ..................................................... 10
    1.7. For More Information........................................................ 10
    Part 1: Converting JSF Applications into Portlets
    2. IDE Support for JSF Portlets Chapter ...................................... 12
    2.1. Workshop for WebLogic – WebLogic Portal's Supported IDE 12
    2.2. Workshop Features for JSF Support in WebLogic Portal.. 12
    3. Introduction to JSF Portlets Chapter ........................................ 18
    3.1. Creating Your First JSF Portlet......................................... 18
    3.2. Essentials of JSF Portlet Views........................................ 21
    3.3. WebLogic Portal Artifacts................................................. 22
    4. Configuring JSF within WebLogic Portal Chapter..................... 24
    4.1. JSF Library Modules in WebLogic Server ........................ 24
    4.2. Installing the JSF Libraries into a Portal Web Project ....... 25
    4.3. JSF Configuration Settings............................................... 27
    4.4. Configuring JSF 1.2 ......................................................... 29
    4.5. Building an Unsupported JSF Implementation Library Module 31
    4.6. Faces Configuration is Web Application Scoped.............. 31
    5. Navigation within a JSF Portlet Chapter................................... 33
    5.1. Navigating within a Portlet with the JSF Controller ........... 33
    5.2. Redirects.......................................................................... 34
    6. Namespacing Chapter ............................................................. 35
    6.1. Namespacing Managed Bean Names.............................. 35
    6.2. Client ID Namespacing with the View and Subview Components 35
    6.3. Client ID Namespacing with the WLP NamingContainer .. 36
    7. Logging, Iterative Development, and Debugging Chapter ........ 39
    7.1. Logging............................................................................ 39
    7.2. Iterative Development ...................................................... 39
    7.3. Debugging ....................................................................... 40
    8. Custom JavaScript Chapter ..................................................... 42
    8.1. DOM Manipulation within a JSF ....................................... 42
    8.2. Form Validation within a JSF Portlet ................................ 45
    9. Preparing JSF Portlets for Production Chapter ........................ 46
    9.1. Configuration.................................................................... 46
    9.2. Performance and Scalability............................................. 47
    9.3. Security............................................................................ 49
    9.4. Localization...................................................................... 50
    Part 2: Interacting with the Portal Environment
    10. Native Bridge Architecture Chapter ...................................... 54
    10.1. Container Architecture Overview.................................. 54
    10.2. Container Architecture.................................................. 54
    10.3. Container Interactions .................................................. 55
    11. Interportlet Communication Chapter .................................... 56
    11.1. Using Session and Request Attributes for IPC (Anti-pattern) 56
    11.2. Using the WLP Event Facility for IPC with JSF Portlets 56
    11.3. Notifications ................................................................. 60
    11.4. Comparison of the IPC Approaches ............................. 60
    12. Scopes Chapter ................................................................... 62
    12.1. Conceptual Scopes for Standard JSF Applications ...... 62
    12.2. Conceptual Scopes for Portal Applications................... 63
    12.3. Implementation Patterns for Portal Scopes .................. 63
    13. State Sharing Patterns Chapter ........................................... 66
    13.1. State Sharing Concepts ............................................... 66
    13.2. HttpSession Versus HttpServletRequest ...................... 66
    13.3. Base Code for HttpSession Patterns ............................ 67
    13.4. Single Portlet Pattern ................................................... 68
    13.5. Multiple Portlet Patterns ............................................... 69
    14. Rendering Lifecycles Chapter .............................................. 77
    14.1. WLP and JSF Lifecycles .............................................. 77
    14.2. Invocation Order of WLP and JSF Lifecycle Methods... 77
    14.3. Accessing WLP Context Objects from JSF Managed Beans 78
    15. Portal Navigation Chapter .................................................... 80
    15.1. Programmatically Constructing JSF Portlet URLs ........ 80
    15.2. Changing the Active Portal Page.................................. 80
    15.3. Redirects within a Portal............................................... 83
    16. Ajax Enablement Chapter .................................................... 85
    16.1. Ajax in JSF Portlets...................................................... 85
    16.2. Partial Page Rendering Pattern.................................... 85
    16.3. Stateless API Request Pattern ..................................... 86
    16.4. Portlet Aware API Request Pattern .............................. 87
    16.5. Controlling the WLP Ajax Framework........................... 91
    17. Additional WLP Features Chapter........................................ 93
    17.2. Portlet Container Features ........................................... 93
    17.3. Portal Container Features ............................................ 98
    18. Example: Implementing a Login Portlet Chapter .................. 99
    18.1. Login Portlet Motivation................................................ 99
    18.2. Login Portlet Design..................................................... 99
    18.3. Login Portlet Implementation...................................... 101
    Part 3: Integrating Third Party Libraries
    19. Integration Overview Chapter............................................. 111
    19.1. Types of Libraries....................................................... 111
    19.2. Roadmap for MyFaces Trinidad and ADF Faces Rich Client 111
    20. Using the Facelets View Technology Chapter.................... 113
    20.1. Introduction to Facelets .............................................. 113
    20.2. Configuring Facelets Support ..................................... 113
    21. Using the Apache MyFaces Tomahawk Component Library Chapter 115
    21.1. What is Apache MyFaces Tomahawk? ...................... 115
    21.2. Support for Tomahawk in WLP................................... 115
    21.3. Tomahawk Component List........................................ 116
    21.4. Installing and Configuring Tomahawk......................... 119
    21.5. Resolving the Duplicate ID Issue................................ 120
    21.6. Referring to Resources .............................................. 120
    21.7. forceId Attribute.......................................................... 124
    21.8. File Upload................................................................. 125
    22. Using the Apache Beehive Navigation Controller Chapter . 126
    22.1. Apache Beehive Page Flow ....................................... 126
    22.2. JSF and Page Flows .................................................. 126
    22.3. Configuring the JSF Integration with Page Flows ....... 127
    Appendices
    23. Appendix 1: Consolidated List of Best Practices ................ 130
    24. Appendix 2: Known Issues and Workarounds.................... 132
    24.1. CR383659, CR383662 Inconsistent failures with JSF portlets 132
    24.2. CR342124: IllegalStateException due to duplicate client-id 132
    24.3. CR384916: IllegalStateException due to duplicate client-id when using certain components such as Tomahawk and Trinidad...... 133
    24.4. CR361477 Problems with the integration of JSF portlets with Apache Beehive Page Flows.................................................................. 133
    24.5. CR377945 JSF 1.2 suffers from a memory leak during iterative development .............................................................................. 134
    25. Appendix 3: The JSFPortletHelper Class ........................... 135
    26. Appendix 4: The CleanupPhaseListener Class .................. 147

    Hi Peter!
    First, I wish to thank you for the great work.
    We followed your whitepaper and managed to deploy a JSF portlet on WLS.
    But we are not able to register it (consume it) as remote portlet in Oracle Portal 10.1.4. The error log is as follows:
    An error occurred while trying to refresh the provider. (WWC-43190)
    An error occurred during the call to the WSRP Provider:
    java.rmi.RemoteException: serialization error: serialization error:
    unexpected null value for literal data; nested exception is:
    serialization error: serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    unexpected null value for literal data
    Java stack trace from root exception:
    unexpected null value for literal data
    at
    oracle.webdb.wsrp.RegistrationContext_LiteralSerializer.doSerialize(RegistrationContext_LiteralSerializer.java:107)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    oracle.webdb.wsrp.GetServiceDescription_LiteralSerializer.doSerialize(GetServiceDescription_LiteralSerializer.java:88)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:473)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:62)
    at
    oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub.getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:63)
    at
    oracle.webdb.wsrp.client.design.v1.OraWSRP_v1_ServiceDescription_PortType.getServiceDescription(Unknown
    Source)Do you have any idea why this happens? Or you can provide some useful links to WLP -Oracle Portal federation?
    Thank you and best regards,
    PaKo

  • The ANT comes with JDev 9.0.4 - is that for development build?

    The ANT comes with JDev, is it the latest version? Do I need to download latest and from somewhere and how do I integrate ANT with JDeveloper? Would it be just for the development build? If I integrate ANT with JDev, that wouldn't bge for release or production build - would it? In that case, I need to install ANT externally!

    Apache has released several versions of Ant since JDeveloper 9.0.4 was released. I believe the version of Ant that shipped with JDeveloper 9.0.4 was Ant 1.5.1 (you can always verify the Ant version by using the echo task to print out the "${ant.version}" property).
    If you want to upgrade to the lastest version (currently, Ant 1.6.1), see the thread "New ant version" in this forum. We will also be shipping the latest release of Ant with future releases of JDeveloper.
    I'm not exactly sure what you mean about the Ant integration being for the development build versus release build. You can choose to configure Ant to be the default build mechanism for your JDeveloper project, in which case it will be used for all builds. Or you can simply open your buildfile in the project, and right click on it to run specific targets. In the latter case, the Ant integration would only be for specific builds.
    Hope that answers your questions.
    -Matt Hawkins
    JDeveloper Team

  • Building portlets with PL/SQl vs java

    Hi
    We are planing to use oracle 9iAS application server(Enterprise version)to build portal application.
    Can someone suggest me which one should i use, building portlets with j2ee or building portlets with PL/SQL.
    what are the advantages of web providers over database providers?which one is the best way of building portlets.

    Hello
    I've been using Portal for years now, and I'm still developping in PL/SQL. It's very simple and quick to developp. I'm even not using any database providers, I'm just invoking my procedures via their URLs with some Ajax hidden components, and I could developp some screens like employees vacations managements, trombinoscope, portal statistics, etc ...
    I learnt at Oracle how to developp some "true" portlets with DB providers but it's not usefull for me at this time as I don't need portlet customization etc.
    BUT
    if I had to developp a really big project with several developpers I would use DB providers.
    And maybe I would use Java but it takes rather long time to be efficient with this language and it needs to be a realy big project for I start using this language. And as explained above Java offers more compatibility with 3rd party products.
    And last but not least, one has to know what Oracle is more and more dealing with Java, the next 11g version that has just released is much more using Java than 10g does, and that's true for every Oracle products.
    So it's just a matter of skill and time.
    A.

  • Bug or feature : Using portlets with edit mode on a page in the portal

    Hi,
    i am using Workshop 8.1 (GA release july) and i have discovered a bug (or a
    feature) with respect to the beta version.
    i have created a simple portlet with a view mode and an edit mode. When i
    place the portlet on the very first page of a one book portal, it works
    perfectly. However, i have a book with three pages and placed the portlet on
    the second page. Now when i put the portlet in edit mode, by clicking the
    edit button, i am directed to the first page of the portal and the portlet
    will not show.
    Inspection learned that the URL generated for the edit button, didn't
    contain the _pagelabel parameter. When i added the parameter manually it
    works fine.
    A final remark is that the buttons in the titlebar have no icons the browser
    can load.
    hope someone can help me out,
    Lodewijk

    Can you please post this question to weblogic.developer.interest.portal
    newsgroup.
    Thanks
    "Lodewijk Spijker" <[email protected]> wrote in message
    news:3f165945$[email protected]..
    Hi,
    i am using Workshop 8.1 (GA release july) and i have discovered a bug (ora
    feature) with respect to the beta version.
    i have created a simple portlet with a view mode and an edit mode. When i
    place the portlet on the very first page of a one book portal, it works
    perfectly. However, i have a book with three pages and placed the portleton
    the second page. Now when i put the portlet in edit mode, by clicking the
    edit button, i am directed to the first page of the portal and the portlet
    will not show.
    Inspection learned that the URL generated for the edit button, didn't
    contain the _pagelabel parameter. When i added the parameter manually it
    works fine.
    A final remark is that the buttons in the titlebar have no icons thebrowser
    can load.
    hope someone can help me out,
    Lodewijk

  • How to use VPD in Java/Struts JSP portlet with SSO

    DB = 10.1.0 (Standard Edition)
    Portal = 9.0.4.1
    10gAS = 9.4.0.1 (EE)
    I am in the beginning stages of developing some portlets that will be Java/Struts JSP based. We use SSO and have implemented some VPD security in our DB by creating some views that use SYS_CONTEXT('USERENV','CURRENT_USERID').
    These Java portlets connect to the DB using a defined JDBC connection for the OC4J container they are deployed in. The problem I'm having is that the call to SYS_CONTEXT is returning the user of the JDBC connection and not the SSO user. So far I have been unable to find any documentation that will point me in the right direction to get this configured properly.
    Deployment and configuration are as follows. Deploy war file to custom container on app server. In the configuration of the OC4J contain the app used the containers default JDBC connection using the oracle.jdbc.pool.OracleDataSource class. Max and Min open connections are blank.
    In the portal configuration under Navigator - Providers tab we defined a new Registered Provider. In the Connections tab for the provider we Specify the URL Http://hpsrv02.simsol.com:7777/discovery-portlets/providers. Under "Specify how the user's identity will be set by the Portal..." the "The user has the same identity in the Web providers application as in the Single Sign-On identity" is selected. Under "User/Session Information" User is selected and Login Frequency is set to "Once per user session". Then we created a new portal page and created a new portlet with the new provider.
    Just an FYI I do have Discoverer working with VPD and any report portlet, dynamic page portlet and any other type of portlet I created all work correctly with VPD it is just the java/struts one that is not working.
    So does any one have any insight into what configuration steps I have missed?
    Any help is much appreciated,
    Ed Klinger

    Ed,
    Your java code must get the SSO username (it's just a HTTP header variable) :
    ie: code sample...
    Enumeration e = request.getHeaderNames();
    while (e.hasMoreElements()) {
    String name = (String)e.nextElement();
    String value = request.getHeader(name);
    out.println("<br> "+name + " = " + value);
    if (name.toUpperCase().trim().equals("OSSO-USER-DN")){
    dn_user=value;
    out.println("<br>******** USER DN = "+dn_user);
    Then, the SSO username can be used in the VPD policy.
    Note that there is a difference between the sso username and the database username . SSO username is not known by database (CURRENT_USERID will return a database username)
    Discoverer worked OK in your case with the SYS_CONTEXT (.. CURRENT_USERID) because authentication is made by database user, probably.

  • Portlets in JDev 10.1.3

    Hi,
    I need to create Portlets With JDeveloper Release 3 10.1.3 EA1 Version 10.1.3.0.3.3412 (Using Wizard).
    Before, With JDeveloper 9.0.5.1 and 10.1.2, I was installing one plug-in PDK.
    Now, with JDeveloper 10.1.3, I cannot generate Portles Using Wizard?
    - For that?
    - That lacking me?
    - Is it possible to create Portlets with the Wizard in 10.1.3 Jdeveloper Version?
    Regards
    Sergio

    Hi Justin,
    There is an option to create portlets in JDeveloper. But, for that you need either of these Versions JDeveloper 9.0.5.1 or JDeveloper 10.1.2. You need to add a patch of PDK software for developing portelts.
    For the download of above software you could follow up the link
    http://www.oracle.com/technology/products/ias/portal/pdk.html
    All the best

  • Compile PL/SQL with JDEV 11g TP4 - Compile button missing ?

    Hi
    I have been working through the database development with Jdeveloper tutorial:
    http://www.oracle.com/technology/obe/obe11jdev/11/db_dev/obe_%20databasedevmt.htm
    this, as name suggests, discusses db development with jdev 11g TP4.
    However I seem to have an issue with the section named 'Creating and Debugging PL/SQL Objects in the Database'.
    In section 9 of 'creating a pl/sql package' the tutorial talks about a compile for debug button on the code editor. This essentially compiles the package against the DB, however in my Jdev, this button is does not exist. Is this just because this is only a tech preview version or is there some further config I need to do?
    Versions are..
    OS: Vista SP1
    JDEV: 11.1.1.0.0
    DB: 10.2.0.1.0
    Thanks in advance
    Will

    hi Will
    Maybe this is a beter forum for your question:
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    success
    Jan Vervecken

  • Strange behaviour with JDev 10.1.3.1 thru 10.1.3.3 creating JSP using CDB

    Greetings,
    I am experiencing a strange problem developing some simple JSPs using the Content DB libraries. It happens on JDev 10.1.3.1, 10.1.3.2, and 10.1.3.3.
    I don't know if its my environment or something else. If your in for a mystery then this one is for you.
    All JSPs, Backing Beans, and supporting class all compile without a problem.
    JSPs run and data is displayed as expected. All seems fine.
    Problem:
    When I go back to the JSP and click on it to open (for work), JDev just hangs up. Have to go into Task Manager to Kill process.
    Work Around:
    Back in JDev before I click to open JSP, I clean out the compiled classes. Then click on JSP and it pops right up?!?!
    Has something to do with Content DB libs?
    I go back to the backing bean and Comment out all calls to any CDB APIs within the methods. The overall structure of the backing bean is intact but it renders the JSP useless of course. But the after I compile (without errors) the NO CDB API version, I click on the JSP; it opens right up in JDev.
    Ok, what I did not tell you yet. The missing key to this mystery.
    I'm working on my local desktop. There is no local instance of OCDB on my desktop. Only Jdev and the OCDB development kit. The Actual instance of the content DB is elsewhere. The code reads a property file to get the URL and S2S logon information from a property file (local on my desktop) to connect and do its thing. NOW, AS LONG AS I AM VPN into the network (where several OCDB instances can be accessed), I can go into JDev and open the JSP REGARDLESS of whether I've compiled the code or not.
    When I'm running the VPN, I see the in and out byte count moving up and up, then within a few seconds, the JSP pops right up.
    How strange is this?!
    Question: When using the OCDB libraries with JDev, is it going out to look for some license? It seems that JDev knows my code is calling some OCDB APIs then goes out and does something before it allows me to continue. Without the VPN connection its looks like its sits there waiting for something. My colleagues don't have this problem. But of course they are inside of the firewall, I'm outside.
    I've worked on a lot of JSPs before (without OCDB) and I've never seen anything like this before. Here is a list of the libraries that I'm using.
    Using version 10.2 of the CDB Libraries.
    Importing these jars to my project in JDev.
    1. cdb-devkit-client.jar
    2. content-ws-client.jar
    3. axis.jar
    4. commons-codec-1.3.jar
    5. commons-discovery-0.2.jar
    6. commons-httpclient-3.1-rc1.jar
    7. commons-logging-1.0.3.jar
    8. jaxrpc.jar
    9. saaj.jar
    10. wsdl4j-1.5.1.jar
    Any suggestions would help. Since I've found a work around. I'm up and moving, but I would REALLY like to know what's up with this.
    THANKS
    Winston

    Hi folks,
    I have some more news on this issue.
    As noted in my first post, I noticed that the VPN monitor was moving very aggressively when the VPN connection was established. Activating JSP in design mode while classes were compiled and my VPN connected always seemed to do the trick.
    So, Why does it work when VPN is connected? What’s JDev doing?
    To answer these questions I loaded up an IP packet sniffer to find out exactly what JDev. was up to. Here are the results, but first a recap of the steps.
    Let’s say you have a model view project (using Content DB) that has already been compiled and you know it works.
    You are working remotely and need to connect via VPN.
    You have no local instances of the Content DB running.
    You VPN in and run the JSP from JDev. to verify that all is in working order.
    Ok get out of the app and close down all its windows.
    In JDev, close out all files in the developer.
    Disconnect the VPN.
    Then in JDev open the JSP. If it comes up in source mode switch it to design mode (Click on the "Design" tab).
    JDEV hangs up.
    Ok now Go into Task Manager and kill the process.
    Then find the class folder where the compiled code sits and delete them all.
    Start up JDev and go into your project and open the JSP file.
    If it comes up in source mode, switch to design mode. Either way this will work.
    Now close the JSP file.
    Recompile the code.
    NOW START UP the IP Packet Sniffer on your local machine. (VPN IS NOT CONNECTED)
    Open the JSP file. If it comes up in source mode, switch to design mode.
    Now go back and look at the IP packets.
    BEHOLD! IT IS TRYING TO CONNECT TO THE SERVER USING THE CORRECT URL FOR MY INSTANCE OF THE OCDB.
    Note: There are no URLs encoded in the code. It gets the URL by reading it from a properties file.
    The URL to the server is only specified in the property file.
    By the way, JDev is now hung up because you’re not VPN in.
    Go into the task manager and kill the process, delete the compiled class files, and restart JDev.
    Now go and find the property file on your local drive, and rename it.
    Go back to JDev. and recompile the code.
    Bring up the JSP in design mode.
    Look at the output of the IP packets.
    THERE ARE NONE! This also shows that its not some kind of cache problem, else it would try to connect.
    JDev is active and the JSP is displayed in design mode.
    So, either by deleting the compiled classes or removing the properties file CLEARS the problem.
    It appears that I’m hanging up because JDev is partially executing the code when you switch into design mode?!?
    If the code is complete it tries to go all the way. Since I'm not VPN in I never get a response from the server, thus it hangs forever.
    If the code is incomplete, it never tries to connect.
    Now if I try this WITH my VPN connected, I see the packets going to the server, and the JSP is eventually displayed.
    Also noted that when the property file was renamed and/or the executable classes were deleted, The JSP always pops up (almost immediately). When VPN is connected and classes are compiled and the property file is accessible, it is a lot slower. More Support that JDev is doing something with the server.
    So why is this thing running my code when I switch design modes?
    I’ve also found this thread on the JDev Fourm.
    JSP Design not working when ICEFaces extension is integrated JSP Design not working when ICEFaces extension is integrated
    A Known problem with JSP when third party libraries are added?!?!
    Content DB considered a 3rd party library?
    So, I must conclude that this is not an OCDB issue, but a JDev Issue.
    Aslo check out JDeveloper "Design" Perspective
    Hope this helps some one out. This was a barn burner.
    Thanks
    Winston

  • Integration of ContentDB Dev Kit with JDev

    Hi All,
    I have downloaded "Oracle Content DB Developer Kit". I have worked with JDeveloper 10g earlier.
    Can any one suggest how to integrate the CDB Dev Kit with JDeveloper 10g.
    Thank you

    Hi,
    Everything you need to know is included in the documentation found in the devkit.
    Specifically, from the table of contents, click on "Compiling and Running Code Samples".
    Scroll down and you will find a section on using JDeveloper for EventHandlers which talks about the jar file you must import from the server.
    cheers
    Matt.
    Using JDeveloper for EventHandler Implementations
    The Content DB Developer Kit and API Samples package also includes two additional JDeveloper projects for editing and compiling server plug-ins (EventHandler implementations):
    jdev/server1012.jpr
    jdev/server1013.jpr
    These project files have their library paths pre-configured to include the lib/db-devkit-server.jar from the the developer kit package. The projects also require the content.jar file to be present in the lib directory of the developer kit package, so you must copy the $ORACLE_HOME/content/lib/content.jar from the Content DB server into the lib directory of the developer kit package.
    There are two deploy files under the jdev directory of the developer kit package:
    jdev/server1012/server1012.deploy
    jdev/server1013/server1013.deploy
    When using the corresponding project in JDevleoper, you can right click on the deploy resource to automatically generate a handlers.jar file. This will contain the compiled sample EventHandler classes. The handlers.jar file is genereated in the jdev/server1012 or jdev/server1013 directory, depending on the version of JDeveloper you are using.
    To deploy the developer kit server libraries and EventHandler sample implementations onto the Content DB server, copy the generated handlers.jar file and the lib/cdb-devkit-server.jar from the developer kit package onto the Content DB server. Then expand both jar files into the $ORACLE_HOME/content/custom_classes directory, using the jar -xvf command.

  • ColdFusion and Portal Development (Portlet Toolkit)

    I realize the Portlet Toolkit released was just a proof of
    concept, but I was wondering if anyone has actually uses it for
    ongoing development. I was able to deploy and run the example
    Portlets on a IBM Portal v6 instance without any issues (since
    IBM's api's are only deprecated), but I can't figure out how the
    development process would work.
    To deploy the toolkit war you had to use an Ant script to
    merge it with the ColdFusion MX 7 war. Given this how would you
    ever hot deploy and develop in iterations as you normally do today
    with CF development alone? Would you manually deploy an extracted
    version of this merged WAR and edit the CFCs on the DEV server
    itself? Normal portlet development relies on the RAD tool to hot
    deploy changes in the portlet project to the Portal server so you
    can code and test with as little interruption as possible.
    If editing the cfcs on the DEV server itself is the only way
    to develop this seems to make development impractical with CF.
    Especially if you can't just map a drive out to the DEV server. I'm
    new to Portlet development but can't see a way to resolve this
    circumstance. Am I missing something? Any suggestions? Any other
    thoughts on the concept in general? We have large number of
    in-house CF developers which far exceed the number of Java Portlet
    developers and this might be a way to alleviate that problem (at
    least in the short run).
    -Tim

    I've been using the Portlet tool kit for quite a while. I run
    websphere test server right on my desk top and I manually deploy my
    cfc to there. When the devlopment is done, I place my new cfc in to
    cfportlet.war file and update the portlet through WS.

Maybe you are looking for

  • Macbook bought in Asia, can i buy apple care on Amazon?

    hello mac lovers! i just got my new macbook. love it! i want to buy apple care and have found it online (amazon) for about 30% less the MRP. is its safe to do this and will it work? my computer is registered to me at my local address in thailand. i w

  • How can I upload a non-macstore app

    I have a bayer glucometer and it has software that will not install on my mac.  The system tells me that it cannot load non-macstore apps.  When I try to go to system preferences, they're grayed out, so I can't do anything.  I'd really like to use th

  • Safari Completely Pixelated

    Hi there An advert poped up whilst browsing, (think it was one similar to those you hover over and it enlarges) when I went to close it, but it left its pixelated / mashed image on the browser window behind it and left an impression all any other saf

  • Error in service startup

    Hi All, I have installed Oracle DB 10g on my Win 98 PRO SP2 Notebook.. After the start, I don't be able to access to database and I see a listener error. In the services OracleDBConsole<<NAME>> (automatic) is not started and in the Register Event i s

  • Preview hangs on opening EPS files

    Hi, I have posted this question several times now, and I still hope to solve the problem. When I open an eps file Preview tells me that it will convert it to a pdf. It does that for ever or until I quit Preview. I have already checked my fonts with F