How to know internal server request

Hi
My application is a plugin(shared library) for SunOne web server that is developed using C++ NSAPI SDK.
I am facing a issue when a browser send a request for folder(say http://host.abc.com/test-folder/).
When my application gets notification about this request, it process the request and send some Cookie to browser in response. The Web Server does not deliver this response to browser but generates another request of index.html file(i.e. http://host.abc.com/test-folder/index.html). So here my application gets notification about this request.Finally index.html file is displayed in client's browser.
Is there any way to know that a request is generated by SunOne web-server(as in my case request for index.html is generated by web server) ?
Please Help
Regards
Devendra

After I have decompile and studied the com.day.cq.personalization.impl.TargetedContentManagerImpl Class.
I have notice that I will need to have the Campaigns folder created under the content tree("/content/campaigns")
Shouldn't the code handle the null case on line 321 of TargetedContentManagerImpl Class
collector(this.adminResolver.getResource(this.promotionRoot));
Thanks

Similar Messages

  • How to know wher the request come from??

              I have 2 JSP's forwarding to same 3rd JSP. Now from the 3rd JSP how can I know
              where the request comes from..without using and HTTP parameters
              Can any one help me in this..
              Thanks
              Perianayagam.T
              

    Perianayagam.T wrote:
              >
              > I have 2 JSP's forwarding to same 3rd JSP. Now from the 3rd JSP how can I
              > know where the request comes from..without using and HTTP parameters
              Set a request attribute in the source jsp. In Servlet 2.4 containers, this
              will be done automatically; you will find attributes similar to
              javax.servlet.include.* today.
              Matthias
              Matthias Ernst
              Software Engineer
              CoreMedia - Smart Content Technology
              

  • How to know portal server starting time

    Dear gurus
    How to know the portal system or portal process's  (server0/server1/SDM/dispatcher)  starting time or stopping time. like in Tcode: ST02 it will show the server started time
    as i want to know when it has restarted...
    Thanks in advance

    You can use the SAP MMC (windows application) or Java MMC online : http://server:port+13
    e.g. if your port is 50000 then the Java MMC is on port 50013
    Is there you can have what you need.
    Fabien.

  • How to know the spool requests generated from my program?

    hi
         I want to get the spool request(s) that are generated from my report that's run either in foreground or background? how to know this? i know that we can go to sm37 and see, but is there any table or fm which stores this data? if i give my program name that's run on a particular date, i should get the spool request numbers. tsp01 only has the spool no. and not the program name..pl suggest...thanks all
    Sathish. R

    Hi ,
    The system field sy-spono contains the spool numbers .
    If you have such requirement, you can create one custom table with fields :
    spool no, program , date , time
    whenever you run ur program update this table ,
    with system fields . spono , sy-repid , sy-datum and sy-uzeit .
    Thaks .

  • Composite Studio - How to get Active Server Requests through Email

    Currently in my application, we have an issue with number of Active connections. When we view Composite Studio -> Manager -> Requests -> Active Server Requests, it shows the number of active requests at that particular moment.
    Is it possible to set a trigger or receive an email for the above if the number of Active Requests goes > some limit to alert us. Due to the issues with downstream applications, Composite was not able to close the connections and it is creating issues for future requests. 

    You need to load the Module before you start using it .....in PowerShell v2 (v3 auto loads it for you).
    I assume you are just starting with the AD Administration with PowerShell.
    Go through the Scripting Guy's post and search for getting started content:
    http://blogs.technet.com/b/heyscriptingguy/archive/2010/02/02/hey-scripting-guy-february-2-2010.aspx
    http://blogs.technet.com/b/heyscriptingguy/archive/2013/04/23/use-the-ad-ds-module-to-find-computers-with-powershell.aspx
    Below is another comprehensive  link:
    http://technet.microsoft.com/en-us/library/dd378937(v=ws.10).aspx
    Knowledge is Power{Shell}
    DexterPOSH
    My Blog

  • How to know internally redirect in Proxy Server

    Hello,
    I notice that our developed NSAP codes, at very first time, Sun Java System proxy Server internally redirect in Proxy Server.
    If anyone knows how we can get the behavior difference between internal redirect and normal procedure to see the pblock structure.
    Best Regards;
    MMd1

    Here is the program.
    My NSAPI program generate POST message in the below, but Web Proxy Server generate the appended URL in the below;
    http: //tnakamura-t42.xxx.com:85/NSAPI_dev/http%3A//tnakamura-t42.xxx.com%3A86/test4/test1.html
    The last GET in the message of the below should be;
    http%3A//tnakamura-t42.xxx.com%3A86/test4/test1.html
    The Web Proxy Server internally redirect the below.
    I am not sure why Web Proxy Server modify the URL between (POST -> GET message)
    If anyone knows the causes, please let us know.
    ( Here is the HTTP Header packet log)
    ==================================================
    POST http: //tsugai-t42.xxx.com:85/NSAP_dev/aaa_logon_en.html HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
    Referer: http://tsugai-t42.xxx.com:85/NSAP_dev/aaa_logon_en.html
    Accept-Language: ja
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
    Host: tsugai-t42.xxx.com:85
    Content-Length: 55
    Proxy-Connection: Keep-Alive
    Pragma: no-cache
    Cookie: AAAASESSION=aHR0cCUzQS8vdHN1Z2FpLXQ0Mi5hcC5yc2EubmV0JTNBODYvdGVzdDQvdGVzdDEuaHRtbA%3D%3D
    auth_mode=basic&user=aaaaa&password=xxxx&x=13&y=10
    HTTP/1.1 303 See Other
    Server: Sun-Java-System-Web-Proxy-Server/4.0.2
    Date: Thu, 20 Apr 2006 23:57:42 GMT
    Content-length: 106
    Content-type: text/html
    Set-cookie: AAASESSION=AAAAAQABAEBmNJDkbIY5stNO5YOpcqSUkKpAA341dbnAtqDShjDEk%2FUNelCn%2BSc2eOutJiX3tla1aFs2muQ%2BZ61WHhDvQfDr; domain=.xxx.com; path=/
    Location: http%3A//tnakamura-t42.xxx.com%3A86/test4/test1.html
    Connection: close
    GET http: //tnakamura-t42.xxx.com:85/NSAPI_dev/http%3A//tnakamura-t42.xxx.com%3A86/test4/test1.html HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
    Referer: http://tnakamura-t42.xxx.com:85/NSAPI_dev/aaa_logon_en.html
    Accept-Language: ja
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
    Host: tnakamura-t42.xxx.com:85
    Proxy-Connection: Keep-Alive
    Pragma: no-cache
    Cookie: AAAASESSION=aHR0cCUzQS8vdHN1Z2FpLXQ0Mi5hcC5yc2EubmV0JTNBODYvdGVzdDQvdGVzdDEuaHRtbA%3D%3D; AAASESSION=AAAAAQABAEBmNJDkbIY5stNO5YOpcqSUkKpAA341dbnAtqDShjDEk%2FUNelCn%2BSc2eOutJiX3tla1aFs2muQ%2BZ61WHhDvQfDr
    HTTP/1.1 403 Forbidden
    Content-length: 142
    Content-type: text/html
    Server: Sun-ONE-Web-Server/6.1
    Date: Thu, 20 Apr 2006 23:57:49 GMT
    Via: 1.1 proxy-proxy402
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0.2
    =========================================

  • How to know report server name in oracle forms and reports with weblogic server 10.3.5

    Hello Experts,               I am new in oracle forms and reports.I have installed Oracle forms 11g with weblogic server 10.3.5 at windows 7.Forms and reports are working well.But I want to call a report from an oracle form button press trigger. For This I need to know the my report server name which i dont know.Please tell me how can I know my report server name.

    I want to call a report from an oracle form button press trigger. For This I need to know the my report server name
    You can find the name of the standalone reports server in $ORACLE_INSTANCE/config/ReportsServerComponent.
    Or you can use Fusion Middleware Control Console, normally at  http://<machine name>:7001/em

  • How to Know Oracle server id and port

    Dear all
    I try to run oracle report in jdeveloper
    i make the java files that calling the report as from i found in the internet as follow
    OracleReportBean reportBean =
    new OracleReportBean(server id, port, null);
    reportBean.setReportServerParam(OracleReportBean.RS_PARAM_DESTYPE,"cashe");// which will be one of the [cashe - file - mail - printer]
    reportBean.setReportServerParam(OracleReportBean.RS_PARAM_DESFORMAT,"PDF"); // Which will be onr of the [HTML - HTML CSS - PDF - SPREADSHEET- RTF].
    reportBean.setReportParameter("xxx", "ssss");
    reportBean.setReportParameter("kkkk", "uu");
    String url = reportBean.getReportServerURL();
    reportBean.openUrlInNewWindow(url);
    But i do not know what is the server id and port
    and how to specify the report name in the code.
    Please help me in this issue.
    Best Regards;

    I think that the serverid and the port is the ip of your report server and the port. (default 7779)
    see this post http://sameh-nassar.blogspot.com/2010/07/call-oracle-reports-from-your-adf.html
    so I can see, the name of the report is indicated via parameter
            //launch report
            testBean.setReportServerParam(OracleReportBean.RS_PARAM_REPORT, "name_report.rdf");
            testBean.setReportServerParam(OracleReportBean.RS_PARAM_ORIENTATION, OracleReportBean.ORIENTATION_PORTRAIT);
            testBean.setReportServerParam(OracleReportBean.RS_PARAM_DESFORMAT, OracleReportBean.DESFORMAT_PDF);

  • How to know ITS Server URL??

    Dear all,
    I am trying to call ECC Transactions into IC Webclient, For that I have mapped logical system and need to give ITS Client number and URL in 'CRMS_IC_CROSS_SYS' transaction.
    I dont know from where we can get ITS client number and URL. We are using SAP WAS Server and the connection has already been established. As per reading over net, ITS is a inbuilt component of SAP WAS server.
    Can I use SAP WAS client number and host name for the URL CRMS_IC_CROSS_SYS transaction.
    Please guide me to complete this process successfully. Your suggestions will be highly appreciated.
    Thank you
    Raghu ram.

    Hi,
    Please refer to OSS Note 888931.
    Regards,
    Deepak

  • How to know sql server version and edition information

    Hello,
    We can see the version information in help menu item in the SSMS.
    How can i find the edition that was installed in my system?
    Thanks in advance.
    Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.

    Run below query to know the SQL version and edition
    SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY('productlevel'), SERVERPROPERTY('edition')
    Refer below for more details
    http://msdn.microsoft.com/en-us/library/ms174396.aspx
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • How to know my server adress to connect to blackberry messenger  ?, how to know my server adress to connect to blackberry messenger  ?

    anyone can help me ?!

    Hi and Welcome to the Community!
    With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRTKB00510 How to register a BlackBerry smartphone with the wireless networkPlease wait for one "registration" message to arrive to your Messages app2) Delete and Resend Service BooksKB05000Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphoneIf you have no CMIME entry, then skip the deletionKB02830 Send the service books for the BlackBerry Internet ServicePlease wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.3) RebootWith power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support and to be sure that you are subscribed to an adequate data plan from them to enable the services you desire. Unfortunately, with that relatively old device, a full BB data plan is required from a carrier, even if the intent is to use the device via WiFi only.
    Good luck!

  • How to know the Transport Request status?

    Hi all,
      i need to develop a report wherein i need to display the status of the Transport Request..i mean it should display wheteher it has move to the Production system?Is there any table or FM which gives the cross system details of the Transport Request.
    Thanks in advance,
    Rakesh.

    Hi Rakesh,
    Please check this FM.
    TR_LOG_OVERVIEW_REQUEST_REMOTE
    TR_LOG_OVERVIEW_REQUEST
    TR_LOG_OVERVIEW_REQUESTS
    Hope this will help.
    Regarsds,
    Ferry Lianto
    Please reward points if helpful.

  • How to know when server automatically invalidates session

    Hi !!!
    I am storing a result set in the session .....
    Well there is some need to store result set in the sesssion..I am displaying data in my JSP by retrieving the data from the result set...Now I want to close the connection and result set... when the server invalidates the session ......
    Any way to do that???
    Reagrd

    If objects that you store in session implement HttpSessionBindingListener,
    they will be notified by valueBound() and valueUnbound() methods when object
    is stored or removed from the session. Object is removed from the session when the session is invalidated, so you can close your db connections from valueUnbound() method. I had the same problem and this works for me.
    Milan Mogin
    http://www.dolithe.com

  • I am getting internal server error when I try to add my points on the weight watchers website. How do I resolve this??

    Does anybody know how to fix internal server error?  This has never happened before?

    Welcome to Apple Support Communities.
    'Internal Server Error' means the problem is on the website you're visiting, not your computer.
    http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm
    The best answer is to wait a few hours and try again.
    If the error persists for you can also try Safari, Empty Cache, as shown below

  • How to know transport request

    if i know the program name how to know the transport request       
    without going se38,se09.

    Hi
    See in the top :-
    Go to Environment -> Transport Organizer.
    there u will see the transport request for the program.
    reward if help.

Maybe you are looking for