CachedOpenCommunityInfo throws exception on Knowledge Directory pages

I have built custom nav that calls the CachedOpenCommunityInfo method. This method throws an exception with a message suck as "*** ERROR *** Could not access the community." when I click on the Knowledge Directory of my community.
Any ideas why this is throwing an exception and how to avoid the exception?
Ideas are greatly appreciated.

The answer is simple. Your program wants to define a new attribute definition, but the name you want to use for it is already used. (Perhaps it was done previously by your own program ;-)). You can give another (not used)name for the new attribute, or delete the old one from the attribute definitions in your directory. How you can do the later depends on the directory server you use. But you always can do it with a java program, and writing it is a good excercise. :-)
BR,
don

Similar Messages

  • CreateJavaSchema throws exception on active directory

    Hello,
    I'm attempting to follow the jndi tutorial using win2k active directory. I'am using a clean installation but every time i run the program I get the following error:
    Starting application C:\java\CreateJavaSchema.class
    [updating Active Directory schema ...]
    [locating the schema]
    [inserting new attribute definitions ...]
    javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - 0000207E: AtrErr: DSID-0315096E, #1:
         0: 0000207E: DSID-0315096E, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att 3 (cn)
    ]; remaining name 'CN=javaCodeBase'
         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2848)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2810)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2616)
         at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:740)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
         at CreateJavaSchema.insertADAttributes(CreateJavaSchema.java:416)
         at CreateJavaSchema.updateADSchema(CreateJavaSchema.java:353)
         at CreateJavaSchema.updateSchema(CreateJavaSchema.java:191)
         at CreateJavaSchema.run(CreateJavaSchema.java:107)
         at CreateJavaSchema.main(CreateJavaSchema.java:92)
    Interactive Session Ended
    Anybody out there got anny ideas? Even if it is a stupid question, please do answer! I'am stuck.

    The answer is simple. Your program wants to define a new attribute definition, but the name you want to use for it is already used. (Perhaps it was done previously by your own program ;-)). You can give another (not used)name for the new attribute, or delete the old one from the attribute definitions in your directory. How you can do the later depends on the directory server you use. But you always can do it with a java program, and writing it is a good excercise. :-)
    BR,
    don

  • How to determine if the current page is a "Community Knowledge Directory"

    I am creating a new Navigation Scheme and I was wondering if anybody has figure out how to test to see if the current page the user is on is a "Community Knowledge Directory" page or not. What I am trying to do is display a different background color when the user lands on a page in a horizontal tab navigation. I've noticed that there is a control=SetSiteMap in URL when ever the user lands on the Community Knowledge Directory. Is that what I should be checking for?

    I am creating a new Navigation Scheme and I was wondering if anybody has figure out how to test to see if the current page the user is on is a "Community Knowledge Directory" page or not. What I am trying to do is display a different background color when the user lands on a page in a horizontal tab navigation. I've noticed that there is a control=SetSiteMap in URL when ever the user lands on the Community Knowledge Directory. Is that what I should be checking for?

  • Getting the name of the page that throws an exception from an error page

    How can I get the name of the page that throws an
    error exception from an error page?.
    Thanks.

    In each of your jsp pages, u should set the name of page in the request object. e.g.
    In jsp page called main.jsp you should do request.setAttribute("pageName","main.jsp");
    Then in error page you can get the name like
    String pageInError = (String) request.getAttribute("pageName");
    I hope that answers your question.
    thx

  • Pages, Subcommunities & Knowledge Directory Link of Parent Community

    Is there an easy way to get the pages, sub-communities, and knowledge directory link of a parent community? Essentially I need to get all the information that GetCurCommPages provides, but for a parent community.

    What did you do on the computer before this problem arose? Updating, cleaning, what?
    Have you tried the applications in another user account on the computer? Do so and if you dont' have an another account you can create one in System preferences > accounts. Tell us the result.
    As you have problems with TextEdit to I think you have a system problem affection the applications you mentioned. Do some maintenance like Repair permissions, delete cash etc. Onyx is a frre applications that you can download from http://www.titanium.free.fr/download.php

  • Why jsp throw exception , but error page can' t catch it .

     

    I use japanese Unix.
              so must add follow
              <%@ page contentType="text/html;charset=SJIS" %>
              then error happen
              Jim Clark wrote:
              > I'm not sure what the problem is, but the following works for me in WL5.1
              > SP3 on NT:
              >
              > <%@ page errorPage="testerror.jsp" %>
              > <h1>hello</h1>
              > <%
              > String yes = "yes";
              > if ( yes.equals("yes")) throw new IllegalStateException("yes");
              > %>
              >
              > The page that shows is my testerror.jsp. Double check your page directive
              > specifying your error page.
              >
              > --
              > Jim Clark
              > Idea Integration
              > http://www.idea.com
              >
              > "yang" <[email protected]> wrote in message news:[email protected]...
              > > I use error page , but jsp have exception . error page not catch it.
              > >
              > > throw follow exception only
              > >
              > > ? 6 19 19:01:03 JST 2000:<E> <ServletContext-General> Servlet failed
              > > with Exception
              > >
              > > java.lang.IllegalStateException: Attempt to change ContentType after
              > > calling getWriter() (cannot cha
              > > nge charset from 'SJIS' to 'null')
              > > at java.lang.Throwable.fillInStackTrace(Native Method)
              > > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > > at java.lang.Throwable.<init>(Compiled Code)
              > > at java.lang.Exception.<init>(Compiled Code)
              > > at java.lang.RuntimeException.<init>(Compiled Code)
              > > at java.lang.IllegalStateException.<init>(Compiled Code)
              > > at
              > > weblogic.servlet.internal.ServletResponseImpl.setEncoding(Compiled Code)
              > >
              > > at
              > > weblogic.servlet.internal.ServletResponseImpl.setContentType(Compiled
              > > Code)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
              > > at
              > > weblogic.servlet.internal.RequestDispatcherImpl.forward(Compiled Code)
              > > at weblogic.servlet.jsp.PageContextImpl.forward(Compiled Code)
              > > at
              > > jsp_servlet._aeonmarket._loan._W_95_AEL032._jspService(Compiled Code)
              > > at weblogic.servlet.jsp.JspBase.service(Compiled Code)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
              > > at
              > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
              > > Code)
              > > at
              > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
              > > Code)
              > > at
              > > weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled
              > > Code)
              > > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled
              > > Code)
              > > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              > > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              > >
              

  • Error when publishing to Knowledge Directory

    am deploying Plumtree 5.0.3 with Collaboration Server 4.0, Content Server 5.0.4, WebLogic 8.1, with SQL Server 2000 (SP3) on Windows 2003 Server Standard Edition/
    I have several projects where I have successfully uploaded 25 documents (PDF and Word) into the document repository. I have successfully published all but 4 of these documents to my Knowledge Directory. These 4 documents happen to be the largest documents I have (31 MB, 25, 12, and 6). I get two different error messages (2 documents get one error, the other 2 get the other error).
    One error message is:
    "Gateway was not able to access requested content. If the error persists, contact your Portal Administrator."
    The other message is:
    "The Collaboration Server encountered an error.
    If the problem persists, contact a portal administrator.
    ; nested exception is:
    java.net.SocketTimeoutException: Read timed out"
    More detail is also provided here.
    These documents that I am trying to publish, I am following the same process that I followed successfully for the other 21 documents. I cannot figure out any reason or solution to this. Any suggestions?

    Just to clarify, managing large files with Collaboration Server definitely is supported, and is in some ways common practice. Collab by default is set up to manage smaller files, but only to get in lock-step with portal settings, and to prevent large chunks of information unnecessarily passing through the gateway.
    Thanks,
    Matias CudichProduct Manager, Server Products------- Jian Wu wrote on 3/29/05 11:49 AM -------
    It's really not a good idea to have Collab manage large files, is this a production system, or just for your test? There is a setting in Collab's config.xml to limit the size of a single file, and the recommended/default value is 10MB.
    I don't believe Collab throws a timeout exception at download, you probably need to tweak gateway timeout settings for this.

  • Using sql bulk copy throwing exception -The given value of type String from the data source cannot be converted to type int of the specified target column

    Hi All,
    I am reading notepads files and inserting data in sql tables from the notepad-
    while performing sql bulk copy on this line it throws exception - "bulkcopy.WriteToServer(dt); -"data type related(mentioned in subject )".
    Please go through my  logic and tell me what to change to avoid this error -
    public void Main()
    Dts.TaskResult = (int)ScriptResults.Success;
    string[] filePaths = Directory.GetFiles(@"C:\Users\jainruc\Desktop\Sudhanshu\master_db\Archive\test\content_insert\");
    for (int k = 0; k < filePaths.Length; k++)
    string[] lines = System.IO.File.ReadAllLines(filePaths[k]);
    //table name needs to extract after = sign
    string[] pathArr = filePaths[0].Split('\\');
    string tablename = pathArr[9].Split('.')[0];
    DataTable dt = new DataTable(tablename);
    |
    string[] arrColumns = lines[1].Split(new char[] { '|' });
    foreach (string col in arrColumns)
    dt.Columns.Add(col);
    for (int i = 2; i < lines.Length; i++)
    string[] columnsvals = lines[i].Split(new char[] { '|' });
    DataRow dr = dt.NewRow();
    for (int j = 0; j < columnsvals.Length; j++)
    //Console.Write(columnsvals[j]);
    if (string.IsNullOrEmpty(columnsvals[j]))
    dr[j] = DBNull.Value;
    else
    dr[j] = columnsvals[j];
    dt.Rows.Add(dr);
    SqlConnection conn = new SqlConnection();
    conn.ConnectionString = "Data Source=UI3DATS009X;" + "Initial Catalog=BHI_CSP_DB;" + "User Id=sa;" + "Password=3pp$erv1ce$4";
    conn.Open();
    SqlBulkCopy bulkcopy = new SqlBulkCopy(conn);
    bulkcopy.DestinationTableName = dt.TableName;
    bulkcopy.WriteToServer(dt);
    conn.Close();
    Issue 1:-
    I am reading notepad: getting all column and values in my data table now while inserting for date and time or integer field i need to do explicit conversion how to write for specific column before bulkcopy.WriteToServer(dt);
    Issue 2:- Notepad does not contains all columns nor in specific sequence in that case i can add few column ehich i am doing now but the issue is now data table will add my columns + notepad columns and while inserting how to assign in perticular colums?
    sudhanshu sharma Do good and cast it into river :)

    Hi,
    I think you'll have to do an explicit column mapping if they are not in exact sequence in both source and destination.
    Have a look at this link:
    https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopycolumnmapping(v=vs.110).aspx
    Good Luck!
    Kaur.
    Please mark as answer if this resolves your issue.

  • Programmatically adding chart to a report throws exception

    programmatically adding chart to a report throws exception "chart condition fields are not valid".
    Configuration:
    I am using CR4E to create web application, I've added RAS jars (rasapp.jar, rascore.jar, reporttemplate.jar, serialization.jar) to this web application. For designing reports i am using Crystal Reports 2008.
    Code:
    <%
    // Get the previously opened report from the session.
    ReportClientDocument reportClientDocument =
         (ReportClientDocument)session.getAttribute("ReportClientDocument");
    System.out.println(reportClientDocument.getReportDocument().getName());
    // Try to get the report's DataDefinition object.
    IDataDefinition dataDefinition;
    try
         dataDefinition = reportClientDocument.getDataDefController().getDataDefinition();
    // If the DataDefinition object can not be retrieved, redirect the user to an error page.
    catch (Exception e)
         System.out.println("With error1");
        return;
    // Create a new ChartDefinition object and set its type to ChartType.group.
    ChartDefinition chartDefinition = new ChartDefinition();
    chartDefinition.setChartType(ChartType.group);
    Get the conditional field of the report's first group. Set this conditional
    field for the ChartDefinition object using the setConditonalFields method. Notice
    that the conditional field is first placed in a Fields collection because the
    setConditionalFields method takes a Fields object as an argument.
    Fields conditionFields = new Fields();
    if (!dataDefinition.getGroups().isEmpty())
         IField field = dataDefinition.getGroups().getGroup(0).getConditionField();
         System.out.println("Condition field name ->" + field.getLongName(Locale.ENGLISH));
         conditionFields.addElement(field);
    chartDefinition.setConditionFields(conditionFields);
    //Get the summary field name from the form on the previous page.
    String summaryFieldName = URLDecoder.decode(request.getParameter("summaryField"));
    System.out.println("Summary field name ->" + summaryFieldName);
    Loop through all of the report's summary fields until the one matching the name
    above is found. Set this summary field for the ChartDefinition object using the
    setDataFields method. Notice that the summary field is first placed in a Fields
    collection because the setDataFields method takes a Fields object as an argument.
    Fields dataFields = new Fields();
    for (int i = 0; i < dataDefinition.getSummaryFields().size(); i++)
        IField summaryField = dataDefinition.getSummaryFields().getField(i);
         if (summaryField.getLongName(Locale.ENGLISH).equals(summaryFieldName))
              System.out.println("Adding data field ->" + summaryFieldName);
              dataFields.addElement(summaryField);
    chartDefinition.setDataFields(dataFields);
    Create a new ChartObject to represent the chart that will be added.  Set the
    ChartDefinition property of the ChartObject using the ChartDefinition object created
    above.
    ChartObject chartObject = new ChartObject();
    chartObject.setChartDefinition(chartDefinition);
    Get the chart type, chart placement, and chart title strings from the form on the
    previous page. If no chart title was chosen, create a generic title.
    String chartTypeString = request.getParameter("type");
    String chartPlacementString = request.getParameter("placement");
    String chartTitle = request.getParameter("title");
    System.out.println("chartTypeString ->"+ chartTypeString + "<-chartPlacementString->" + chartPlacementString + "<-chartTitle->"+chartTitle);
    if (chartTitle.equals(""))
         chartTitle = "untitled";
    Create a ChartStyleType object and a AreaSectionKind object based on the
    the chartTypeString and chartPlacementString retrieved above. In this example
    possible chart types are bar chart and pie chart. Possible chart placements
    are header and footer.
    ChartStyleType chartStyleType = ChartStyleType.from_string(chartTypeString);
    AreaSectionKind chartPlacement = AreaSectionKind.from_string(chartPlacementString);
    // Set the chart type, chart placement, and chart title for the chart.
    chartObject.getChartStyle().setType(chartStyleType);
    chartObject.setChartReportArea(chartPlacement);
    chartObject.getChartStyle().getTextOptions().setTitle(chartTitle);
    // Set the width, height, and top for the chart.
    chartObject.setHeight(5000);
    chartObject.setWidth(5000);
    chartObject.setTop(1000);
    Get a ReportDefController object that can be used to modify the report's definition.
    ReportDefController reportDefController;
    try
         reportDefController = reportClientDocument.getReportDefController();
    catch (Exception e)
         System.out.println("With Error2");
         return;
    *Create a Section object that represents the section that will hold the chart.
    If the chart placement was set header, get the header section, otherwise, if the
    chart placement was set to footer, get the footer section.
    Section chartSection = null;
    if (chartPlacement.equals(AreaSectionKind.reportHeader))
         IArea reportHeaderArea =
              reportDefController.getReportDefinition().getReportHeaderArea();
         chartSection = (Section)reportHeaderArea.getSections().getSection(0);
    else if (chartPlacement.equals(AreaSectionKind.reportFooter))
         IArea reportFooterArea =
              reportDefController.getReportDefinition().getReportFooterArea();
         chartSection = (Section)reportFooterArea.getSections().getSection(0);
    Add the chart to the section using the ReportDefController object.
    reportDefController.getReportObjectController().add(chartObject, chartSection, 1);
    // Save the changes and close the report.
    reportClientDocument.save();
    reportClientDocument.close();
    session.removeAttribute("ReportClientDocument");
    %>     
    Trace:
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The chart condition fields are not valid.---- Error code:-2147213287 Error code name:invalidChartObject
         at com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException.throwReportDefControllerException(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.add(Unknown Source)
         at org.apache.jsp.AddChart_jsp._jspService(AddChart_jsp.java:230)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:595)

    Please try this code snippet
    var cs:ColumnSeries = new ColumnSeries();
    cs.dataProvider = dp;
    cs.displayName = "Series 2";
    cs.yField = "values";
    chart.series.push(cs);
    OR
    var temp:Array = [];
    var cs:ColumnSeries = new ColumnSeries();
    cs.dataProvider = dp;
    cs.displayName = "Series 2";
    cs.yField = "values";
    temp = chart.series;
    temp.add(cs);
    chart.series = temp;

  • Catching an exception in an JSF page

    Hi,
    I have made the following example:
    In my jsf page I have:
    <a4j:commandButton id="save" action="#{settings.save}"
    reRender="attributes" />
    <h:outputLabel value="Save" for="save" />
    <table width="100%" cellpadding="0" cellspacing="0">
    <!--
    <tr>
    <td> If exception occurs add extra buttons here for more actions
    </td>
    </tr>
    -->
    <tr>
    <td><ui:include src="/attributes.xhtml">
    <ui:param name="parent" value="#{settings}" />
    </ui:include></td>
    </tr>
    </table>
    In SettingsBean.java
    public void save() throws exception
    try
    doSomething();
    catch(Exception e)
    // catch the exception here and send it back to the jsf page????
    I want to be able to catch the exception when it occurs in my jsf page. If the exception arrises I want to add some extra buttons.
    Any ideas how to resolve this?
    Thanks in advance

    JSF does not work like JSP, even when using JSP with JSF, in that the execution is decoupled from the page being processed. So you cannot catch exceptions in JSF views.
    Assuming I have sufficiently confused you now, let me give you some ideas as to how to handle your situation. The usual way this is handled is to register a message when an exception occurs which are then displayed by <h:messages> or <h:message> components.
    However, this does not appear to be suitable for your purpose as you require specialized output when the exception occurs. So you could store a flag (or even the exception itself) in a backing bean and use the rendered property of all components to conditionally display your buttons. BUT you will need to take care that the dynamic value of the rendered property will be the same on the subsequent request or the actions for the buttons will not be queued.

  • Storing links to WMV in Knowledge Directory...Possible to not parse?

    When i add a wmv to the knowledge directory, the portal attempts to parse the video (supposedly for the search index).
    My WMV video is 160MB, and I get: Extended Error Message: Exception of type System.OutOfMemoryException was thrown.
    Can't i juat add it as a card to the KD without the portal trying to download it first?

    now its coming back to me...
    So i wanted WMV videos to have their own icon, so i created a content type called Windows Media Video File which uses the Document Accessor "File Accessor"
    Then in the content type map i have
    File Type: *.wmv -> Windows Media Video File
    MIME Type: video/x-ms-wmv -> Windows Media Video File
    Is there a way I can keep my custom WMV icon on my videos and still categorize them as non-indexed format?

  • Community Members and Knowledge Directory Link

    Hi,
    I'm using the support centre nav scheme but can't get the 'Community Members and Knowledge Directory' link to appear (the one that appears like an extra community page).
    I've set the property in the Community Wizard but that doesn't work. And I've tried to do it by amending the code for the nav scheme, but can't get it to appear. It appears to be the way the page links are generated in the nav scheme code, but this link isn't a page. And I can't figure out how it's generated in the native nav scheme code.
    Anyone got this to work, or have any ideas about to get it work?
    Thanks in advanceDavin

    I believe the support centre navigation does not display the knowledge directory link. You would need to add it yourself. The GetCurCommPages call on CommunityNavPage will give you the Community pages inside the current community and the knowledge directory link. If you just want the knowledge directory link without the mypages, you would need to create it yourself. Look in GetCurCommPages in NavigationModel for example.

  • PRC - Knowledge Directory - createRemoteDocument - 'Object Not Found'

    I can connect to the Knowledge Directory (verified in that I can walk the folder structure etc... )
    I can upload files to the document repository (verified in that when I upload the file via PRC I return the new folder and file name and can go to the new physical file, rename it and open it)
    But when I try to make a card for that file within the KD, by way of createRemoteDocument(x,y,z) I get the following error:
    <pre>
    com.plumtree.remote.prc.PortalException: null; nested exception is:
         java.rmi.RemoteException: -2147205120 - Error in function PTBaseObjectManager.Open (nObjectID == 214, bLockInitially == false): -2147205120 - Object not found.
         at com.plumtree.remote.prc.DocumentWrapper.save(DocumentWrapper.java:84)
    </pre>
    Thoughts?
    Any assistance would be greatly appreciated.
    Thanks,
    -Mel

    Hi mdkelly, Sorry for such a late reply (due to credential issues).
    I am using Windows task scheduler to schedule the task. I am given the administrator access to the server (Windows Server 2012). So I think I set to run the script under system account.
    My apologies for asking this, am I missing something while scheduling the script through task scheduler?  how to check if the scheduled task is running under who's credentials? How to pass my (admin) credentials, so that the script execution won't face
    a problem? Any suggestion on the above questions will be helpful. (I tried to search on net for the questions but didn't get any conclusive answers)  
    Thanks in advance.

  • Exception occurred processing JSP page

    I'm a Java newbie... I'm trying to write a very simple (I think) .jsp file to test the connectivity to our Oracle DB.
    here's my entire .jsp file...
    <%@ page import="java.io.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="javax.sql.*"%>
    <%
    String dname;
    String query = "select DNAME from DEPT";
    Connection conn = null;
    ResultSet rs = null;
    Statement stmt = null;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // Create a connection to the database
    conn = DriverManager.getConnection("jdbc:oracle:thin:@hostname:1521:SID", "username", "password");
    } catch (ClassNotFoundException e) {
    // Could not find the database driver
    } catch (SQLException e) {
    // Could not connect to the database
    stmt = conn.createStatement();
    rs = stmt.executeQuery(query);
    while ( rs.next() ) {
    dname = rs.getString("dname");
    System.out.println("dname: " + dname);
    %>
    I'm getting the following error...
    org.apache.jasper.JasperException: An exception occurred processing JSP page test3.jsp at line 23
    20: // Could not connect to the database
    21: }
    22:
    23: stmt = conn.createStatement();
    24:
    25: rs = stmt.executeQuery(query);
    26: while ( rs.next() ) {
    Any help would be appreciated.
    Thanks!

    You need to move all of this:
    stmt = conn.createStatement();
    rs = stmt.executeQuery(query);
    while ( rs.next() ) {
    dname = rs.getString("dname");
    System.out.println("dname: " + dname);
    }inside your try/catch. if any of them throw an exception, your not catching it.
    Further you should use a finally block to close your connection.
    Edited by: inryji on Feb 21, 2008 3:15 PM

  • Light detailed navigation throwing exception

    Hi all
    I am using the light framework in the portal.
    The light detailnavigation is throwing the error when a page is accessed using the short URL from a link in the footer. The toplevel navigation items are also getting cleared. The target of the URL is hidden from the navigation structure (Invisible in Navigation.)
    FOllowing is the error that is being displayed in the light detailed navigation structure,
    <b>An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.pct/every_user/general/com.sap.portal.lightDesktop/frameworkPages/com.sap.portal.lightframeworkpage/com.sap.portal.lightinnerpage/com.sap.portal.lightDetailedNavigationTree
    Component Name : com.sap.portal.navigation.lightdetailednavigationtree.LightDetailedNavigationTree</b>
    What is the solution for the above..Please help..It's kinda urgent.
    Can we navigate to invisible pages using shorturl or quicklinks  in lightframework??
    With Best regards,
    Geogi
    Message was edited by: Geogi Luke

    Hi Christophe
    I am facing the problem in <b>2004 SP Stack 16</b>
    But as per the notes this is already fixed in sp16.
    What i did was instead of placing the hidden nodes in the first tab of TLN, i placed it in the second tab and is working fine.
    If hidden nodes are there in the first tab then the error is coming.
    Regards
    Geogi

Maybe you are looking for

  • Dual monitor on Mac Mini

    Which model can I have dual monitors set up? Thanks

  • Help! photoshop wont open! ive never had this problem

    I went to open my photoshop,  which I have had for 2 years now and it poped up with a message saying " could not initialize photoshop because the preferences file was invalid(it has been deleted)" I have not deleted anything. But I even uninstalled a

  • Multiple Hyperlinks for interactive PDF

    Hi, I work for a company that creates 'Open Home' Maps and Lists for multiple real estate publications. the map has flags with numbers that corresponds with the matching list of details. I would like to turn these PDF's into a more interactive file u

  • Spry Submenus Not Visible on RHS only

    My spry submenus work totally fine except for the very far right hand side of the page where the submenus are cut off. I can see the very beginning of the submenu but the rest of it with the text is hidden once it goes past the edge of the page. Clic

  • Will the iPhone case affects the camera and quality of photos?

    I really want to know if the case in the iPhones might affect the quality of the photo. Thus, what is the best case that suits best for the iPhone 5s?