Issue while making a AJAX call to a servlet in ALUI.

Hi,
The problem scenario is :
I log into the portal using "http://147.149.132.93:7001/portal/server.pt"
i have two instances of applications which have same files but provide different functionality one on 147.149.132.93 and other on 147.149.132.102 .
I have configured my portlet that points to the application on 147.149.132.102 , when i make a ajax call to a servlet using the relative path for the aaplication , in normal scenario the ajax should make call to the servlert on the 147.149.132.102 but this does not happen and ajax makes call to the servlet on the machine 147.149.132.93 .
Is there any issue regarding usage of Ajax in ALUI portal?
Why the Ajax takes the server path from the portal login URL and not from the remote server configured for the portlet ? ?:|
HELP !!!!!!!!!!!!!!!
Regards,
Prashant

I m also facing same problem. I resolve the problem by simply giving >complete servlet address in ajax call.There are 2 issue with this:
1) AJAX call will bypass portal, so it makes calls unsafe + you can not use portal functionality anymore. Plus some other issue like session expiration and so on.
2) URL is hardcoded, so it's difficult to manage.
All calls (include ajax) have to go through portal in portal environment. It means that AJAX url has to be gatewayed like any other url. There is no issue with ajax in portal. In G6 make sure that <inline> refresh checkbox (for WS) is unchecked.
Here is example how to create AJAX URL on the fly by using Javascript. Let's say we have 2 files in root folder of <RemoteProjectName> web application:portlet.jsp file and ajaxExample.jsp.
Code in portlet.jsp may looks like
<script>
var Url = "<pt:url xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/' pt:href='ajaxExample.jsp'/>";
</script>
Here is what you can get as result of this transformation (based on data provided in first post):
http://147.149.132.93:7001/portal/server.pt/gateway/PTARGS_0_0_XXX_XXX_X_XX/http%3B/147.149.132.102%3B/RemoteProjectName/ajaxExample.jsp
where XXX - are numbers specific to particular portal environment.
Edited by Bryazgin at 12/21/2007 7:43 AM

