Capture the HTTP request parameters

Hi people,

I am completely new to Foglight. Please bear with me. My question: is it possible to use Foglight to capture the query parameters in a HTTP container?

We have a situation in production where some clients send content-type: application/x-www-formulaires-urlencoded where the body is xml. so, normally, they should send text/xml. Now, this wasn't a problem until recently, something happened on the side server. Whenever the content type has the above, an external code to our application would attempt to recover the query parameters before our application is called. It would be nice if the content was x-www-form. But it's not. So when this external code request parameters, the input stream is read, see and discarded because it cannot be parsed in the query parameters. Applications for the user then failed at the application level as ELE entered WHAT XML has not been received.

The question came three days ago and disappeared yesterday. So, to rephrase my question: is it possible that some unexperience Foglight user could be the cause Foghlight try to fecth query parameters to detect the type of content?

Thank you very much.

Maxbridge.

What agents run on that server and your environment?

The options for the capture of the http parameters are usually:

1 FxM (Foglight experience Monitor) is a passive listener (sniffer web) who gets his information of span port or network tap fxm Gets a copy of the traffic and does not affect the flow of the HTTP (web traffic does NOT pass through the device). Since FxM does it all the time and does not receive a copy of the traffic it does not fit the behavior.

2. a Java agent has the ability to collect traces if someone is activate the mechanism of tracing with the box that says specifically the Java agent to collect the http settings. What is happening inside the Java Server, so I'm not sure it fits the behavior you MENTION. Keep also in mind that Java agent do NOT trace all requests, it is activate followed maually or by a rule and do on a limited number of request for a limited time.

It should very easy to test this use cases, to go on your test server, start tracing with http settings and see if there is impact, if impact open cases emergency assistance (sev 1) so dev may fix this problem. I have not seen this behavior in one installation within 3 to 4 years since we added the collection of http parameters, so if this is the case we want to dev top as soon as possible. If that's the reason workaround until dev is trace without http parameters.

3. agent of .NET collection of parameters for queries that are taking over X seconds. I doubt that is the case, as the .NET agent does it all the time, he would not stop doing (and in your case, it seemed like the behavior stopped).

Golan

Tags: Dell Tech

