Port used by the UEV agent.

Hi there,
We are using UEV 2 and it is causing issue for one of our application called CCS, its a java based application. After implementing UEV the application has stopped working. Only after i uninstall the UEV agent the CCS application works. If i disable the UEV
agent services it does not resolve the issue.
The CCS application vendors did some trobleshooting and found  below event log-
connect: jdbc:oracle:thin:@FRCCSAPL:1521:RSCB11^M
FRCCSAPL is the application server and 1521 is the port number. The event log denotes connection to database is not successful, So I am guessing UEV and the
CCS application are using the same port and is causing the conflict.
Can anyone confirm the port number used by UEV.  The UEV debug log does not give any clue on the issue.
THANKS.

Thank you Jeremy.
Could you share some view on what within UEV could be causing this issue for the CCS application to not work ? Is there any think else i can check to get to the bottom of this issue.
If any additional information is required then please do let me know. Appreciate your advice in this regards.

Similar Messages

  • One or more ports used by the Compute Emulator are currently used by other processes

    Environment:
    VS 2012 Professional
    Azure SDK October 2012
    Windows 8
    I lost the last few days of my life struggling with a weird issue in the emulator. I just ran out of options and I would really appreciate if someone could help me figure out what's wrong.
    I am trying to debug a service package from Visual Studio 2012. It's really just about any package -- even the ones generated from a Windows Azure Cloud Service VS template. Any. The VS debugger starts, and in parallel there's "Starting the Windows Azure Debugging
    Environment" dialog which shows "Deploying service package to the Windows Azure compute emulator..." message.
    The progress bar shown in the dialog gets stuck for a long time (possibly even for an hour or longer!) at some 60% and then the following error message is shown:
    "One or more ports used by the Compute Emulator are currently used by other processes. To resolve this, please see MSDN documentation at http://msdn.microsoft.com/en-us/library/hh472164.aspx"
    There doesn't seem to be anything else listening on the ports mentioned on the above MSDN page. I did nevertheless try to re-map devfabric and agent ports by specifying different values in the .config files mentioned on the page, but that did not help.
    What I also tried and did not help:
    - reinstalled SDK, IIS Express, Local DB
    - reinstalled VS 2012 (yes, I got that desperate)
    - tried using IIS instead
    - used SysInternals TcpView to check if there are any conflicts
    - rebooted the machine: the deployment works initially (*once*), and the subsequent deployments fail (!)
    - tried to kill all Azure-related processes in memory and restart debugging
    - tried looking into log files under the user directory (dftmp\...); no errors in *any* log
    - tried looking into Event Viewer logs (Azure-related and in general); no errors either
    Since the conflict seems to be related to my current network settings, below is my IP
    configuration. I am behind a router and I have DHCP activated, but again that should not matter since none of that has changed in the last few years (and the emulator did work until few days ago).
    C:\WINDOWS\system32>ipconfig /all
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : MYCOMPUTER
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter Ethernet:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
       Physical Address. . . . . . . . . : 32-AB-30-66-BC-56
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2a01:e35:8a3a:9970:edd9:b989:b67a:5a8a(Preferred)
       Temporary IPv6 Address. . . . . . : 2a01:e35:8a3a:9970:dc7a:4fe6:62a5:e54a(Preferred)
       Link-local IPv6 Address . . . . . : fe80::edd9:b989:b67a:5a8a%12(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.0.1(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Sunday, December 16, 2012 21:26:30 PM
       Lease Expires . . . . . . . . . . : Tuesday, December 18, 2012 09:26:14 AM
       Default Gateway . . . . . . . . . : fe80::224:d4ff:fea2:9722%12
                                           192.168.0.254
       DHCP Server . . . . . . . . . . . : 192.168.0.254
       DHCPv6 IAID . . . . . . . . . . . : 253808432
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-1B-EE-4D-20-CF-30-66-BC-46
       DNS Servers . . . . . . . . . . . : 192.168.0.254
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.{7A96B710-3107-48B9-A7B2-2F261DDD91AD}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 11:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:1caf:12ff:a75c:5668(Preferred)
       Link-local IPv6 Address . . . . . : fe80::1caf:12ff:a75c:5668%14(Preferred)
       Default Gateway . . . . . . . . . :
       NetBIOS over Tcpip. . . . . . . . : Disabled
    Below are the Azure SDK emulator configuration files, unmodified (as created by the SDK installation).
    DevFC.exe.config
    <configuration>
        <configSections>
            <section name="DevFCSettings"        type="System.Configuration.NameValueSectionHandler" />
        </configSections>
        <!-- The following are options related to the SimulatorSetup -->
        <DevFCSettings>
            <add key="StartMACAddress" value="00155D201928" />
            <add key="EndMACAddress" value="155D20193C" />
            <add key="StartIPAddress" value="192.168.0.20" />
            <add key="EndIPAddress" value="192.168.0.40" />
            <add key="DipPoolStartIPAddress" value="127.255.0.0" />
            <add key="DipPoolEndIPAddress" value="127.255.255.255" />
            <add key="VipPoolStartIPAddress" value="127.0.0.1" />
            <add key="VipPoolEndIPAddress" value="127.0.0.255" />
            <add key="DefaultGateway" value="192.168.0.1" />
            <add key="SubnetMask" value="255.255.255.0" />
            <add key="InternalSwitchName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricSwitch" />
            <add key="InternalSwitchPortName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricHostSwitchPort" />
            <add key="InternalEthernetNICName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricEthernetNIC" />
            <add key="InternalEthernetPortMACAddress" value="00155D201927" />
            <add key="InternalEthernetPortIPAddress" value="192.168.0.2" />
            <add key="InternalEthernetPortSubnetMask" value="255.255.255.0" />
            <add key="StorageRoot" value="DFTemp" />
            <add key="LogsDirName" value="DevFCLogs" />
            <add key="DynamicPortAllocStart" value="20000" />
            <add key="ManagementServicePort" value="15095" />
            <add key="RepositoryServicePort" value="15096" />
            <add key="AgentCallbackPort" value="15097" />
            <add key="AgentPort" value="15098" />
            <add key="PxeResponderPort" value="15100" />
        </DevFCSettings>
        <startup>
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
        </startup>
    </configuration>
    DFAgent.exe.config
    <configuration>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
      <appSettings>
        <add key="AgentMAC" value="00155D201927"/>
        <add key="AgentIP" value="192.168.0.2"/>
        <add key="EnableActiveNotification" value="false"/>
        <add key="StorageRoot" value="C:\DFTemp"/>
        <add key="CopyFilesInStartRole" value="false"/>
        <add key="LogsDirName" value="DFAgentLogs" />
        <add key="EnableFileLog" value="true" />
        <add key="AgentPort" value="15098" />
        <add key="RuntimePort" value="15099" />
        <add key="AgentCallbackPort" value="15097" />
      </appSettings>
    </configuration>
    DFService.exe.config
    <configuration>
      <configSections>
        <section
          name="dfservice"
          allowExeDefinition="MachineToLocalUser"
          type="Microsoft.ServiceHosting.Tools.DevelopmentFabric.DfServiceConfigurationSection, DfService, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        />
      </configSections>
      <dfservice
        ManagementServicePort="15095"
        RepositoryServicePort="15096"
       />
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
    </configuration>
    Finally, here's what TcpView shows while the emulator is stuck:
    devenv.exe    3736    TCP      MYCOMPUTER    7240    localhost    15095    SYN_SENT
    devenv.exe    3736    TCP      MYCOMPUTER    7245    localhost    15095    SYN_SENT
    svchost.exe   4332    TCP      MYCOMPUTER    7438    MYCOMPUTER    0    LISTENING
    System        4        TCP      MYCOMPUTER    10000    MYCOMPUTER    0    LISTENING       
    System        4        TCP      MYCOMPUTER    10001    MYCOMPUTER    0    LISTENING       
    System        4        TCP      MYCOMPUTER    10002    MYCOMPUTER    0    LISTENING       
    DevFC.exe      4380    TCP      MYCOMPUTER    15095    MYCOMPUTER    0    LISTENING              
    DevFC.exe      4380    TCP      MYCOMPUTER    15096    MYCOMPUTER    0    LISTENING              
    DevFC.exe      4380    TCP      MYCOMPUTER    15097    MYCOMPUTER    0    LISTENING              
    DFAgent.exe    14472    TCP      MYCOMPUTER    15098    MYCOMPUTER    0    LISTENING
    DFAgent.exe    14472    TCPV6    mycomputer    15098    mycomputer    0    LISTENING              
    DFAgent.exe    14472    TCPV6    mycomputer    15098    mycomputer    6399    ESTABLISHED         
    System        4        TCP      MYCOMPUTER    15099    MYCOMPUTER    0    LISTENING       
    System        4        TCPV6    mycomputer    15099    mycomputer    0    LISTENING            
    DevFC.exe      4380    TCP      MYCOMPUTER    15100    MYCOMPUTER    0    LISTENING
    Thanks in advance for help!



    Hi,
    Unfortunately I already tried all kinds of re-installs (the full list is in my original message). The only one remaining is the reinstall of Windows 8 itself, which I would really like to avoid.
    What I find really strange is the time it takes for the above error message to appear. It's like one hour or even more (never measured exactly, I left the computer running).
    What kind of a timeout is that? I would expect that, if ports are really used by some other application, I get the message in less than a minute (seconds, actually). To me this looks like the emulator itself for some reason believes there's a problem with
    some port while in reality there isn't.
    I'll eventually contact Microsoft Support, thanks for the suggestion.

  • Ports used by the child socket which was created by server_socket.accept()?

    When a server socket creates a child socket, on which port it(child) listens? When I tried to print getLocalPort(), it is always printing the port on which server was listening. When a server socket accepts a connection it creates a new socket, I think. It should listen on a port other than the server socket's port. Otherwise if all the child sockets and server listen at the same port my Multithreaded server should not work. Fortunately it is working.
    Can anyone of you please clarify this child-port-number?
    Seems that Sun people limited the length of the subject field. Is it?
    Seenu.

    when you create the socket on your clients you can specify which port the client will communicate from, otherwise it will be randomly generated by the machine:
    // CONSTRUCTOR TO USE
    Socket(InetAddress address, int port, InetAddress localAddr, int localPort)
    just to clear something up, why do you care what the client ports are unless you are CLOSING the connection first, re-opening, and sending data back. once the client connects the stream is open. the only port you need to free up for your firewall is the port the sever socket is listening on so the clients dont get rejected when trying to connect.
    i hope this helps.
    ~ranemaker

  • HOW TO: identify and print port used in the URL

    In my web I need to show:
    1. port
    2. URL
    that I am using in the current URL.
    any idea which methods should I use ?

    I couldn't managed to use "localPort", maybe I had a syntax problem.
    This is the code that I am using:
    <%@ page import="java.net.*" %>
    <%@ page import="java.util.*" %>
    <%
    //int port_no = request.getServerPort();
    //List list = admin.getInstanceVariables(instance.getId());
    // out.println("<b>Instance Name</b> = "+ admin.getInstanceVariables(instance.getId()) +"<br>");
    out.println("<b>Host Name</b> = "+ java.net.InetAddress.getLocalHost().getHostName()+"<br>");
    out.println("<b>Host Address</b> = "+ java.net.InetAddress.getLocalHost().getHostAddress()+"<br>");
    out.println("<b>URL</b> = "+ request.getRequestURL() +"<br>");
    out.println("<b>Port</b> = "+ request.getServerPort() +"<br>");
    %>

  • CSA : what are the port used

    Hi,
    I'm trying a lab about CSA.
    In the LAN, there is policy with the firewall.
    So I want to know what are the port used bye the CSA MC and agent. (From MC to Agent and from Agent to MC.
    Is there any link to more document ?
    Best regards

    It's in the readme file on the downloads page.
    3. Port Usage Information
    This section explains which ports are used for communication by the product.
    Web Browser to CSA MC communication uses port 443 (https).
    Cisco Security Agent to Management Center communication occurs over port 5401
    Port 443 is used by default if port 5401 is not available.
    Port 80 is also required for agent kit caching.
    Analysis Jobs to CSA MC communication occurs over port 5401.
    Tom

  • Path and filename containt the list of port used by OAS R3

    Could someone tell me the path and the file name that contains the port used by OAS R3.
    Thanks

    Previous versions used to have $OH/install/portlist.ini, this one doesn't but you can check ports used in....
    httpd.conf
    Check for directives
    Port
    Listen
    opmnctl status -l
    this will tell you the ports used by the OC4J, for rmi, ajp and jms for each one.
    And I think with this will do the trick, or if you need more, tell me.
    Regards.

  • The Web Agent for IIS will not work

    Environment: NT4 Server, IIS4
    I try to install the Web Agent in use with IIS but IIS fails to load the dll. After the installation I can read the event-log :
    The HTTP server was unable to load the ISAPI Application 'C:\Oracle\Ora81\ord\web\bin\wsciis81.dll'. The data is the error.
    And the Browser gives me:
    A dynamic link library (DLL) initialization routine failed.
    What can be wrong?

    Note: On Windows NT, use \ instead of / to separate file system directory
    paths.
    1. Check the Web Agent's log file.
    Look in <oracle_home>/ord/web/logs for a log file in the form
    wsc_<yyyymmdd>_<pid>.log. If the file exists, review it for errors,
    then take the necessary action to remedy the problem. Possible
    problems that might be logged are non-recoverable errors in the Web
    Agent's configuration file <oracle_home>/ord/web/admin/wsc.cfg. If the
    configuration file or the <oracle_home>/ord/web directory hierarchy
    doesn't exist, then re-do the installation.
    2. Check the Web Agent's "last-chance" error log file.
    If the <oracle_home>/ord/web/logs directory exists, but there are no
    log files, check in the %SystemRoot% directory on Windows NT or the
    /tmp directory on Unix for a file named wsclstch.err. This is the Web
    Agent's "last-chance" error log file. The Web Agent will try to write
    to this file if it encounters a fundamental startup error, such as a
    problem initializing CORE or NLS, creating a log file, or opening its
    message file. If the file exists, review it for errors, then take the
    necessary action to remedy the problem. (In a command window on
    Windows NT, type set SystemRoot to find where the wsclstch.err file
    would be written.)
    3. Check the web server configuration.
    If the Web Agent failed to create either its normal log file or its
    "last-chance" error log file, verify that the Web Agent has been
    configured correctly for the particular web server being used and that
    the web server is running.
    o Microsoft IIS
    Use the Internet Service Manager to verify that IIS has been
    configured correctly for the Web Agent. Review the installation
    and configuration instructions in the wsciis.html or wsciis.txt
    files to verify that the Web Agent has been configured correctly
    and to make any changes or fixes necessary. Check that the filter
    is up and running and that the virtual path has been configured.
    To check the filter, select the web site, then click the
    properties button (or right-click the web site icon). Select the
    Filters tab. The Web Agent should appear in the list with a green
    up-arrow. If it appears with a red down-arrow, check the Windows
    NT event log for any errors relating to the Web Agent. IIS
    doesn't always write detailed error messages. For example, if a
    DLL used by the Web Agent can't be located, then IIS typically
    logs the fact that a load error occurred along with the message
    "the data was the error". Note that the installation and
    configuration instructions describe the case where the filter
    must be installed manually if there were no existing filters
    registered at the time the Web Agent for IIS was installed.
    If the filter looks OK, check the oracle_intermedia_bin virtual
    path by clicking the properties button (or right-click the
    virtual path icon). The path should reference the
    <oracle-home>\ord\web\bin directory, which should contain the
    wsciis81.dll file. In the properties window, select the directory
    security tab, then click the anonymous access and authentication
    control button. Verify that Basic authentication has been checked
    and that Windows NT challenge/response has been cleared.
    To function correctly, the Oracle8i home must be specified
    correctly for IIS. Use the Oracle Home Selector to verify that
    the Oracle8i home is specified as the default home. Use the
    System Control Panel to verify that the Oracle8i home /bin
    directory is specified prior to any other Oracle homes in the
    PATH environment variable.
    null

  • Ports used by Application Server 8.2

    How can I tell what ports are used by the Application Server and how can I control the main port(s) used by the Application Server ?
    I do not want any of the ports used by the Application Server to conflict locally with any other ports I am using on my computer.

    Hi!
    You can find out what ports are used in Admin Console:
    http://admin_host:admin_port/.
    For example for Sun Java Studio Creator 2 Update 1:
    http://localhost:25848/
    Click in left pane on "Application Server" node and find http-listeners.
    Thanks,
    Roman.

  • Question concerning ports used by subdaemons

    We are using direct access, no client server, with TT 6.0.4. TT is installed with port 16200. We see the subdaemons using ports such as
    32814 timestensubd
    32818 timestensubd
    32820 timestensubd
    32822 timestensubd
    Is there anyway to configure which ports are used? If not in 6.0.4, then in 7.0.5 which we will be using in the future?
    Thanks,
    Linda

    There is no way to control the ports used by the sub-daemons. However these ports are alocated dynamically by the O/S and are only used for inter-system communication (i.e. between the local daemon and sub-daemons). Could I ask the rationale behind your question? What concerns/requirements do you have?
    Thanks,
    Chris

  • Port used by telnet

    Telnet running on a server uses port 23 by default. My query is that what is the port on the telnet client which is used for connecting to the telnet server.
    I hope my question is clear as to which is the port used on the telnet client to connect to the telnet server.
    Please revert with the reply to my query.
    Regards

    972145 wrote:
    I hope my question is clear as to which is the port used on the telnet client to connect to the telnet server.It's a randomly selected unused port above 1023. Also, what difference does it make what port the client uses?

  • Ports used for Intelligent agent and snmp master agent

    I could not find any documentation regarding which ports are used for communication between master and intelligent
    agent. Moreover which port has to be mentioned if I use snmpget for the master agent. Please let me also know if I use a
    management platform like CA-Unicenter with which port I have to send the traps and where to configure.
    Thanks
    Pragati Awasty

    John Ross Hunt (guest) wrote:
    : Once libtcl7.5.a is built and copied to the
    : $ORACLE_HOME/network/lib directory, can the rest of the
    : installation in /usr/local be deleted?
    Yes, all that Oracle needs is the library to link in.
    - Phil
    null

  • Using just the TV screen when using HDMI port?

    Hi,
    I have the Macbook Pro with retina display and I was wondering how I could use just the TV screen when using HDMI port. I don't want mirroring displays, just one on the TV.

    With the TV connected and the MBP plugged into the mains (i.e. not running on battery power) close the lid.  The MBP will go to sleep, wake it up with an external keyboard or mouse - which must be connected in advance, or paired in advance if a bluetooth keyboard/mouse.

  • How can I split the video port of an older Mac Mini so I can use both the 922-6199 DVI to RCA, S-Video Adapter and a Cinema Display?

    How can I split the video port of an older Mac Mini so I can use both the 922-6199 DVI to RCA, S-Video Adapter and a Cinema Display?

    Which exact Mini?
    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware and report this upto but not including the Serial#...
    Hardware Overview:
    Model Name: iMac
    Model Identifier: iMac7,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.4 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 6 GB
    Bus Speed: 800 MHz
    Boot ROM Version: IM71.007A.B03
    SMC Version (system): 1.21f4

  • Send Welcome Email to New User using the Scripting Agent

    Hi
    I require some assistance please.  I have found a number of scripts online to send a Welcome Email to new users whereby they make use of the ScriptingAgent.xml file.
    I like the way the scripts have been configured and have mashed up one or two scripts together for my desired result however when testing in my lab (Exchange 2013) I have found tow problems.
    The problems are:
    1. When creating a new user and mailbox (New-Mailbox) via the ECP the script throws out an error which I will post later in this post. The mailbox is created fine but it does not send out a welcome email.  When a user is created in ADUC and then a mailbox
    is created (Enable-Mailbox) the welcome email is sent out correctly.
    2. In the script i have a section to check for NewUser00 in the HTML file and replace that with the Users Name and Surname, however this does not work correctly, I just come up blank:
    The Script:
    <?xml version="1.0" encoding="utf-8" ?>
    <Configuration version="1.0">
    <Feature Name="WelcomeEmail" Cmdlets="New-Mailbox,Enable-Mailbox">
    <ApiCall Name="OnComplete">
    if($succeeded) {
    # Waiting for synchronization after mailbox has been created.
    Set-ADServerSettings -ViewEntireForest $true
    Start-Sleep -s 10
    # New-Mailbox triggered. Taking SamAccountName parameter.
    if ($provisioningHandler.UserSpecifiedParameters.Contains("SamAccountName") -eq $true) {
    $UsrSamAccountName = $provisioningHandler.UserSpecifiedParameters["SamAccountName"]
    $USRdfirst = $provisioningHandler.UserSpecifiedParameters["FirstName"]
    $USRdlast = $provisioningHandler.UserSpecifiedParameters["LastName"]
    $UsrAlias = (Get-Mailbox -Filter {SamAccountName -eq $UsrSamAccountName}).Alias.ToString()
    $USRdname = $USRdfirst + " " + $USRdlast
    # Enable-Mailbox triggered. Taking Identity parameter, this is the only one avalaible in this case.
    if ($provisioningHandler.UserSpecifiedParameters.Contains("Identity") -eq $true) {
    $UsrIdentity = $provisioningHandler.UserSpecifiedParameters["Identity"].ToString()
    $USRdfirst=$provisioningHandler.UserSpecifiedParameters["FirstName"]
    $USRdlast=$provisioningHandler.UserSpecifiedParameters["LastName"]
    $UsrAlias = (Get-Mailbox -Identity $UsrIdentity).Alias.ToString()
    $USRdname= $USRdfirst + " " + $USRdlast
    # Defining variables.
    $UsrAddr = (Get-Mailbox -Filter {Alias -eq $UsrAlias}).PrimarySmtpAddress.ToString()
    $UsrOU = (Get-Mailbox -Filter {Alias -eq $UsrAlias}).OrganizationalUnit
    # Sending email notification to the user in specific OU.
    if ($UsrOU -match "Contoso.com") {
    # HR #
    $fromHR="[email protected]"
    $SubjectHR="'Welcome to Contoso'"
    $BodyHR = [string] (get-content ("c:\welcome\WelcomeMSG.htm"))
    $BodyHR = $BodyHR -replace "NewUser00",$USRdname
    $fileHR = "c:\welcome\WelcomeMSG.htm"
    $smtp="192.168.x.x"
    Send-MailMessage -From $fromHR -To $UsrAddr -Subject $SubjectHR -Body $BodyHR -BodyAsHtml -Encoding ([System.Text.Encoding]::UTF8) -SmtpServer $Smtp
    # Clearing variables. Each one in its own line in order to prevent error messages from being shown on EMC.
    if ($UsrAlias) { Remove-Variable UsrAlias }
    if ($UsrAddr) { Remove-Variable UsrAddr }
    if ($UsrOU) { Remove-Variable UsrOU }
    if ($UsrMsg) { Remove-Variable UsrMsg }
    if ($UsrIdentity) { Remove-Variable UsrIdentity }
    if ($UsrSamAccountName) { Remove-Variable UsrSamAccountName }
    </ApiCall>
    </Feature>
    </Configuration>
    The Error for issue 1:
    The cmdlet extension agent with the index 5 has thrown an exception in OnComplete().
    The exception is: Microsoft.Exchange.Provisioning.ProvisioningException: ScriptingAgent:
    Exception thrown while invoking scriptlet for OnComplete API: You cannot call a method on a
    null-valued expression.. ---> System.Management.Automation.RuntimeException:
    You cannot call a method on a null-valued expression. at CallSite.Target(Closure , CallSite , Object ) at
    System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at
    System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame frame) at
    System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    --- End of inner exception stack trace --- at Microsoft.Exchange.ProvisioningAgent.ScriptingAgentHandler.OnComplete(Boolean succeeded, Exception e)
    at Microsoft.Exchange.Provisioning.ProvisioningLayer.OnCompleteImpl(Task task, Boolean succeeded, Exception exception)
    Any assistance in resolving these two issues will be really appreciated

    Ok I am gonna to answer my own question.
    I have persevered through the day and have resolved my two issues.  I hope this assist others within the community.
    Script:
    <?xml version="1.0" encoding="utf-8" ?>
    <Configuration version="1.0">
    <Feature Name="WelcomeEmail" Cmdlets="New-Mailbox,Enable-Mailbox">
    <ApiCall Name="OnComplete">
    if($succeeded) {
    # Waiting for synchronization after mailbox has been created.
    Start-Sleep -s 30
    Set-ADServerSettings -ViewEntireForest $true
    # New-Mailbox triggered. Taking SamAccountName parameter.
    if ($provisioningHandler.UserSpecifiedParameters.Contains("Name") -eq $true) {
    $UsrSamAccountName = $provisioningHandler.UserSpecifiedParameters["Name"]
    $Usrname = (Get-Mailbox -identity $UsrSamAccountName | Select Name | foreach { $_.Name})
    $UsrString = $Usrname | Out-String
    $UsrAlias = (Get-Mailbox -Filter {Name -eq $UsrSamAccountName}).Alias.ToString()
    # Enable-Mailbox triggered. Taking Identity parameter, this is the only one avalaible in this case.
    if ($provisioningHandler.UserSpecifiedParameters.Contains("Identity") -eq $true) {
    $UsrIdentity = $provisioningHandler.UserSpecifiedParameters["Identity"].ToString()
    $Usrname = (Get-Mailbox -identity $UsrIdentity | Select Name | foreach { $_.Name})
    $UsrString = $Usrname | Out-String
    $UsrAlias = (Get-Mailbox -Identity $UsrIdentity).Alias.ToString()
    # Defining variables.
    $UsrAddr = (Get-Mailbox -Filter {Alias -eq $UsrAlias}).PrimarySmtpAddress.ToString()
    $UsrOU = (Get-Mailbox -Filter {Alias -eq $UsrAlias}).OrganizationalUnit
    # Sending email notification to the user in specific OU.
    if ($UsrOU -match "contoso.com") {
    # HR #
    $fromHR="[email protected]"
    $SubjectHR="'Welcome to CONTOSO'"
    $BodyHR = [string] (get-content ("c:\welcome\WelcomeMSG.htm"))
    $BodyHR = $BodyHR -replace "NewUser00",$UsrString
    $fileHR = "c:\welcome\WelcomeMSG.htm"
    $smtp="x.x.x.x"
    Send-MailMessage -From $fromHR -To $UsrAddr -Subject $SubjectHR -Body $BodyHR -BodyAsHtml -Encoding ([System.Text.Encoding]::UTF8) -SmtpServer $Smtp
    # Clearing variables. Each one in its own line in order to prevent error messages from being shown on EMC.
    if ($UsrAlias) { Remove-Variable UsrAlias }
    if ($UsrAddr) { Remove-Variable UsrAddr }
    if ($UsrOU) { Remove-Variable UsrOU }
    if ($UsrMsg) { Remove-Variable UsrMsg }
    if ($UsrIdentity) { Remove-Variable UsrIdentity }
    if ($UsrSamAccountName) { Remove-Variable UsrSamAccountName }
    </ApiCall>
    </Feature>
    </Configuration>

  • How do you make use of the 2nd Ethernet port on the Mac Pro?

    My Mac Pro's ethernet port connects it to the local network and the internet.
    Under what circumstances would I make use of the 2nd port?
    Are there any settings I'd have to set up in system preferences to make sure one is used for some things while the other is used for different things?
    I'm asking because we might be making some changes to our network. We have a printer with a Fiery RIP and I'm pretty much the only one who prints to it. I was wondering if we could/should set up a direct, dedicated connection so that network traffic won't bog down print jobs.

    The main use for that port today is to create a subnetwork for Internet Sharing. Software inside the Mac can act as a Router and provides new DHCP Addresses for the subnetwork. In general, the devices on the subnetwork would be inaccessible from anywhere else, due to Network Address Translation.
    If you are concerned about heavy network traffic, consider upgrading your Switches (not Routers) to Gigabit Ethernet speeds and using Jumbo frames. (Routers are not involved in peer-to-peer transfers such as Printing when no Address Translation is involved.)
    If you have an Industrial Router, you can combine the two Ethernet ports into one composite link for faster-than-Gigabit effective speeds, but it requires a special Router not generally available.

Maybe you are looking for