Similar Messages

  • Issue while making a call through Nokia lumia 510

    Hi, i have purchased nokia lumia 510 around five months back. since then this phone is troubling me in a way or other. earlier there were issues with internet connectivity when i rectified it now there comes a new problem which occurs while making a call. whenever i make a call or receive a call after a few minutes i am unable to get the voice of the person on another side nor the other persons gets my voice. sometimes this happens just after 30-40 seconds and sometimes it happens after 15-16 minutes. then i have to cut the call in between and again have to call that person. this issue comes everytime i make or receive a call. i am so much irritated of this now. i even went to nokia care and they have replaced the speaker of the phone but this issue has not been resolved. can someone please help me to resolve this. please i need a permanent solution of this now.

    Have you tried replacing your sim card?
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Can't browse the internet while making a phone call

    I AM WONDERING IF ANYONE ELSE HAS THIS. I live in the United States and used to have a really cheap phone with this particular carrier and was able to make calls and browse through the internet while on that phone call. Now that i have the new I Phone 6 with that same carrier and i can NO LONGER make a call and browse the internet. This really upsets me since i pay a high bill to have my IPhone plan. I thought it was a problem with my carrier company but the told me that it's an issue with the new IPhone 6.

    It's on, but are you actually in an LTE coverage area? What does it say in the status bar? If you're on the CDMA network, you can not talk and use data at the same time. The "cheap" phone you had that allowed you to do that actually had 2 radios in it, as opposed to the iPhone. Of course, even if you are on LTE, the carrier needs to have enabled Voice over LTE service in that area and on your account.
    Sprint is pretty consistently the worst carrier in the country.

  • Issue while making calls

    Hi Team,
    I am new to the community.I am using iPhone 5S for past 6 months and from India.
    Issue is depending upon the signal the network will be changing from 3G to LTE in my phone.
    While this is happening I am unable to make calls or receive calls.
    Only When i try for 6 to 10 times I am able to call.
    I tried all possible troubleshooting steps as suggested by Apple support,still no luck.
    I am still using IOS 7.Will an upgrade help me ??
    Please advise..

    Hi ananthj,
    Welcome to the forum!
    To isolate the case, you can try a different SIM card on your device. This is to check if you will encounter the same behavior. If it's still the same you can reset the phone to the factory setting. Just don't forget to back up your files first. Check the link below for the step-by-step procedure:
    http://www.windowsphone.com/en-us/how-to/wp7/basics/restore-a-backup-to-my-phone
    http://www.windowsphone.com/en-ph/how-to/wp8/basics/reset-my-phone
    Hope this resolves your issue. 

  • Funny issue while making calls in my lumia 900

    So a strange issue popped up after the 7.8 upgrade to my Lumia 900 (I waited till all issues seemed to be resolved before applying it). Anytime I try calling a number that is not in my contacts- I just get a call ended message. The call just doesnot go through. I can make calls to my saved contacts without any hassle though. Any ideas...would SIM be a culprit though not sure why the 7.8 firmware update would affect the calling aspect.

    Hi ananthj,
    Welcome to the forum!
    To isolate the case, you can try a different SIM card on your device. This is to check if you will encounter the same behavior. If it's still the same you can reset the phone to the factory setting. Just don't forget to back up your files first. Check the link below for the step-by-step procedure:
    http://www.windowsphone.com/en-us/how-to/wp7/basics/restore-a-backup-to-my-phone
    http://www.windowsphone.com/en-ph/how-to/wp8/basics/reset-my-phone
    Hope this resolves your issue. 

  • "exists in filesystem" issue while making PKGBUILD for a python module

    This is the package. http://packages.python.org/vcs/usage/vc … n-commands
    Its already not in the AUR, so I decided of making the PKGBUILD http://sprunge.us/XVTA
    Now, when I try to install it, I get this error
    shadyabhi@archlinux /tmp $ sudo pacman -U python2-vcs-0.2.0-1-x86_64.pkg.tar.xz
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): python2-vcs-0.2.0-1 [0.11 MB]
    Total Download Size: 0.00 MB
    Total Installed Size: 1.27 MB
    Proceed with installation? [Y/n]
    (1/1) checking package integrity [################################################################] 100%
    (1/1) checking for file conflicts [################################################################] 100%
    error: failed to commit transaction (conflicting files)
    python2-vcs: /usr/lib/python2.7/site-packages/tests/__init__.py exists in filesystem
    python2-vcs: /usr/lib/python2.7/site-packages/tests/__init__.pyc exists in filesystem
    python2-vcs: /usr/lib/python2.7/site-packages/tests/__init__.pyo exists in filesystem
    shadyabhi@archlinux /tmp $
    Also, these files are owned by:
    shadyabhi@archlinux ~ $ pacman -Qo /usr/lib/python2.7/site-packages/tests/__init__.py
    /usr/lib/python2.7/site-packages/tests/__init__.py is owned by python-paste-deploy 1.3.4-1
    shadyabhi@archlinux ~ $
    So, what should be done?

    Added a note to the python packaging guidelines about not putting a directory named "tests" directly in "site-packages". Hope it helps avoiding this issue in the future.
    https://wiki.archlinux.org/index.php/Py … Guidelines

  • HP Pre 3 shutting off while making a phone call, even after doctoring.

    When I make a phone call and get the phone to my ear instantly (so sensor shuts off the screen) 1 in 8 phone calls my phone would just cut off and shut off. Then I have to hold the power button and switch the mute three times to bring it back to life.
    If I make a phone call and let the phone stand in my hand for like 5 seconds before i bring it to my ear it will work just fine.
    I also noticed that screen doesn't instantly turns on after I get it away from my ear, sometimes it dimms up really slowly. These occasions are rare but they are still there.
    Finally I doctored it (mainly because Skype started to sign me out after 15-20 minutes while on WiFi) and problem is still there.
    This problem occured first like few weeks after I got the phone (which is like four months ago) and its been there ever since.
    Post relates to: Pre p100ueu (O2)

    So, on a clean (full) restart, scheduled using Preset Reset, we have:
    paulb@***:~/tmp/downloads$ grep shutdown /media/HP\ PRE3/downloads/messages
    2012-02-23T11:35:05.250091Z [6336] webos-device user.notice root: /etc/rc6.d/S10orderly_shutdown: runlevel=6
    2012-02-23T11:35:05.289428Z [6336] webos-device user.notice root: /etc/rc6.d/S10orderly_shutdown: com.palm.power service not running
    2012-02-23T11:35:05.306549Z [6336] webos-device user.notice root: /etc/rc6.d/S25shutdown_animation starting
    2012-02-23T11:35:05.313964Z [6336] webos-device user.notice root: /etc/rc6.d/S25shutdown_animation stopping LunaSysMgr
    2012-02-23T11:35:05.578460Z [6337] webos-device user.notice root: /etc/rc6.d/S25shutdown_animation done stopping LunaSysMgr
    2012-02-23T11:35:06.658935Z [6338] webos-device user.notice root: /etc/rc6.d/S25shutdown_animation done
    and then:
    2012-02-23T11:35:20.775726Z [21] webos-device kern.notice kernel: pmklogd started
    2012-02-23T11:35:21.102905Z [21] webos-device kern.info kernel: [131075.591644] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.104248Z [21] webos-device kern.info kernel: [131076.428771] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.104705Z [21] webos-device kern.info kernel: [131081.554138] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.108825Z [21] webos-device kern.info kernel: [131091.071319] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.133178Z [21] webos-device kern.info kernel: [131092.381317] rockhopper: start re-registering driver
    2012-02-23T11:35:21.177276Z [21] webos-device kern.warning kernel: [131093.789062] bootmark (starting): 28EE99C289D846B1E3448F297D7DD73B
    2012-02-23T11:35:21.507415Z [22] webos-device kern.info kernel: [131094.121093] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.537445Z [22] webos-device kern.info kernel: [131094.147247] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:22.130584Z [22] webos-device daemon.warning upstart: (00022/753571891) tempdb main process (1171) terminated with status 2
    2012-02-23T11:35:22.171844Z [22] webos-device user.notice root: org.webosinternals.ipkgservice upstart: script called
    2012-02-23T11:35:23.017211Z [23] webos-device user.debug logctld: main: About to start main_loop
    2012-02-23T11:35:27.189941Z [27] webos-device user.notice powerd: {powerd}: Powerd started on palm-rib.
    2012-02-23T11:35:27.190948Z [27] webos-device user.info powerd: {powerd}: CHG_LOGIC: debug_battery_taper (charging, type=0, 1195.000000mAh, 100%, 32C, 0mA, 4177mV, (avg)0mA, min=40mA, max=4141mV, taper_state=start, battery_state=charge-termination, battery-authentic charger-connected)
    2012-02-23T11:35:28.237121Z [28] webos-device user.notice mojodb-luna[1188]: [core.app] mojodb starting...
    2012-02-23T11:35:28.868743Z [29] webos-device user.notice SmartKeyService: start: started service com.palm.smartKey
    2012-02-23T11:35:28.869079Z [29] webos-device user.notice SmartKeyService: main: started service com.palm.smartKey
    2012-02-23T11:35:30.355560Z [30] webos-device user.emerg hidd: HidInit: Touchpanel Reader Thread started
    2012-02-23T11:35:31.636779Z [32] webos-device user.warning LunaSysService: SystemRestore::startupConsistencyCheck() started
    2012-02-23T11:35:31.636871Z [32] webos-device user.warning LunaSysService: SystemRestore::startupConsistencyCheck() running - checking wallpaper and ringtone consistency
    2012-02-23T11:35:31.642883Z [32] webos-device user.warning LunaSysService: SystemRestore::startupConsistencyCheck() running - restoring volume icon file
    2012-02-23T11:35:31.651489Z [32] webos-device user.warning LunaSysService: SystemRestore::startupConsistencyCheck() finished
    2012-02-23T11:35:33.674377Z [34] webos-device user.notice BrowserServer: startService: BrowserServer started on service bus
    2012-02-23T11:35:36.214630Z [36] webos-device user.notice mojodb-luna[1188]: [core.app] mojodb started
    2012-02-23T11:35:39.040100Z [39] webos-device daemon.warning upstart: (00039/663331410) dnsmasq main process (1454) killed by TERM signal
    2012-02-23T11:35:39.071868Z [39] webos-device user.crit PmNetConfigManager: {netcfg.mgr}: startARequestCycle: dnsmasq not up
    2012-02-23T11:35:39.091461Z [39] webos-device user.notice BrowserServer: IP address changed: 192.168.1.203. Restarting network
    2012-02-23T11:35:39.116577Z [39] webos-device user.crit PmNetConfigManager: {netcfg.mgr}: startARequestCycle: dnsmasq not up
    2012-02-23T11:35:39.160095Z [39] webos-device user.crit PmNetConfigManager: {netcfg.mgr}: startARequestCycle: dnsmasq not up
    2012-02-23T11:35:40.907012Z [41] webos-device user.notice root: CustomizationService upstart: customization launch prereq not met
    2012-02-23T11:35:48.570617Z [49] webos-device kern.warning kernel: [131120.936187] (&mm->mmap_sem){++++++}, at: [<80484e00>] kgsl_get_vma_from_start_addr+0x24/0x150
    2012-02-23T11:35:48.578826Z [49] webos-device kern.warning kernel: [131121.024414] [<80484e00>] kgsl_get_vma_from_start_addr+0x24/0x150
    2012-02-23T11:35:48.583770Z [49] webos-device kern.warning kernel: [131121.118682] [<806db774>] (down_read+0x48/0x5c) from [<80484e00>] (kgsl_get_vma_from_start_addr+0x24/0x150)
    2012-02-23T11:35:48.584045Z [49] webos-device kern.warning kernel: [131121.128417] [<80484e00>] (kgsl_get_vma_from_start_addr+0x24/0x150) from [<8048615c>] (kgsl_ioctl+0x85c/0x15d0)
    I'm not sure what all that means, or what the marks of a good, planned restart are, but it's a place to begin. Now all I have to do is wait for an unscheduled restart. Hmm, maybe I ought to trigger a luna restart, and see what that looks like in messages, as I don't know whether the unplanned stuff is a full or luna restart.

  • How to type text while making a phone call

    I was topping-up my pay-as-you-go account today and keying in my credit card info when O2 autobot asked me for my postcode. How on earth do you use the letters on the alphanumeric keypad???

    if you are asking how you send letters over a phone call... that is not possible... you can only send 1,2,3,4,5,6,7,8,9,0,*,# perhaps they just want you to press the number key with the letter on it? if this is the issue then you should contact O2 and ask them how to enter letters when prompted for a post code using the IVR system.
    my original post:
    text entry changes depending on what function you are doing...
    the letters on the keypad in the phone application are just there to help you dial numbers that are listed with letters instead of numbers... for example 800 BUY NOW3 or 866HOLIDAY
    if you wish to send a text message press the home button at the bottom of the screen and select the "Messages" icon... if you don't see it slide left or right on the screen with one finger until you find the page it is on.
    once your in messages you can create a new message and when you do so you will find the on screen keyboard changes to a alphabetic one to let you enter the messages. if you need other symbols and numbers on that keyboard press the "123" at the bottom.
    check this link for a really handy online guide: http://www.apple.com/iphone/how-to/index.html#basics.introduction
    be well

  • Error while making Web service call

    I have configured my webservice for https
    i calling the web service from a j2me clieny application, i get the error
    javax.xml.rpc.JAXRPCException: no HTTP reply header
         at com.ibm.pvcws.jaxrpc.rpc.OperationImpl.invoke(OperationImpl.java:321)
    Can somebody please help me with the error

    Hello
    You get the WebServiceME.jar by downloading an add-on by using the software manager, Help->Software Updates->Software Manager
    Good luck

  • Dropped my iphone while making a phone call and when i picked it up the screen was black and now it will not turn on. I have tried holding down the home and power buttons for over 2 hours and it is not working! help :(

    i dont know how to fix this help

    Basic Troubleshooting Steps when all else fails
    - Quit the App by opening multi-tasking bar, and swiping the App upward to make it disappear.  (For iOS 6, holding down the icon for the App for about 3-5 seconds, and then tap the red circle with the white minus sign.)
    - Relaunch the App and try again.
    - Restart the device. http://support.apple.com/kb/ht1430
    - Reset the device. (Same article as above.)
    - Reset All Settings (Settings > General > Reset > Reset All Settings)
    - Restore from backup. http://support.apple.com/kb/ht1766 (If you don't have a backup, make one now, then skip to the next step.)
    - Restore as new device. http://support.apple.com/kb/HT4137  For this step, do not re-download ANYTHING, and do not sign into your Apple ID.
    - Test the issue after each step.  If the last one does not resolve the issue, it is likely a hardware problem.

  • Unusual  NoSuchMethodError  thrown by GetMethodID  while making a JNI call

    Hi All,
    I am using Java 1.6 on solaris and I am calling a method of a java class from a c program. As part of JNI procedure to call this java method, I sometimes get NoSuchMethodError thrown by Jni's GetMethodID which I will be calling before CallVoidMethodV. Strange thing is , I don't get this error every time. My program frequently invokes a java method from c program based on some events and at certain times I get this error. Any input on this problem will be really helpful.
    Regards
    Prem

    As one guess, a C memory bug.
    Such bugs can cause almost any sort of behavior. If you see crashes then that would insure it. But it could occur because the memory bug represents deterministic behavior so it only occurs when a specific execution path is taken.
    Of course there could be some other context, for example if you are using class loaders and relying on different versions of code then it could be getting the older version.

  • Issue while making confirmations in SRM.

    Hi Gurus,
    Can any one suggest me a solution for this problem.
    This is SRM version 4.0 . The user has raised a Shopping cart in SRM with 4 line items and it  got appoved and created a PO sucessfully in the SAP R/3 system.
    Now the user has changed the PO quantities in the SAP R/3 system and now trying to do the confirmations  against that PO for the quantities he has received, i.e he has now tried to do confirmations for the 2nd Line item and it gave an error saying that Error in process. which is diplayed in the shopping cart history.
    Now when he is trying to do the confirmations for anyone of the Line item in that PO. System gives a POP -UP message saying that
    " ** Document is in transfer for Puchase order, creation not possible **".
    Can any one suggest how to get rid of this error message and perform  the confirmations in SRM against this PO , if this is not possible then we need to do it from SAP R/3.
    Regards
    Srujan.K

    Hi Muthu,
    Thanks for your reply.
    Just wanted to clarify you on background of it.  we are using the classic  SRM 4.0 version and the PO in the SAP R/3 is the leading PO so I cannot  change the PO in the SRM.
    However the PO hwich has been changed in the SAP R/3 system I can see the updated quantities and while user trying to do the confirmations I can see the updated quantities in SRM at line item level.
    But I am not able to find the Idoc number for this confirmation and I have gone to the BU2023 object in BBP_PD and could check there the object key is not updated but core key is updated  and I can see the error in transmission.
    This error is when the user is trying to make confirmation first for the line item 2 in the PO. But now the system is not allowing to do the confirmations to any of the line items and now displays the error as
    "  Document is in transfer for PO , creation not possible"
    I even have checked in SM58 in the SAP R/3 system no entries I could find.
    Regards
    Srujank

  • Xperia Z2_Screen problem while making a phone call

    Hi,
    I have bought a  Xperia Z2 two days ago. I think, I have a serious problem. When I want to make a phone call, I am writing the numbers and then press the call button, my screen gets completely dark when the phone is still in my hands (not close to my ears). I can still talk with my phone, but I cannot see the screen, therefore it is very difficult to end the call. If I am pressing the power button one-two or more than one-two times, the screen comes back and then I can end the call. I have a screen protector on my screen, which comes within the package of Z2. I tried if the same problem continues without screen protector or not. The answer is yes, it continues. I boot the phone  in the safe mode, but the problem is still there.
    I am waiting your help...

    I see you did your homework about the screen protector and safe mode.Do you have any case?
    Also check if proximity sensor works fine.Dial *#*#7378423#*#*-Service test-proximity sensor.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • Sometimes while making a phone call, the person can not hear me but phone is not muted

    I have Iphone 6 and sometimes like once a month, when i make a phone call, the person can not hear me.

    WWe have tried the soft reset.  As of now it only does it to one other phone number I call.  The number is my husbands who is on Same plan. We thought maybe it was just something with the iPhone 6.  The phones are only 3 months old. 

  • SharePoint 2013 - Issue while making URL public. Access denied error for SP.Debug.js and get_effectiveBasePermissions error .

    Hi,
    Our feature code working fine in SP2013 dev environment, but when we  have deployed in test environment where URL is public,
    it is giving below error.
    • “get_effectiveBasePermissions : object is null or undefined”- in sp.ui.exportasscoiatedrelateddocs.js from Infrastructure feature
    • “Access Denied” – in SP.Debug.js file
    • “Unable to get value of the property 'toString': object is null or undefined”- in SP.Debug.js file
    Your help will be appreciated.
    Regards,
    Divyesh Lappawala

    Difficult to guess what's the real problem just seeing the screenshot. But can you check if you are requesting the script files from correct location? Sometimes maybe you are looking script from different site collection/url. Also is there's any possibility
    that users are browsing as anonymous or maybe the requires sharepoint scripts are not loaded beforehand.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

Maybe you are looking for