Similar Questions

  • GET THE HTTP REQUEST PARAMETERS

    Hello

    How can I send three parameters through GET on my server, I need to send three sttrings generated in my application on the server.

    I've tried with network application of Pentecost without success, demand will, but parameters never arrive

    QNetworkAccessManager * Manager = new QNetworkAccessManager (this);
    Application of QNetworkRequest (QUrl ("http://server.php"));
    request.setRawHeader ("to", "email");
    request.setRawHeader ("title", "hello");
    request.setRawHeader ("msg", "text messages");

    Manager-> get (request);

    Thank you

    You could add the strings as GET parameters to the URL:

    QUrl ("http://server.php?to=email&title=hello&msg=text+msg");

    But I think you should PUT these fields to the server because the URL has a maximum length:

    QByteArray data;

    Data.Append ("[email protected] &"); ")

    Data.Append ("title = Hello World &"); ")

    Data.Append ("msg = Hello World! Are you okay? ») ;

    Manager-> post (request, data);

    I have it wrapped in a method that takes QMap as parameter and returns QByteArray, because it's quite annoying to keep in mind to add '&' between each pair of key / value.

  • It is impossible to download software Acrobat pro dc because the "failure of the http request. What can I do?

    It is impossible to download software Acrobat pro dc because the "failure of the http request. What can I do?

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    -Cloud desktop http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html

    -Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

    -you will need to enter your original serial number during the installation for non-Cloud programs

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • Cancel the HTTP request

    What is the best way to cancel a HTTP request that seems too long?

    I use asyncToken to capture the XML response and don't want it to be process (fill) if the user cancels the request and move to something else.

    You can call cancel() on the HTTPService to cancel the last query.

    What is the deal?

    Ben Edwards

  • Today, I have a problem with the HTTP request

    Well, this time, I try to get an image .png from a URL. To get this I do the following:

    try{   if (CoverageInfo.isOutOfCoverage()){      setError("No hay covertura suficiente de la red");        errorFlag = true; } else{     c = (HttpConnection)Connector.open(url);      is = c.openDataInputStream();     for(int j=0;j
    

    My problem is the second 'try' returns: "java.lang.illegalArgumentException". I don't really know much on HTTP conections, so I don't know that I have a lot of wrong code

    in other words, I'm moving to the java language this short code on the C++ language:

    WebRequest request = System.Net.WebRequest.Create(url);HttpWebResponse response = (HttpWebResponse)request.GetResponse();Stream datos = response.GetResponseStream();Imagen = new Bitmap(datos);pb1.Image = Imagen;datos.Close();response.Close();
    

    can someone help me?

    Thank you RexDoug and peter_strange,

    in the book "java J2ME a tope"-unfortunately or fortunately (for me), it is in Spanish - explain everything about HTTP request and how to interpret correctly the answer. Finally with the following code, I solved my problem:

    try{
        //ask if i have coverage
        if (CoverageInfo.isOutOfCoverage()){
            setError("No hay covertura suficiente de la red");
            errorFlag = true;
        }
        else{
            //create connection
            c = (HttpConnection)Connector.open(url);
            c.setRequestMethod(HttpConnection.GET);
            is = c.openInputStream();
    
            //process response
            if(c.getResponseCode()==HttpConnection.HTTP_OK){
                size = (int)c.getLength();
                if(size != -1){
                    data = new byte[size];
                    is.read(data, 0, data.length);
                    imagen = Bitmap.createBitmapFromBytes(data, 0, -1, 1);
                }
                else{
                    ByteArrayOutputStream byteArray = new ByteArrayOutputStream();
                    int stream;
                    while((stream=is.read())!=-1){
                        byteArray.write(stream);
                    }
                    data = new byte[byteArray.size()];
                    data = byteArray.toByteArray();
                    byteArray.close();
                    imagen = Bitmap.createBitmapFromBytes(data, 0, -1, 1);
                }
            }
            //close connections
            c.close();
            is.close();
        }
    }
    

    This code is similar to the example of rexdoug.

  • The HTTP request failed

    Tricks to work around the error message "HTTP Request Failed" when you download Acrobat Pro on a PC running Windows 7?

    clear your adobe.com cookies or use a different browser.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • I need assistance with the HTTP request procedure

    This is the message I get debug, attempting a HTTPService request as follows
    < mx:Application... initialize = "myService.send ()" >
    Import mx.rpc.events.ResultEvent;
    < mx:HHTPService id = "myService" url = "" data / myInfo.xml "result =" resultHandler (event) "/ >:"

    [SWF] C:\Documents and Settings\ArchiMaster\My Documents\Flex Projects\krsl_corp\bin-debug\krsl_corp.swf - 786 719 bytes after decompression
    [Fault faultString = "HTTP request error" RPC faultCode = "Server.Error.Request" faultDetail ="error: [IOErrorEvent type ="ioError"bubbles = false cancelable = false eventPhase = 2 text =" Error #2032: stream error. "]] ["URL: file:///C:/Documents%20and%20Settings/ArchiMaster/My%20Documents/Flex%20Projects/krsl_cor p/bin-debug/data/ilungas.xml"]. ["URL: data / ilungas.xml"]
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal:faultHandler () [E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216 ]
    at mx.rpc::Responder/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]
    at mx.rpc::AsyncRequest/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    to DirectHTTPMessageResponder / errorHandler ([E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mes saging\channels\DirectHTTPChannel.as:343])
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()

    What it means? In addition, I do not use the default workspace, so Flex created only the ".metadata' but not the 'configuration' file, that is why, I had to copy a block as the default workspace. So, how do you get Flex to create two files no matter the location of the workspace? I really need help. Thank you!

    Looks like the error message saying that "data / ilungas.xml ' was not found. You use url = "" data / myInfo.xml ' in your service. " They do not match.

  • The characters UTF-8 get corrupted in the HTTP request

    I use the following code to read the response HTTP of Mongo DB to Oracle table. Some parts of the source (of type json) is received in Chinese are corrupt. The line

    DBMS_OUTPUT.PUT_LINE(buf);
    

    displays these corrupted values.

    FUNCTION FN_READ_CONTACTS_MOB (p_id in number) RETURN NUMBER
    IS
    OracleBatchNumber number := p_id;
    buf NVARCHAR2(32767);
      l_param_list     VARCHAR2(512);
    
      l_http_request   UTL_HTTP.req;
      l_http_response  UTL_HTTP.resp;
    
      l_response_text CLOB;
      
    BEGIN
     DBMS_OUTPUT.ENABLE(1000000);
      -- service's input parameters
    UTL_HTTP.SET_WALLET('file:C:/app/', 'manager1');
      -- preparing Request...
      l_http_request := UTL_HTTP.begin_request('https://api.appery.io/rest/1/db/collections/Outlet_Details?where=%7B%22%24and%22%3A%5B%7B%22Oracle_Flag%22%3A+%22Y%22%7D%2C+%7B%22OracleBatchNo%22%3A+%22'||OracleBatchNumber||'%22%7D%5D%7D'
                                              , 'GET'
                                              , 'HTTP/1.1');
    
    
      -- ...set header's attributes
      UTL_HTTP.set_header(l_http_request, 'X-Appery-Database-Id', '53f2dac5e4b02cca64021dbe');
      --UTL_HTTP.set_header(l_http_request, 'Content-Length', LENGTH(l_param_list));
    
      -- ...set input parameters
     -- UTL_HTTP.write_text(l_http_request, l_param_list);
    
      -- get Response and obtain received value
      l_http_response := UTL_HTTP.get_response(l_http_request);
    
    --using a loop read teh response, as UTL_HTTP.read_text hat returns the result as a VARCHAR2 (max 32767) (you have an implicit conversion here).
        BEGIN
          LOOP
            UTL_HTTP.read_text(l_http_response, buf);
            DBMS_OUTPUT.PUT_LINE(buf);
            l_response_text := l_response_text || buf;
          END LOOP;
        EXCEPTION
        WHEN UTL_HTTP.end_of_body THEN
          NULL;
        END;
    
    
     .....
    

    When I run the following:

    select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    

    and he returned: AL32UTF8.

    does not mean that my DB is set to UTF - 8? or there are other things need to be checked for this pupose?

    It seems to me that the answer conatins no content-type header.

    Maybe the link below will clarify the issue:

    https://docs.Oracle.com/CD/B19306_01/AppDev.102/b14258/u_http.htm#i1027267

  • OSX Apache Server: how to redirect the http request?

    Hi all

    I have a Mini Mac OSX Server El Capitan running. It already serves some sites. Normal Server Web sites:

    -site1.example.com

    -site2.example.com

    Now, I have installed an application that has its own built-in web server. This application would be normally accessible via http on port 80. However, http on port 80 connections are automatically considered trapped by integrated apache of the OSX Server. Therefore, I now put the web application to run in a different port to apache. I also setup a subdomain, so that users can access this application directly, but they also have to type in the port in the URL - for example, the new web app site is reachable at the:

    -myapp.example.com:7117

    What I would do, is for users to simply access the application using:

    -monappli.exemple.com

    I know that there is a way for us to have apache to "Reroute" all requests for a specific to an internal port subdomain automatically, but I don't even know where to start. What are the files we need to configure on OSX Server? How configure us them?

    Any guidance would be greatly appreciated.

    I had the same requirement and has resolved the way you want to as described below.

    1. Define the additional app to run on another port
    2. Create a site in.app using port 80 and the same host name you want to use for the additional application
    3. Set up a redirection for this site in.app as follows
    4. Source = /, Destination = http://hostname.domain.com:1234 /, Status = Permanent (301)

    Of course, use the correct host name, the domain and port for your situation.

    PS. the same approach I have described above also can be used to redirect the corresponding https port 80 or 443 site.

  • [U8.1] how to host OWIN katana Windows store App or how to intercept the http request in windows store app

    Hello

    I have an application that needs its own server to check if the query to this server can be served on-site or even reach the server online for the same thing.

    In fact, my application will have some local files that will be included in the package and part of the content will be responsible for the online server, so my requirement, it's that I want to somehow intercept the request of my application and redirect accordingly.

    You can tell I want to query interceptor or possess oneself by a webserver as OWIN katana inside my windows store app. Alternatively, is there a way to host web on IIS via app store windows application.

    Please let me know what is possible only in App Store Windows as my application should run on all devices for Windows Store Apps support.

    Thanks in advance.

    Hi Sissi,

    Thanks for posting your query in Microsoft Community Forum.

    According to the description of the issue, I recommend you post your query in the TechNet Forums. TechNet is watched by other computing professionals who would be more likely to help you.

    TechNet Forum

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=W8

    Hope this information is useful.

  • Can BBM sends the HTTP request to the server


    You can make your application HTTP connections.  The BBM API are not involved with it.  Guide to networking found here: https://bdsc.webapps.blackberry.com/java/documentation/ww_java_networking/Intro_networking_1984362_1...

  • Is it possible to make the http request with a part without the app?

    If this is the case, then could you give me a simple example to achieve with c ++?  I tried to write #include on top but he says

    ../src/service.cpp:20:33: fatal error: QNetworkAccessManager: No such file or directory
    

    When I create an instance of QNetworkRequest.

    Thank you very much!

    Looks like you need to include the appropriate library.
    try adding - lbbnetwork in the .pro

  • The HTTP request failed in installation

    I tried to install Adobe Pro DC twice with the same result.

    Help, please.

    Hi bonnieo1149021 ,

    Please let us know the version of the OS on your system?

    If its windows, please try to run this cleanup tool: Download Adobe Reader and Acrobat tool - Adobe Labs

    Restart the system and install Acrobat pro DC from this link: download and install Acrobat DC subscription

    Also, please try to clear the browser cookies and try again with another browser.

    Let us know if that helps.

    Concerning

    Sarojini

  • I get the error message like "error - ORA-29273 report: failure of the HTTP ORA-06512: at"SYS. " UTL_HTTP", line 1130 ORA-12535: TNS:operation expired ORA-06512: 37 29273 line. 00000 - "HTTP request failed" * Cause: package UTL_HTTP The Impossible to run

    I have tried the code

    DECLARE

    lv_url VARCHAR2 (1000): = ' http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';

    lc_return BLOB;

    lhttp_url httpuritype.

    Varriables - declared to have written the LOB to pdf file-

    l_file UTL_FILE. TYPE_DE_FICHIER;

    l_buffer RAW (32767).

    l_amount directory: = 32767;

    l_pos INTEGER: = 1;

    l_blob BLOB;

    l_blob_len INTEGER.

    BEGIN

    -create URIs

    lhttp_url: = httpuritype.createuri (lv_url);

    -get the PDF document

    lc_return: = lhttp_url.getblob ();

    -Open the destination file.

    l_file: = UTL_FILE. FOPEN ('MBO_INPUT_DIR', 'MBD.zip', 'wb');

    -Get the total length of the BLOB

    l_blob_len: = DBMS_LOB.getlength (lc_return);

    -Pieces of the BLOB to read and write to the file

    -full up.

    While l_pos < l_blob_len LOOP

    DBMS_LOB. READ (lc_return, l_amount, l_pos, l_buffer);

    UTL_FILE.put_raw (l_file, l_buffer, FALSE);

    l_pos: = l_pos + l_amount;

    END LOOP;

    -Closes the file.

    UTL_FILE. FCLOSE (l_file);

    EXCEPTION

    WHILE OTHERS THEN

    -Close the file if something goes wrong.

    IF UTL_FILE.IS_OPEN (l_file) THEN

    UTL_FILE. FCLOSE (l_file);

    END IF;

    LIFT;

    END;

    But make a mistake like:

    Error report-

    ORA-29273: HTTP request failed

    ORA-06512: at "SYS." UTL_HTTP", line 1130

    ORA-12535: TNS:operation expired

    ORA-06512: at line 37 level

    29273 00000 - "the HTTP request failed.

    * Cause: The UTL_HTTP package cannot run the HTTP request.

    * Action: Use get_detailed_sqlerrm to check the detailed error message.

    Correct the error and restart the HTTP request.

    Please suggest a solution. Is it possible to download a zip file with the same code?

    [oracle@localhost ~]$ sqlplus scott/tiger
    
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 6 13:59:09 2015
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> --My Database version
    SQL> ----------------------
    SQL> SELECT * FROM v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  DECLARE
      2        lv_url    VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';
      3        lc_return BLOB;
      4        lhttp_url httpuritype;
      5        ---Varriables declared for writing the LOB to pdf file --
      6        l_file     UTL_FILE.FILE_TYPE;
      7        l_buffer   RAW(32767);
      8        l_amount   BINARY_INTEGER := 32767;
      9        l_pos      INTEGER := 1;
    10       l_blob     BLOB;
    11       l_blob_len INTEGER;
    12     BEGIN
    13       --create uri
    14       lhttp_url := httpuritype.createuri(lv_url);
    15       --get the PDF document
    16       lc_return := lhttp_url.getblob();
    17       -- Open the destination file.
    18       l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb');
    19       --Get the total length of the BLOB
    20       l_blob_len := DBMS_LOB.getlength(lc_return);
    21       -- Read chunks of the BLOB and write them to the file
    22       -- until complete.
    23       WHILE l_pos < l_blob_len LOOP
    24         DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer);
    25         UTL_FILE.put_raw(l_file, l_buffer, FALSE);
    26         l_pos := l_pos + l_amount;
    27       END LOOP;
    28       -- Close the file.
    29       UTL_FILE.FCLOSE(l_file);
    30     EXCEPTION
    31       WHEN OTHERS THEN
    32         -- Close the file if something goes wrong.
    33         IF UTL_FILE.IS_OPEN(l_file) THEN
    34           UTL_FILE.FCLOSE(l_file);
    35         END IF;
    36         RAISE;
    37*    END;
    38  /
    DECLARE
    *
    ERROR at line 1:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1130
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at line 36
    
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> ed
    Wrote file afiedt.buf
    
      1  BEGIN
      2    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl         => 'love.xml',
      3                                      description => 'Love ACL',
      4                                      principal   => 'SCOTT',
      5                                      is_grant    => true,
      6                                      privilege   => 'connect');
      7    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl       => 'love.xml',
      8                                         principal => 'SCOTT',
      9                                         is_grant  => true,
    10                                         privilege => 'resolve');
    11    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl  => 'love.xml',
    12                                      host => 'shenzhoufellowship.org');
    13  commit;
    14* END;
    15  /
    
    PL/SQL procedure successfully completed.
    
    SQL> conn scott/tiger
    Connected.
    SQL> ed
    Wrote file afiedt.buf
    
      1  DECLARE
      2        lv_url    VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';
      3        lc_return BLOB;
      4        lhttp_url httpuritype;
      5        ---Varriables declared for writing the LOB to pdf file --
      6        l_file     UTL_FILE.FILE_TYPE;
      7        l_buffer   RAW(32767);
      8        l_amount   BINARY_INTEGER := 32767;
      9        l_pos      INTEGER := 1;
    10       l_blob     BLOB;
    11       l_blob_len INTEGER;
    12     BEGIN
    13       --create uri
    14       lhttp_url := httpuritype.createuri(lv_url);
    15       --get the PDF document
    16       lc_return := lhttp_url.getblob();
    17       -- Open the destination file.
    18       l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb');
    19       --Get the total length of the BLOB
    20       l_blob_len := DBMS_LOB.getlength(lc_return);
    21       -- Read chunks of the BLOB and write them to the file
    22       -- until complete.
    23       WHILE l_pos < l_blob_len LOOP
    24         DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer);
    25         UTL_FILE.put_raw(l_file, l_buffer, FALSE);
    26         l_pos := l_pos + l_amount;
    27       END LOOP;
    28       -- Close the file.
    29       UTL_FILE.FCLOSE(l_file);
    30     EXCEPTION
    31       WHEN OTHERS THEN
    32         -- Close the file if something goes wrong.
    33         IF UTL_FILE.IS_OPEN(l_file) THEN
    34           UTL_FILE.FCLOSE(l_file);
    35         END IF;
    36         RAISE;
    37*    END;
    38  /
    
    PL/SQL procedure successfully completed.
    
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$ cd saubhik/
    [oracle@localhost saubhik]$ pwd
    /home/oracle/saubhik
    [oracle@localhost saubhik]$ ls -l *.pdf
    -rw-r--r-- 1 oracle oinstall 60055 Apr  6 14:03 TheLoveDare.pdf
    [oracle@localhost saubhik]$
    

    I love this pdf file. I would like to read this and mean while if you get an error then please post in its entirety and also think that it is an Oracle error or network.

  • Problem in sending HTTP request on the server.

    Hello
    I have dveloped a script ant for deployment of the sar.

    I have deployed an endangered species to my server local soa with ant script. He has successfully deployed me...
    but when I try to deploy it to a remote server, get the below error...
    "The problem by sending the HTTP request on the server. Please make sure that the server is in place or check the code of standard HTTP response for a 404 "

    but the server is up and runnig and I am able to ping my machine and also access the console...

    Here's my script


    Build.Properties
    ------------------------------------------------------

    WN.bea.Home=C:/Oracle/middleware
    All.needed.Jars.Path=D:/Sourcecode/neededJAR
    Oracle.SOA.Home=C:/Oracle/middleware/Oracle_SOA1
    Java.Passed.Home=C:/Oracle/middleware/jdk160_24

    #Deployment environment
    Deployment.plan.Environment = dev

    #Deploy action
    deployAction = redeploy

    #credentials
    user = weblogic
    password = BIENVENUE1

    #For Composite deployment
    serverURL = http://10.177.154.6:7001
    forceDefault = true
    Server = 10.177.154.6
    port = 7001
    sarLocation = D: / code source/JAR


    Build.Xml
    ------------------------------------------------------

    <? XML version = "1.0" encoding = "iso-8859-1? >
    < project default = "soaDeployAll" name = "deployAll" >
    < echo > basedir ${basedir} < / echo >
    < environment property = "env" / >
    < echo > classes folder ${basedir} < / echo >
    < file="${basedir}/build.properties"/ property >
    "< taskdef resource="net/sf/antcontrib/antlib.xml ">
    < classpath >
    < pathelement location="${all.needed.jars.path}/ant-contrib.jar"/ >
    < / classpath >
    < / taskdef >
    < target name = "init" >
    < tstamp >
    < form property = "timestamp" reason = "yyyy-MM-dd_HH-mm-ss" / >
    < / tstamp >
    < name = "build.log.dir property" location ="${basedir} / buildlogs" / > "
    < dir="${build.log.dir}"/ mkdir > < property name = "build.log.filename" value = "build_$ {timestamp} .log" / > "
    {< record name="${build.log.dir}/${build.log.filename}" loglevel = "verbose" append = "false" / > ".
    < echo message = "Build connected to ${build.log.filename}"/ > "
    < / target >

    < target name = "deployAll" depends = "init" >
    < echo > deploy environment ${deployment.plan.environment} < / echo >

    < antcall target = "deployAllComposites" / >

    < / target >

    <! - the following Actions are performed for Composite files to the server run - deploy, redeploy - >
    < target name = "deployAllComposites" depends = "init" >
    < foreach target = "deployComposites" param = "File" >
    < fileset dir casesensitive = "${sarLocation}" = "no" includes = "*.jar" / >
    < / foreach >
    < / target >

    < target name = "deployComposites" depends = "init" >
    < file basename property = "${file}" = "basename" / >
    deploy < echo > ${name} of the environment project $ {deployment.plan.environment} < / echo >
    < if >
    < equals arg1 arg2 = "${deployAction}" = "deploy" / >
    < do >
    < echo message = "deployment of composites in Managed server...". "/ >
    "< antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml ant "inheritAll ="true"target ="deploy">
    < property name = "ServerUri" value = "${ServerURI}" / >
    < property name = "user" value = "${user}" / >
    < property name = "password" value = "${password}" / >
    < property name = "overwrite" value = "false" / >
    < property name = "forceDefault" value = "${forceDefault}" / >
    < property name = "sarLocation" value = "${sarLocation} / ${basename}" / >

    < / Ant >
    < / may >
    < other >
    < echo message = "redeployment of composites in Managed server...". "/ >
    "< antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml ant "inheritAll ="true"target ="deploy">
    < property name = "ServerUri" value = "${ServerURI}" / >
    < property name = "user" value = "${user}" / >
    < property name = "password" value = "${password}" / >
    < property name = "overwrite" value = "true" / >
    < property name = "forceDefault" value = "${forceDefault}" / >
    < property name = "sarLocation" value = "${sarLocation} / ${basename}" / >
    < / Ant >
    < / else >
    < /if >
    < / target >
    < / project >



    Help, please...

    Hello

    Give the serverURL as http://:/ soa-infra/deployer and try.

    for example. http://10.177.154.6:8001 / soa-infra/Deployer

    Kind regards
    Neeraj Sehgal

Maybe you are looking for