Portlet Customization problem

I am using JPDK 3.0.9.0.1 for writing my portlets.
I am trying to add the customization support to a portlet. and I
am using FilePersonalizationManager.
The provider.xml has following element for
PersonalizationManager
<personalizationManager
class="oracle.portal.provider.v1.FilePersonalizationManager">
<dataClass>com.coverall.portal.MyPersonalization</dataClass>
</personalizationManager>
Here MyPersonalization class extends
NameValuePersonalizationObject class.
The customization works fine for an Integer value, where I use
the MyPersonalization class to store String Array into it using
putStringArray() and getStringArray() methods it doesn't work.
and gives me
Error while adding Portlets to the Page. (WWC-44012)
The following error occurred during the call to Web provider:
java.io.IOException:
at
oracle.portal.provider.v1.FilePersonalizationManager.writeDataObj
ect(FilePersonalizationManager.java:938)
at oracle.portal.provider.v1.FilePersonalizationManager.create
(FilePersonalizationManager.java:331)
at oracle.portal.provider.v1.FilePersonalizationManager.create
(FilePersonalizationManager.java:298)
at
oracle.portal.provider.v1.http.ServletProviderResponse.registerPo
rtlet(ServletProviderResponse.java:295)
at
oracle.portal.provider.v1.http.HttpProvider.dispatchProviderActio
n(HttpProvider.java:650)
at oracle.portal.provider.v1.http.HttpProvider.service
(HttpProvider.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest
(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479)
(WWC-43147)
I checked jserv.log and it says
"[25/10/2001 12:55:14:221 EDT] MyProvider/Error creating
D:\cti\Portal\provider\MyProvider\65825143\1
\388_MYPROVIDER_65825143\_default.dat : "
How do I get this NameValuePersonalizationObject to store String
Arrays?
Thank you
Sagar

Please log a bug for this through Oracle Support

Similar Messages

  • Migration of  ADF 10g application to ADF 11g(Portlet Customization Error)

    Hi,
    Currently we are doing a migration of ADF/Webcenter 10g appication to 11g(11.1.1.6) and in the current 10g application portlet is used which contains the file based content and can be customized using a specific role say(admin).
    We have almost done the migration using the Jdeveloper 11.1.1.6 and most of the pages along with the portlet content are coming similar to the 10g look and feel but whenever we want to do portlet customization using the specific role we are getting the below exception. The content is file based system and the details of the versions are as below
    10g Environment:
    OC4J version. Oracle Containers for J2EE 10g (10.1.3.5.0)
    JDK version- java version "1.5.0_06"
    Webcenter and it’s version : Webcenter 10g(10.1.3.5.0)
    ADF version. Oracle ADF 10g
    Jdeveloper 10.1.3.3.0
    11g Environment: Currently I am using Jdeveloper 11.1.1.6 with Integrated weblogic server
    webcenter extension used: oracle.webcenter.framework_bundle/oracle.webcenter.customization_bundle
    Error which I am getting during portlet customization:
    [2013-02-20T14:47:42.162+05:30] [DefaultServer] [ERROR] [] [oracle.portlet.binding] [tid: [ACTIVE].ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: portaladmin] [ecid: 39e706a46ad531be:31f43ddc:13cf6ad5231:-8000-0000000000000386,0] [APP:TEST_DEV#V2.0] An error has occured for Portlet Binding portlet3.[[
    java.lang.NullPointerException
    at oracle.adfinternal.model.portlet.binding.PortletModelImpl.getRequireIframe(PortletModelImpl.java:907)
    at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getRequireIframe(ActivityPortletModelWrapper.java:71)
    at oracle.adf.model.portlet.binding.PortletBinding.prepareRenderPhase(PortletBinding.java:455)
    at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:377)
    at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:969)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Any hellp or suggestion will be helpful for me to resolve this issue.
    Thanks in Advance
    Chetan

    Hi,
    given its a WebCenter question, you want to post it to the Webcenter forum: WebCenter Portal
    Frank

  • The question about portlet customization and synchronization

    I have a question about portlet customization and synchronization.
    When I call
    NameValuePersonalizationObject data = (NameValuePersonalizationObject) PortletRendererUtil.getEditData(portletRenderRequest);
    portletRenderRequest.setPortletTitle(str);
    portletRenderRequest.putString(aKey, aValue);
    PortletRendererUtil.submitEditData(portletRenderRequest, data);
    Should I make any synchronization myself (use "synchronized" blocks or something else) or this procedure is made thread-safe on the level of the Portal API?

    HI Dimitry,
    I dont think you have to synchronize the block. i guess the code is synchronized internally.
    regards,
    Harsha

  • Portlet communication problem

    hello
    i am pretty new to portlets
    the problem is that
    i want that i dispaly a list of record in one portlet and if user click on that record then on the next protlet this record is shown.
    this require two portlets
    i followed a lot of links but i dnt get clear understaning about the functions and ipc ie when is processAction() called and when is doedit called etc etc
    can any one give complete example or links or help me how to do tht
    i am working with jsf.

    It seems you are trying Inter Portlet Communication for JSF Portlets. Check this article : http://developers.sun.com/portalserver/reference/techart/ipc.html . This describes InterPortlet Communication that was added as an extension to JSR 168(implemented in OpenPortal Portlet Container 1.0_02).
    Regards,
    Deepak

  • Cannot customize Problem Form in Authoring Tool

    Hi there,
    I am trying to customize Problem Request Form in the Authoring Tool, but when I try to view the form I immediately have the following errors:
    After this message box is displayed, Authoring Tool simply crashes.
    The error  text:
    Description:
      Stopped working
    Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: smauthoring.exe
      Problem Signature 02: 7.5.3079.0
      Problem Signature 03: 522c3f95
      Problem Signature 04: Microsoft.EnterpriseManagement.UI.FormsInfra
      Problem Signature 05: 7.0.5000.0
      Problem Signature 06: 522c3f22
      Problem Signature 07: 198
      Problem Signature 08: 1a
      Problem Signature 09: System.InvalidOperationException
      OS Version: 6.3.9600.2.0.0.272.7
      Locale ID: 2070
    Have you been able to customize Problem Request form?
    Can you please help me with this?
    Thanks in advance.
    M

    This is a known issue when you run older versions of the authoring tool on XP or Windows 8. AeroLite is part of the Windows Vista/7 Aero interface that the authoring tool has imports into. Consider http://social.technet.microsoft.com/forums/systemcenter/en-US/b1826469-75b6-499d-ade1-2945b6e95d28/incident-form-customisation and
    update your toolchain

  • Java portlet caching problem

    I am facing portlet state problem.
    Problem is below,
    step 1. I opened a page in java portlet, then set some filters for my list boxes and for check boxes, then executed i got all my search results,
    then closed the page.
    step 2. opened page again, which opens in the same portlet as step 1, then this portlet displays the page with results instead of default page
    I tried setting _nfls parameter to false in request URL, but still it is loading the  page with state as in step1.(i'e page with filters set and with results)
    Any suggestions on how to overcome this?

    Raju,
    Hope this thread helps you.
    http://forums.bea.com/bea/message.jspa?messageID=600014822&tstart=0
    Let me know if this works for you.
    Cheers,
    Satish

  • URGENT: IMAP Portlet - customize link problem

    Hi all,
    I got the IMAP Portlet up and running. But, when I click on the customize link I get an empty page back. Any idea is very welcome.
    Thanks
    Ingo

    Can you look into the log file and see if any useful messages
    appear in there ...
    -AMJAD.

  • Repost:Edit Folder link/Portlet Customize link

    All,
    apologies if this has been asked already.
    Need to hide the customize link in Portlet and edit folder link in folder/content area. Better yet, would like to give selective access to these, based on user group (or other acl). I am on 3.0.7. Currently, hiding the header (or banner) is the only way of not showing these links. Do later versions have the same problem ? or has this issue been resolved.
    Thanks
    Sanjay

    I had similar problem in 3.0.9
    I agree with Karthic that looks like a caching problem.
    In the folder portlet, I enabled the Edit option. If a user originally had the privileges to do edit folder, then the folder shows the Edit option.
    If later I remove the privileges so that the user only have view content privileges,
    then the Edit option still shows up in the folder portlet and if the user clicks on the "Edit"link, then a message like insufficient privileges error comes up.
    FYI i don't use any caching for pages.
    Karthic,
    have you heard of this problem in 3.0.9?
    Tks!

  • Lotus Notes Customize problem!

    Hello All ..
    When pressing on the Ok or Apply Buttons in the Customize page of any of the four portlets, I got a blank page. Although I have compared the code of renderEdit method with the JspServicesCustom.jsp in the Jsp Services sample portlet provided in the JPDK, and also compared the resulting generated HTML from the two cases. They are similar specially in the code that handles the OK and Apply Html buttons, but the Jsp case is working well, it re-renderes after presing Ok or Apply, while the Lotus case always give blank page.
    Any Suggestions to debug or workaround ?
    Pls Help..
    Regards
    Amr
    null

    Amr,
    I have a fix for your problem. However, if you want my code you have to fix the login problem.
    alan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Amr ([email protected]):
    Hello All ..
    When pressing on the Ok or Apply Buttons in the Customize page of any of the four portlets, I got a blank page. Although I have compared the code of renderEdit method with the JspServicesCustom.jsp in the Jsp Services sample portlet provided in the JPDK, and also compared the resulting generated HTML from the two cases. They are similar specially in the code that handles the OK and Apply Html buttons, but the Jsp case is working well, it re-renderes after presing Ok or Apply, while the Lotus case always give blank page.
    Any Suggestions to debug or workaround ?
    Pls Help..
    Regards
    Amr<HR></BLOCKQUOTE>
    null

  • Registration portlet customization.

    Hello there,
    I want to ask if we can customize the look and feel for the registration portlet, or is there any JAVA API can we call to make a user in OID and Portal???
    Kindly advise.

    For customization of Self-registration portlet follow following thread on thi forum:
    Subject Customize Self Registration Portlet/Form? dtd Nov 10, 2003 9:03
    And refer the following to create user programatically thru Java APIs in portal 9.0.2:
    Oracle Internet Directory Application Developer's Guide
    Release 2 (9.0.2) ->Java API for Oracle Internet Directory -> oracle.ldap.util.User
    hope this soves your problem....!!!

  • Basic portlet customization

    Hi,
    We are developing a portal using Oracl10g portal
    I just added the Baisc Portlet in the portal page, but it has button with title "GO"
    How can i customize that portlet to change the button title to "STart Search" inspite of "GO" ?
    Regards
    Mohamed Hammed

    hi mohammad
    i am facing the same problem so if u solve it please let me know

  • Portlet Customization Link/Oracle Logo

    I have applied one of the standard templates to my forms,
    reports, etc. but when I publish the report as a portlet and
    allow users to access 'Customize' link they get the Oracle Logo
    displayed on the banner instead of the graphic used elsewhere.
    How can I change it?

    Tom, I had the same problem as this, I don't think currently (up to Portal 3.0.9) you have any control over the
    appearance of the customize form, but one thing you can do is replace the Oracle logo with one of your own.
    The file is called logo.gif (245 X 70 pixels) and is stored in the images directory on your Portal server.

  • Java portlet customization depending user belongs an OID group

    Hi
    I have developped a Java portlet with a customization display, depending user belongs a specific OID group or not.
    I used a preparedStatement to call the wwsec_api.is_user_in_group PL/SQL procedure.
    My problem is that it seems that OID does not close connections as our portal falls after 2 or 3 days when I install this portlet in production.
    Therefore I wonder if there is a bug in the API wwsec_api.is_user_in_group (if it close OID connection after returning the boolean result).
    Is there a more efficient way in a Java portlet to check if a user belongs an OID group ?
    Is there a bug in wwsec_api.is_user_in_group ?
    Thanks for your help,
    Best Regards,
    Jean-Christophe

    Hi Rajiv,
    I tried out the following code for getting the database reference which I got from some posts on net.
    tcDataProvider db;
                        tcUtilityFactory tcu;
                        ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
                        final Hashtable env2 = config.getAllSettings();
                        tcu = new tcUtilityFactory(env2, "xelsysadm","Password");
                        tcBaseUtility mBaseUtil = (tcBaseUtility) tcu.getUtility("Thor.API.Base.tcUtilityOperationsIntf");
                        DBReference=mBaseUtil.getDataBase();
    But when I execute the code, I get an error :
    Error while getting utility Thor.API.Base.tcUtilityOperationsIntf[Ljava.lang.StackTraceElement;@619eeaaThis must be at the getUtility method call.
    Can you please guide me as to what I might be doing wrong here?
    Thanks,
    $id

  • Java portlet customization depending user in a group

    Hi
    I have developped a Java portlet with a customization display, depending user belongs a specific OID group or not.
    I used a preparedStatement to call the wwsec_api.is_user_in_group PL/SQL procedure.
    My problem is that it seems that OID does not close connections as our portal falls after 2 or 3 days when I install this portlet in production.
    Therefore I wonder if there is a bug in the API wwsec_api.is_user_in_group (if it close OID connection after returning the boolean result).
    Is there a more efficient way in a Java portlet to check if a user belongs an OID group ?
    Is there a bug in wwsec_api.is_user_in_group ?
    Thanks for your help,
    Best Regards,
    Jean-Christophe

    We used Java JNDI API's to check if a user was in a group, but were unable to get what are the list of groups the user is a memeber of.,
       * Checks if the specified userDN is a member of the specified groupDN.
       * @param userDN  Distinguished name of the user
       * @param groupDN Distingushed name of the group
       * @return  true - if the user belongs to the group, else false
       * @exception NamingException if any directory operation fails
      public boolean isUserInGroup(String userDN,String groupDN)
        throws NamingException {
        boolean ingroup = false;
        // Filter to check if the user DN is a member
        // A user is a member of a group if the uniqueMember attribute of that group entry
        // has the user DN value.
        String filter = "(uniqueMember="+userDN+")";
        // Initialize search controls to search with scope as sub tree
        SearchControls searchControls = new SearchControls();
        searchControls.setSearchScope(SearchControls.SUBTREE_SCOPE) ;
        // Set the attributes to be returned
        searchControls.setReturningAttributes(new String[]{"cn"});
        // Search under the specified group
        NamingEnumeration  results = dirctx.search(groupDN, filter, searchControls);
        // If the search has results, then the user is a member
         if (results.hasMore()) {
             ingroup = true;
         }  // else user not present, i.e defaulted
         return ingroup;
      }Regards
    Elango.

  • Masthead customization problem....

    Hello All,
    I am facing problem with masthead Customization. I hv included one image, three external links in masthead area using par file customization through NWDS.
    Now at the same time, I was trying to customized masthead area by using theme editor to remove the underlines displyed on the external links.
    However, my changes done are not reflected in masthead area after logout for users ?
    Will I be able to still use theme editor after doing customizing with the help of par file ?
    I hv tried removing chaches, logged out and logged in several times, bu no luck ?
    Pls, help !! Thanks for time and your inputs. Points assured.
    Best Regards,
    Anil Kumar

    Hi Anil,
    If you didn't changed class tags from html there should
    be no problem. There are tags :
    <TD nowrap class="prtlHdrSep"> </TD>
    <TD nowrap class="prtlHdrWelcome"
    <TD class="prtlHdrBrandImgContainer"
    etc.
    I changed my masthead a lot, it is completely different
    from original but since I didn't change class tags from
    tables I can still change some settings from theme
    editor.
    If you just want to remove underlines from your custom links try adding this to your jsp :
    <style>
    a.customlink {
    text-decoration: none;
    </style>
    and add your links like :
    <a href="http://www.sdn.sap.com" class="customlink">my test link</a>
    Regards
    Abdul.

Maybe you are looking for

  • Why do I get redirected to Yahoo when I type Google into Firefox?

    When I type google.com into the URL box of Firefox or Safari on my 2008 Macbook, I get atumoatically redirected to a Yahoo website with the following URL - http://developer.yahoo.com/yql/console/ I can still search in the Google search box in the top

  • GeForce stops getting detected by driver

    I am having problems with my GF 6600GT on AGP for some time now. Often, the bootup of Windows takes unusually long, and then the resolution drops, windows and dialogs move sluggish, and 3D stops working altogether. As I open the Device Manager I find

  • Iphone changes time in calendar sync with Mac?

    Can anyone help? I have a 24" mac running Leopard 10.5.7 and an iPhone 3G. When I sync the two any calendar events I have on the Mac arrive on the iPhone with the time changed by 8hrs (it moves them 8 hours earlier). Does anyone know what I have to d

  • Need to change size of I-beam and cross for accessibility

    I am visually impaired and use Acrobat Pro for my job.  I have gotten to the point that I can no longer see the I-beam or cross as they move around the page.  I have resolved this at the OS (Windows 7) level and have larger and thicker pointers that

  • Signal drops inside the villages in LENOVO A7000

    No signal(signal totally drops) inside the villages..works well in all other phones why???...pls reply me.. Any update for this issue..