PI 7.1 SP 6 : 307 Temporary Redirect

Hello All,
For one of our very simple scenarios
UI - XI - Java Backend Service.
The web service which we are consuming using our Receiver SOAP Adapter the backend service throws the following error message : 307 Temporary Redirect.
Are there any settings which can make this redirect possible in PI.
I checked the SAP note
SAP Note 1463553 - HTTP redirect codes handling in Web service consumer runtime and it says that NW 7.1 all SPS support codes  301, 302, 307.
Thanks.
Kiran

Hi Kiran,
Please follow the check list of note below since it could be a problem with the ICM:
#634006 - Note on the preclarification of ICM messages
Let us know if the note was helpful to your case.
With regards,
Caio Cagnani

Similar Messages

  • Error in AS2 RCV adapter.. SEEBURGER AS2: 307 Temporary Redirect #

    Hi all,
    Iam just doing File to File scenario and passing the resultant file to Partner system through AS2 adapter.
    I gave the following details in AS2 RCV adapter..
    SND>XI->Webdispatcher--->Partner.
    My message will be reached to webdispatcher.. from there it will route to Partner Url.
    So i will be giving my webdispatcher URL in my AS2 RCV adapter.
    TP : HTTP
    MP : AS2
    Server : vvvvvv.com.NZ
    Port : 50000
    Url :  /as2gs1/partnera
    Message is processed succesfully but its failing in AS2 RCV adapter with following error.
    Success      SEEBURGER/AS2: Received order from system.
    Error      Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: 307 Temporary Redirect # , SEEBURGER AS2: 307 Temporary Redirect #
    Error      MP: Exception caught with cause javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: 307 Temporary Redirect # , SEEBURGER AS2: 307 Temporary Redirect #
    Error      Exception caught by adapter framework: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: 307 Temporary Redirect # , SEEBURGER AS2: 307 Temporary Redirect #
    Error      Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: 307 Temporary Redirect # , SEEBURGER AS2: 307 Temporary Redirect # : javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: 307 Temporary Redirect # , SEEBURGER AS2: 307 Temporary Redirect #.
    Error      The message status set to NDLV.
    Kindly let me know if anyone know th solution.
    Regards
    Seema.

    Hi Peter,
    >> a, what do you mean with the Web Dispatcher?
    We are not using the partner URL directly.We will be using Webdispatcher URL .. from there they have written the rule to goto Partner URL.
    >> b, you receive a HTTP code 307, which means that the target AS2 location has been moved. Try to connect the target AS2 server on the URL and check, if it is really there and if it is working.
    Looks like this is working.. its showed success state for a while and after few minutes.. its showing the below error in communication channel monitoring.
    Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: java.net.SocketException: Connection timed out:could be due to invalid address # , SEEBURGER AS2: java.net.SocketException: Connection timed out:could be due to invalid address # : javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: java.net.SocketException: Connection timed out:could be due to invalid address # , SEEBURGER AS2: java.net.SocketException: Connection timed out:could be due to invalid address #.
    This is the error it is showing in Seeburger Monitoring.
    State                          : Error on send, will be retried
    Status Description  : Could not deliver as2 message to partner: java.net.SocketException: Connection timed out:could be due to invalid address # null
    What is this error?
    Do u think there is no problem with AS2 adapter.. its the problem wit webdispatcher.??
    Waiting for your reply.
    -Seema.

  • I keep getting this error message on my Mac after my Mavrick upgrade: This web page is being redirected to a new location. Would you like to resend the form dat

    how do I turn off this notification. I build web stores and this pops up when I access my store now. The stores have a redirect with masking through godaddy.com to hide the source of the store. I have reset fire fox, turned off most of the settings and still having issues. most of the forms on line are outdated.
    Thanks

    There is a way to turn off the warning for a 307 "temporary" redirect. However, bear in mind that customers will still see it, so you may want to reconsider the design for business reasons.
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box that appears above the list, type or paste '''redi''' and pause while the list is filtered
    (3) Double-click '''network.http.prompt-temp-redirect''' to switch its value from true (the default) to false.
    References:
    * [https://support.mozilla.org/en-US/questions/779492 I receive this usually in facebook only. " This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?" How can I stop this?] - related to filtering/protection service
    * [https://bugzilla.mozilla.org/show_bug.cgi?id=818850 818850 – The dialog "...new location..." is too annoying and is misleading about the page it comes from] - information about the bug tracking system:
    ** [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html Bugzilla Etiquette]
    ** [https://bugzilla.mozilla.org/page.cgi?id=voting.html Voting]

  • AS2 Adapter in error

    Hello,
    I have got an error in AS2 adapter.
    Error message is as shown below :
    Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated. # , SEEBURGER AS2: org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated. #
    we are struggling for this error for quite few days.
    Can anyone help me out what we can check in this ?? what could be a possible cause for same??
    Thanks a lot in adavance !!!
    Regards,
    Vikrant

    Hi Vikrant
    Just have alook at this thread may get some clue ..
    Seeburger AS2 Adapter sending message error
    Re: Error in AS2 RCV adapter.. SEEBURGER AS2: 307 Temporary Redirect #
    Regrds
    Abhishek

  • Bex Broadcater is not working

    Hi,
    In my query designer, when I click     Publish-> Bex Broadcaster    it is navigating me to empty Internet explorer screen.
    Can you please  tell me how to solve this issue.
    Thanks,
    Harish

    Hi,
    Go through SAP Note 972514 - Empty BEx Web Analyzer instead of BEx Broadcaster.
    Symptom
    You start the BEx Broadcaster from a BEx Web Application. The system displays the empty BEx Web Analyzer instead of the BEx Broacaster.
    Solution
    You must configure the message server of the ABAP Web Application Server in such a way that it sends HTTP return code 307 (temporary redirect - for HTTP 1.1) instead of HTTP return codes 301 (moved permanently; use new URL) or 302 (moved temporarily; use same URL).
    Most Web browsers (such as MS Internet Explorer and Mozilla Firefox) interpret this in such a way that they send the POST parameters to the server that is the target of the HTTP redirect. Note that the use of HTTP 1.1 for the Web browser is mandatory because return code 307 is available only as of version HTTP 1.1.
    Set the ms/redirect_version parameter to value 1 and restart your ABAP Web Application Server.
    This parameter should be displayed after you restart.
    Transaction SMMS
               -> Goto -> Parameters -> Display (in all servers).
    See Note 857596 for more details. You can use transaction RZ10 for the parameter change.
    Navesh

  • BIAC in portal - only analysis pattern visible

    Hi,
    I'm running BI Administration Cockpit in Portal, implemented as described in SAP Note 934848 Collective note: (FAQ) BI Administration Cockpit.
    However, although all implementation steps completed the monitoring queries cannot run in Portal. The system return only the analysis pattern with all the buttons, without the actual query.
    The query can be run in preview mode directly from portal content, so connection should be ok. Also authorizations cross checked.
    The analysis pattern is used as default for normal reporting so it cannot be inactivated.
    Any idea where's the problem and how to solve/work around it?
    Also, is there a possibility to migrate the SAP delivery 3.x web templates to 7.0 version? I'd rather keep 7.0 objects only active in the system.
    Thanks!
    Aki

    Hi:
    I had the same problem, I fixed it with the parameter ms/redirect_version = 1.
    You can see the note 972514.
    You must configure the message server of the ABAP Web Application Server in such a way that it uses HTTP return code 307 (temporary redirect - for HTTP 1.1) instead of HTTP return codes 301 (moved temporarily; use new URL) or 302 (moved temporarily; use same URL).
    Most Web browsers (such as MS Internet Explorer and Mozilla Firefox) interpret this in such a way that they send the POST parameters to the server that is the target of the HTTP redirect. Note that the use of HTTP 1.1 for the Web browser is mandatory because return code 307 is available only as of version HTTP 1.1.
    Set the ms/redirect_version parameter to value 1 and restart your ABAP Web Application Server.
    I hope help you.

  • Maintenance Mode

    Okay so I tested the page in IE and it seems to work fine, but when I view it in Chrome I get told the page had too many redirects and nothing loads, I have not tried it in Firefox.
    So if you try going to http://mckennastudios.com it should bring you to a maintenance.html page.
    Here is what I added to my .htaccess file:
    Options +FollowSymlinks
    RewriteEngine on
    RewriteCond %{REQUEST_URI} !/maintenance.html$
    RewriteRule $ /maintenance.html [R=302,L]
    If there's a better way that's just as easy to enable/disable maintenance mode for a website please let me know.

    Sorry to bump in. But, a 301 redirect would've worked for you - but is very bad practice. You've clearly mentioned you're redirecting users to this page only for 'maintenance'. 301 is used for a 'permanent redirect' - meaning your search engine indexes will go for a toss. Read this: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=93633
    307 (temporary redirect) is the right way to do it as it tells the client to remember this redirect is only temporary and prompts the client to visit the requested URL the next time - meaning the 2nd time your user enters the 'root' or 'request URL' of your domain name, the client will not be redirected to /maintenance.html, but will look for /index.html or the originally requested URL.
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/maintenance\.html$
    RewriteRule ^(.*)$ http://mckennastudios.com/maintenance.html [R=307,L]
    Your original code should work. Where in .htaccess did you put this code? Do you have other lines in .htaccess file? Maybe a possible conflict of rules?
    -ST

  • SDMParserException occured - Help needed

    Hello Community,
    I am currently installing a scenario where we want to use the "Material Availability" App from SAP App Store.
    I installed the Add-On for Material Availability and the IW_BEP component via SAINT in the backend system. Then installed a new Netweaver System with all the Netweaver Gateway 2.0 components and finally the Sybase Unwired Platform 2.1.
    For all customizing settings the SAP_MATERIAL_AVAILABILITY.pdf instguide from Service Marketplace was used. I published the salesmaterial service to the gateway and created the BgRFC Queue. On the SUP I created a security configuration with HttpAuthenticationLoginModule and the URL to the service: URL=http://<server.domain>:8021/sap/opu/sdata/MIVE/SALESMATERIAL
    I then added a new Application (com.sap.meps.erpmaterialsearch) and Application Connections, where I configured the Proxy Application Endpoint to http://<server.domain>:8021/sap/opu/sdata/MIVE/SALESMATERIAL.
    Now, when logging in via an iPad I can see the connection is online in the Sybase Control Center and in NW Gateway I can see a logon for the GW test user (which exists on the backend aswell). When trying to display the first screen after logging in a Parser Error is shown.
    I checked the log files in Sybase Control Center, but everything seems fine there:
    2012-02-23 14:27:07.183 INFO PROXY MessageChannel Thread-329 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]ODP:Returning Response from Gateway Back to Message Channel
    2012-02-23 14:27:07.181 INFO PROXY MessageChannel Thread-329 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP:Read response body from Gateway
    2012-02-23 14:27:07.181 INFO PROXY MessageChannel Thread-329 [com.sybase.suplite.gwc.req.handler.GWProxy]Response code is HTTP/1.1 307 Temporary Redirect
    2012-02-23 14:27:07.181 INFO PROXY MessageChannel Thread-329 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP:Recieved the response from the gateway
    2012-02-23 14:27:07.167 INFO PROXY MessageChannel Thread-329 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP: Firing the request to the Gateway
    2012-02-23 14:27:07.163 INFO PROXY MessageChannel Thread-329 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]ODP: Read the Request information
    2012-02-23 14:27:07.163 INFO PROXY MessageChannel Thread-329 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]ODP :Recieved a request to fire to Gateway
    2012-02-23 14:27:07.156 CONSOLE MMS pool-1-thread-4 - /msgchannel/mo [com.sybase.sup.server.Console]1709
    When checking SLG1 on the NW Gateway, there are no errors reported.
    The Trace on the iPad says:
    Facility: com.sap.meps.erpmaterialsearch.release
    PID = 238
    Message = SDMParserException occured: (null) Details (null) StatusCode 0
    When calling the salesmaterial service in a webbrowser everything seems fine, but via iPad I always get the Parser error.
    What can I do to solve this? Where can I find more logfiles? How can I find out, where the problem is (SUP, GW or backend)?
    Thanks in advance and kind regards
    Stefan

    Here is the log from SCC -> Servers -> <server> -> Log after firing a request from the iPad:
    2012-02-24 10:00:36.429 DEBUG PROXY Thread-553 [com.sybase.suplite.gwc.req.util.domainReqRespLogHandler]Inside Domain Logger for ReqResp
    2012-02-24 10:00:36.429 INFO PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]ODP:Returning Response from Gateway Back to Message Channel
    2012-02-24 10:00:36.429 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]GWConnectorHandler   StartTime1330074036407   EndTime 1330074036429    Difference is 22
    2012-02-24 10:00:36.429 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]--IN GWCHandlerEXC--returning the Response obtained from GWProxy
    2012-02-24 10:00:36.429 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCResponseAdapter]in response adapter (internal conversion){"responseCode":"307","responseMsg":"Temporary Redirect","headers":{"server":"SAP NetWeaver Application Server / ABAP 702","location":"/sap/opu/sdata/MIVE/SALESMATERIAL/","content-length":"0","set-cookie":"MYSAPSSO2=AjQxMDMBABhNAEEAVABFAFMAVAAwADEAIAAgACAAIAACAAYyADAAMAADABBOAEcAVwAgACAAIAAgACAABAAYMgAwADEAMgAwADIAMgA0ADAAOQAwADAABQAEAAAACAYAAlgACQACRAD%2fAVUwggFRBgkqhkiG9w0BBwKgggFCMIIBPgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYIBHTCCARkCAQEwbzBkMQswCQYDVQQGEwJERTEcMBoGA1UEChMTU0FQIFRydXN0IENvbW11bml0eTETMBEGA1UECxMKU0FQIFdlYiBBUzEUMBIGA1UECxMLSTAwMjAxOTU0NzAxDDAKBgNVBAMTA05HVwIHIBICIhMYIjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTIwMjI0MDkwMDM2WjAjBgkqhkiG9w0BCQQxFgQUCoQSAuV27RAcA0UfmGH2EsdZ6JowCQYHKoZIzjgEAwQuMCwCFHNz%2frybwIDuW2lOZ7I%2fhiqq%21hrDAhRlfwkMdfvURK5ZhrFj2bniiv%2fU7g%3d%3d; path=/; domain=.<domain>"},"body":""}
    2012-02-24 10:00:36.429 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]GWProxy   StartTime:1330074036408   EndTime:1330074036429   Difference is 21
    2012-02-24 10:00:36.429 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Connection released
    2012-02-24 10:00:36.429 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]---Inside releaseConnection() of GWCConnectionPoolManager----
    2012-02-24 10:00:36.429 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]GWWriteResponse   StartTime:1330074036428   EndTime:1330074036429   Difference is 1
    2012-02-24 10:00:36.428 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Response Body is written into OutputStream
    2012-02-24 10:00:36.428 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]----In writing response method---
    2012-02-24 10:00:36.428 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]GWPrepareResponse   StartTime:1330074036427   EndTime:1330074036428   Difference is 1
    2012-02-24 10:00:36.428 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Response obtained from GW sent back to client is of length875
    2012-02-24 10:00:36.428 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Response body is obtained from BackEnd
    2012-02-24 10:00:36.428 INFO PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP:Read response body from Gateway
    2012-02-24 10:00:36.428 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--Response code from GW is not 200, Reading the error stream--
    2012-02-24 10:00:36.428 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--content type|encoding|length0--
    2012-02-24 10:00:36.428 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyset-cookie          Response header valueMYSAPSSO2=AjQxMDMBABhNAEEAVABFAFMAVAAwADEAIAAgACAAIAACAAYyADAAMAADABBOAEcAVwAgACAAIAAgACAABAAYMgAwADEAMgAwADIAMgA0ADAAOQAwADAABQAEAAAACAYAAlgACQACRAD%2fAVUwggFRBgkqhkiG9w0BBwKgggFCMIIBPgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYIBHTCCARkCAQEwbzBkMQswCQYDVQQGEwJERTEcMBoGA1UEChMTU0FQIFRydXN0IENvbW11bml0eTETMBEGA1UECxMKU0FQIFdlYiBBUzEUMBIGA1UECxMLSTAwMjAxOTU0NzAxDDAKBgNVBAMTA05HVwIHIBICIhMYIjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTIwMjI0MDkwMDM2WjAjBgkqhkiG9w0BCQQxFgQUCoQSAuV27RAcA0UfmGH2EsdZ6JowCQYHKoZIzjgEAwQuMCwCFHNz%2frybwIDuW2lOZ7I%2fhiqq%21hrDAhRlfwkMdfvURK5ZhrFj2bniiv%2fU7g%3d%3d; path=/; domain=.<domain>
    2012-02-24 10:00:36.427 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keycontent-length          Response header value0
    2012-02-24 10:00:36.427 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keylocation          Response header value/sap/opu/sdata/MIVE/SALESMATERIAL/
    2012-02-24 10:00:36.427 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyserver          Response header valueSAP NetWeaver Application Server / ABAP 702
    2012-02-24 10:00:36.427 INFO PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]Response code is HTTP/1.1 307 Temporary Redirect
    2012-02-24 10:00:36.427 INFO PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP:Recieved the response from the gateway
    2012-02-24 10:00:36.427 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]GWFireRequest  StartTime:1330074036412   EndTime:1330074036427   Difference is 15
    2012-02-24 10:00:36.427 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--Finished firing the request to GW--
    2012-02-24 10:00:36.427 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--Leaving FireRequest Method--
    2012-02-24 10:00:36.427 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--Finished Client.Execute--
    2012-02-24 10:00:36.412 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--Before client.execute--
    2012-02-24 10:00:36.412 INFO PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP: Firing the request to the Gateway
    2012-02-24 10:00:36.412 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]----Host request header set is -
    <server>.<domain>:8021
    2012-02-24 10:00:36.412 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=X-SAP-deviceType    value=iphone
    2012-02-24 10:00:36.412 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=X-SAP-deviceId    value=ca4b1e390bba95835d6084939be60e4017859e4a
    2012-02-24 10:00:36.412 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=Authorization    value=Basic bWF0ZXN0MDE6Y29ybWV0YTk5
    2012-02-24 10:00:36.412 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=Accept-Language    value=de
    2012-02-24 10:00:36.412 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--In GWProxy fireRequest()--
    2012-02-24 10:00:36.412 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--About to fire the request to the GW--
    2012-02-24 10:00:36.411 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]Connections active in  pool: 1
    2012-02-24 10:00:36.411 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]---Leaving getConnection() of GWCConnectionPoolManager Found in cache first time----
    2012-02-24 10:00:36.411 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]Flag value is (1)true
    2012-02-24 10:00:36.411 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]--within while of isPresent()  getconnection-- appId/address_from_cache/address_from_requestUrl--default_com.sap.meps.erpmaterialsearch_default_admin_proxy/http://<server>.<domain>:8021/http://<server>.<domain>:8021
    2012-02-24 10:00:36.409 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]---Size of set is 1
    2012-02-24 10:00:36.409 TRACE PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]-Inside ispresent Method()
    2012-02-24 10:00:36.409 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]Address to which connection object has to be assigned is:http://<server>.<domain>:8021
    2012-02-24 10:00:36.409 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]---Inside getConnection() of GWCConnectionPoolManager----
    2012-02-24 10:00:36.409 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--Using Connection Pool--
    2012-02-24 10:00:36.409 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]URL to be fired : http://<server>.<domain>:8021/sap/opu/sdata/MIVE/SALESMATERIAL
    2012-02-24 10:00:36.408 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--Without URL rewrite--
    2012-02-24 10:00:36.408 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--Application Id sent from client is--
    com.sap.meps.erpmaterialsearch
    2012-02-24 10:00:36.408 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWProxy]--In GWProxy handle()--
    2012-02-24 10:00:36.408 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]--Leaving GWCRequestAdapter constructor()--
    2012-02-24 10:00:36.408 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]Json Request header : [{"url":"http://<server>.<domain>:8021/sap/opu/sdata/MIVE/SALESMATERIAL"},{"request":"GET"},{"X-SAP-applicationId":"com.sap.meps.erpmaterialsearch"},{"X-SAP-applicationId":"com.sap.meps.erpmaterialsearch"},{"Accept-Language":"de"},{"X-SAP-deviceType":"iphone"},{"X-SAP-deviceId":"ca4b1e390bba95835d6084939be60e4017859e4a"}]
    2012-02-24 10:00:36.407 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]context.getDeviceUserName() is matest01
    2012-02-24 10:00:36.407 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]Request header : [{"url":"http://<server>.<domain>:8021/sap/opu/sdata/MIVE/SALESMATERIAL"},{"request":"GET"},{"X-SAP-applicationId":"com.sap.meps.erpmaterialsearch"},{"X-SAP-applicationId":"com.sap.meps.erpmaterialsearch"},{"Accept-Language":"de"},{"X-SAP-deviceType":"iphone"},{"X-SAP-deviceId":"ca4b1e390bba95835d6084939be60e4017859e4a"}]
    2012-02-24 10:00:36.407 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]Request body Read :
    2012-02-24 10:00:36.407 INFO PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]ODP: Read the Request information
    2012-02-24 10:00:36.407 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]After getting username/password from context:
    2012-02-24 10:00:36.407 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]--In GWCRequestAdapter constructor()--
    2012-02-24 10:00:36.407 DEBUG PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]--In GatewayConnectorHandler execute()--
    2012-02-24 10:00:36.407 INFO PROXY MessageChannel Thread-424 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]ODP :Recieved a request to fire to Gateway
    2012-02-24 10:00:36.392 CONSOLE MMS pool-1-thread-28 - /msgchannel/mo [com.sybase.sup.server.Console]3951

  • AS2:Seeburger Proxy redirect error?

    Hi Guys,
    We are getting the following error when trying to post the file to the AS2 server.
    Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: 307 Proxy Redirect # , SEEBURGER AS2: 307 Proxy Redirect #
    My AS2  receiver adapter is configured with the below parameters
    Server: FQHN
    Port: 80
    URL Path: /as2receiver.aspx
    HTTP Timeout: 120
    Sign: MD5
    Encrypt: 3DES
    MDN Mode: No MDN
    Content Type: application/octet-stream
    Payload Mode: MainDocument
    unchecked: Dynamic attributes
    any help or suggestions would be appreciated
    Thanks,
    Srini

    Hi Srinivas,
    Thanks for your quick reply. We are not using any proxy server. I have tried with the port 6263 and i am getting the error as below
    Message entered AF MP exit bean and will be passed to the JCA adapter now
    SEEBURGER/AS2: Received order from system.
    Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: java.net.ConnectException: Connection timed out: connect # , SEEBURGER AS2: java.net.ConnectException: Connection timed out: connect #
    what are the port numbers that are generally used for the AS2 communication?  any help would be appreciated
    Thanks,
    Srini

  • c:redirect not working?

    Hi folk,
    I'm new to JSP. We use JSTL to parse XML file at work.
    We use WebSphere and Java 1.4.x.
    It seem the <c:redirect> tag is not working. Someone point out somewhere, that this is a know bug using WebSphere. But I still have doubt.
    I'm more use to PHP and I was wondering if <c:redirect> tag work like the header() function in the sense that NO output should be send before using <c:redirect>?
    Those <c:redirect> work using a HTML header to make the redirection?
    Thank you!

    Most likely no output should be sent AFTER using <c:redirect/>
    This tag is equivalent of sendRedirect(java.lang.String location) method of javax.servlet.http.HttpServletResponse
    http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String) :
    Sends a temporary redirect response to the client using the specified redirect location URL. This method can accept relative URLs; the servlet container will convert the relative URL to an absolute URL before sending the response to the client.
    If the response has already been committed, this method throws an IllegalStateException. After using this method, the response should be considered to be committed and should not be written to.

  • Redirecting to external website from abstract portal component?

    Hi,
    I have developed an abstract portal component and trying to be redirected to an external website ex : www.google.com
    here is the code...
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    HttpServletRequest req = request.getServletRequest();
    String queryString = req.getQueryString();
    String redirectURL = queryString.substring(queryString.indexOf("=")+1);
    HttpServletResponse resp = request.getServletResponse(true);
    resp.sendRedirect(redirectURL);
    OR
    RequestDispatcher rd = req.getRequestDispatcher("www.google.com");
    rd.forward(req, resp);
    But couldn't able to redirect in either ways ..
    exception was ... iView not found: www.google.com.
    Any help?
    Thanks
    MMK

    Hi Mohan,
    When you do a redirect you need to provide a URL. From javadocs
    Sends a temporary redirect response to the client using the specified redirect location URL. This method can accept relative URLs; the servlet container will convert the relative URL to an absolute URL before sending the response to the client.
    Thus when you provide just "www.google.com" the converted complete URL will be something like http://portalserver/irj....www.google.com whcih of course does not exist as a portal component. Thus you get the error iview not found.
    Hence you need to give a full URL and not a relative URL.
    Akhilesh

  • Servlet Redirecting

    Does response.sendRedirect(url) method result in a permanent or a temporary redirect? Please elaborate.

    Sounds like a homework question. I recommend that you view/download the servlet (and JSP) specs and you'll be able to easily find answers to questions like this.
    http://jcp.org/aboutJava/communityprocess/first/jsr053/index.html

  • Switch to WSA WCCP transperent redirection

    Hello all,
    The transparent redirection term first implied to me that the client will be totally unaware of the presence of a WSA proxy, however i delpoyed the following setup and found that the client is receiving HTTP proxy-redirect message (code 307) with source IP of the final destination server but i tells the client to request HTTP from the WSA. Redirection mode is L2 forwarding.
    Here is the Setup:
                   Server
                         |
    client----L3 Switch----WSA
    My understanding of transperent redirection in this setup is:
    - client sends HTTP GET request to the server
    - the switch intercepts the GET and redirect it to the WSA
    - the WSA sends the request to the server with source IP of the WSA
    - the server replies to the WSA
    - the WSA replies to the client (not sure if the source will be spoofed as server IP or WSA)
    However, my findings were different... again http-redirect arrives at the client with WSA URL
    Please advise,
    thanks in advance.

    The HTTP 307 redirect is likely coming because you are using authentication.  The way the WSA performs NTLM authentication is to redirect the browser to access the WSA directly, so that NTLM authentication can happen.  Once authenticated, another 307 will redirect it back to the original website.
    If you are looking for a 100% transparent deployment, you may want to consider deploying the Cisco Context Directory Agent so that the WSA can ask the agent which user is logged onto that IP (instead of doing the NTLM authentication).
    The term Transparent really just means the browser does not have a proxy setting.

  • Permanent Redirect on iWS 4.1?

    I would like to know if there is a way to set a permanent (301) redirect for a URL. We are redesigning the file layout of our website and we want to force the search engines to re-index the pages based upon the new locations. I was told that in order for this, we need to set the 301 redirect, not the 302 (temporary) redirect.
    Attempts to access a URL set in the URL Forwarding section returns a 302 response code. The entry in the obj.conf looks like this:
    NameTrans fn="redirect" from="/somepath" url="http://www.myurl.com"
    Thanks.

    It is likely that you could create a SAF to change a 302 to a 301 for 4.1.
    WS 6.x makes the changing from a 302 to a 301 much easier.
    That aside - I have yet to see any credible information from Google (or any other search engine) indicating that a 301 is preferred over a 302. I have seen much speculation in online forums, but Google's pages never explicitely state this preference. The closest they come is:
    http://www.google.com/webmasters/3.html#A2
    "2. You continue listing an 'old' version of my site.
    "If we continue to list an 'old' version of your site (i.e. we continue to list www.my123site.org despite the fact that your site now lives at www.my456site.org ) you need to update the links that are pointing to the sites. Since our robots jump from page to page via hyperlinks, someone must still be linking to the defunct page. Once others correct their links, we can too. Once your new site is live, you may wish to place a permanent redirect (using a "301" code in HTTP headers) on your old site to inform visitors and search engines that your site has moved.
    "One way to determine who is linking to the dead site is to try a link search. You can find instructions on how to do this on our features page. Please note that this process does not work for all of the sites in our index."
    Speaking from personal experience (I have shuffled domains around several times) I can guarantee that Google's spider is capable of following a 302 redirect just as well as a 301, and that Google is smart enough to eventually drop the old URL from their index when they get a 302 as a reply each time they visit it.

  • How to send a *permanent* redirect?

    According to the specs, response.sendRedirect() sends a temporary redirect. I would like the same functionality as sendRedirect() but return a permanent redirect (301) status code instead. What would be the proper way to do this from my servlet?
    THanks

    Thanks for the reply, sebcarpe22.
    I wanted to follow-up yesterday, but apparently the forum's login server was acting up so I couldn't log in.
    With Tomcat, your approach works. I tried a sendError instead of setStatus:
    response.setHeader ("Location", newURI);
    response.sendError (HttpServletResponse.SC_MOVED_PERMANENTLY);For some reason, when I tried this on Apache Web Server + Tomcat, it didn't like it. Instead, I had to modify it to:
    response.setHeader ("Location", fullyQualifiedURL);
    ...I'll keep playing around with this, and thanks again for your response.

Maybe you are looking for

  • HT201303 how can i change my security question to a new one

    How can I change my sercurity question to a new?

  • Windows 7 wont boot after install of boot camp drivers

    I have been trying to get boot camp on imac mid 2010 with Maverick.   TodayI used Boot Camp Support Software 5.1.5621 The first set of drivers Boot Camp Support Software 5.0.5033 kept crashing on windows. Today I noticed a new set of drivers, well it

  • App store is not working on my new iphone

    I bought a new Iphone 4S from Bestbuy. All the functions work except when I go to the app store and purchase an app, a gray screen appears. On the upper left corner besides 3 G there is an asterix like to processor is thinking. This takes forever and

  • Missing Java Classes in Oracle SQL Developer

    Hello, I'm pretty new to Oracle (As a DBA) and very new to Java. I just refreshed our training environment and after the refresh, noticed under the Java folder within Oracle SQL Devloper that the Java Classes were missing. Can someone tell me how I c

  • How to query in two tables

    Hi all How to query in two different tables? Should i use the following SET_BLOCK_PROPERTY('ins1', ONETIME_WHERE, 'serial = ''' || :GLOBAL.CODE || ''''); this is working but for one table if i want for both tables and and it display the related infor