Passing host/port information into the Assembler API

I have a use case where the host and port for the Endeca engine is dynamic.  The application has integrated the Assembler API and we have overridden the UrlNavigationState class so that we can inject user segments, host/port, record filter, etc. onto the query.
The regular search controller uses HttpServletRequest to add attributes for these purposes that are then read by UrlNavigationState to use the setRecordFilter, etc..
We are now looking to update our type ahead service to use the Assembler API but the type ahead controller does not have access to the HttpServletRequest (the interceptors create a more simplistic, generalized request object).
Architecturally, using the HttpServletRequest in this fashion breaks general coding rules of abstraction and the mutation of the request object so we want to move away from this anyway.
So, our ideal situation is to *not* use HttpServletRequest but some other request scoped object that UrlNavigationState has access to.  So, the question - how have others resolved this problem?

What is your OS ? Does the server run on the same box ?
Did you configure the files as well :
%PS_HOME%\PSEMViewer\envmetadata\config
%PS_HOME%\PSEMAgent\envmetadata\config
especially the parameters
hubURL
agentport
windowsdrivestocrawl
And also the file in your webserver directory path :
%PS_HOME%\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\config
(the folder in italic may differ on your side).
Please, if you can, paste here the files content.
Nicolas.

Similar Messages

  • CCMS information into the solution monitoring

    Hi, All
    In Soulation Manager 4.0 I created RFC connection using SMSY, in R3 System CCMS alerts (auto-reaction method) has been defined and getting alert e mails...
    My Question is how to I pull the CCMS information into the solution monitoring component?
    is anyone tell me step by step procedure....
    Thanks

    Thanks...
    I tried that but it show me that screen shot...
    basically earlywatch report is fine....
    you can check this url please
    http://www.flickr.com/photos/25222280@N03/2545315527/sizes/o/
    thanks

  • Adding Asset Tag information into the Bios from Windows 7

    Hi
    I am wondering whether there is a utility that will enable me to add Asset tag information into the bios from within windows 7 . We have various models mainly T410 / T420 ' but alos some X201 / X220's
    Firstly is there such a utility ?
    secondly is there one for all ?
    If not is anyone able to suggest how this maybe done . Manual entry at the bios level on thousands of Laptops is just not possible. The end result is for the asset information to be picked up in SCCM and tracked
    Thanks
    Andy 
    Solved!
    Go to Solution.

    Hi AndyG, and welcome to the Lenovo User Community!
    Windows 7/Vista/XP:
    http://support.lenovo.com/en_US/detail.page?LegacyDocID=MIGR-75237
    DOS:
    http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS013515
    Enjoy!
    I don't work for Lenovo. I'm a crazy volunteer!

  • TS1702 I have downloaded and attempted to purchas the app "ForeFlight HD" for the iPad 2, however, when I put my credit card information into the app for purchase, I am told to contact iTunes support to complete the transaction. Can you tell me how to fix

    I have downloaded and attempted to purchas the app "ForeFlight HD" for the iPad 2, however, when I put my credit card information into the app for purchase, I am told to contact iTunes support to complete the transaction. Can you tell me how to fix this?

    Contact iTunes Support:
    http://www.apple.com/support/itunes/contact/

  • PsemAgent did not load complete environment information into the hub

    Hi all,
    i m using oracle 10g R2 10.2.0.3 and peoplesoft campus solution 9.0. i have two databases named UETPDEV and DUHSDEV. I run the command startagent.bat recrawl and then run getenvinfo.bat. when i check the viewer.xml it contains information about UETPDEV but not about DUHSDEV.
    Note: viewer.xml contained info about the application, file, web and process schedler servers of both environment but information about the database is availbale for only UETPDEV and not for DUHSDEV
    there is only single PS_HOME and i have installed peoplesoft CS application on both databases. The webserver (BEA Weblogic 9.2) for both applications are running on ports 80 and 83 respectively.
    someone guide me please

    One PSCA agent works on one and only one port.
    The link from the agent to your database is based through the webserver port and from there through jolt port.
    If your databases are on two webserver, you cannot find the two databases in one.
    You have to work separately. Or in two time.
    First configure PSCA to work on one port, then on the other port.
    Nicolas.

  • How to get Requester Login information into the request dataset validator

    Friends,
    I need to check whether the requester is part of a group or not before submitting the request. If not I need to throw an error.
    Can you please let me know how to get Requester information.login into the request validator?

    Hi Thiago,
    I am getting the requester id from the requestData in the request data validator. Here is my full code for your reference.
    Bikash - I even tried with RoleManager service but still same error.
    public void validate(RequestData requestData)
    throws InvalidRequestDataException {
    tcUserOperationsIntf UserOppsIntf =Platform.getService(tcUserOperationsIntf.class);
    try
    tcResultSet result=UserOppsIntf.getSelfProfile();
    result.goToRow(0);
    String requesterID = result.getStringValue("Users.User ID");
    String userKey=result.getStringValue("Users.Key");
    System.out.println("Request Login:"+requesterID);
    if (isMemeber(getOIMGroupKey("testGroup"),userKey))
    System.out.println(requesterID+" is a Member");
    else
    System.out.println(requesterID+" is not a Member");
    String reason = "Note[REQUEST_SUBMISSION_ERROR].text:You are not authorized to submit this request.";
    throw new InvalidRequestDataException(reason);
    catch(Exception e) {
    e.printStackTrace();
    private String getOIMGroupKey(String GroupName) throws Exception
    String groupKey="";
    tcGroupOperationsIntf groupInstanceOps = Platform.getService(tcGroupOperationsIntf.class);
    HashMap searchFor = new HashMap();
    searchFor.put("Groups.Group Name", GroupName);
    tcResultSet results = groupInstanceOps.findGroups(searchFor);
    for (int i = 0; i < results.getRowCount(); i++) {
    results.goToRow(i);
    groupKey = Long.toString(results.getLongValue("Groups.Key"));
    System.out.println("GroupKey:"+groupKey);
    return groupKey;
    private boolean isMemeber(String groupKey,String userKey) throws Exception
    boolean member=false;
    try
    tcGroupOperationsIntf groupInstanceOps = Platform.getService(tcGroupOperationsIntf.class);
    long grpLong = Long.parseLong(groupKey.trim());
    tcResultSet grpResultSet = groupInstanceOps.getAllMembers(grpLong);
    for(int i=0;i<grpResultSet.getRowCount();i++)
    grpResultSet.goToRow(i);
    long usrKeygrp = grpResultSet.getLongValue("Users.Key");
    if (usrKeygrp==Long.valueOf(userKey))
    member=true;
    break;
    catch(Exception e) {
    e.printStackTrace();
    member=false;
    return member;
    }

  • RunFOProcessor Help - pass Pl/SQL XMLTYPE to the XMLP API

    Few questions -
    I have a simple pl/sql query that generate the xml as XMLType. How do I pass this document to the runFOProcessor? Some clues would help, since I am not a pro at passing xml output from pl/sql to Java.
    Secondly, how do I run this in the database? again a simple example will help me out here.
    Running under a deadline, will appreciate any help.

    I know that we put support for XMLTYPE into the 5.6.2 release. I just don't know PL/SQL well (shame on me). Can't you just reference pl/sql form inside a query? you can use the data templates to pass a SQL query that access the results of your PL/SQL code?
    Thanks,
    Klaus

  • Why read d'information into the card and send these to the database

    hi hello world,
    i have an application where i must take some informations to the customer in their electronic card and send this informations to the database. so, in want : 1. buy the card reader which i dont know where i can buy this, 2. i must buy the card which will contain the customer informations, and 3. how put (read) informations contain into the card to my card reder and send those informations to the database.
    if some body know how i can do, please help me.
    my direct email: [email protected]

    I've changed my original question on the first thread.
    The file, glass.txt, contains the following:
    Moretti 247 H 1.1 $38.50
    Moretti 276 O 0.9 $10.80
    Vetrofond 902 T 0.4 $4.00
    Vetrofond 408 S 0.6 $9.00
    Lauscha 045 T 0.2 $2.00
    Vetrofond 907 L 0.1 $4.50
    Ex. Moretti -> manufacture name
    247 -> number
    H -> category
    1.1 -> amount of glass in pounds
    $38.50 -> cost of the glass manufacture
    "Read in each line of data from the file, and display it to the user using an information-type message box, indicating the manufacture name, the number, the category (spelled out as a word), the amount of glass in pounds, and the cost of the glass".
    I did it, but it seems that I did something wrong. Could you please help me?
    I appreciate your help. Thank you.
    import javax.swing.JOptionPane;        // Needed for the JOptionPane class
    import java.io.*;                    // Needed for file classes
    public class problem3
        public static void main(String[] args) throws IOException
            String filename;        // Needed to read the file
            String categories;        // Needed to read the categories
            // Get the filename.
            filename = JOptionPane.showInputDialog("Enter the filname.");
            // Open the file.
            FileReader freader = new FileReader(filename);
            BufferedReader inputFile = new BufferedReader(freader);
            // Read the categories from the file.
            categories = inputFile.readLine();
            // If a category was read, display it and
            // read the remaining categories.
            while (categories != null)
                // Display the last category read.
                JOptionPane.showMessageDialog(null, categories);
                // Read the next category.
                categories = inputFile.readLine();
            // Close the file.
            inputFile.close();
    }

  • PSEMAgent did not load any information into the hub for Webshpere 6.1 ND

    Hi all,
    using
    Oracle 10 R2 10.2.0.3
    Webshpere 6.1 Network Deployment
    Peoplesoft HRMS and Campus Solution 9.0
    i run the two commands startagent.bat recrawl and startagent.bat, the agent started sending pulses "sending pulse from com.peoplesoft.emf.peer:id=1".
    but when i entered the hubURL into browser, there was no registered host (at that time both PSEMagent and Change Assistant were running)
    Note: webserver is using port 80
    someone please guide me how to deal it using websphere

    What is your OS ? Does the server run on the same box ?
    Did you configure the files as well :
    %PS_HOME%\PSEMViewer\envmetadata\config
    %PS_HOME%\PSEMAgent\envmetadata\config
    especially the parameters
    hubURL
    agentport
    windowsdrivestocrawl
    And also the file in your webserver directory path :
    %PS_HOME%\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\config
    (the folder in italic may differ on your side).
    Please, if you can, paste here the files content.
    Nicolas.

  • I submitted my information into the 'uptodate' program to download Lion OSX and it verified that I was able to get the upgrade but then nothing happened. How can I get the upgrade without having to pay for it?

    When I tried to go back through and do it again, it gives me and error that says that my serial number has already been registered to the uptodate program and it wont allow me to continue any further. Is there a place I can go in my computer to find it and start the download? I got all the way to the point where I submitted my purchase (for free) and then as soon as I did that, nothing started...

    Is this for a new MacBook Pro? If you are entitled to a free upgrade, but are having trouble with the Mac App Store and can't download Lion, call Applecare and explain the situation and see if they can help you. It's always possible that the Mac App Store has been extra busy lately and for some reason may not have processed your request properly.
    First, though, check in your applications folder to be sure that the installer isn't already there. It's called "Install Mac OS X LIon.app". Step one is to download the installer. Step two is to run it. It will vanish from your Application folder after it runs, so if you want to make a copy of the installer, make one before you run it.
    Good luck!

  • Before I purchase Adobe Acrobat XI Professional I need to be assured that if I scan a form that I will then be able to input information into the form without the document being changed

    Before I purchase Adobe Acrobat XI Profressional I need to be assured that if I scan a form that I will then be able to type onto the form without it changing the document

    Hi Gilad
    I downloaded the trail version but when I open the desktop icon after I've downloaded and restarted I get the following error message.
    It reads " The application was unable to start correctly (0xc000007b) Click OK to close application."
    What can I do to correct this error. Will appreciate any help ASAP dearly!
    thanks!

  • Hello! I use photoshop CS3. recently, after logging information into FILE INFO, I am unable to close out that window. I am able to save & close the image I am working on, but the window remains. I then must close out of Photoshop completely and reopen to

    Hello! I use Photoshop CS3 and Yosemite. Recently, after logging info information into the FILE INFO panel, I am unable to close out the window. I am able to save & close out the image, but then I have to completely close Photoshop and re-open the program to work on a new image. Frustrating! Any help to remedy this problem? Many thanks!

    Try resetting the Photoshop preference file: Press and hold Cmd+Opt+Shift and start Photoshop. Select "yes" when asked if you would like to continue with reset.
    Benjamin

  • Assembler API for non-spring based development?

    Has anyone used the Assembler API to develop applications that dont leverage the spring framework? Even better, is there any way the Assembler API can be leveraged without using any framework (just pojos)?
    Trying to understand how a UI migration from the presentation API or the content API to Assembler API would look like for legacy Endeca implementations.

    Certainly possible to do this and I believe there are customers who choose to go this route. One application off the top of my head that does this is the ATG/Endeca sample app. Also, if you attempt to integrate Endeca into the Commerce Reference Store (CRS), it's typically a more POJO style experience (.properties files instead of Spring XML, etc.).
    Now, both of those probably have too much "overhead" and may not really apply to non-ATG implementations. All of the API calls are documented, i think the key is probably to start it as a "conversion project" and start to port over the different elements of the configuration (Assembler Factory initialization, etc.) to something POJO-based.
    If the question is simply integrating the existing assembler logic in a non-Spring application, you should be able to hit the RESTful service to get JSON/XML back and forth to your application. Your cartridges and templates would still be managed inside Spring and via the assembler-context but you could grab the content and use it in pretty much any scenario.
    EX: http://localhost:8006/assembler/json/pages/browse
    Note that the assembler service, by default, uses a different set of configuration files (reference/discover-service/WEB-INF/*) than the Discover Data or Discover Authoring applications.
    Hope that helps,
    Patrick Rafferty
    http://branchbird.com

  • Java.rmi.ServerException: JAXRPCSERVLET28: Missing port information

    Hi
    We are getting errors when we run the webservice client..
    With this we have also provided the webservice code.
    Please any one help us to resolve this issue...
    Thanks in advance.
    We are using
    J2EE 1.4
    Error:
    java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:510)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307
    at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.j
    ava:103)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
    at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocatio
    nHandler.java:121)
    at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocatio
    nHandler.java:85)
    at $Proxy0.flowrequest(Unknown Source)
    at dynamicproxy.MathClient.main(MathClient.java:52)
    Web service Client Code:
    package dynamicproxy;
    import java.net.URL;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    //import com.ibm.ctg.client.JavaGateway;
    //import com.ibm.ctg.client.ECIRequest;
    import dynamicproxy.*;
    public class MathClient
    static String message;
    static String err=null;
         static StringBuffer sb = null;
         public String s1;
         public static int iValidationFailed = 0;
    public static void main(String[] args)
    try {
    String nameSpaceUri = "urn:Foo";
    String serviceName = "CtgService";
    String portName = "MathFacePort";
    // Specify the location of the WSDL file
    URL url = new URL("http://localhost:8080/math-ctgservice/math?WSDL");
    // Create an instance of service factory
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    // Create a service object to act as a factory for proxies.
    Service mathService = serviceFactory.createService(url,
    new QName(nameSpaceUri, serviceName));
    // Create a proxy
    dynamicproxy.MathFace
    myProxy = (dynamicproxy.MathFace) mathService.getPort(new
                             QName(nameSpaceUri,
    portName), dynamicproxy.MathFace.class);
    // Invoke the add method
    //System.out.println(myProxy.add(23, 12));
              //get the input value and pass it to the function
                   String a = args[0]+"~"+"------------------------------------------------------------";
                   //String a = b.toUpperCase();
                   // Invoke the add method
                   myProxy.flowrequest(a);
                   System.out.println("Message:"+message);
         catch (Exception ex)
    ex.printStackTrace();
    }

    As is so often the case, Google is your friend.
    Googling for the exception message (JAXRPCSERVLET28: Missing port information) yields the following list.
    http://www.google.com/search?hl=en&q=JAXRPCSERVLET28%3A+Missing+port+information&btnG=Google+Search
    Follow the bouncing link, it will lead you to the solution.
    PS.

  • Importing NT User information into Portal

    We are using Portal in an NT environment, and we have been able to get through the necessary single sign on issues.
    Now, we need to pull our NT user information into Portal's user database, including all the groupings we already have set up so that we can take advantage of Portal's exceptional security features. This is key to our ability to use the product, and to our demo in a week.
    The fact is we have 5,000 users to enter, and it is prohibitive for us to do that through the standard Portal APIs. We already have the users' input once in NT, we can get a flat file with all the information we need, we just need a way to get this information
    into the appropriate tables within Portal's database.
    Is there a script or some more "automated" way you can suggest for us to do this?

    Maybe you could try to use an intermediate LDAP export file (ldif), since Active Directory is LDAP-based and you can plug a LDAP to your Portal SSO Login Server.
    I only have tried exporting and importing using .ldif files up to now.
    I also have heard about techniques to use NT user account info to log on to Portal ; 'could be easier.

Maybe you are looking for

  • How do i set up MFE on E71 when i have essential i...

    I am trying to set up my works email on my E71 and i have read every self help guide available on line but everyone of them asks you to enter your domain and exchange server. Unfortunately due to a company restructure i.e. redundancies at work, getti

  • JDBC (ODBC) Driver for linux

    Hello I am currently using JdbcOdbcBridge on Windows NT/2000 for accessing MS SQLServer. But I want to transfer my application servers to Linux RedHat 7.1. My database should remain MS SQLServer. Can you suggest me a way to connect to MSSQL Server fr

  • Am I doing it wrong?

    I'm trying to animate one of those cool looking circular symbols (Think transmutation circles from Fullmetal Alchemist or pentacles and such) and I'm trying to animate it so that the lines draw themselves as an animation. Should be too hard, right? S

  • Hardware hasn't passed testing?

    My sister got an iPod Nano for Christmas and for the past few hours I've been trying to figure out how to use it, but nothing seems to be working. My problems started after I plugged the iPod into the USB port on my computer and clicked "Add Hardware

  • Just Purchased iWork Family Pack

    Hi, I just received my new iWork family pack today and I don't understand how it works in terms of installation on multiple computers. My copy has only one serial number. Shouldn't it have 5 serial numbers? One for each computer? I bought my copy fro