HTTP Outbound activity : proxy setup problem

Options
GoutamMallick
edited May 11, 2011 in Documentum #1

Hi All,

It's an urgent requirement.

I am using HTTP Outbound activity using get method to connect to a URL ( for sending some msg).

But I am unable to connect to the URL. when I am using a simple url like http://www.google.com .

While  clicking on test connection, it's giving me an error statement :  connection refused. which  is due to network proxy problem.

Can anyone plz suggest how to do the proxy settings.

I am using XCP platform  documentum 6.6 and process builder 6.6 also.

I am struggling with the same since long. Please, help.

In my organisation to access the internet  we are using a proxy server.

How to do the proxy setup? Http Outbound activity template do not provide any such facility.

I have attached the error statement. please, find it.

Thanks.

Best Answer

  • Miller-zzMST
    edited May 11, 2011 #2 Answer ✓
    Options

    Hi!

    It is turned out to be much simpler than it seemed at first

    At first, you need configure the Process Builder shortcut. To do this perform the following steps: 

    1. Right-click the Process Builder shortcut, and select Properties.
    2. In the Target box,  modify the javaw.exe path to the following:   
      • HTTP basic authentication
        "C:\Program Files\Documentum\java\1.5.0_12\jre\bin\javaw.exe -Dhttp.proxyHost=localhost -Dhttp.proxyPort=<port-number> -Dhttp.nonProxyHosts"
        where,   
        • http.proxyHost - host name of the  proxy server.

        • http.proxyPort - port number, the  default value. being 80

        • http.nonProxyHosts - list of hosts  that should be reached directly, bypassing the proxy server. This is a list of  regular expressions separated by '|'. Any host matching one of these regular  expressions will be reached through a direct connection instead of through a  proxy

      • HTTP over SSL:
        "C:\Program Files\Documentum\java\1.5.0_12\jre\bin\javaw.exe -Dhttps.proxyHost=localhost -Dhttps.proxyPort=<port-number> -Dhttps.nonProxyHosts"
        where,   
        • https.proxyHost - host name of the  proxy server

        • https.proxyPort - port number, the  default value being 443

        • https.nonProxyHosts - list of hosts  that should be reached directly, bypassing the proxy server. This is a list of  regular expressions separated by '|'. Any host matching one of these regular  expressions will be reached through a direct connection instead of through a  proxy

    Second, you need to configure Content Server Java Method Server startup parameter. How to do this depends on which OS is Content Server is runnig.

    In Windows:

         1. Open the file StartMethodServer.cmd from $DOCUMENTUM.

         2. Add the HTTP proxy parameters for basic  authentication or HTTP over SSL to the JAVA_OPTIONS.

    For example, add the following lines to support HTTP basic  authentication:

    -Dhttp.proxyHost=<proxy_host>-Dhttp.proxyPort=<port_number>

    where

        • proxy_host is the name of the  proxy server
        • port_number is the port number.  The default is 80.

    In Unix-like system:

    1. Open the file StartMethodServer.cmd from $DOCUMENTUM.
    2. Add the HTTP proxy parameters for basic  authentication or HTTP over SSL to the JAVA_OPTIONS.

      For example, add the following lines to support HTTP basic  authentication:

      -Dhttp.proxyHost=<proxy_host>-Dhttp.proxyPort=<port_number>

      where

      • proxy_host is the name of the  proxy server
      • port_number is the port number.  The default is 80.

    Please, have a look Process Builder User Guide > Delivered Activity Templates > Integration > Dynamic Web Service > Invoking secure web services > Configuring the HTTP proxy server.

    ~ Konstantin

