How to dispatch the request to another server

Is there a possibility to dispatch the HTTP request to another server using servlet API.
I want my application to act like a proxy and route URL's to different applications and
get the reaponse to the client ,
this is typically i want to do to avoid single origin policy restriction
any ideas...

Take a look here and [here!http://download.oracle.com/javase/6/docs/api/java/net/URLConnection.html].
- Saish

Similar Messages

  • How can i made a snapshot of a disk and replace the disk on another server solaris 11?

    Helo! I am trying to replace a disk on my solaris 11 with a snapshot of another server. I did the snapshot, but how can i send it to another server? I have try somethings, but It didnt work. Look:
    #first tentative
    zfs send /rpool/vdisk/srvdth05-ldom1.hdd0@snap1 | ssh 192.168.4.52 zfs recv /rpool/vdisk/'srvdth05-ldom1.hdd0'
    cannot open '/rpool/vdisk/srvdth05-ldom1.hdd0': invalid dataset name
    #second tentative
    root@srvdth03 # scp [email protected]:/rpool/vdisk/srvdth05-ldom1.hdd0@snap1 .
    Password:
    scp: /rpool/vdisk/srvdth05-ldom1.hdd0@snap1: No such file or directory
    #third tentative
    zfs send -i rpool/vdisk/srvdth05-ldom1.hdd0@snap1 | ssh 192.168.4.52 zfs recv "/rpool/vdisk/snaps"
    cannot receive: failed to read from stream
    #fourth tentative
    zfs send -Rv rpool/vdisk/srvdth05-ldom1.hdd0@snap1 > /rpool/snaps/vdisk-hdd0.snap2
    scp [email protected]:/rpool/snaps/vdisk-hdd0.snap2 .
    in the other host
    zfs receive -r rpool/vdisk/vdisk-hdd0@snap < /rpool/snaps/vdisk-hdd0.snap2
    cannot receive: can not specify snapshot name for multi-snapshot stream
    I dont know what to try anymore. Someone can help me please?

    Hi.
    This form is correct :
    zfs send rpool/vdisk/srvdth05-ldom1.hdd0@snap1 | ssh 192.168.4.52 zfs receive rpool/vdisk/'srvdth05-ldom1.hdd0
    Dataset name do not content first "/" at starting name.
    You can check  what datasets available with command:
    zfs list
    On system 192.168.4.52 you should preparare dataset.
    ssh 192.168.4.52
    zfs list | grep rpool
    zfs create -o mountpoint=none rpool/vdisk
    in case dataset rpool/vdisk/'srvdth05-ldom1.hdd0 on 192.168.4.52 olready present, you need add "-u"  for recv
    Read manual about zfs command for section send and recieve.
    man zfs
    Regards,
       Nik.

  • FIM Export Fails - Fault Reason: The endpoint could not dispatch the request. FIM Account Issue?

    Hi,
     I have 3 fim servers:
    fimportal - has fim service & portal running (uses account service.fim & service.sharepoint)
    fimsync - has synchronisation service & synchronisation DB (uses account service.fimsync)
    fimsql - holds portal DB for server fimportal
     I've created an AD MA, FIM MA and an inbound AD sync rule. On my FIM MA I've used account svc-fim (i.e. the account I've used to install FIM). This is not the same account that runs the synchronisation service on fimsync (account svc-fimsync is used
    for this).
     I've ran a FIM MA import and full sync without issue (I can see my built in, admin account and the sync rule brought into the metaverse). When I do an export I receive an error as shown below.
    What I'm not sure about is if it's because I'm using the wrong account for the FIM MA. If so, which account should I use and what's the best way to change my config (without a total reinstall)?
    I've selected domain (as a text value), accountname and objectsid in my attribute flow, but I may have configured something wrong here.
    Thanks
    Fault Reason: The endpoint could not dispatch the request.\r\n\r\nFault Details: <DispatchRequestFailures xmlns="http://schemas.microsoft.com/2006/11/ResourceManagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DispatchRequestAdministratorDetails><FailureMessage>Exception:
    Other 
    Stack Trace: Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---&gt; System.Data.SqlClient.SqlException: Procedure or function 'GetDomainConfigurationIdentifiersFromDomain' expects parameter '@domainName',
    which was not supplied.
       at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)
       at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException, TransactionAndConnectionScope scope)
       at Microsoft.ResourceManagement.Data.DataAccess.GetDomainConfigurationIdentifiersFromDomain(String domainName)
       at Microsoft.ResourceManagement.ActionProcessor.DomainConfigurationActionProcessor.AddDomainConfigurationFromDomain(CreateRequestParameter domainNameParameter, RequestType request)
       at Microsoft.ResourceManagement.ActionProcessor.DomainConfigurationActionProcessor.DoRequestCreationPreProcessByAttribute(RequestType request)
       at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.DoRequestCreationPreProcessByAttribute(RequestType request)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean
    isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier, Boolean maintenanceMode)
       at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Put(Message request)
       --- End of inner exception stack trace ---</FailureMessage><DispatchRequestFailureSource>Other</DispatchRequestFailureSource><AdditionalTextDetails>Request could not be dispatched.</AdditionalTextDetails></DispatchRequestAdministratorDetails><CorrelationId>0c7141ca-63a2-42ae-92c3-a0c95de0d940</CorrelationId></DispatchRequestFailures>
    Below shows separate MA account and separate FIM Sync Account
    IT Support/Everything

    Hi Tomek,
     Apologies for the delay, been a busy festive period :-)
    The account in question with the export flow error is my admin account that I used during installation (where prompted I did enter service account credentials).
    Searching the FIM CS on the source object details show all attributes present (including domain), but looking at the export attribute flow shows a final value of deleted! See below.
     I'm following the TechNet guide:
    http://technet.microsoft.com/en-us/library/ff686264(v=ws.10).aspx and hit the error with the FIM MA export run profile when I run the below steps:
    FIM MA - Full import
    FIM MA - Full synchronization
    FIM MA - Export
    FIM MA - Delta import
    AD MA - Fullll import
    AD MA - Full synchronization
    Initially my admin account was not in the selected containers as configured in the AD MA, however I've now ran that and re-ran the sync, which resulted in my test user being provisioned in the portal. My admin account is still not provisioned - I now get
    2 export errors, 1 as before complaining of missing domain and another which complains of my admin account being a duplicate entry.
    Please let me know if anything comes to mind.
    Thanks
    IT Support/Everything

  • How to get the files in presentation server while uploading?

    how to get the files in presentation server while uploading?
    give me the function module name

    Hi,
    PARAMETERS:  P_FILE LIKE RLGRAP-FILENAME DEFAULT C_PRES.  "Prsnt Srvr
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          DEF_PATH         = P_FILE
          MASK             = ',..'
          MODE             = '0 '
          TITLE            = 'Choose File'
        IMPORTING
          FILENAME         = P_FILE
        EXCEPTIONS
          INV_WINSYS       = 1
          NO_BATCH         = 2
          SELECTION_CANCEL = 3
          SELECTION_ERROR  = 4
          OTHERS           = 5.

  • Power Bi for o365 - Odata connection test worked but "The server encountered an error processing the request. See server logs for more details". Port 8051? Authority\System

    We set up the Data Management Gateway and created a new data source (odata to SQL via sqL user)
    Did a connection test and it was successful!
    Tried the URL (maybe it needs more):
    https://ourdomain.hybridproxy.powerbi.com/ODataService/v1.0/odatatest
    That resolves to some :8051 port address and then spits out this message:
    The server encountered an error processing the request. See server logs for more details.
    I checked and the data management gateway is running.
    Does that 8051 port need to be opened on our firewall for this server? How can I confirm that is the issue.. I see no event on the server indicating this is the issue?
    I am seeing this event:
    Login failed for user 'NT AUTHORITY\SYSTEM'. Reason: Failed to open the explicitly specified database 'PowerBiTest'. [CLIENT: IP of the Server]

    O365,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to find the capacity of admin server in weblogic server?

    1. how to calculate the capacity of admin server in weblogic 8.1 a admin server can handle how many requests at a time.
    2. if 50 threads are given to admin server then with this 50 threads how many messages/requests the admin server can handle???
    please help................

    If your application is deployed to "all servers within the cluster", then the admin server should not be receiving any traffic. Your admin server should not be part of the cluster, and the application should not be deployed to the admin server. Your application requests should be directed to the managed server(s), such as with a load balancer.
    For instance, if your cluster has managed servers which listen on:
    http://yourserver1:8020
    http://yourserver2:8020
    with an admin server which listens on:
    http://youradminserverhost:7001
    and your cluster is defined as consisting of the managed servers which listen on "yourserver1" and "yourserver2" - and does not include your admin server, then how can your admin server receive any application requests?

  • How to unlock the request for a report and add the same query to new reques

    hi,
         how to unlock the request for a  and add the same query to new reques

    You can unlock in SE03 tcode.
    Goto tcode SE01, give the transport number --> display --> double click on the transport --> in the next screen select all the elements --> delete --> save.
    To attach it to another transport, In RSA1, click on transport connection> Choose Object types> query elements --> here you can find your query/ or you can search, which you can drag to right and attach to the transport (using truck button).

  • How to create a request in Development server?

    Hi BW Experts, good afternoon.
       Please can anyone tell me, how to create a request in Development server.
         Thanks in advance
       Regards
      Anjali

    Hi Oscar ,
      Thanks for the reply.
    My question is.
    0BATCH is a field in both R/3 and BW.
    so it allows only UPPER CASE letters.
      Unfortunately some records are in LOWER CASE.
      So i got a error in BW side when loading data from R/3 to BW.
    so i want to change that field properties .
    I have to create one request on 0BATCH field and send it to BASIS team.
      Give me reply .
         Thanks
                  Anjali

  • How to forward the request

    hi all,
    can somebody tell me how to forward the request from one context to another.
    thanks in adv.
    ritu

    Ritu, when you are talking about a different context are you talking about application, session and page contexts?? If yes, then I don't think you can forward a request to another context!
    If you are after a context (bean) from within your servlet, have you tried:
    mycontext = (MyContextClass)getServletContext().getAttribute("thenameofmycontext");HTH.

  • How to copy one request to another request

    Hi all,
    How to copy one request to another new request?
    I have a released workbench request in which it has around 1200 Objects (including data elements, domains, programs and many more), now i need to copy all these objects into a new request.
    I can do this by SE03 (Include Objects in a Transport Request ) transaction, but it is a lengthy process.
    Is there any way to copy directly in one go.
    Plz help...
    Regards,
    Satish Reddy D.

    Hi,
    The thing is like this....
    i have a released request in which we have more than 1200 objects, in that i dont need 10 objects.
    so when i create it as copy of transport request, i just deleted those 10 objects and saved.
    Now, if i transport the new request how many objects will go? 1200 or 1190?
    in the new request i am getting the old request under Comment: Object List Included.
    is it necessary to transport the old request?
    i need to transport only 1190 objects.
    Regards,
    Satish Reddy.
    Edited by: Sathish Reddy on Jan 28, 2010 2:18 PM

  • How to pass soap request message to server?

    how i can pass soap request message to server using http request header? the soap
    message contains remote procedure call which invokes the method at serverside?
    and where i have to write that header request?
    so i dont know how to pass the request soap message document
    [addsoaprequest.xml]

    Hello,
    We have a diagnostic tool called Post [1] that will post the request
    directly to a SOAP server. You can also try the graphical tool WeX [2]
    so you can see what is happening at the wire level.
    I may have misunderstood your question and goal. The purpose of the
    JAX-RPC [3] API is to provide a high-level abstraction of SOAP
    communications such as you describe.
    What is your use case?
    Thanks,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/trouble.html#1066132
    [2]
    http://webservice.bea.com/wex.zip
    [3]
    http://java.sun.com/xml/jaxrpc/index.html
    Nisha Kothari wrote:
    >
    how i can pass soap request message to server using http request header? the soap
    message contains remote procedure call which invokes the method at serverside?
    and where i have to write that header request?
    so i dont know how to pass the request soap message document
    Name: addsoaprequest.xml
    addsoaprequest.xml Type: ACT Project (text/xml)
    Encoding: base64

  • How to delete the request in se10

    Hi Experts,
    How to delete the request in se10 ....plz explain
    Regards
    Venkat

    Hi,
    Go to SE10,select the request which you wnat to delete.You will find a delete icon on the top.Select it.
    This will delete the request.
    Make sure that this request is the one which is under ur ID.If you want to delete the request which is under other ID,it wont allow to delete.
    Thanks & Regards,
    Suchitra.V

  • How to create the folder in presentation server through pop-up(

    Hi Experts,
    Can u give me the solution , how to create the folder in presentation server through pop-up(means dynamically, after executing the program , pop-up has to come to create the folderand path)
    regards
    ram.

    Use the methods -> DIRECTORY_BROWSE & DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES
    DATA: path TYPE string,
          rc TYPE i,
    dir_name TYPE string value 'HI'.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
        CHANGING
          SELECTED_FOLDER      = path
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    concatenate path '\' dir_name into path.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
        EXPORTING
          DIRECTORY                = path
        CHANGING
          RC                       = rc
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Edited by: Kartik Tarla on Sep 23, 2009 5:54 PM

  • How to zip the folder in application server?

    how to zip the folder in application server?

    You can use
    open dataset with filter
    link:[http://help.sap.com/abapdocu_70/en/ABAPOPEN_DATASET_OS_ADDITION.htm#!ABAP_ADDITION_2@2@]

  • Error while accessing SharePoint 2013 news feed REST api - "The server encountered an error processing the request. See server logs for more details."

    Hi Experts,
    I am facing an issue while accessing SharePoint 2013 news feed REST api URL <SiteCollectionURL>/_api/social.feed/my/news from browser giving error "The server encountered an
    error processing the request. See server logs for more details."
    This is happening after posting the image to news feed without entering any text or description with that. If i post an image with some text or description, then i can able to get the feeds. Or else if i delete the image post then also i can able to get
    the feeds.
    I can able to see below logs in log files.
    Exception occured in scope Microsoft.Office.Server.Social.SPSocialRestFeed._SerializeToOData. Exception=System.MissingMethodException: No parameterless constructor defined for this object.     at System.RuntimeTypeHandle.CreateInstance(RuntimeType
    type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)     at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache,
    StackCrawlMark& stackMark)     at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type type, Boolean nonPublic)
        at System.Activator.CreateInstance(Type type)     at Microsoft.SharePoint.C...
    ...lient.ValueTypeConverter.<GetODataProperties>d__2.MoveNext()     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperties(IEdmStructuredType owningType, IEnumerable`1 cachedProperties, Boolean isWritingCollection,
    Action beforePropertiesAction, Action afterPropertiesAction, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, EpmValueCache epmValueCache, EpmSourcePathSegment epmSourcePathSegment, ProjectedPropertiesAnnotation projectedProperties)    
    at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteComplexValue(ODataComplexValue complexValue, IEdmTypeReference metadataTypeReference, Boolean isOpenPropertyType, Boolean isWritingCollection, Action beforeValueAction, Action afterValueAction,
    DuplicatePropertyNamesChecker duplicatePropertyNa...
    ...mesChecker, CollectionWithoutExpectedTypeValidator collectionValidator, EpmValueCache epmValueCache, EpmSourcePathSegment epmSourcePathSegment, ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperty(ODataProperty
    property, IEdmStructuredType owningType, Boolean isTopLevel, Boolean isWritingCollection, Action beforePropertyAction, EpmValueCache epmValueCache, EpmSourcePathSegment epmParentSourcePathSegment, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker,
    ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperties(IEdmStructuredType owningType, IEnumerable`1 cachedProperties, Boolean isWritingCollection, Action beforePropertie...
    ...sAction, Action afterPropertiesAction, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, EpmValueCache epmValueCache, EpmSourcePathSegment epmSourcePathSegment, ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteComplexValue(ODataComplexValue
    complexValue, IEdmTypeReference metadataTypeReference, Boolean isOpenPropertyType, Boolean isWritingCollection, Action beforeValueAction, Action afterValueAction, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, CollectionWithoutExpectedTypeValidator
    collectionValidator, EpmValueCache epmValueCache, EpmSourcePathSegment epmSourcePathSegment, ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSeriali...
    ...zer.WriteCollectionValue(ODataCollectionValue collectionValue, IEdmTypeReference propertyTypeReference, Boolean isOpenPropertyType, Boolean isWritingCollection)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperty(ODataProperty
    property, IEdmStructuredType owningType, Boolean isTopLevel, Boolean isWritingCollection, Action beforePropertyAction, EpmValueCache epmValueCache, EpmSourcePathSegment epmParentSourcePathSegment, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker,
    ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperties(IEdmStructuredType owningType, IEnumerable`1 cachedProperties, Boolean isWritingCollection, Action beforePropertiesAction,
    Action afterPropertiesAct...
    Can anyone please help me out.
    Thanks!
    dinesh

    O365,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for

  • List of bugs I've found - 10.5.1

    Hi, If I find bugs, do I just post them here? You guys REALLY need a bug tracker. I mean, really... I've been reading a lot of complaints online all over the web about Leopard bugs, and it's really starting to worry me, especially when I see them on

  • How to hide  on my iPhone four and iPad mini?

    Every column says just swipe but when I do it on my new iPad it doesn't work! Neither on my iPhone, I'll admit it's jail broken but I don't see how it wouldn't work on my normal iPad I just got yesterday?! Please help!!

  • Data from Info Records

    Due to a vendor number change I need to extract data from an existing Info Record and load it again as a new Info Record. I have been looking for programs or BAPIs for doing this, but I don´t seem to find the way. Any ideas?

  • Import EXPDUMP.001 error when installing NetWeaver 2004s on AIX 5.2.

    I’m trying to install NetWeaver 04s on AIX 5.2.  In step 18 “Import Java dump”, I got the following error. java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 2.3) IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap

  • Redo log space requests VALUE high

    SELECT name||' = '||value FROM v$sysstat WHERE name = 'redo log space requests'; I am noticing 40+ space requests for some of my Oracle 9.2.0.5 databases. On another 7.3.4 DB I see this over 140 but this DB shutdown only on weekends so this cumulativ