Re: [iPlanet-JATO] from a non jato application to jato application

Without getting into the details, the session id is passed around in a
cookie, but once you leave your JATO app "sandbox", you no longer have
access to the same session. This is not a JATO limitation, but a J2EE
spec constraint. The war file creates a Servlet Context. Other servlet
contexts have separate session sandboxes. If you deployed all your apps
within the same war file, your sessions would be mutually accessible.
or
You could do something like use a Session EJB and pass its reference
between apps I suppose.
Also, see JATO Tip #0011 for forwarding to a "non-JATO" target.
Hopefully, my reply will open up a conversation for more solutions,
ideas, if what I have proposed is insufficient.
craig
raju_jato wrote:
how can we forward a request from a non jato application(build using
jsp and servlet) to a jato application and back and have only one
session for both the applications.
thanks
For more information about JATO, including download information, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp

Without getting into the details, the session id is passed around in a
cookie, but once you leave your JATO app "sandbox", you no longer have
access to the same session. This is not a JATO limitation, but a J2EE
spec constraint. The war file creates a Servlet Context. Other servlet
contexts have separate session sandboxes. If you deployed all your apps
within the same war file, your sessions would be mutually accessible.
or
You could do something like use a Session EJB and pass its reference
between apps I suppose.
Also, see JATO Tip #0011 for forwarding to a "non-JATO" target.
Hopefully, my reply will open up a conversation for more solutions,
ideas, if what I have proposed is insufficient.
craig
raju_jato wrote:
how can we forward a request from a non jato application(build using
jsp and servlet) to a jato application and back and have only one
session for both the applications.
thanks
For more information about JATO, including download information, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp

