Custom CWS in EDK 5.3

I wrote a custom CWS that worked with EDK 5.1 in 5.0.  I'm now trying to deploy the same crawler to Foundation 6.0 with EDK 5.3 but my crawler is failing.  Are there differences between the two EDK versions that would cause this?  If so, is there any documentation of a sample CWS using 5.3?  For reference, my custom CWS isn't much more than a basic version of the DatabaseRecordViewer sample CWS.  Thanks!
Jerry

That right Diego, but I figure out now that those are sap standard approver determinator I beleve as i mentions such as Role, Manger, no stage etc etc, you know what I mean. Becuse on one stage and path level we were using ROLE as (approver Determinator) and I have to sync up same in my development system.
tell me I think I need to upload the roles and those roles will go to approver 1 stage is role owner (as ROLE cad) and 2 stage is business process owner (as BPO_CAD) different approver, so that ROLE cad we have ROLE OWNER stage.
So tell me the right way that how would I assign my roles only to ROLE cad (at first stage) as role owner approver.

Similar Messages

  • Custom CWS? (Crawler Web Service)

    Plumtree Customers and Partners,
    For the Odyssey conference in October, I would like to highlight a few examples of custom Crawler Web Services that have been built at customer sites (or by partners).
    If you have an example that you'd like to share, please email me -> [email protected]
    Thanks,
    Lars
    Product Management

    Hi,
    Ok.
    Can you check in Home>Application Builder>Application 100>Shared Components>Authentication Schemes>Edit Authentication Scheme
    in the Select List field Session Not Valid Page
    that it is page 2.
    Check that page 101 has :APP_USER populated when you navigate to it.
    It seems you created Web Service reference manually by copy pasting SOAP envelope?
    And there is region SOAP Response with field Store Response in Collection
    When you create Web service reference using WSDL document location, then you are not asked for collection name.
    Only when you create On Submit process of type Web service in page 101, there is an option to use collection or item.
    And if you create Web service manually, it seems you can not choose between collection and item, you need to use collection that you specified when creating reference.
    Anyway, you can use collection with that dummy login page approach since :APP_USER is populated with nobody on page 101.
    I updated above page and created Web service reference manually from SOAP envelope (from the same Webs service)
    and put there the second region with the result. Collection is specified in Web service reference.
    I hope that will solve your issue.
    Regards,
    Oleg

  • Clearing custom session variable in 5.0

    I have set a custom session variable in a method called in the OnAfterLogin PEI.
    Do I need to ckear this session variable on logout? If so, how do I do that?
    Or does the session variable clear on its own if teh session is abandoned or killed on logout?
    I just want to make sure I am not leaking any memory and do proper housekeeping.
    Thanks!
    Vanita
    Staples

    Sam,
    It appears that you are one of the few installations that actually used a display/formatting page under 4.x. Under 5.0 you have the option of going directly to the source of the card or gatewaying the card. Those are your only two options to my knowledge. I suppose that the answer might rest on using docfetch but this would require a custom CWS.
    Good Luck
    Phil Orion

  • How to disable Gateway for intranet, enable Gateway for extranet

    We are upgrading from Plumtree 4.5 to Plumtree 5.04 (.NET), and are having issues with web cards going through the gateway space. The requirement is for intranet users to NOT use the gateway space to access content, and for extranet users to use the gateway - since they could not access the content without the gateway from outside the firewall.
    In Plumtree 4.5, we created a custom file that checked to see if the user was on the intranet or extranet. Basically, if intranet then redirect to the content file - else if extranet, go through gateway.asp to open the file.
    In Plumtree 5.04, the gateway setting is on the web service for the data source and it is either always gateway the content or never gateway the content. Is there a way to allow extranet users to utilize the gateway, but turn the gateway off for intranet users???? I saw a couple of posts for the AccessingFromIntranetuser info setting - if that setting is set to true, does that turn off the gatewaying? Set to false, it allows the gateway to continue?
    We need to turn the gateway off for intranet users due to our content sitting on a web server farm behind a foundry/load balancing switch. With gateway turned on, all of the traffic to the content servers comes from the three web servers and not the client browsers - so all traffic is routed to one content server, overloading it, instead of being load balanced across the content server farm. We can't turn off the gateway entirely, since users have to be able to get to the content from the extranet via the Portal.
    This is for the standard "World Wide Web" data source, so it is not a custom CWS (not a NT file crawler).
    Thanks in advance for your help! This is a showstopper for our implementation!

    Hi Richa,
    As "Agent proxy not enable" is a default rule which comes from microsoft SCOM 2007R2 or 2012 R2 you cannot disable it or override it by saying don't trigger on
    the SCCM agent. If you are overriding a rule or monitor you need to first disable it and tell SCOM trigger only on these agents and add the agents one by one. As you cannot disable this so it is not possible possible.
    Any ways you can try this as per the below screen shot and let me know if it works.
    Add the SCCM server to a group by creating a new group from the groups in Authoring tab and make that SCCM a member of the new group.
    Once done Go to rules and search for that alert. You may get many alerts of the same name but classes may represent different. Any ways select any one among them.
    And right click and select the options as per the below screen shot highlighted in RED.
    Once you have selected "For objects of another class" Select the group you created and click ok. Once you do it you will get the below window.
    As per the below screen shot change the value to False (It will be true by default). As per the below screen shot and click ok and you are done.
    Gautam.75801

  • Using gateway'd URLs in JSP custom tag attributes

    Hello,
    I am running Plumtree G6 using a gateway prefix to gateway Javascript from a remote server. I have recently discovered, thanks to people's help on the forum here, that in certain cases, you need to wrap a URL in a pt:url tag in order for Plumtree to recognize it as a URL that has to be gateway'd (i.e. a URL inside of a Javascript function).
    However, I have a custom tag that contains a contextPath attribute. This custom tag then includes other XML files that get included in the final page that is displayed. I am passing this value as my contextPath:
    <mytag:body sessionName="mysession" campusName="SampleCampus" contextPath="<pt:url pt:href='http://localhost:7021/application/scripts' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>"/>
    However, in the resulting content that is created from this custom tag, the contextPath value is still set to <pt:url pt:href=......./>, and not the actual gateway'd URL. I would have thought that Plumtree would have recognized and gateway'd this URL before it got substituted in the custom tag.
    Does anyone have any thoughts on how to get around a problem like this? One thought I had was to get ahold of the gateway URL value and pass that value directly in my contextPath attribute. Is it possible to get that gateway value, or is there a better solution here?
    Thanks again for any help you can provide.

    Chris,
    I added your code, changed the portlet's web service to send a login token for this portlet, and was then getting some ClassNotFoundExceptions related to Axis classes. So, I went and added all of the jar files from the devkit's lib directory (i.e. plumtree\ptedk\5.3\devkit\WEB-INF\lib), recompiled, and those errors went away. But, now I see the following error:
    java.lang.NoSuchFieldError: RPC
         at com.plumtree.remote.prc.soap.QueryInterfaceAPISoapBindingStub.(QueryInterfaceAPISoapBindingStub.java:27)
         at com.plumtree.remote.prc.soap.QueryInterfaceAPIServiceLocator.getQueryInterfaceAPI(QueryInterfaceAPIServiceLocator.java:43)
         at com.plumtree.remote.prc.soap.QueryInterfaceProcedures.(QueryInterfaceProcedures.java:37)
         at com.plumtree.remote.prc.xp.XPRemoteSession.(XPRemoteSession.java:202)
         at com.plumtree.remote.prc.xp.XPRemoteSessionFactory.GetTokenContext(XPRemoteSessionFactory.java:80)
         at com.plumtree.remote.portlet.xp.XPPortletContext.getRemotePortalSession(XPPortletContext.java:261)
         at com.plumtree.remote.portlet.PortletContextWrapper.getRemotePortalSession(PortletContextWrapper.java:45)
         at jsp_servlet._collabrasuite.__riarooms._jspService(__riarooms.java:325)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:417)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I am using version 5.3 of the EDK, and running Plumtree Foundation G6. Have you ever seen an error like this before?
    Thanks again for all of your help.

  • Display content items into custom remote portlets

    Hi, I need to dinamically display content server items in a custom portlet, using the EDK, but I did not find any way to get this result. Is it poossible to get an object (in my case a published content item) within an ObjectManager and display it's content (in our case a simple HTML content).
    I need to do this because whe have to format the home page of the portal in order to display the first half in three columns and the second half in two columns and we are trying to do this implementing a custom portlet (in the content canvas area) containing a three columns table displaying each a different content item.
    Thank you.

    There are basically two ways that I have done to open the content item editor.1) From a content presentation template you would call a JavaScript function like:
    <script>
    function edit_article$$TOKEN$$() {
    var width = 700;
    var height = 527;
    var left;
    var top;
    left = window.screenLeft + 10;
    top = window.screenTop - 30;
    if ( (left + width/2) > screen.availWidth ||
    (top + width/2) > screen.availHeight ) {
    left = 0;
    top = 0;
    var params = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1";
    window.open("<pcs:value expr='pcs_location'></pcs:value>/published_tools/content_item.jsp?ciid=<pcs:value expr='pcs_id'></pcs:value>&title=ContentItemEditArticleTitle", '', params);
    </script>
    2) The other way is using the content Item API. You get the editor url from the content item, which you already have. Now what you are doing below is almost correct. The importance of the pt:objectid is crucial. Take a look at the web docs on Plumtree ([url[/url]http://www.plumtree.com/edoc/Enterprise_Web_Development_Documentation.htm) under portlets/adaptive portlets/transformer tags/links. So the reason yours is not working is that you are missing some ptargs. The pt:objectid needs to be the objected of the "Content Administrator" portlet. This is for 2 reasons. One is so that you get the correct PTargs and the second is that it will use the basic auth information stored in its web service. So if your objectid of the portlet was 201 then it would look like this:
    lblHref.Text = "<pt:gatewayLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'pt:ObjectID='201' pt:href=\""+ url + "\" target='TinyURL' onclick=window.top.open('','TinyURL'," + WindowOpenParams + ");>"+myContentItem.Name + "</pt:gatewayLink>";
    Andrew Morris | bdg | [email protected]| www.bdg-online.com
    Like blogs? Check out bdg's Plumtree blog at http://bdg-plumtree.blogspot.com.

  • Error Deploying Custom Profile WS

    I get the following error whenn deploying my custom PWS. I can see the Submission page. I encounter the error after clicking submit. I am using EDK 5.1 on Tomcat 4.1.30 and Portal 5.0.4. I have copied the class files in the EDK classes directory. Sounds like a classpath setup problem. I am unsure of where to set the classpath for the 5.1 DeployServlet.
    My sample PWS used to deploy fine on EDK 5.0.2, I think. I've noticed that the DeploySErvlet URL has changed. Does anyone know what are the steps to be followed to deploy WS on EDK 5.1.
    ClassNotFoundExceptionClass not found: com.staples.portal.remote.pws.StaplesPSPWSAny help would be greatly appreciated.
    Thanks.
    Vanita
    Staples

    Sorry! Never mind! I had a type on the class name.

  • Custom PWS (Java) against Oracle

    We are planning on developing a custom PWS in Java against an Oracle database (Peoplesoft).
    We will be deploying Websphere App Server 5.1 with EDK 5.1 (Java) on the remote (portlet/web service) server on the Windows platform.
    Is there any peference/recommendation as to which JDBC driver(Data Direct driver, type etc.) , I should use to access the Oracle database from teh custom PWS? Does anyone forsee any issues with this platform and/or Oracle database access on the remote application server.
    I'd appreciate any JDBC driver specification recommendation and any other insights into this.
    Thanks and regards.
    Vanita
    Staples

    Try this (refers to assignment service, but I believe classpath is the same):
    32.3.2.3 How to Deploy a Custom Assignment ServiceTo deploy a custom assignment service:
    1.Use one of the following methods to make an assignment service implementation class and its related classes available in the class path of Oracle BPEL Process Manager:
    ◦Load your classes in SCA-INF/classes directly or SCA-INF/lib as a JAR.
    ◦Change the Oracle BPEL Process Manager shared library to include your JAR files.
    Note:
    ◦You cannot create different versions of the assignment service for use in different BPEL processes unless you change package names or class names.
    ◦Java classes and JAR files in the suitcase are not available in the class path and therefore cannot be used as a deployment model for the assignment service.
    ◦The steps must be repeated for each node in a cluster.
    Excerpt is from:
    http://docs.tpu.ru/docs/oracle/en/owl/E14571_01/integration.1111/e10224/bp_workflow.htm#BACHEFDH

  • Custom activity rights creation methodology....

    The Activity Manager allow creating custom activity rights that can be used in customs portlets for specific activity related to the purpose of the portlet:
    We plan to develop a lot of portlets using specific custom activity rights (for example Edit_Events, Edit_No_Conformity etc...). The challenge is to build a good set of customs activity rights.
    Example: The manager group can edit the Events form but cannot edit the Non-conformity form witch are part of a custom portlet functionnalities.... The Everybody group can create Events but cannot create Non-conformity elements etc...
    Does anybody have a methodology or experience or best practices concerning the creation (and use) of custom activity rights in portlets ???
    Thanks
    Georges SzczypiorskiQIT Fer et TitaneA business unit of the Rio Tinto group

    We are currently going down this road right now.  From what I have learned an Activity Right (AR) can only be added on the group level but is available through the EDK on portlets residing in either the MY PAGE or COMMUNITY level.  However, there is no grouping available for AR's (at least not in PT5) therefor all AR's should be named uniquely.  You do not, based on my experiences, need to name your URI's with the URI-type notation.  Just keep them unique to the portlet that will consume it.  'Edit_Event' is a little too generic.  We use something like 'Widget_Edit_Event'.
    Consider using the Community Access Levels.  They will not be available through the EDK for portlets existing on MY PAGE's but can be associated on the user level as well as the group level (I think).  I am still investigating this solution but the out-of-the-box access levels may be what you are looking for.
    vr, Rich

  • Par failing on EDK 11.4

    Dear forum members, I've designed a system on custom board using the spartan-6 lx45t device on EDK 11.4 using the base system builder. Following is the device utilization summary after map: 
       Number of LOCed IOBs                  97 out of 97    100%
       Number of SLICEXs                      4521 out of 6822   66%
       Number of Slice Registers             15138 out of 54576  27%
       Number used as Flip Flops          15136
       Number of Slice LUTS                  25539 out of 27288  93%
       Number of Slice LUT-Flip Flop pairs   25636 out of 27288  93% However, after PAR the following error is thrown and bit file is not generated.***************************************************************************************************************************************************************
    ERROR:Xflow - Program par returned error code 30. Aborting flow execution...
    make:
    *** [__xps/system_routed] Error 1  I also get the following warnings during PAR. *************************************************************************************************************************************************************** WARNING:Par:288 - The signal mb_plb/mb_plb/GEN_SHARED.I_PLB_ARBITER_LOGIC/I_ARB_ENCODER/prioencdrOutput_pri<1> has no load.  PAR will not
       attempt to route this signal.
    Starting Router
    Wirelength Stats for nets on all pins. NumPins: 130211
    Phase  1  : 136053 unrouted;      REAL time: 2 mins 3 secs
    Phase  2  : 125020 unrouted;      REAL time: 2 mins 21 secs
    Phase  3  : 86813 unrouted;      REAL time: 7 mins 13 secs
    Phase  4  : 98510 unrouted; (Setup:5539693, Hold:6858, Component Switching Limit:0)     REAL time: 19 mins 11 secs ***************************************************************************************************************************************************************
    WARNING:Route:441 - The router has detected a very high timing score (5469167) for this design. It is extremely unlikely the router will be
       able to meet your timing requirements. To prevent excessive run time the router will change strategy. The router will now work to
       completely route this design but not to improve timing. This behavior will allow you to use the Static Timing Report and FPGA Editor to
       isolate the paths with timing problems. The cause of this behavior is either overly difficult constraints, or issues with the
       implementation or synthesis of logic in the critical timing path. If you would prefer the router continue trying to meet timing and you
       are willing to accept a long run time set the option "-xe c" to override the present behavior.
      Intermediate status: 43159 unrouted;       REAL time: 49 mins 19 secs
      Intermediate status: 29897 unrouted;       REAL time: 1 hrs 19 mins 31 secs
    Updating file: system.ncd with current partially routed design.***************************************************************************************************************************************************************
    WARNING:Route:543 - Because this design is experiencing congestion, we recommend you run SmartXplorer with the "Use built-in SmartXplorer
       strategies for Congestion Reduction" radio button enabled in Project Navigator. For command line users, please run SmartXplorer with the
       -cr switch. This will run algorithms designed to avoid logic congestion. For more information on how to run SmartXplorer, please see the
       ISE Help (Project Navigator Users) or the Command Line Tools Users Guide (Command Line Users).
    Phase  5  : 27042 unrouted; (Setup:21963466, Hold:6858, Component Switching Limit:0)     REAL time: 1 hrs 30 mins 19 secs
    Total REAL time to Router completion: 1 hrs 30 mins 19 secs
    Total CPU time to Router completion: 1 hrs 29 mins 47 secs
     *************************************************************************************************************************************************************** WARNING:Par:468 - Your design did not meet timing.  The following are some suggestions to assist you to meet timing in your design.
       Review the timing report using Timing Analyzer (In ISE select "Post-Place &
       Route Static Timing Report"). Go to the failing constraint(s) and evaluate the failing paths for each constraint.
       Try the Design Goal and Strategies for Timing Performance(In ISE select Project -> Design Goals & Strategies) to ensure the best options
       are set in the tools for timing closure.
       Use the Xilinx "SmartXplorer" script to try special combinations of
       options known to produce very good results.
       Visit the Xilinx technical support web at http://support.xilinx.com and go to
       either "Troubleshoot->Tech Tips->Timing & Constraints" or "
       TechXclusives->Timing Closure" for tips and suggestions for meeting timing
       in your design.
    Number of Timing Constraints that were not applied: 8*************************************************************************************************************************************************************** 
    WARNING:Par:100 - Design is not completely routed.
    WARNING:Par:283 - There are 1 loadless signals in this design. This design will cause Bitgen to issue DRC warnings.***************************************************************************************************************************************************************  
    Total REAL time to PAR completion: 1 hrs 31 mins 3 secs
    Total CPU time to PAR completion: 1 hrs 30 mins 24 secs
    Peak Memory Usage:  553 MB
    Placer: Placement generated during map.
    Routing: Completed - errors found.
    Timing: Completed - 5587 errors found.
    Number of error messages: 0
    Number of warning messages: 8
    Number of info messages: 1
    Writing design to file system.ncd
    PAR done!
     Few days back the same warnings were thrown, but the bit file got generated, and system behaved as expected. But, since then the RTL of customIP core has changed, but by a very small amount. Please let me know, if someone faced the same problem and is there any workaround for it. Thanks in advance,Sumanth.

    I am using the same part and get the same error. I do not believe my design is unbalanced or too highly mapped. It seems very possible that this may be a Spartan-6 LX45 issue, especially considering there are no other forum post about this and any other parts. The fact that both of us have the same problem with the same part and nobody else seems to is suspicious.   Device Utilization Summary:
       Number of BSCANs                          2 out of 4      50%
       Number of BUFGs                          10 out of 16     62%
       Number of BUFIO2s                         3 out of 32      9%
       Number of BUFIO2FBs                       2 out of 32      6%
       Number of BUFPLLs                         2 out of 8      25%
       Number of BUFPLL_MCBs                     1 out of 4      25%
       Number of DCMs                            1 out of 8      12%
       Number of DSP48A1s                       18 out of 58     31%
       Number of ILOGIC2s                        5 out of 376     1%
       Number of External IOBs                  78 out of 218    35%
          Number of LOCed IOBs                  78 out of 78    100%
       Number of External IOBMs                 11 out of 109    10%
          Number of LOCed IOBMs                 11 out of 11    100%
       Number of External IOBSs                 11 out of 109    10%
          Number of LOCed IOBSs                 11 out of 11    100%
       Number of IODELAY2s                       8 out of 376     2%
       Number of IODRP2_MCBs                    22 out of 376     5%
       Number of ISERDES2s                       8 out of 376     2%
       Number of MCBs                            1 out of 2      50%
       Number of OLOGIC2s                       12 out of 376     3%
       Number of OSERDES2s                      50 out of 376    13%
       Number of PLL_ADVs                        3 out of 4      75%
       Number of RAMB16BWERs                    52 out of 116    44%
       Number of RAMB8BWERs                      5 out of 232     2%
       Number of SLICEXs                      4064 out of 6822   59%
          Number of LOCed SLICEXs                1 out of 4064    1%
       Number of Slice Registers             11875 out of 54576  21%
          Number used as Flip Flops          11863
          Number used as Latches                 5
          Number used as LatchThrus              7
       Number of Slice LUTS                  14334 out of 27288  52%
       Number of Slice LUT-Flip Flop pairs   14792 out of 27288  54%
    Overall effort level (-ol):   High
    Router effort level (-rl):    High      ...  ERROR:Xflow - Program par returned error code 30. Aborting flow execution...
    make: *** [__xps/system_routed] Error 1 Message Edited by thirdeye on 03-24-2010 09:28 AM

  • "a custom control callback raised an exception"

    Hello all,
    yes, there are several posts about this error message, but they are all pretty old (<2009) and the solutions didn't seem to work, so I'm starting a new thread.
    I installed 2013sp1 last week and removed 8.5, 2010 and 2012 this morning. And now one of my projects won't compile. Other projects aren't impacted (I tested about 10 in two different workspaces).
    When I compile, I get a popup box with "a custom control callback raised an exception" and it comes back as soon as I click it. I have to kill CVI. It's a project that compiled cleanly with CVI2012 (no warnings). I can open and save the UIR files with CVI2013, no problem. I also deleted the cws file, no change.
    I generated a debug log (cleaned up a bit):
    [ERROR] [NationalInstruments_Restricted::LicenseCommon::getAddOnRegistryInfo] [..\licmgr\LicenseCommon.cpp:83] Error reading licensing information from registry key 'SOFTWARE\National Instruments\CVI\13.0\AddOns\Real-Time'
    [WARNING] [LWGetTreeItem] [..\james\ui_tree.c:1481] Err = -55
    [WARNING] [ChainPanelCallback] [..\james\toolbox.c:584] Err = -45
    [ERROR] [NationalInstruments_Restricted::LicenseCommon::getAddOnRegistryInfo] [..\licmgr\LicenseCommon.cpp:83] Error reading licensing information from registry key 'SOFTWARE\National Instruments\CVI\13.0\AddOns\Real-Time'
    [WARNING] [CheckForAutoRecover] [..\james\AutoSave.c:376] Err = -101
    [WARNING] [LWGetTreeItem] [..\james\ui_tree.c:1481] Err = -55
    [WARNING] [WorkspaceFileProc] [..\james\jn_work.c:657] Trying to load current workspace UFR.
    [ERROR] [NationalInstruments_Restricted::LicenseCommon::getAddOnRegistryInfo] [..\licmgr\LicenseCommon.cpp:83] Error reading licensing information from registry key 'SOFTWARE\National Instruments\CVI\13.0\AddOns\Real-Time'
    [BUILD] [RunJamfileBuild] [..\jon\srctxtcc.c:3331] Building s:\nedm\AcqEDM_Project\AcqEDMv4\cvibuild.AcqEDMv4\Debug
    [BUILD] [MonitorBuildProcess] [..\jon\srctxtcc.c:3644] ...found 248 target(s)...
    [FATAL] [AddFunctionToFakeFp] [..\jon\srcbrowse.c:12459] Assertion failed: typeName
    The last line gets duplicated every time I click the popup, so it's relevant.
    Solved!
    Go to Solution.

    Hello and thank you for looking into this.
    Indeed, I disabled the HTML generation and it compiled fine. I also tried XML and it works, although I don't know what to do with the resulting XML file.
    Here's a code sample showing how I use the triple slash comments, but this is not an example that crashes. I'm trying to pin it down but it's a big interdependant project, so I can't remove pieces easily:
    /// HIFN Write to USB. Use the USB_WRITE shortcut macro instead
    /// HIPAR Endpoint / USB endpoint
    /// ARRAY Data
    /// HIPAR Data / Array to write
    /// HIPAR Count / Number of bytes to write
    /// OUT ErrorMsg
    /// HIPAR ErrorMsg / Possible return error message
    /// HIPAR FunctionName / For debugging
    /// HIPAR Line / Line number for debugging
    static int UsbWrite(int Endpoint, char Data[], int Count, char *ErrorMsg, const char *FunctionName, const int Line) {

  • How to configure UDDI Server with in EDK with a 4.5WS?

    I'm trying to develop a crawler service using EDK5.0.1 with a 4.5ws portal.
    To do this job, I have to deploy and coufigure a UDDI Server which is a requirement for services in 4.5ws.
    After develping and deploying a crawler service, I created gadget server in the 4.5ws portal, and tried to add remote data source, but the popup window for datasource seems not to be able to find the crawler service and showed 'Empty Gadget Server'.
    I think I set up the uddi server with a wrong way, but I don't know what I have to do more to set a uddi server.
    Actually, after developing crawler service and sci service, I deployed these with DeployServlet which is a deploy toolkit offered by EDK.
    With this deploying result, I modified the uddi.xml file and put that file into c:\program files\Plumtree\ptedk\5.0\devkit\config\java\uddi folder.
    Is there any things to set for uddi server?
    Can anybody provide me any advise on this?
    Any help would be appricated.

    The UDDI is used with web services in 4.5x. This is best described as a phone book of URLS for any web services installed in that machine. Those URLS will then point to the individual web services.
    In 5.0 the UDDI server is not needed since it is replaced with the "Remote Server" and "Web Services" tabs. HOw to setup a UDDI with TOMCAT
    UDDI can be setup to run with TOMCAT and I believe this is the only one provided in the EDK installer in the ptedk\5.0\devkit\java directory
    Here's a little TOMCAT information. Web applications are deployed in a folder called "webapp". This case, we have a uddi server installed and it's in a folder called "uddi". So, our file structure for the UDDI server looks like: /webapp - tomcats web application folder /uddi - the uddi application /WEB-INF - standard WEB-INF directory stores java classes, jars and any descriptor files. server-config.wsdd - this is the web service descriptor file for this uddi server - provided by plumtree web.xml - this is the web.xml descriptor file for how the web services in this application will be loaded and run - provided by plumtree /lib - contains the jar files for the uddi server - provided by plumtree The server-config.wsdd file should be the only item that the user needs to modify. Within the file (XML based), there should be the following tag: <!--service for uddi server--> <service name="MessageService" provider="java:MSG" style="message"> <parameter name="allowedMethods" value="find_tModel find_business find_binding"/> <parameter name="className" value="com.plumtree.remote.uddi.UDDIServer"/> <!-- enter the base url for your services. The individual urls will be appended to this url--> <parameter name="baseUrl" value="http://rickc-loaner:81/ntcws/"/> <!-- Enter true if this is dotnet, leave at false if the service is java--> <parameter name="isDotNet" value="true"/> <!-- enter only the urls and names required for your service. For a java crawl, this would be crawler name, documentProviderRpc, containerProviderRpc, sciDataSourceRpc, sciCrawlRpc, and sciCardRpc if using remote card submission--> <!-- Enter the crawler name. This is the name that will show when expanding the remote server--> <parameter name="crawlerName" value="NT File CWS"/> <!-- Enter the auth name. This is the name that will show when expanding the remote server--> <parameter name="authName" value=""/> <!-- Enter the relative url to the rpc (Java) document provider soap endpoint --> <parameter name="documentProviderRpc" value="DocumentProviderSoapPort"/> <!-- Enter the relative url to the rpc (Java) container provider soap endpoint --> <parameter name="containerProviderRpc" value="ContainerProviderSoapPort"/> <!--sci values: the url for datasource, crawl and card may be the same--> <!-- Enter the relative url to the rpc (Java) sci data source soap endpoint --> <parameter name="sciDataSourceRpc" value="SciSoapPort"/> <!-- Enter the relative url to the rpc (Java) sci crawl soap endpoint --> <parameter name="sciCrawlRpc" value="SciSoapPort"/> <!-- Enter the relative url to the rpc (Java) sci card soap endpoint --> <parameter name="sciCardRpc" value=""/> <!-- note that relative auth only works in rpc for 4.5--> <!-- Enter the url to the auth provider soap endpoint --> <parameter name="authProvider" value=""/> <!-- Enter the relative url to the sync provider soap endpoint --> <parameter name="syncProvider" value=""/> <!-- Enter the relative url to the auth sci (rap) soap endpoint --> <parameter name="authSci" value=""/> <!-- Enter the relative url to the doclit (.NET) document provider soap endpoint --> <parameter name="documentProviderDoclit" value="documentprovidersoapbinding.asmx"/> <!-- Enter the relative url to the doclit (.NET) container provider soap endpoint --> <parameter name="containerProviderDoclit" value="containerprovidersoapbinding.asmx"/> <!--sci values: the url for datasource, crawl and card may be the same--> <!-- Enter the relative url to the doclit (.NET) sci data source soap endpoint --> <parameter name="sciDataSourceDoclit" value="xuiservice.asmx"/> <!-- Enter the relative url to the doclit (.NET) sci crawl soap endpoint --> <parameter name="sciCrawlDoclit" value="xuiservice.asmx"/> <!-- Enter the relative url to the doclit (.NET) sci card soap endpoint --> <parameter name="sciCardDoclit" value="xuiservice.asmx"/> </service> This tag contains the information that will be specific to the user's deployment of the web service (CWS or AWS).First off: <parameter name="baseUrl" value="http://machinename:81/ntcws/"/>
    This is the location of the web server that has the target web service installed. THIS CANNOT BE "localhost". This has to be a resolvable machine name or IP address. In 5.0 this is the Remote Web Service settings. Second, you need to set the type of web service. <!-- Enter true if this is dotnet, leave at false if the service is java--> <parameter name="isDotNet" value="true"/> If your app server hosting the web service is dotnet, you need to set this to "true". This is equivalent to the Document encoding setting in 5.0. .NET supports Document/Literal incoding instead of RPC for Java. Third, name your web services. This is the name that will display in the drop down list in 4.5WS when you decide to create a remote data source. <!-- Enter the crawler name. This is the name that will show when expanding the remote server--> <parameter name="crawlerName" value="NT File CWS"/> <!-- Enter the auth name. This is the name that will show when expanding the remote server--> <parameter name="authName" value=""/> This is the web service name property when you create a new web service in 5.0. Next are the configuration settings for your particular web service: <!-- Enter the relative url to the rpc (Java) document provider soap endpoint --> <parameter name="documentProviderRpc" value="DocumentProviderSoapPort"/> <!-- Enter the relative url to the rpc (Java) container provider soap endpoint --> <parameter name="containerProviderRpc" value="ContainerProviderSoapPort"/> <!--sci values: the url for datasource, crawl and card may be the same--> <!-- Enter the relative url to the rpc (Java) sci data source soap endpoint --> <parameter name="sciDataSourceRpc" value="SciSoapPort"/> <!-- Enter the relative url to the rpc (Java) sci crawl soap endpoint --> <parameter name="sciCrawlRpc" value="SciSoapPort"/> <!-- Enter the relative url to the rpc (Java) sci card soap endpoint --> <parameter name="sciCardRpc" value=""/> <!-- note that relative auth only works in rpc for 4.5--> <!-- Enter the url to the auth provider soap endpoint --> <parameter name="authProvider" value=""/> <!-- Enter the relative url to the sync provider soap endpoint --> <parameter name="syncProvider" value=""/> <!-- Enter the relative url to the auth sci (rap) soap endpoint --> <parameter name="authSci" value=""/> <!-- Enter the relative url to the doclit (.NET) document provider soap endpoint --> <parameter name="documentProviderDoclit" value="documentprovidersoapbinding.asmx"/> <!-- Enter the relative url to the doclit (.NET) container provider soap endpoint --> <parameter name="containerProviderDoclit" value="containerprovidersoapbinding.asmx"/> <!--sci values: the url for datasource, crawl and card may be the same--> <!-- Enter the relative url to the doclit (.NET) sci data source soap endpoint --> <parameter name="sciDataSourceDoclit" value="xuiservice.asmx"/> <!-- Enter the relative url to the doclit (.NET) sci crawl soap endpoint --> <parameter name="sciCrawlDoclit" value="xuiservice.asmx"/> <!-- Enter the relative url to the doclit (.NET) sci card soap endpoint --> <parameter name="sciCardDoclit" value="xuiservice.asmx"/> These are equivalent to setting the Document provider URL, Container Provider URL, Remote UI URL etc etc that are in 5.0 web services settings. Once you have installed the UDDI server, and started TOMCAT, you should be able to hit the services list at:http://machinewithuddi:8080/uddi/services This will become your Remote Gadget Server URL and you should be good to go!!

  • CWS not creating folders/subfolders in Plumtree

    Hi,
    We are in the process of developing CWS for LiveLink using EDK 5.0.2. We would like the crawler to be able to mirror Livelink's folder structure in Plumtree. But I believe due to Issue #21434 , the crawler cannot programmatically create the folder /sub-folders. We are able to crawl the documents that are in the folders/subfolders.Is there a programmatic work-around for this ?
    Thanks in advance.
    Mihir

    It's unnecessary to call back to the portal API for any of this information, and undesirable since it is relatively inefficient.
    First regarding mirroring: you should simply have each instance of you IContainer objects return the array of immediate child objects. Then, the portal user simply needs to select "mirror folder hierarchy" and the portal will automatically mirror your underlying folder structure.
    Secondly, regarding knowing the parent when getChildContainers is called: If you step back and look at how IContainerProvider and IContainer work together, this is easy:
    The portal will call IContainerProvider.AttachToContainer() for every folder/container, passing in the "containerLocation" of your parent (or current) folder. At this point, you usually will (and probably should) create a new instance of your IContainer class, passing the "containerLocation" on to the initializer method of IContainer. IContainer should save this value in an instance variable inside the object.
    Later on, the portal will call IContainer.getChildContainers() on this instance of IContainer. This method ought to look up the value of the instance variable and then use that to get access to the folder in the backend system. It should then be able to easily get a list of the immediate children of that folder, and return them in the array of ChildContainers.
    I don't know that much about Livelink, but the "containerLocation" will be some value that allows your code to easily look up and get access to the underlying container in the backend system. For example, it may be a path, or an inode number, or some other key like that.
    Anyway, once you understand how this works, you'll see that the portal then (eventually---exactly when and in what order is undefined) calls IContainerProvider.AttachToContainer() for each of the ChildContainers in the array, passing in the same "containerLocation" value as your code returned in the array, and the process continues recursively. (The very first top-level crawl gets its location from the crawler configuration, which is set by the user.)

  • Changing colors/style sheets with custom header portlets?

    We would like write a completely custom header portlet (a standard portlet that is designated as a header, notusing the branding server), but I can't seem to find a way to change the style sheets in subportals when I do this.
    Am I missing something? Do you have to use the branding engine to control style sheets in subportals, or is there another way?
    Chris StoffelPortal DeveloperHalliburton KBR

    ------- developersupport wrote on 12/11/03 4:24 PM -------
    The way Branding accomplishes what you're looking for is by setting a portlet setting called &#034;Portal-Style&#034; on the header portlet using the EDK.  This setting can be set either as an Admin level or CommunityPortlet level setting.  When the portal loads a page with a header, it will check to see if the header has this preference set (first on the CommunityPortlet level, if the header is on a community, and then on the Admin level).  If so, the portal will cause everything to use the stylesheet specified in the setting value.
    The setting value is the name of the stylesheet.  For example, if you wished every page displaying the header to be orange, you could set the &#034;Portal-Style&#034; Admin setting on the portlet to a value of &#034;mainstyle17&#034;, the orange-themed stylesheet.
    Perhaps I'm not setting the preference properly. Sniffing the HTTP headers between the gadget and portal servers, I do see:
    [HTTP_CSP_GLOBAL_GADGET_PREF] => Portal-Style=mainstyle17
    (I also tried it with Portal%u002DStyle, but neither works)
    The remote server header portlet doesn't seem to be picking up the fact that there is an admin pref to override the main page's stylesheet. Did I create the portlet wrong, or am I setting the preference incorrectly, or what? Thanks

  • ColdFusion & EDK

    I am playing with using the Java EDK within ColdFusion. I have gotten the EDK object insatiated, but am having trouble getting the expected result from a method call. The following code shows what I am trying to do ...
    <cfobject action="create" type="java" class="com.plumtree.remote.portlet.IPortletRequest" name="ipRequest">
    <cfoutput>#ipRequest.getClassID()#</cfoutput>
    Running this code within a portlet throws a generic 500 error. When I add in a dump command (which basically just dumps the structure of the object including a list methods and properties), I get a list of values that are all undefined.
    AggregationModeClassIDCommunityIDGatewayedHostPageURIImageServerURIInCommunityLoginTokenPageIDPortalUUIDPortletIDPortletModeProtocolVersionRemoteAPIEndpointReturnURIStylesheetURITimeZoneUserInterface
    Does anybody know ColdFusion or the EDK enough to give me a hint what is going on here? First, in this dump, I am not seeing the getClassID() method that I expected to see. Second, why are all of the properties coming back 'undefined'? Is there something special I need to do to get the edk to 'work'?
    Thanks for any pointers.-- Jeff

    To Jeff, and Attention CF People: Are you including the ColdFusion Custom tags which create structures usable by CF from the plumtree / .Net headers? That is how we proceed. Here is a update of the CFGDK cf_initgadget code that works with PT 5.x:
    <!--- CFPROCESSINGDIRECTIVE SUPPRESSWHITESPACE="Yes" --->
    <cfscript> REQUEST.adminSettings = StructNew(); REQUEST.communityGadgetSettings = StructNew(); REQUEST.gadgetSettings = StructNew(); REQUEST.userSettings = StructNew(); REQUEST.communitySettings = StructNew(); REQUEST.gatewaySpecificConfig = StructNew(); REQUEST.permissionSettings = StructNew(); // make structures to capture deltas as modify settings REQUEST.newAdminProperties = StructNew(); REQUEST.newCommunityGadgetProperties = StructNew(); REQUEST.newGadgetProperties = StructNew(); REQUEST.newUserProperties = StructNew(); REQUEST.newCommunityProperties = StructNew(); </cfscript>
    <cfif IsDefined("HTTP_CSP_GLOBAL_GADGET_PREF")> <cfloop list="#HTTP_CSP_GLOBAL_GADGET_PREF#" index="oneItem"> <cfscript> oneItem = URLDecode(oneItem); if( left(oneItem,2) IS "A_" ) prefName = right(oneItem,len(oneItem)-2); else prefName = oneItem; StructInsert( REQUEST.adminSettings, prefName, URLDecode( StructFind(Cookie, oneItem) ), TRUE ); </cfscript> </cfloop> </cfif> <cfif IsDefined("HTTP_CSP_GADGET_REALM_PREF")> <cfloop list="#HTTP_CSP_GADGET_REALM_PREF#" index="oneItem"> <cfscript> oneItem = URLDecode(oneItem); if( left(oneItem,2) IS "C_" ) prefName = right(oneItem,len(oneItem)-2); else prefName = oneItem; StructInsert( REQUEST.communityGadgetSettings, prefName, URLDecode( StructFind(Cookie, oneItem) ), TRUE ); </cfscript> </cfloop> </cfif> <cfloop list="#StructKeyList(Cookie)#" index="oneCookie"> <cfset foundOne = false> <cftry> <cfset x = StructFind(REQUEST.adminSettings, oneCookie)> <cfset foundOne = true> <cfcatch type="Any"> </cfcatch> </cftry> <cftry> <cfset x = StructFind(REQUEST.communityGadgetSettings, oneCookie)> <cfset foundOne = true> <cfcatch type="Any"> </cfcatch> </cftry> <cfscript> oneCookie = URLDecode(oneCookie); if( (left(oneCookie,2) IS NOT "A_") AND (left(oneCookie,2) IS NOT "C_") AND (NOT foundOne) ) {                 if( left(oneCookie,2) IS "G_") itemName = right(oneCookie,len(oneCookie)-2);                 else itemName = oneCookie;                 itemValue = StructFind( Cookie, oneCookie );                 StructInsert( REQUEST.gadgetSettings, itemName, URLDecode(itemValue), TRUE );                 } </cfscript> </cfloop> <cfif IsDefined("HTTP_CSP_USER_PREF")> <!--- due to a Plumtree bug in not URL encoding the CollapsedGadgets, we must remove that item from list before processing ---> <cfset startAt = FindNoCase("CollapsedGadgets", HTTP_CSP_USER_PREF)> <cfif startAt> <!--- need to more robustly look for termination of this string ---> <cfset endAt = Find(""",", HTTP_CSP_USER_PREF, startAt)> <cfif endAt> <cfset line = RemoveChars(HTTP_CSP_USER_PREF, startAt, endAt-startAt+2)> <cfelse> <cfset line = Replace( HTTP_CSP_USER_PREF, "CollapsedGadgets=,", "" )> </cfif> <cfelse> <cfset line = HTTP_CSP_USER_PREF> </cfif> <cfloop list="#line#" index="oneItem"> <cfscript> delimAt = FindOneOf("=", oneItem); if( delimAt ) { itemName = URLDecode(left(oneItem,delimAt-1)); itemValue = URLDecode(right(oneItem,len(oneItem)-delimAt)); } else { itemName = URLDecode(oneItem); itemValue = ""; } if( left(itemValue,1) IS chr(34) ) { itemValue= mid(itemValue,2,len(itemValue)-2); } StructInsert( REQUEST.userSettings, itemName, itemValue, TRUE ); </cfscript> </cfloop> </cfif> <cfif IsDefined("HTTP_CSP_REALM_PREF")> <cfset localVal="#cgi.HTTP_CSP_REALM_PREF#"> <cfset localVal=#Replace(localVal,"%","_","ALL")#> <cfloop list="#localVal#" index="oneItem"> <cfscript> delimAt = FindOneOf("=", oneItem); if( delimAt ) {      itemName = (left(oneItem,delimAt-1));      x=len(oneItem)-delimAt;     if ( x neq 0){     itemValue = (right(oneItem,len(oneItem)-delimAt));      } else { itemName = (oneItem); itemValue = ""; } } if( left(itemValue,1) IS chr(34) ) { itemValue= mid(itemValue,2,len(itemValue)-2); } StructInsert( REQUEST.communitySettings, itemName, itemValue, TRUE ); </cfscript> </cfloop> </cfif>
    <cfif IsDefined("cgi.HTTP_CSP_GATEWAY_SPECIFIC_CONFIG")> <cfset localVal="#cgi.HTTP_CSP_GATEWAY_SPECIFIC_CONFIG#"> <cfset localVal=#Replace(localVal,"%","_","ALL")#> <cfloop list="#localVal#" index="oneItem">
    <cfscript> delimAt = FindOneOf("=", oneItem); if( delimAt ) {      itemName = (left(oneItem,delimAt-1));      x=len(oneItem)-delimAt;     if ( x neq 0){     itemValue = (right(oneItem,len(oneItem)-delimAt));      } else { itemName = (oneItem); itemValue = ""; } } if( left(itemValue,1) IS chr(34) ) { itemValue= mid(itemValue,2,len(itemValue)-2); } StructInsert( REQUEST.gatewaySpecificConfig, itemName, itemValue, TRUE ); </cfscript> </cfloop>
    </cfif> <!--- <cfif IsDefined("HTTP_CSP_CAN_SET")> <cfloop list="#HTTP_CSP_CAN_SET#" index="oneItem"> <cfscript> delimAt = FindOneOf("=", oneItem); if( delimAt ) { itemName = URLDecode(left(oneItem,delimAt-1)); itemValue = URLDecode(right(oneItem,len(oneItem)-delimAt)); } else { itemName = URLDecode(oneItem); itemValue = ""; } if( left(itemValue,1) IS chr(34) ) { itemValue= mid(itemValue,2,len(itemValue)-2); } StructInsert( REQUEST.permissionSettings, itemName, itemValue, TRUE ); </cfscript> </cfloop> </cfif> --->

Maybe you are looking for

  • Printing only visible item on slide in Captivate 4

    Hello, I am trying to print a slide in the project. However, on this particular slide, I have several items that are not visible unless the certain variables are true. When I use Captivate's print widget, it prints EVERYTHING on the slide, regardless

  • JavaFX 8 and WebKit updates

    Hi, I am developping a JavaFX 8 application with a webview embedded, in order to display an external website. I noticed the webview is based on Webkit 537.44, which was released on June 2013. So I am wondering if it is planned to have webkit updates

  • FontFormatException when calling Font.createFont()

    I'm trying to load a TrueType font that by all other indications seems perfectly well-formatted (other font-viewing apps can open it fine.) Yet when I call Font.createFont(), I get a "FontFormatException: Unable to create font - bad font data." Any h

  • WRT54GS HUGE PROBLEM, HELP!

    I just can't get this thing to work! Everything is connected, but sometimes it says "Router not Supported" and "Cannot connect to internet" during setup. I've been on this setup for 2 hours now, and I can't find out the problem at all... I'd really a

  • Black screen white cursor hell

    The computer is a Sony Viao VGC-R210G running Windows XP Media with 4 GB RAM and an NVIDIA G8500 with a Matrox card. On running Premiere Pro CS4, the program will appear to be running normally, then crashes and provides an error window.  The OS then