Answers

  • Miller-zzMST
    edited May 6, 2011 #3
    Options

    Hi!

    I don't know how to set proxy for Process Builder but try to save and install process. If on your content server (where the outbound services are working) the proxy is set the process must work correctly, I think.

    BTW,

    Please, move this discussion to Developer Network (not to Support).

    ~ Konstantin

  • DCTM_Guru
    edited May 7, 2011 #4
    Options

    Here's how to move a thread to Documentum  Developer Network.   Select "Move  discussion" from  the Actions menu  and choose  the  appropriate forum, as  described in the Guidelines.   EMC is trying  to  have technical  questions posted there:

  • GoutamMallick
    edited May 9, 2011 #5
    Options

    Hello Thanks Guys,

    For replying to my post. As per suggestions I moved the post to developer forum.

    Still I am not able to solve the problem. Please, have a look at the attached error screenshot.

    How to fix the problem? Help. I am new to process builder  and I am not able to go through the proxy problem.

    Does documentum provide any facility to fix this problem?  I also tried to set the proxy in the JVM of JBOSS application server(method server) , but could not resolve.

    Can anyone help?

    Thanks.

  • DCTM_Guru
    edited May 9, 2011 #6
    Options

    If this urgent, I suggest you open a ticket with EMC Support.  Either the product support this or its feature enhancement.

  • GoutamMallick
    edited May 10, 2011 #7
    Options

    Ok ..

    If anyone can still help in this forum  , it would be nice

    Thanks

  • Miller-zzMST
    edited May 11, 2011 #8 Answer ✓
    Options

    Hi!

    It is turned out to be much simpler than it seemed at first

    At first, you need configure the Process Builder shortcut. To do this perform the following steps: 

    1. Right-click the Process Builder shortcut, and select Properties.
    2. In the Target box,  modify the javaw.exe path to the following:   
      • HTTP basic authentication
        "C:\Program Files\Documentum\java\1.5.0_12\jre\bin\javaw.exe -Dhttp.proxyHost=localhost -Dhttp.proxyPort=<port-number> -Dhttp.nonProxyHosts"
        where,   
        • http.proxyHost - host name of the  proxy server.

        • http.proxyPort - port number, the  default value. being 80

        • http.nonProxyHosts - list of hosts  that should be reached directly, bypassing the proxy server. This is a list of  regular expressions separated by '|'. Any host matching one of these regular  expressions will be reached through a direct connection instead of through a  proxy

      • HTTP over SSL:
        "C:\Program Files\Documentum\java\1.5.0_12\jre\bin\javaw.exe -Dhttps.proxyHost=localhost -Dhttps.proxyPort=<port-number> -Dhttps.nonProxyHosts"
        where,   
        • https.proxyHost - host name of the  proxy server

        • https.proxyPort - port number, the  default value being 443

        • https.nonProxyHosts - list of hosts  that should be reached directly, bypassing the proxy server. This is a list of  regular expressions separated by '|'. Any host matching one of these regular  expressions will be reached through a direct connection instead of through a  proxy

    Second, you need to configure Content Server Java Method Server startup parameter. How to do this depends on which OS is Content Server is runnig.

    In Windows:

         1. Open the file StartMethodServer.cmd from $DOCUMENTUM.

         2. Add the HTTP proxy parameters for basic  authentication or HTTP over SSL to the JAVA_OPTIONS.

    For example, add the following lines to support HTTP basic  authentication:

    -Dhttp.proxyHost=<proxy_host>-Dhttp.proxyPort=<port_number>

    where

        • proxy_host is the name of the  proxy server
        • port_number is the port number.  The default is 80.

    In Unix-like system:

    1. Open the file StartMethodServer.cmd from $DOCUMENTUM.
    2. Add the HTTP proxy parameters for basic  authentication or HTTP over SSL to the JAVA_OPTIONS.

      For example, add the following lines to support HTTP basic  authentication:

      -Dhttp.proxyHost=<proxy_host>-Dhttp.proxyPort=<port_number>

      where

      • proxy_host is the name of the  proxy server
      • port_number is the port number.  The default is 80.

    Please, have a look Process Builder User Guide > Delivered Activity Templates > Integration > Dynamic Web Service > Invoking secure web services > Configuring the HTTP proxy server.

    ~ Konstantin

  • GoutamMallick
    edited May 11, 2011 #9
    Options

    Hello Thanks for your help.

    I marked the answer as correct.

    I really missed that portion previously. Thanks again for your guide.