Similar Messages

  • Retrieve data from a non-peoplesoft application using HTTP Get

    I need to retrieve data from a non-peoplesoft application. They want us to submit a HTTP GET request to their URL with a series of parameters. I am thinking about using HTTP Targert connector to accomplish this. Does anyone have sample peoplecode?
    Currently we are on 8.51.10 Tools...
    If there is any better way .. please let me know ..

    I have used HTTP Get to get XML file from a government sanction list by hitting URL http://www.treasury.gov/ofac/downloads/sdn.xml
    There is a delivered PS program that does that for vendor sanctions. I had to get the online setup correctly by creating a new custom Node with HTTP Target Connector. The program name is BSP_IMPORT. The below code is responsible for the calling the node and retrieving the data. Play around with the code below see if you can get it to meet your needs.
    BSP_IMPORT_AET.BANKNODE.Value is just the custom external code that I created.
    PMT_FLAT_FILE_INBOUND message is just a none rowset based message to use the web service call.
    Local TR:FileUtilities:FTP &oFTPUtil = create TR:FileUtilities:FTP();
    +/* HTTP */+
    +/*******************************************************************************/+
    Local Message &msgHTTP;
    Local Message &msgResult;
    +&msgHTTP = CreateMessage(Message.PMT_FLAT_FILE_INBOUND);+
    +&oFTPUtil.PopulateFTPGetIBInfo(&msgHTTP, BSP_IMPORT_AET.BANKNODE.Value);+
    +&msgResult = %IntBroker.ConnectorRequest(&msgHTTP);+
    +/* check to see if the file is wrapped */+
    +&strAllLines = &msgResult.GenXMLString();+
    +&strAllLines = Substitute(&strAllLines, Char(26), " "); /* Added this line to remove invalid characters */+
    +/*******************************************************************************/+
    Edited by: Maher on Mar 20, 2012 3:28 PM

  • Invoking SOLMAN WS from a NON-SAP application

    Hello All,
    Has any one accessed the SAP SolMan web services from a non-sap application ? For my project, I need to talk to solman through its exposed operations as defined in the WSDL file
    http://mycompany.com:8003/sap/bc/srt/rfc/sap/ict_service_desk_api?wsdl
    When I invoke this WS through eclipse, after taking in the UID & PWD, it is returning appropriate values for:
    RequestSystemGuid
    RequestGuid
    Getpossiblevalues
    It fails for all other operations. For e.g. ListUnclosedIncidents returns and error called :
    ErrorCode (unsignedByte):  13 
    Similary for the operation 'ReadCompleteIncident'
    What is it that needs to be done to surmount this error ? Any pointers, suggestions ?
    Thanks
    Karthik

    Hi, did you accomplish to solve your problem using the list unclosed incidents operation?
    Best Regards
    Nasoft

  • Open Apex page from a non-apex application

    Hello,
    I'm calling an Apex page from another (non Apex) application. The way it works is that you click on a map and a browser window is opened with a Apex data entry form. This way you can edit information about the object you clicked on in the map.
    I got this working but what I'm trying to avoid is that you have to enter your logon credentials every time. I can't provide a session ID in the URL from the other application.
    Is this possible at all?
    Rene

    Hi Scott,
    I tried following your example here:
    http://apex.oracle.com/pls/otn/f?p=9947:1
    Page 1 and 2 are normal, but rather empty, pages. Page 3 is the public page with the redirect proces.
    First login (demo/demo_12) and notice the session ID.
    Then try to redirect to page 2 through page 3
    http://apex.oracle.com/pls/otn/f?p=9947:3::2
    You get the login page again with a new Session ID.
    Once you logon you get redirected to page 2 and have joined the previous session.
    Is this the expected behaviour of your example? I was trying to get rid of the login screen the second time. Maybe I'm doing something wrong?
    thanks Rene

  • Calling Azure Key Vault from a non Azure hosted application

    Hi,
    I need to know whether I can call the Azure's Key Vault from a non Azure hosted application which is either running on a private cloud or on premise. I believe it will as long as I authenticated with that MS Azure AD and then use the token to access the
    Azure's Key Vault.
    Regards,
    Wahaj

    Hi Wahaj,
    Yes you can, there is no requisite that the consuming client should be azure hosted. It can be a console application too running on your local system, as long as it is able to authenticate against the azure ad. The sample that I have used
    here is a console application that talks to the key vault service. 
    Let know if you need any additional information
    Please mark posts as answers/helpful if it answers your query. This would be helpful for others facing the same kind of problem

  • Submit a webdynpro IView from a non-Portal application

    Hi,
    i have create a WebDynpro application. This application shows in a table a list of '. This reports are IView for Bex Web Application in a SAP portal. For navigation to this BW IView the WebDynpro application must be also embedded in a WD iView.
    The problem is:
    This WD IView will be requested by a non-sap/portal application with dynamic parameters and also with the POST method.
    In the WD application i have implemented the parameter request with following code:
    int i = 1;
    String name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var_name_" + i);
    If the non-portal application submit the WD application directly -> the parameters are available.
    But when the non-portal application submit the WD IView, then the Parameters are 'null'.
    Thank you for quick response
    Anne

    Hi,
    yes I'm use the statement to submit the iView:
    <form action="http://server:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.kwl.kwl-01.KWL-01%2Fcom.kwl.kwl-01-iviews.KWL-01-Iviews%2Fcom.kwl.WEB_DP%2Fcom.kwl.IW_GISBW&DynamicParameter="
    method="post">
    var_name_1<input name="var_name_1" type="text" value="ZHAMFSB"><br>
    var_value_ext_1<input name="var_value_ext_1" type="text" value="129191"><br>
    var_name_2<input name="var_name_2" type="text" value="ZHAMFSB"><br>
    var_value_ext_2<input name="var_value_ext_2" type="text" value="129761">
    <input type="submit" value=" Senden ">
    In this case the DynamicParameter will be send by GET.
    But i want use the POST Method.
    I get the parameters in both cases not in my WD application.
    What is the problem?
    Thank you
    Anne

  • Pdf conversion from a non unicode system to a unicode system

    Hi,
    I have a BSP application that runs on a unicode system which retrieves data to be output in pdf from a non unicode sap system.
    We get the data from the non unicode system through a RFC call and store data in table otfdata type itcoo, then we perform the conversion through the following:
    perform pdfcnv_convertotf in program saplstxw
    tables otfdata
    pdf
    using
    'T'
    archive_index
    1
    'T'
    pdf_bytecount
    app_tot_xstring
    and then perform the hex conversion, but the printout is full of # chars. The good characters are followed by the # char. It looks like the unicode conversion is not good.
    Thank you in advance for your help.
    Best regards,
    Donatella

    Welcome to SDN
    check out this weblog where Thomas Jung explains unicode conversion for excel, the same thing could be applied in your case as well
    /people/thomas.jung3/blog/2004/08/09/bsp-download-to-excel-in-unicode-format
    Regards
    Raja

  • Transfer data from a worksheet to a Flex embedded application

    Hi,
    I would like to transfer data from an Office 2003 worksheet
    to a Flex application located on the same worksheet (ie Flash
    activeX inserted). To pass these data, I use the ExternalInterface
    API in the Flex framework.
    All works fine if the Flex file (a SWF in fact) is not
    embedded into the Excel file. When I decided to embedd the Flex
    application into Excel, I met the folowing error:
    SecurityError: Error #2060: Security sandbox violation:
    ExternalInterface caller file:///C|/Program%20Files/Microsoft%
    20Office/OFFICE11/EXCEL.EXE cannot access <unknown>.
    at flash.external::ExternalInterface$/_initJS()
    at flash.external::ExternalInterface$/call()
    at
    DisplayContainerData/GetExcelData()[E:\DisplayContainerData\src\DisplayContainerData.mxml :22]
    at
    DisplayContainerData/___DisplayContainerData_Button1_click()[E:\DisplayContainerData\src\ DisplayContainerData.mxml:246]
    I tried to play with activeX properties (allowScriptAccess
    and AllowNetworking) without success. How can I fix this error?
    In the other hand, I must call Flex method in VBA code. I
    tried to use the CallFunction method of the Excel Shockwave activeX
    object, but it always fails. Here is the used syntax in my VBA code
    (the 'test' function exists in Flex code and is registered with the
    ExternalInterface.addCallback method):
    Call ShockwaveFlash1.CallFunction("<invoke name=""test""
    returntype=""xml""/> <arguments> <string>Hello
    World!</string> </arguments> </invoke>")
    The reported error is:
    "Run-time error '-2147467259 (80004005)': Method
    'CallFunction' of object IShockwaveFlash' failed"
    I have tried the same call with a dotNet application and it
    succeeded. How can I call a Flex function in Excel VBA code ?
    Thanks.

    One way would be to extract the data from the existing cube using a function module that would mimic the query level filters and restrictions. That data can be populated into the new cube.
    I wud suggest u take the data from a non-aggregated layer (say a DSO below the cube).
    Also, check for the possibility of running the APD in multiple runs by using some kind of selection that would sum up to give u the whole data required.
    Can u confirm if ur query itself is getting timed out?
    -PA1

  • How to start a contour move from a non-zero position

    Hi,
    I am using a PXI 7344 motion controller under LabVIEW 8 to do a vector contour move. How can I start the contour from a non zero position ? I want to use absolute position mode. The test requires the x axis to move to a known distance and wait for a known time (more than a 1 hour) before the contour starts.

    Hi Milinda,
    Unfortunately the zero position is inserted at the beginning of the
    array points by the firmware. As far as I know there is no way to stop
    this happening. The only way to get round this is to use reletive
    positioning and keep track of the current position.
    Regards
    Jon B
    Applications Engineer
    NIUK

  • DOWNLOADING a program from a non-identified developer

    I'm trying to download a program from a non identified developer.  I've changed by security settings to "open anyway" and it's still not allowing it....

    It's usually not necessary to change any security settings, and as a rule you shouldn't.
    To make a one-time exception to the security policy, follow these instructions. They apply to Installer packages and other installable items as well as applications.
    Some defective software installers may fail when Gatekeeper is enabled. Think carefully about whether you really want to run such an installer. If you do, temporarily change the setting to
    Allow applications downloaded from: Anywhere
    When the installation is done, revert the setting.
    Some applications that don't have a developer signature have been reported not to launch the first time unless Gatekeeper is disabled. The warning message from Gatekeeper is that the application "is damaged and can’t be opened." Again, think carefully about whether you want to trust the application. If you do, disable Gatekeeper as above, launch the application, and then re-enable Gatekeeper. If you still get the warning, delete the application. Do not follow advice to weaken the security of your system in order to run defective third-party software.

  • Error while copying a page from one application to another application

    Hi All
    I am using Oracle Apex 4.0
    I getting the error ORA-06502 Pl/Sql Numeric error character string buffer too small when i copying a page from one application to another application.
    Thanks & Regards
    Srikkanth.M

    I'm having the same issue. How did you solve this?

  • How to get selected row from a non-bind ADF table

    Hi,
    I have an ADF table that is based on a collectionModel built programmatically. The collectionModel is this:
    model = new SortableModel(new ArrayList<ArrayList>());
    Hence, it is not a binding table. My question is how to get the selectedRows from a non-bind table.
    I am used to building binding ADF table and I know we can get it from voiterator.getCurrentRow, since the selectionListener is set to the binding....collectionModel.makeCurrent
    <af:table value="#{bindings.ItasLookupTypesVO1.collectionModel}"
    selectedRowKeys="#{bindings.ItasLookupTypesVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.ItasLookupTypesVO1.collectionModel.makeCurrent}"
    </af:table>
    I am thinking maybe I need to write my own selectionListener, but need more advice/ideas of what's the codes in the customer selection Listener to get it from my SortableModel.
    Please help.
    Thanks
    -Mina

    I'm not sure if this works in your case, but check out the selection listener I write in this blog http://wp.me/pcBZk-eu
    You should use the selection event and check the added set. This should give you access to the selected row.
    Timo

  • Delete a file from the KM in a Web Dynpro application

    Hello,
    We need to delete a file from the KM in a Web Dynpro application.
    We have a file name (filename.txt) and its path (/documents/Test/), how can we completely delete the file from the KM?
    Thanks,
    Gil

    Hi venkata reddy,
    You wrongly mentioned  system admin instead of content admin
    Go to Content administration not in the system administration
    if u delete the file manually in the portal  you can go with
    go to Content administration  -> KM Content -> go to Particular document -> just tick the check box which doc u want delete -> go to selection -> u will find delete .
    Regards,
    P.Manivannan

  • I was told that my new imac with Lion could burn dvds..so I bought it..now have finished editing a wedding in iMovie full of HD stills mixed with video from a non HD  SonyDCR-SX63.. just saw the scary question.. "Where is your iDVD?  How do I make a DVD?

    How to I burn to a DVD my project edited on mynew  imac with Lion in imovie? I used some HD stills and some video from a non HD sony DCR-SX63..was ready to burn a DVD then saw the haunting question "Where is iDVD?" Please help..this wedding edit is long ovedue.

    How to I burn to a DVD my project edited on my new  imac
    If you are still within your 15 day return period.  Call Apple they will sent out iDVD at no charge.  (There are no realistic substitutes.)
    Nicely explain that you may return the computer without iDVD.  You MUST speak to a senior advisor to get a free copy. The first tier people cannot do it.
    408-996-1010
    800-692-7753
    If that doesn't work you can purchase iLife 11  (includes iDVD) on disk.
    IDVD is a wonderful piece of software and well worth the low cost of $40.
    http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES/ref=sr_1_1?ie=U
    http://dealmac.com/lw/artclick.html?1,527850,1872219

  • Why is when I try to download from the App Store, it says "The application cannot be downloaded." I do have an ID account and my software has been updated.

       Hello there, I'm new to the Apple world, and I'm still learning my way around.
    Why is when I try to download from the App Store, it says "The application cannot be downloaded."
    It doesn't ask me for payment or anything. When I click on download, about 10 seconds later, that message pops up and nothing is downloaded onto my laptop. I can download other stuff onto my laptop for e.g. Microsoft Word and other various programs such as Google Chrome from the internet. However, I just cannot download from App Store. Any suggestions on how I can download apps?

    There is nothing wrong with my iTunes, is more of the App store that I am concerned about. And I've tried the "Authorise this computer" yes it does download when using iTunes, but no luck with App Store. And, yes I am logged onto iTunes when doing purchases.
    I find this really fustrating because the App store works fine on my ipod but once it comes to my macbook, it does not download. A few seconds later after I click on an app to download, the pop up message notifies me that the purchase cannot be downloaded.
    Anyways, thanks for your suggestion. 

Maybe you are looking for

  • Passing attachment image to an embedded Flash.

    Is there anyway for an embedded .swf to access the attachment files of the PDF it's embedded in? Thanks in advance for the help.

  • Fatal Error Message C0000034 Applying Update

    Toshiba Satellite L655-S5058 15 months old. Tried setting up a wireless router and kept getting message "could not connect". Gave up and at end of session, ran windows updates. Hours later still trying to complete update. Closed and rebooted computer

  • Python Import

    I seem to be having a rather annoying import issue with python. I am programming a small game using pygame, I'm almost complete with it, but have become rather annoyed that my source code for it is rather ugly and unordered. I wanted to be able to re

  • Only receive distribution group- mails when logged on.

    Hi, Is there a way to automatically disable mail-receiving for users when they are not logged on to the AD? We use distribution groups to deliver mails to platform-agents. Most of them only need to receive mails when they are at work. Thanks for your

  • AMS 5.03, inconsistent VOD perfomance

    Hello, I have an RHEL 6.5 final release that I have Adobe Media Server Professional 5.03 installed on.  The server is a new dell R720xd, 2 x E5-2680 v2 proc., 128 GB RAM and over 4 TB HD.  We had an old version of fms 3.5 (fedora8) that was installed