Avoiding instanceof with a message server

I have a system which is receiving 'messages' (simple objects containing nothing but fields and getters) and sending them to various GUI classes which will then display their data. There are many separate displays. Each display will receive a subset of the message types and will pull a subset of the data from each message it receives based on that display's needs. All of the messages subclass from one common superclass. So in the displays I want to be able to do something like:
update(SuperMessageType message);I could implement it with instanceof:
update(SuperMessageType message) {
    // do stuff
    if (message instanceof MessageOneType)
        int foo = message.getFoo();
    if(message instanceof MessageTwoType)
        int bar = message.getBar();
}but that's pretty ugly. Or I could make a bunch of overloaded versions of update, one for each message type both from the subject and in each observer:
update(MessageOneType message);
update(MessageTwoType message);
...Overloading seems to require modifying a lot more code (including adding all of the registerMessageOne etc. observers), without a lot of gain since the messages are simply fields and getters.
Any thoughts on which way would be better, or perhaps another alternative? Thanks!

GarrettAlexander wrote:
I have a system which is receiving 'messages' (simple objects containing nothing but fields and getters) and sending them to various GUI classes which will then display their data. There are many separate displays. Each display will receive a subset of the message types and will pull a subset of the data from each message it receives based on that display's needs. Why? What makes the "Messages" part of that inheritance besides the fact that you made them that way?
Any thoughts on which way would be better, or perhaps another alternative?Presuming that there is in fact a reason for this and for the GUIs that do not mandate that the must be manually created regardless then one could use code generation or a hash/dictionary storage mechanism. Of course you do the second because the requirements/design drive to that rather than because one wants to save typing.

Similar Messages

  • SAPGui 720 and RRMX - RFC Error with a Message server

    I am testing SAPGui 7.20 before installing it on all workstations. I found an error RFC_ERROR_COMMUNICATION in the following situation.
    Client side:
    WIndows XP SP3
    Office 2003
    SAPGui 720 + patch 2 (gui720_2-10007878.exe)
    BI 7.0 ADDON FOR SAP GUI 7.20 (bi720sp02_200-20006596.exe)
    BW 3.5 ADDON FOR SAP GUI 7.20 (bw350gui720_2-20006857.exe)
    Server side:
    Installed the following notes: 1471630, 1499568, 1477686, 1473879
    I connect to P1B (Production systrem) with my login/password. Then I launch RRMX and the following error appears:
    RFC_ERROR_COMMUNICATION
    SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
    Connect_PM GWHOST=tosatti, GWSERV=sapgw50, SYSNR=50
    LOCATION CPIC (TCP/IP) on local host
    ERROR hostname 'tosatti' unknown
    TIME Fri Sep 10 10:37:09 2010
    RELEASE 720
    COMPONENT NI (network interface)
    VERSION 40
    RC -2
    MODULE nixxhl.cpp
    LINE 183
    DETAIL NiHLGetNodeAddr: hostname cached as unknown
    COUNTER 2
    This error happens only on Production system. On Development and Quality systems it is ok. The difference between these systems is that Production has a message server (po1bwsc.sapmi.telecomitalia.local) and a Group server defined
    (PROD_P1B that leads to 4 application servers).
    If I force the application server to logon to po1bwsc.sapmi.telecomitalia.local everything works well, but using the
    group server I get the error above.
    Furthermore I found out that:
    if I add the IP address of the GWHOST (tosatti in this case, but I have also donald and alexey) in c:\windows\system32\drivers\etc\hosts file, everything works fine.
    Please notice that with SAPGui 640 there is not this problem, even without adding the above IP addresses to etc\hosts file.
    How can I avoid this problem?
    Thanks
    Roberto Pezzano

    What parameter did yiou have to change for this?
    We are experiencing same issue.
    Thanks in advance!

  • UBEfilter with Netscape Messaging Server 4.0

    Hi,
    I added a new net/range to our UBEfilter.cfg and to antirelay.config to allow to use our mailserver.
    With all other hosts/nets set in these files everything works well, but with this new net, messages which are not destinate to our domaine are rejected caused by UBEfilter.
    Can anybody help?
    Thanks in advance
    Angelika

    My SMTP log is already in debug mode, yet it doesn�t show any information from the filter. The only area where I was able to find any reference to the UBE filters was in the log that I posted in my original post.
    I've tried changing the COPY commands to DROP, yet it stll doesn't work.
    I even tried:
    $ALL DROP deadmail
    and
    $ALL DROP [email protected]
    I'm starting to think that the UBE filters for 4.15 just don't work as the above should have worked fine.
    Unfortunately, upgrading isn't an option right now, so I'm stuck with what I have.... So, any help would be great.
    Thanks,
    Arron

  • Has anyone had success with Messaging Server 5.2 under Windows 2000 Server?

    Just to be up front - we MUST use Windows 2000 - they're not giving me a choice to move to Solaris or Sun Hardware. Linux isn't even a choice, nor is WinNT. (I know, it's annoying).
    I've managed to get Directory Server 5.1 to run under windows 2000 without active directory installed. I found that I needed to modify the ims_dssetup.pl script that comes with the Messaging Server 5.2 to reference the full path to my ldapsearch and ldapmodify executables. Apparently, this is a win2k specific problem, and is not necessary on WinNT. This made ims_dssetup.pl work and the install of Messaging Server 5.2 work on a windows 2000 machine.
    However, at reboot, the job controller and dispatcher do not automatically start. When I try to start the services manually, I get "Error 1067: The Service terminiated unexpectedly".
    Any ideas? I'm desperate here - they're gonna make us use exchange if I can't get >>something<< working. Even a 4.x version of messaging server will do.
    Thanks

    Well, I do understand that.
    However, I've installed iMS 5.2 on win2k several times (I admit, w2k pro, not server), and i've never installed AD.
    If you can get it installed and working for your default domain, but not for other domains, then most likely it has nothign to do with AD or AD domains. iMS idea of domains is very different from AD's idea of domains. We need to be very clear about such.
    for iMS, you have to create additional domains through Delegated Admin, as either "Hosted Domains" or as "Vanity Domains". We do not suggest using "Vanity Domains", and support for such is deprecated.
    Once you have created "Hosted Domains" through Delegated Admin, you can add users to those domains, and they should work, just fine.

  • Digital signature with messaging server 6

    Hi all,
    I want to implement the following with my messaging server or even with the communication express.
    Just as outlook, where users can use a digital signature; Is this possible to be done in the messaging/communication express.
    If yes, can you please provide me with the procedure?
    Regards,
    Scotty

    There is full documentation for how to set up and use "S/MIME" in CE.
    http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtul?q=S%2FMIME&a=view

  • After Installing SAP netweaver abap 7.01 (Message server unreachable)

    Hi every one ,
    it was a very long night and still continues
    It's my first time to install SAP netweaver abap 7.01  .. I'm using Operating System : Vista service Pack 1 .. i installed the NetWeaver Abap 7.01 and when the install shield finished he asked me to run the server ..when i clicked " ok " the install shield couldn't run the server and told me to see the log file .. and here is the log file :
    <
    (Dec 23, 2008 7:54:39 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Dec 23, 2008 7:54:39 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Dec 23, 2008 7:54:49 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Dec 23, 2008 7:54:49 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Dec 23, 2008 7:54:59 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Dec 23, 2008 7:54:59 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Dec 23, 2008 7:55:09 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Dec 23, 2008 7:55:09 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Dec 23, 2008 7:55:19 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Dec 23, 2008 7:55:19 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Dec 23, 2008 7:55:29 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Dec 23, 2008 7:55:29 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Dec 23, 2008 7:55:40 PM), Install, com.sap.installshield.CheckServicesAction, err, An error occurred and product installation failed.  Look at the log file F:\SAP\NSP\log.txt for details.
    (Dec 23, 2008 7:55:40 PM), Install, com.sap.installshield.CheckServicesAction, err, ProductException: (error code = 601; message="Services failed to start (see the log for details)")
    STACK_TRACE: 12
    ProductException: (error code = 601; message="Services failed to start (see the log for details)")
         at com.sap.installshield.CheckServicesAction.install(CheckServicesAction.java:95)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Dec 23, 2008 7:55:41 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed.  Look at the log file F:\SAP\NSP\log.txt for details.
    (Dec 23, 2008 7:55:41 PM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllUninstallationSteps(StepWrapperInstallFiles.java:192)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.uninstall(StepWrapperInstallFiles.java:313)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    >
    And here is my Services file :
    <
    Copyright (c) 1993-2004 Microsoft Corp.
    This file contains port numbers for well-known services defined by IANA
    Format:
    <service name>  <port number>/<protocol>  [aliases...]   [#<comment>]
    echo                7/tcp
    echo                7/udp
    discard             9/tcp    sink null
    discard             9/udp    sink null
    systat             11/tcp    users                  #Active users
    systat             11/udp    users                  #Active users
    daytime            13/tcp
    daytime            13/udp
    qotd               17/tcp    quote                  #Quote of the day
    qotd               17/udp    quote                  #Quote of the day
    chargen            19/tcp    ttytst source          #Character generator
    chargen            19/udp    ttytst source          #Character generator
    ftp-data           20/tcp                           #FTP, data
    ftp                21/tcp                           #FTP. control
    ssh                22/tcp                           #SSH Remote Login Protocol
    telnet             23/tcp
    smtp               25/tcp    mail                   #Simple Mail Transfer Protocol
    time               37/tcp    timserver
    time               37/udp    timserver
    rlp                39/udp    resource               #Resource Location Protocol
    nameserver         42/tcp    name                   #Host Name Server
    nameserver         42/udp    name                   #Host Name Server
    nicname            43/tcp    whois
    domain             53/tcp                           #Domain Name Server
    domain             53/udp                           #Domain Name Server
    bootps             67/udp    dhcps                  #Bootstrap Protocol Server
    bootpc             68/udp    dhcpc                  #Bootstrap Protocol Client
    tftp               69/udp                           #Trivial File Transfer
    gopher             70/tcp
    finger             79/tcp
    http               80/tcp    www www-http           #World Wide Web
    hosts2-ns          81/tcp                           #HOSTS2 Name Server
    hosts2-ns          81/udp                           #HOSTS2 Name Server
    kerberos           88/tcp    krb5 kerberos-sec      #Kerberos
    kerberos           88/udp    krb5 kerberos-sec      #Kerberos
    hostname          101/tcp    hostnames              #NIC Host Name Server
    iso-tsap          102/tcp                           #ISO-TSAP Class 0
    rtelnet           107/tcp                           #Remote Telnet Service
    pop2              109/tcp    postoffice             #Post Office Protocol - Version 2
    pop3              110/tcp                           #Post Office Protocol - Version 3
    sunrpc            111/tcp    rpcbind portmap        #SUN Remote Procedure Call
    sunrpc            111/udp    rpcbind portmap        #SUN Remote Procedure Call
    auth              113/tcp    ident tap              #Identification Protocol
    uucp-path         117/tcp
    sqlserv           118/tcp                           #SQL Services
    nntp              119/tcp    usenet                 #Network News Transfer Protocol
    ntp               123/udp                           #Network Time Protocol
    epmap             135/tcp    loc-srv                #DCE endpoint resolution
    epmap             135/udp    loc-srv                #DCE endpoint resolution
    netbios-ns        137/tcp    nbname                 #NETBIOS Name Service
    netbios-ns        137/udp    nbname                 #NETBIOS Name Service
    netbios-dgm       138/udp    nbdatagram             #NETBIOS Datagram Service
    netbios-ssn       139/tcp    nbsession              #NETBIOS Session Service
    imap              143/tcp    imap4                  #Internet Message Access Protocol
    sql-net           150/tcp
    sqlsrv            156/tcp
    pcmail-srv        158/tcp                           #PCMail Server
    snmp              161/udp                           #SNMP
    snmptrap          162/udp    snmp-trap              #SNMP trap
    print-srv         170/tcp                           #Network PostScript
    bgp               179/tcp                           #Border Gateway Protocol
    irc               194/tcp                           #Internet Relay Chat Protocol       
    ipx               213/udp                           #IPX over IP
    rtsps             322/tcp
    rtsps             322/udp
    mftp              349/tcp
    mftp              349/udp
    ldap              389/tcp                           #Lightweight Directory Access Protocol
    https             443/tcp    MCom                   #HTTP over TLS/SSL
    https             443/udp    MCom                   #HTTP over TLS/SSL
    microsoft-ds      445/tcp
    microsoft-ds      445/udp
    kpasswd           464/tcp                           # Kerberos (v5)
    kpasswd           464/udp                           # Kerberos (v5)
    isakmp            500/udp    ike                    #Internet Key Exchange
    crs               507/tcp                           #Content Replication System
    crs               507/udp                           #Content Replication System
    exec              512/tcp                           #Remote Process Execution
    biff              512/udp    comsat
    login             513/tcp                           #Remote Login
    who               513/udp    whod
    cmd               514/tcp    shell
    syslog            514/udp
    printer           515/tcp    spooler
    talk              517/udp
    ntalk             518/udp
    efs               520/tcp                           #Extended File Name Server
    router            520/udp    route routed
    ulp               522/tcp   
    ulp               522/udp   
    timed             525/udp    timeserver
    tempo             526/tcp    newdate
    irc-serv          529/tcp
    irc-serv          529/udp
    courier           530/tcp    rpc
    conference        531/tcp    chat
    netnews           532/tcp    readnews
    netwall           533/udp                           #For emergency broadcasts
    uucp              540/tcp    uucpd
    klogin            543/tcp                           #Kerberos login
    kshell            544/tcp    krcmd                  #Kerberos remote shell
    dhcpv6-client     546/tcp                           #DHCPv6 Client
    dhcpv6-client     546/udp                           #DHCPv6 Client
    dhcpv6-server     547/tcp                           #DHCPv6 Server
    dhcpv6-server     547/udp                           #DHCPv6 Server
    afpovertcp        548/tcp                           #AFP over TCP
    afpovertcp        548/udp                           #AFP over TCP
    new-rwho          550/udp    new-who
    rtsp              554/tcp                           #Real Time Stream Control Protocol
    rtsp              554/udp                           #Real Time Stream Control Protocol
    remotefs          556/tcp    rfs rfs_server
    rmonitor          560/udp    rmonitord
    monitor           561/udp
    nntps             563/tcp    snntp                  #NNTP over TLS/SSL
    nntps             563/udp    snntp                  #NNTP over TLS/SSL
    whoami            565/tcp
    whoami            565/udp
    ms-shuttle        568/tcp                           #Microsoft shuttle
    ms-shuttle        568/udp                           #Microsoft shuttle
    ms-rome           569/tcp                           #Microsoft rome
    ms-rome           569/udp                           #Microsoft rome
    http-rpc-epmap    593/tcp                           #HTTP RPC Ep Map
    http-rpc-epmap    593/udp                           #HTTP RPC Ep Map
    hmmp-ind          612/tcp                           #HMMP Indication
    hmmp-ind          612/udp                           #HMMP Indication
    hmmp-op           613/tcp                           #HMMP Operation
    hmmp-op           613/udp                           #HMMP Operation
    ldaps             636/tcp    sldap                  #LDAP over TLS/SSL
    doom              666/tcp                           #Doom Id Software
    doom              666/udp                           #Doom Id Software
    msexch-routing    691/tcp                           #MS Exchange Routing
    msexch-routing    691/udp                           #MS Exchange Routing
    kerberos-adm      749/tcp                           #Kerberos administration
    kerberos-adm      749/udp                           #Kerberos administration
    kerberos-iv       750/udp                           #Kerberos version IV
    mdbs_daemon       800/tcp
    mdbs_daemon       800/udp
    ftps-data         989/tcp                           #FTP data, over TLS/SSL
    ftps              990/tcp                           #FTP control, over TLS/SSL
    telnets           992/tcp                           #Telnet protocol over TLS/SSL
    imaps             993/tcp                           #IMAP4 protocol over TLS/SSL
    ircs              994/tcp                           #IRC protocol over TLS/SSL
    pop3s             995/tcp    spop3                  #pop3 protocol over TLS/SSL (was spop3)
    pop3s             995/udp    spop3                  #pop3 protocol over TLS/SSL (was spop3)
    kpop             1109/tcp                           #Kerberos POP
    nfsd-status      1110/tcp                           #Cluster status info
    nfsd-keepalive   1110/udp                           #Client status info
    nfa              1155/tcp                           #Network File Access
    nfa              1155/udp                           #Network File Access
    activesync       1034/tcp                           #ActiveSync Notifications
    phone            1167/udp                           #Conference calling
    opsmgr           1270/tcp                           #Microsoft Operations Manager
    opsmgr           1270/udp                           #Microsoft Operations Manager
    ms-sql-s         1433/tcp                           #Microsoft-SQL-Server
    ms-sql-s         1433/udp                           #Microsoft-SQL-Server
    ms-sql-m         1434/tcp                           #Microsoft-SQL-Monitor
    ms-sql-m         1434/udp                           #Microsoft-SQL-Monitor               
    ms-sna-server    1477/tcp
    ms-sna-server    1477/udp
    ms-sna-base      1478/tcp
    ms-sna-base      1478/udp
    wins             1512/tcp                           #Microsoft Windows Internet Name Service
    wins             1512/udp                           #Microsoft Windows Internet Name Service
    ingreslock       1524/tcp    ingres
    stt              1607/tcp
    stt              1607/udp
    l2tp             1701/udp                           #Layer Two Tunneling Protocol
    pptconference    1711/tcp
    pptconference    1711/udp
    pptp             1723/tcp                           #Point-to-point tunnelling protocol
    msiccp           1731/tcp
    msiccp           1731/udp
    remote-winsock   1745/tcp
    remote-winsock   1745/udp
    ms-streaming     1755/tcp
    ms-streaming     1755/udp
    msmq             1801/tcp                           #Microsoft Message Queue
    msmq             1801/udp                           #Microsoft Message Queue
    radius           1812/udp                           #RADIUS authentication protocol
    radacct          1813/udp                           #RADIUS accounting protocol
    msnp             1863/tcp
    msnp             1863/udp
    ssdp             1900/tcp
    ssdp             1900/udp
    close-combat     1944/tcp
    close-combat     1944/udp
    nfsd             2049/udp    nfs                    #NFS server
    knetd            2053/tcp                           #Kerberos de-multiplexor
    mzap             2106/tcp                           #Multicast-Scope Zone Announcement Protocol
    mzap             2106/udp                           #Multicast-Scope Zone Announcement Protocol
    qwave            2177/tcp                           #QWAVE
    qwave            2177/udp                           #QWAVE Experiment Port
    directplay       2234/tcp                           #DirectPlay
    directplay       2234/udp                           #DirectPlay
    ms-olap3         2382/tcp                           #Microsoft OLAP 3
    ms-olap3         2382/udp                           #Microsoft OLAP 3
    ms-olap4         2383/tcp                           #Microsoft OLAP 4
    ms-olap4         2383/udp                           #Microsoft OLAP 4
    ms-olap1         2393/tcp                           #Microsoft OLAP 1
    ms-olap1         2393/udp                           #Microsoft OLAP 1
    ms-olap2         2394/tcp                           #Microsoft OLAP 2
    ms-olap2         2394/udp                           #Microsoft OLAP 2
    ms-theater       2460/tcp
    ms-theater       2460/udp
    wlbs             2504/tcp                           #Microsoft Windows Load Balancing Server
    wlbs             2504/udp                           #Microsoft Windows Load Balancing Server
    ms-v-worlds      2525/tcp                           #Microsoft V-Worlds
    ms-v-worlds      2525/udp                           #Microsoft V-Worlds
    sms-rcinfo       2701/tcp                           #SMS RCINFO
    sms-rcinfo       2701/udp                           #SMS RCINFO
    sms-xfer         2702/tcp                           #SMS XFER
    sms-xfer         2702/udp                           #SMS XFER
    sms-chat         2703/tcp                           #SMS CHAT
    sms-chat         2703/udp                           #SMS CHAT
    sms-remctrl      2704/tcp                           #SMS REMCTRL
    sms-remctrl      2704/udp                           #SMS REMCTRL
    msolap-ptp2      2725/tcp                           #MSOLAP PTP2
    msolap-ptp2      2725/udp                           #MSOLAP PTP2
    icslap           2869/tcp
    icslap           2869/udp
    cifs             3020/tcp
    cifs             3020/udp
    xbox             3074/tcp                           #Microsoft Xbox game port
    xbox             3074/udp                           #Microsoft Xbox game port
    ms-dotnetster    3126/tcp                           #Microsoft .NET ster port
    ms-dotnetster    3126/udp                           #Microsoft .NET ster port
    ms-rule-engine   3132/tcp                           #Microsoft Business Rule Engine Update Service
    ms-rule-engine   3132/udp                           #Microsoft Business Rule Engine Update Service
    msft-gc          3268/tcp                           #Microsoft Global Catalog
    msft-gc          3268/udp                           #Microsoft Global Catalog
    msft-gc-ssl      3269/tcp                           #Microsoft Global Catalog with LDAP/SSL
    msft-gc-ssl      3269/udp                           #Microsoft Global Catalog with LDAP/SSL
    ms-cluster-net   3343/tcp                           #Microsoft Cluster Net
    ms-cluster-net   3343/udp                           #Microsoft Cluster Net
    ms-wbt-server    3389/tcp                           #MS WBT Server
    ms-wbt-server    3389/udp                           #MS WBT Server
    ms-la            3535/tcp                           #Microsoft Class Server
    ms-la            3535/udp                           #Microsoft Class Server
    pnrp-port        3540/tcp                           #PNRP User Port
    pnrp-port        3540/udp                           #PNRP User Port
    teredo           3544/tcp                           #Teredo Port
    teredo           3544/udp                           #Teredo Port
    p2pgroup         3587/tcp                           #Peer to Peer Grouping
    p2pgroup         3587/udp                           #Peer to Peer Grouping
    upnp-discovery   3702/tcp                           #UPNP v2 Discovery
    dvcprov-port     3776/tcp                           #Device Provisioning Port
    dvcprov-port     3776/udp                           #Device Provisioning Port
    msfw-control     3847/tcp                           #Microsoft Firewall Control
    msdts1           3882/tcp                           #DTS Service Port
    sdp-portmapper   3935/tcp                           #SDP Port Mapper Protocol
    sdp-portmapper   3935/udp                           #SDP Port Mapper Protocol
    net-device       4350/tcp                           #Net Device
    net-device       4350/udp                           #Net Device
    ipsec-msft       4500/tcp                           #Microsoft IPsec NAT-T
    ipsec-msft       4500/udp                           #Microsoft IPsec NAT-T
    llmnr            5355/tcp                           #LLMNR
    llmnr            5355/udp                           #LLMNR
    rrac             5678/tcp                           #Remote Replication Agent Connection
    rrac             5678/udp                           #Remote Replication Agent Connection
    dccm             5679/tcp                           #Direct Cable Connect Manager
    dccm             5679/udp                           #Direct Cable Connect Manager
    ms-licensing     5720/tcp                           #Microsoft Licensing
    ms-licensing     5720/udp                           #Microsoft Licensing
    directplay8      6073/tcp                           #DirectPlay8
    directplay8      6073/udp                           #DirectPlay8
    man              9535/tcp                           #Remote Man Server
    rasadv           9753/tcp
    rasadv           9753/udp
    imip-channels   11320/tcp                           #IMIP Channels Port
    imip-channels   11320/udp                           #IMIP Channels Port
    directplaysrvr  47624/tcp                           #Direct Play Server
    directplaysrvr  47624/udp                           #Direct Play Server
    sql6          7210/tcp
    sapdbni72          7269/tcp
    Copyright (c) 1993-2004 Microsoft Corp.
    This file contains port numbers for well-known services defined by IANA
    Format:
    <service name>  <port number>/<protocol>  [aliases...]   [#<comment>]
    echo                7/tcp
    echo                7/udp
    discard             9/tcp    sink null
    discard             9/udp    sink null
    systat             11/tcp    users                  #Active users
    systat             11/udp    users                  #Active users
    daytime            13/tcp
    daytime            13/udp
    qotd               17/tcp    quote                  #Quote of the day
    qotd               17/udp    quote                  #Quote of the day
    chargen            19/tcp    ttytst source          #Character generator
    chargen            19/udp    ttytst source          #Character generator
    ftp-data           20/tcp                           #FTP, data
    ftp                21/tcp                           #FTP. control
    ssh                22/tcp                           #SSH Remote Login Protocol
    telnet             23/tcp
    smtp               25/tcp    mail                   #Simple Mail Transfer Protocol
    time               37/tcp    timserver
    time               37/udp    timserver
    rlp                39/udp    resource               #Resource Location Protocol
    nameserver         42/tcp    name                   #Host Name Server
    nameserver         42/udp    name                   #Host Name Server
    nicname            43/tcp    whois
    domain             53/tcp                           #Domain Name Server
    domain             53/udp                           #Domain Name Server
    bootps             67/udp    dhcps                  #Bootstrap Protocol Server
    bootpc             68/udp    dhcpc                  #Bootstrap Protocol Client
    tftp               69/udp                           #Trivial File Transfer
    gopher             70/tcp
    finger             79/tcp
    http               80/tcp    www www-http           #World Wide Web
    hosts2-ns          81/tcp                           #HOSTS2 Name Server
    hosts2-ns          81/udp                           #HOSTS2 Name Server
    kerberos           88/tcp    krb5 kerberos-sec      #Kerberos
    kerberos           88/udp    krb5 kerberos-sec      #Kerberos
    hostname          101/tcp    hostnames              #NIC Host Name Server
    iso-tsap          102/tcp                           #ISO-TSAP Class 0
    rtelnet           107/tcp                           #Remote Telnet Service
    pop2              109/tcp    postoffice             #Post Office Protocol - Version 2
    pop3              110/tcp                           #Post Office Protocol - Version 3
    sunrpc            111/tcp    rpcbind portmap        #SUN Remote Procedure Call
    sunrpc            111/udp    rpcbind portmap        #SUN Remote Procedure Call
    auth              113/tcp    ident tap              #Identification Protocol
    uucp-path         117/tcp
    sqlserv           118/tcp                           #SQL Services
    nntp              119/tcp    usenet                 #Network News Transfer Protocol
    ntp               123/udp                           #Network Time Protocol
    epmap             135/tcp    loc-srv                #DCE endpoint resolution
    epmap             135/udp    loc-srv                #DCE endpoint resolution
    netbios-ns        137/tcp    nbname                 #NETBIOS Name Service
    netbios-ns        137/udp    nbname                 #NETBIOS Name Service
    netbios-dgm       138/udp    nbdatagram             #NETBIOS Datagram Service
    netbios-ssn       139/tcp    nbsession              #NETBIOS Session Service
    imap              143/tcp    imap4                  #Internet Message Access Protocol
    sql-net           150/tcp
    sqlsrv            156/tcp
    pcmail-srv        158/tcp                           #PCMail Server
    snmp              161/udp                           #SNMP
    snmptrap          162/udp    snmp-trap              #SNMP trap
    print-srv         170/tcp                           #Network PostScript
    bgp               179/tcp                           #Border Gateway Protocol
    irc               194/tcp                           #Internet Relay Chat Protocol       
    ipx               213/udp                           #IPX over IP
    rtsps             322/tcp
    rtsps             322/udp
    mftp              349/tcp
    mftp              349/udp
    ldap              389/tcp                           #Lightweight Directory Access Protocol
    https             443/tcp    MCom                   #HTTP over TLS/SSL
    https             443/udp    MCom                   #HTTP over TLS/SSL
    microsoft-ds      445/tcp
    microsoft-ds      445/udp
    kpasswd           464/tcp                           # Kerberos (v5)
    kpasswd           464/udp                           # Kerberos (v5)
    isakmp            500/udp    ike                    #Internet Key Exchange
    crs               507/tcp                           #Content Replication System
    crs               507/udp                           #Content Replication System
    exec              512/tcp                           #Remote Process Execution
    biff              512/udp    comsat
    login             513/tcp                           #Remote Login
    who               513/udp    whod
    cmd               514/tcp    shell
    syslog            514/udp
    printer           515/tcp    spooler
    talk              517/udp
    ntalk             518/udp
    efs               520/tcp                           #Extended File Name Server
    router            520/udp    route routed
    ulp               522/tcp   
    ulp               522/udp   
    timed             525/udp    timeserver
    tempo             526/tcp    newdate
    irc-serv          529/tcp
    irc-serv          529/udp
    courier           530/tcp    rpc
    conference        531/tcp    chat
    netnews           532/tcp    readnews
    netwall           533/udp                           #For emergency broadcasts
    uucp              540/tcp    uucpd
    klogin            543/tcp                           #Kerberos login
    kshell            544/tcp    krcmd                  #Kerberos remote shell
    dhcpv6-client     546/tcp                           #DHCPv6 Client
    dhcpv6-client     546/udp                           #DHCPv6 Client
    dhcpv6-server     547/tcp                           #DHCPv6 Server
    dhcpv6-server     547/udp                           #DHCPv6 Server
    afpovertcp        548/tcp                           #AFP over TCP
    afpovertcp        548/udp                           #AFP over TCP
    new-rwho          550/udp    new-who
    rtsp              554/tcp                           #Real Time Stream Control Protocol
    rtsp              554/udp                           #Real Time Stream Control Protocol
    remotefs          556/tcp    rfs rfs_server
    rmonitor          560/udp    rmonitord
    monitor           561/udp
    nntps             563/tcp    snntp                  #NNTP over TLS/SSL
    nntps             563/udp    snntp                  #NNTP over TLS/SSL
    whoami            565/tcp
    whoami            565/udp
    ms-shuttle        568/tcp                           #Microsoft shuttle
    ms-shuttle        568/udp                           #Microsoft shuttle
    ms-rome           569/tcp                           #Microsoft rome
    ms-rome           569/udp                           #Microsoft rome
    http-rpc-epmap    593/tcp                           #HTTP RPC Ep Map
    http-rpc-epmap    593/udp                           #HTTP RPC Ep Map
    hmmp-ind          612/tcp                           #HMMP Indication
    hmmp-ind          612/udp                           #HMMP Indication
    hmmp-op           613/tcp                           #HMMP Operation
    hmmp-op           613/udp                           #HMMP Operation
    ldaps             636/tcp    sldap                  #LDAP over TLS/SSL
    doom              666/tcp                           #Doom Id Software
    doom              666/udp                           #Doom Id Software
    msexch-routing    691/tcp                           #MS Exchange Routing
    msexch-routing    691/udp                           #MS Exchange Routing
    kerberos-adm      749/tcp                           #Kerberos administration
    kerberos-adm      749/udp                           #Kerberos administration
    kerberos-iv       750/udp                           #Kerberos version IV
    mdbs_daemon       800/tcp
    mdbs_daemon       800/udp
    ftps-data         989/tcp                           #FTP data, over TLS/SSL
    ftps              990/tcp                           #FTP control, over TLS/SSL
    telnets           992/tcp                           #Telnet protocol over TLS/SSL
    imaps             993/tcp                           #IMAP4 protocol over TLS/SSL
    ircs              994/tcp                           #IRC protocol over TLS/SSL
    pop3s             995/tcp    spop3                  #pop3 protocol over TLS/SSL (was spop3)
    pop3s             995/udp    spop3                  #pop3 protocol over TLS/SSL (was spop3)
    kpop             1109/tcp                           #Kerberos POP
    nfsd-status      1110/tcp                           #Cluster status info
    nfsd-keepalive   1110/udp                           #Client status info
    nfa              1155/tcp                           #Network File Access
    nfa              1155/udp                           #Network File Access
    activesync       1034/tcp                           #ActiveSync Notifications
    phone            1167/udp                           #Conference calling
    opsmgr           1270/tcp                           #Microsoft Operations Manager
    opsmgr           1270/udp                           #Microsoft Operations Manager
    ms-sql-s         1433/tcp                           #Microsoft-SQL-Server
    ms-sql-s         1433/udp                           #Microsoft-SQL-Server
    ms-sql-m         1434/tcp                           #Microsoft-SQL-Monitor
    ms-sql-m         1434/udp                           #Microsoft-SQL-Monitor               
    ms-sna-server    1477/tcp
    ms-sna-server    1477/udp
    ms-sna-base      1478/tcp
    ms-sna-base      1478/udp
    wins             1512/tcp                           #Microsoft Windows Internet Name Service
    wins             1512/udp                           #Microsoft Windows Internet Name Service
    ingreslock       1524/tcp    ingres
    stt              1607/tcp
    stt              1607/udp
    l2tp             1701/udp                           #Layer Two Tunneling Protocol
    pptconference    1711/tcp
    pptconference    1711/udp
    pptp             1723/tcp                           #Point-to-point tunnelling protocol
    msiccp           1731/tcp
    msiccp           1731/udp
    remote-winsock   1745/tcp
    remote-winsock   1745/udp
    ms-streaming     1755/tcp
    ms-streaming     1755/udp
    msmq             1801/tcp                           #Microsoft Message Queue
    msmq             1801/udp                           #Microsoft Message Queue
    radius           1812/udp                           #RADIUS authentication protocol
    radacct          1813/udp                           #RADIUS accounting protocol
    msnp             1863/tcp
    msnp             1863/udp
    ssdp             1900/tcp
    ssdp             1900/udp
    close-combat     1944/tcp
    close-combat     1944/udp
    nfsd             2049/udp    nfs                    #NFS server
    knetd            2053/tcp                           #Kerberos de-multiplexor
    mzap             2106/tcp                           #Multicast-Scope Zone Announcement Protocol
    mzap             2106/udp                           #Multicast-Scope Zone Announcement Protocol
    qwave            2177/tcp                           #QWAVE
    qwave            2177/udp                           #QWAVE Experiment Port
    directplay       2234/tcp                           #DirectPlay
    directplay       2234/udp                           #DirectPlay
    ms-olap3         2382/tcp                           #Microsoft OLAP 3
    ms-olap3         2382/udp                           #Microsoft OLAP 3
    ms-olap4         2383/tcp                           #Microsoft OLAP 4
    ms-olap4         2383/udp                           #Microsoft OLAP 4
    ms-olap1         2393/tcp                           #Microsoft OLAP 1
    ms-olap1         2393/udp                           #Microsoft OLAP 1
    ms-olap2         2394/tcp                           #Microsoft OLAP 2
    ms-olap2         2394/udp                           #Microsoft OLAP 2
    ms-theater       2460/tcp
    ms-theater       2460/udp
    wlbs             2504/tcp                           #Microsoft Windows Load Balancing Server
    wlbs             2504/udp                           #Microsoft Windows Load Balancing Server
    ms-v-worlds      2525/tcp                           #Microsoft V-Worlds
    ms-v-worlds      2525/udp                           #Microsoft V-Worlds
    sms-rcinfo       2701/tcp                           #SMS RCINFO
    sms-rcinfo       2701/udp                           #SMS RCINFO
    sms-xfer         2702/tcp                           #SMS XFER
    sms-xfer         2702/udp                           #SMS XFER
    sms-chat         2703/tcp                           #SMS CHAT
    sms-chat         2703/udp                           #SMS CHAT
    sms-remctrl      2704/tcp                           #SMS REMCTRL
    sms-remctrl      2704/udp                           #SMS REMCTRL
    msolap-ptp2      2725/tcp                           #MSOLAP PTP2
    msolap-ptp2      2725/udp                           #MSOLAP PTP2
    icslap           2869/tcp
    icslap           2869/udp
    cifs             3020/tcp
    cifs             3020/udp
    xbox             3074/tcp                           #Microsoft Xbox game port
    xbox             3074/udp                           #Microsoft Xbox game port
    ms-dotnetster    3126/tcp                           #Microsoft .NET ster port
    ms-dotnetster    3126/udp                           #Microsoft .NET ster port
    ms-rule-engine   3132/tcp                           #Microsoft Business Rule Engine Update Service
    ms-rule-engine   3132/udp                           #Microsoft Business Rule Engine Update Service
    msft-gc          3268/tcp                           #Microsoft Global Catalog
    msft-gc          3268/udp                           #Microsoft Global Catalog
    msft-gc-ssl      3269/tcp                           #Microsoft Global Catalog with LDAP/SSL
    msft-gc-ssl      3269/udp                           #Microsoft Global Catalog with LDAP/SSL
    ms-cluster-net   3343/tcp                           #Microsoft Cluster Net
    ms-cluster-net   3343/udp                           #Microsoft Cluster Net
    ms-wbt-server    3389/tcp                           #MS WBT Server
    ms-wbt-server    3389/udp                           #MS WBT Server
    ms-la            3535/tcp                           #Microsoft Class Server
    ms-la            3535/udp                           #Microsoft Class Server
    pnrp-port        3540/tcp                           #PNRP User Port
    pnrp-port        3540/udp                           #PNRP User Port
    teredo           3544/tcp                           #Teredo Port
    teredo           3544/udp                           #Teredo Port
    p2pgroup         3587/tcp                           #Peer to Peer Grouping
    p2pgroup         3587/udp                           #Peer to Peer Grouping
    upnp-discovery   3702/tcp                           #UPNP v2 Discovery
    dvcprov-port     3776/tcp                           #Device Provisioning Port
    dvcprov-port     3776/udp                           #Device Provisioning Port
    msfw-control     3847/tcp                           #Microsoft Firewall Control
    msdts1           3882/tcp                           #DTS Service Port
    sdp-portmapper   3935/tcp                           #SDP Port Mapper Protocol
    sdp-portmapper   3935/udp                           #SDP Port Mapper Protocol
    net-device       4350/tcp                           #Net Device
    net-device       4350/udp                           #Net Device
    ipsec-msft       4500/tcp                           #Microsoft IPsec NAT-T
    ipsec-msft       4500/udp                           #Microsoft IPsec NAT-T
    llmnr            5355/tcp                           #LLMNR
    llmnr            5355/udp                           #LLMNR
    rrac             5678/tcp                           #Remote Replication Agent Connection
    rrac             5678/udp                           #Remote Replication Agent Connection
    dccm             5679/tcp                           #Direct Cable Connect Manager
    dccm             5679/udp                           #Direct Cable Connect Manager
    ms-licensing     5720/tcp                           #Microsoft Licensing
    ms-licensing     5720/udp                           #Microsoft Licensing
    directplay8      6073/tcp                           #DirectPlay8
    directplay8      6073/udp                           #DirectPlay8
    man              9535/tcp                           #Remote Man Server
    rasadv           9753/tcp
    rasadv           9753/udp
    imip-channels   11320/tcp                           #IMIP Channels Port
    imip-channels   11320/udp                           #IMIP Channels Port
    directplaysrvr  47624/tcp                           #Direct Play Server
    directplaysrvr  47624/udp                           #Direct Play Server
    sql6          7210/tcp
    sapdbni72          7269/tcp
    sapdp00  3200/tcp
    sapdp01  3201/tcp
    sapdp02  3202/tcp
    sapdp03  3203/tcp
    sapdp04  3204/tcp
    sapdp05  3205/tcp
    sapdp06  3206/tcp
    sapdp07  3207/tcp
    sapdp08  3208/tcp
    sapdp09  3209/tcp
    sapdp10  3210/tcp
    sapdp11  3211/tcp
    sapdp12  3212/tcp
    sapdp13  3213/tcp
    sapdp14  3214/tcp
    sapdp15  3215/tcp
    sapdp16  3216/tcp
    sapdp17  3217/tcp
    sapdp18  3218/tcp
    sapdp19  3219/tcp
    sapdp20  3220/tcp
    sapdp21  3221/tcp
    sapdp22  3222/tcp
    sapdp23  3223/tcp
    sapdp24  3224/tcp
    sapdp25  3225/tcp
    sapdp26  3226/tcp
    sapdp27  3227/tcp
    sapdp28  3228/tcp
    sapdp29  3229/tcp
    sapdp30  3230/tcp
    sapdp31  3231/tcp
    sapdp32  3232/tcp
    sapdp33  3233/tcp
    sapdp34  3234/tcp
    sapdp35  3235/tcp
    sapdp36  3236/tcp
    sapdp37  3237/tcp
    sapdp38  3238/tcp
    sapdp39  3239/tcp
    sapdp40  3240/tcp
    sapdp41  3241/tcp
    sapdp42  3242/tcp
    sapdp43  3243/tcp
    sapdp44  3244/tcp
    sapdp45  3245/tcp
    sapdp46  3246/tcp
    sapdp47  3247/tcp
    sapdp48  3248/tcp
    sapdp49  3249/tcp
    sapdp50  3250/tcp
    sapdp51  3251/tcp
    sapdp52  3252/tcp
    sapdp53  3253/tcp
    sapdp54  3254/tcp
    sapdp55  3255/tcp
    sapdp56  3256/tcp
    sapdp57  3257/tcp
    sapdp58  3258/tcp
    sapdp59  3259/tcp
    sapdp60  3260/tcp
    sapdp61  3261/tcp
    sapdp62  3262/tcp
    sapdp63  3263/tcp
    sapdp64  3264/tcp
    sapdp65  3265/tcp
    sapdp66  3266/tcp
    sapdp67  3267/tcp
    sapdp68  3268/tcp
    sapdp69  3269/tcp
    sapdp70  3270/tcp
    sapdp71  3271/tcp
    sapdp72  3272/tcp
    sapdp73  3273/tcp
    sapdp74  3274/tcp
    sapdp75  3275/tcp
    sapdp76  3276/tcp
    sapdp77  3277/tcp
    sapdp78  3278/tcp
    sapdp79  3279/tcp
    sapdp80  3280/tcp
    sapdp81  3281/tcp
    sapdp82  3282/tcp
    sapdp83  3283/tcp
    sapdp84  3284/tcp
    sapdp85  3285/tcp
    sapdp86  3286/tcp
    sapdp87  3287/tcp
    sapdp88  3288/tcp
    sapdp89  3289/tcp
    sapdp90  3290/tcp
    sapdp91  3291/tcp
    sapdp92  3292/tcp
    sapdp93  3293/tcp
    sapdp94  3294/tcp
    sapdp95  3295/tcp
    sapdp96  3296/tcp
    sapdp97  3297/tcp
    sapdp98  3298/tcp
    sapdp99  3299/tcp
    sapgw00  3300/tcp
    sapgw01  3301/tcp
    sapgw02  3302/tcp
    sapgw03  3303/tcp
    sapgw04  3304/tcp
    sapgw05  3305/tcp
    sapgw06  3306/tcp
    sapgw07  3307/tcp
    sapgw08  3308/tcp
    sapgw09  3309/tcp
    sapgw10  3310/tcp
    sapgw11  3311/tcp
    sapgw12  3312/tcp
    sapgw13  3313/tcp
    sapgw14  3314/tcp
    sapgw15  3315/tcp
    sapgw16  3316/tcp
    sapgw17  3317/tcp
    sapgw18  3318/tcp
    sapgw19  3319/tcp
    sapgw20  3320/tcp
    sapgw21  3321/tcp
    sapgw22  3322/tcp
    sapgw23  3323/tcp
    sapgw24  3324/tcp
    sapgw25  3325/tcp
    sapgw26  3326/tcp
    sapgw27  3327/tcp
    sapgw28  3328/tcp
    sapgw29  3329/tcp
    sapgw30  3330/tcp
    sapgw31  3331/tcp
    sapgw32  3332/tcp
    sapgw33  3333/tcp
    sapgw34  3334/tcp
    sapgw35  3335/tcp
    sapgw36  3336/tcp
    sapgw37  3337/tcp
    sapgw38  3338/tcp
    sapgw39  3339/tcp
    sapgw40  3340/tcp
    sapgw41  3341/tcp
    sapgw42  3342/tcp
    sapgw43  3343/tcp
    sapgw44  3344/tcp
    sapgw45  3345/tcp
    sapgw46  3346/tcp
    sapgw47  3347/tcp
    sapgw48  3348/tcp
    sapgw49  3349/tcp
    sapgw50  3350/tcp
    sapgw51  3351/tcp
    sapgw52  3352/tcp
    sapgw53  3353/tcp
    sapgw54  3354/tcp
    sapgw55  3355/tcp
    sapgw56  3356/tcp
    sapgw57  3357/tcp
    sapgw58  3358/tcp
    sapgw59  3359/tcp
    sapgw60  3360/tcp
    sapgw61  3361/tcp
    sapgw62  3362/tcp
    sapgw63  3363/tcp
    sapgw64  3364/tcp
    sapgw65  3365/tcp
    sapgw66  3366/tcp
    sapgw67  3367/tcp
    sapgw68  3368/tcp
    sapgw69  3369/tcp
    sapgw70  3370/tcp
    sapgw71  3371/tcp
    sapgw72  3372/tcp
    sapgw73  3373/tcp
    sapgw74  3374/tcp
    sapgw75  3375/tcp
    sapgw76  3376/tcp
    sapgw77  3377/tcp
    sapgw78  3378/tcp
    sapgw79  3379/tcp
    sapgw80  3380/tcp
    sapgw81  3381/tcp
    sapgw82  3382/tcp

    Hi,
    I had the same problem, but i didn't get any answer in that forum.
    I deinstalled the SAP Software (regard the end of the threat
    https://forums.sdn.sap.com/click.jspa?searchID=22036513&messageID=6625975) and then I installed the software again. Then the system ran and i didn't have any more problems with the message server.
    I didn't installed the MS Loopback Adapter, because i am connected to a network.
    Best regards,
    Günther Klee

  • Messaging Server commadmin  and running example programs

    Hi
    1.I am trying to add users to SunMessaging Server (i have installed the identity server and can login to the console ), when i use the commadmin command i Get a Internal server error , the following is the Error in the server Logs
    2. There are some particluar examples that come with the messaging server , they are in the directory examples (hello_world.c) ... i am unable to compile them ...i get a linking error as given below (after the messaging server error)
    SEVERE (10997): StandardWrapperValve[commLDAPAuth]: Servlet.service() for s
    ervlet commLDAPAuth threw exception
    javax.servlet.ServletException: com.sun.identity.authentication.spi.AuthLoginException: null
    Failed to create New AuthContext: Error while processing XML request
    XML response is either Empty or Invalid
            at sun.comm.cli.server.servlet.commAuth.execute(commAuth.java:183)
            at sun.comm.cli.server.servlet.commServlet.doPost(commServlet.java:90)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve
    .java:720)
            at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
            at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
            at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
            at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    Compile using
    gcc  hello_world.c -I/opt/SUNWmsgsr/include/ -L/opt/SUNWmsgsr/lib/  -limta -lsocket -lgen -lintl -lnsl -lpthread -lc -ldl -lposix4 -lm
    Undefined                       first referenced
    symbol                             in file
    mtaErrno                            /var/tmp//ccKjYt2c.o
    mtaEnqueueTo                        /var/tmp//ccKjYt2c.o
    mtaEnqueueStart                     /var/tmp//ccKjYt2c.o
    mtaEnqueueWriteLine                 /var/tmp//ccKjYt2c.o
    mtaPostmasterAddress                /var/tmp//ccKjYt2c.o
    mtaDone                             /var/tmp//ccKjYt2c.o
    mtaInit                             /var/tmp//ccKjYt2c.o
    mtaDateTime                         /var/tmp//ccKjYt2c.o
    mtaEnqueueFinish                    /var/tmp//ccKjYt2c.o
    mtaStrError                         /var/tmp//ccKjYt2c.o

    I'm not sure what exactly you're trying to do.
    Once you install commcli, you should be able to use the command-line tools. They work, but you have to have been consistant in giving answers to all the questions asked.
    You also may not share the amadmin password with any other password. It must be unique.
    There is no need to compile anything to get Messaging Server to work, or to provision it with commcli.

  • Sun Java System Messaging Server - necessary components

    People, prompt: for Sun Java System Messaging Server besides ldap, what is necessary?

    Hi,
    What is it you want to do with your messaging server installation? If you don't want UWC access (i.e. IMAP/POP access only) then Messaging Server is all you need (along with an LDAP server which may or may not be installed on the same system). A mail-relay system for example requires very little, in fact during configuration you can disable the store to leave MTA functionality only.
    Shane.

  • Doubt about Sun Java System Messaging Server 6 2005Q1

    Hi all,
    After some problems with our Messaging Server 5.2, my manager and his manager are agree now with the messaging server upgrade.
    But now they want a detailed report explaining the improvements between the 5.2 version and the 6 2005Q1 one.
    Any of you know any link with this kind of information (technical characteristics, costs, ...) ?
    Any link or idea will be really welcome.
    Thanks in advance for your help
    Kind Regards

    There have been MANY improvements in the product, as well as hundreds of bugs fixed.
    Some of the highlights:
    1. Automatic repair of many database and mailbox problems.
    2. Automatic restart of crashed processes
    3. Improved Cluster control and debugging
    4. Improved integration with external virus and spam scanning solutions
    5. Improved monitoring tools
    Your Sales Engineer should have a presentation available for you, if you like.

  • Sapwebdispatcher: ERROR: Connection to message server failed

    Hi Team,
    We have been facing an issue on the webdispatcher. Web-disaptcher is notable to communicate with the Message Server[PRD-XI].
    =====================
    Environment: Set-up =
    =====================
    1. The Webdispatcher is in DMZ. We have opened the port 8100 at the firewall.
    ==========================================================================
    ERROR MESSAGE
    ==========================================================================
    [Thr 2058] Fri Jan 11 18:53:27 2008
    [Thr 2058] *** ERROR => NiBufIConnect: non-buffered connect pending after
    5000ms (hdl 4;10.1.10.56:8100) [nibuf.cpp 4611]
    [Thr 2058] *** ERROR => Connection request from (-1/65535/0) to host:
    10.1.10.56, service: 8100 failed (NIECONN_REFUSED)
    [icxxconn_mt.c 2738]
    [Thr 2058] *** ERROR => IcmConnClientRqCreate() failed (rc=-8)
    [icrxx_mt.c 5100]
    [Thr 2058] *** ERROR => Could not connect to SAP Message Server at
    10.1.10.56. URL=/msgserver/text/logon?version=1.2 [icrxx_mt.c 2459]
    [Thr 2058] *** ERROR => rc=-1, HTTP response code: 0 [icrxx_mt.c 2460][Thr 2058] *** ERROR => see also OSS note 552286 [icrxx_mt.c 2461]
    ==========================================================================
    SAPWEBDISPATCHER VERSION DETAILS:
    ==========================================================================
    wd011:wpiadm 73> sapwebdisp -v
    SAP Web Dispatcher Version 7.00.10, multithreaded, ASCII, 64 BIT
    kernel information
    system name =
    kernel release = 700
    database library =
    compiled on = AIX 2 5 005DD9CD4C00
    compile time = May 19 2007 01:59:47
    update level = 0
    patch number = 110
    source id = 0.111
    supported environment
    operating system
    AIX 1 5
    AIX 2 5
    AIX 3 5
    =============================================================================
    TEST OUTPUT
    ==========================================================================
    wd011:wpiadm 71> sapwebdisp -bootstrap
    SAP Web Dispatcher Bootstrap
    ============================
    This bootstrap will perform the following steps:
    1. create profile file "sapwebdisp.pfl"for SAP Web Dispatcher (if not
    already existing)
    2. create user for web based administration in file "icmauth.txt"(if notalready exisiting)
    3. start SAP Web Dispatcher with the created profile
    After the bootstrap you can use the web based administration
    Generating Profile "sapwebdisp.pfl"
    Hostname of Message Server (rdisp/mshost): 10.1.10.56
    HTTP Port of Message Server (ms/http_port): 8100
    Checking connection to message server...
    ERROR: Connection to message server failed: NIECONN_REFUSED
    Do you want to continue with these settings? no
    ==========================================================================
    BACK-END APPLICATION MESSAGE SERVER DETAILS: SID: PPI [PI/XI]
    ==========================================================================
    icm/server_port_0 PROT=HTTP,PORT=80$$
    ms/server_port_0 PROT=HTTP,PORT=81$$
    trc file: "dev_ms", trc level: 1, release: "700"
    [Thr 1] Thu Jan 3 15:31:05 2008
    [Thr 1] WLM Tag 'PPI/MSG' successfully set for this process
    [Thr 1] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
    systemid 324 (IBM RS/6000 with AIX)
    relno 7000
    patchlevel 0
    patchno 110
    intno 20050900
    make: multithreaded, Unicode, 64 bit, optimized
    pid 2519162
    [Thr 1] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 2519162)
    [msxxserv_mt. 1824]
    [Thr 1] SigISetDefaultAction : default handling for signal 20
    [Thr 1] load acl file = /usr/sap/PPI/SYS/global/ms_acl_info
    [Thr 1] MsGetOwnIpAddr: my host addresses are :
    [Thr 1] 1 : [10.1.10.56] pi100 (HOSTNAME)
    [Thr 1] 2 : [127.0.0.1] loopback (LOCALHOST)
    [Thr 1] 3 : [10.1.99.4] pi100v (NILIST)
    [Thr 1] MsHttpInit: full qualified hostname = pi100
    [Thr 1] HTTP logging is switch off
    [Thr 1] set HTTP state to LISTEN
    [Thr 1] ms/icf_info_server : deleted
    [Thr 1] *** I listen to port sapmsPPI (3600) ***
    [Thr 1] *** I listen to internal port 3900 (3900) ***
    [Thr 1] *** HTTP port 8100 state LISTEN ***
    [Thr 1] CUSTOMER KEY: >R1306811094<
    [Thr 1] Thu Jan 3 15:31:28 2008
    [Thr 1] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/urlprefix (403
    Forbidden)
    [Thr 1] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/logon_groups (403
    Forbidden)
    ======================+++++++++++++++++++++++++++==============================
    Please find the attached file for a better understanding of the trace file.
    A quick action on this would be much appreciated.
    Please let me know for any information required.
    Thank you.
    Regards,
    ~sagar

    Vipin,
    I don't have access to our firewall myself to confirm what ports and services we opened (I worked with our Network Operations team to get this done), but if I recall correctly, it was pretty limited, just http and https over tcp ports 80, 443, 8100, and 8101.  Probably could even restrict that to just https over 443 and 8101.  However, from your configuration, you don't yet have your web dispatcher configured to talk to your message server over https, only http.  I would recommend that you get the web dispatched completely configured and working in as close to your final desired configuration as possible while keeping it inside your firewall, not your dmz.  Then move it to the dmz and see what breaks, and that way you know it's just the firewall that needs configuration at that point.
    To configure the SSL termination, the following are the parameters required and the way that I configured them in our scenario (which terminates incoming SSL requests and re-encrypts them when sending them on to the backend, and also uses SSL for message server communication):
    rdisp/mshost = mshost.domain.org
    ms/https_port = 8101
    wdisp/server_info_protocol = https
    wdisp/group_info_protocol = https
    wdisp/url_map_protocol = https
    icm/server_port_1 = PROT=HTTPS,PORT=443,TIMEOUT=30,PROCTIMEOUT=600
    icm/server_port_2 = PROT=HTTPS,PORT=8101,TIMEOUT=30,PROCTIMEOUT=600
    icm/host_name_full = wdhost.domain.org     (note, use the externally visible name as registered on your SSL certificate for web dispatcher here; does not need to match the actual machine hostname, but must be resolvable in external DNS)
    icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=\usr\sap\RW1\W00\data\icmanroot/admin,AUTHFILE=\usr\sap\RW1\SYS\global\security\data\icmauth.txt,PORT=8101
    ssl/ssl_lib = $(DIR_EXECUTABLE)\sapcrypto.dll
    ssl/server_pse = $(DIR_INSTANCE)\sec\SAPSSLS.pse
    ssl/client_pse = $(DIR_INSTANCE)\sec\SAPSSLC.pse
    wdisp/ssl_encrypt = 2
    wdisp/ssl_auth = 1
    is/HTTP/show_detailed_errors = FALSE
    wdisp/permission_table = $(DIR_INSTANCE)\sec\ptab
    On the backend host I have the following parameters:
    sec/libsapsecu = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
    ssl/ssfapi_lib = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
    ssl/ssl_lib = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
    ssf/name = SAPSECULIB
    icm/server_port_2 = PROT=HTTPS,PORT=443,PROCTIMEOUT=-1
    ms/server_port_1 = PROT=HTTPS,PORT=8101
    Naturally, a server certificate is configured on the backend that the web dispatcher trusts (it can be an internally generated certificate; the outside public just needs to trust the web dispatcher's certificate, so that one should come from a recognized CA).  Port 8101 is NOT open from the outside, just from the dmz and only to/from the web dispatcher host (this does allow me to use the webadmin interface from the inside).  The https service also has to be activated on the backend in SMICM.
    There's good advice about security setup for the web dispatcher in Note 870127, and troubleshooting advice in the Note mentioned in your tracefile output, 552286.  Fairly complete documentation is in the online help at http://help.sap.com/saphelp_nw70/helpdata/en/de/89023c59698908e10000000a11402f/frameset.htm.  Note 538405 is also good, more for performance configuration than security.
    I hope you find this helpful.
    --Matt

  • Messaging Server won't start up, or acts strangely

    One of the config files has disappeared, or the Messaging Server
    is acting "strangely".
    <P>
    Because of bugs in the Berkeley DB code, it is possible for a configuration
    file to become corrupted. The Messaging Server will remove a severly
    corrupted config file, but there is a threshold of corruption that may
    impact server operation and may not cause files to be deleted.
    <P>
    If you notice that one of the config files is gone (your server won't start),
    or that your server is acting strangely, DO NOT REPLACE IT WITH A BACKUP COPY.
    This will most likely re-introduce the corruption. Instead, make note of
    all the configuration changes you've made with the Messaging Server admin gui.
    The easiest way to do this is to print out each page. Then replace the
    config file with a clean one from the install directory or from the media.
    <P>
    Before re-starting the server, check each admin gui page to make sure it
    matches your printout, and make any necessary changes. Then start the server.
    <P>
    The installed configuration files are located in the message spool area,
    by default: /var/spool/postoffice/config and they are:<BR>
    <P>
    Account-Handler<BR>
    Account-Manager<BR>
    AutoReply-Handler<BR>
    Configuration-Manager<BR>
    Dispatch<BR>
    Error-Handler<BR>
    Finger-Server<BR>
    IMAP4-Server<BR>
    MTA-Accounts<BR>
    Mailbox-Deliver<BR>
    POP3-Server<BR>
    Program-Deliver<BR>
    SMTP-Accept<BR>
    SMTP-Deliver<BR>
    SMTP-Router<BR>
    UNIX-Deliver<BR>
    <P>
    Un-configured copies of all these files may be found under the directory
    you installed the server at:
    <P>
    /install/server/data<BR>
    <P>
    The fresh files will all have a .install appended to them.

    Shut the computer dow, remove the power cord and all peripherals, wait for 30 seconds, replace the power cod and press the start button at the same time.
    If you do not have the iSight, try the steps in [this|http://docs.info.apple.com/article.html?artnum=300908] Apple article.

  • Messaging Server 4.x ,IMS 5.x expire rules precedence

    Hi All
    I'm working with Netscape Messaging Server 4.15p7, but I wil update it to IMS 5.2 in a few months. I need define 2 types of expiration rules. One rule for VIP users and other rules for default users.
    The VIP's users mail never expire. Default's users mail expire if it's 180 days old.
    This is the output of configutil command:
    store.expirerule.vipuser.exclusive|no
    store.expirerule.vipuser.folderpattern|user/vipuser/*
    store.expirerule.vipuser.foldersizebytes|1073741824
    store.expirerule.vipuser.messagecount|1000000
    store.expirerule.vipuser.messagedays|1000000
    store.expirerule.vipuser.messagesize|1073741824
    store.expirerule.vipuser.messagesizedays|1000000
    store.expirerule.default.exclusive|no
    store.expirerule.default.folderpattern|user/*
    store.expirerule.default.foldersizebytes|1073741824
    store.expirerule.default.messagecount|1000000
    store.expirerule.default.messagedays|180
    store.expirerule.default.messagesize|1073741824
    store.expirerule.default.messagesizedays|1000000
    I read in Admin Guide:
    "If you specify more than one rule for a mailbox, all expiration rules will apply,
    but the most restrictive rule takes precedence."
    Hence, the default expiration rule (most restrictive) will delete all the mail ?. How do I resolve this problem?

    PUt your vip rule "exclusive". Early versions of 4.15 ignored that, but p7 should be fine.

  • Messaging Server: local DNS domain should include "localhost"

    I'm having problems with Netscape
    Messaging Server (3 and 4) in environments with certain DNS configurations.
    <P>
    Most customers configure their systems to use the local hosts database (/etc/hosts file)
    before using DNS to resolve hostnames to IP addresses.
    <P>
    Netscape Messaging Server uses its own custom hostname resolution software, and
    generally ignores system configurations that use /etc/hosts. This can cause
    problems if the Messaging Server were to look for information that is not in
    DNS, but in /etc/hosts.
    <P>
    Netscape Messaging software will occassionally attempt a DNS lookup on
    "localhost". If you do not have localhost entries in the search path, you
    may see one of two problems:
    <OL>
    <LI>Sendmail Emulator will return spurious Couldn't connect to
    <mailserver hostname> to deliver mail. error.
    <P>
    This problem will happen in Messaging Server 4.0, 4.0.1, 4.0.3. This problem is fixed in 4.05 and 4.1.
    <P>
    For example, if you typed the following:
    <P>
    #/usr/lib/sendmail -v [email protected]
    Subject: this is a test message
    test text
    You might have received the following response:
    <P>
    sendmail: Couldn't connect to to deliver mail.
    sendmail: Message saved in /dead.letter
    <P>
    <LI>smtp is very slow (15 seconds - 2 minutes) in returning banner.
    <P>
    This problem may happen with Messaging Server 4.1.
    <P>
    System/Mail Administrators:
    <P>
    Netscape Messaging Server will ignore /etc/hosts
    and NIS in this case.
    Adding localhost to your /etc/hosts
    file or NIS hosts database will not
    resolve this problem.
    <P>
    You can verify the source of this problem with nslookup:
    <P>
    (succesful test)
    <P>
    machinename.domain.com% nslookup localhost
    Server: nameserver.domain.com
    Address: 200.00.XX.XXX
    Name: localhost
    Address: 127.0.0.1
    (failed test)
    <P>
    kwikimart.mcom.com% nslookup localhost.machinename.domain.com.
    Server: machinename.domain.com
    Address: 200.00.XX.XXX
    *** machinename.domain.com can't find localhost.domain.com.: Non-existent
    host/domain
    <P>
    Network/DNS Administrators:
    <P>
    A DNS entry for localhost should be created for any domain in the search
    path of the messaging server. "localhost." exists in the root nameservers
    on the Internet, so this problem should onnly occur in networks where the
    following is true:
    <OL>
    <LI>Direct access to the internet root (.) is not available.
    <LI>Internal DNS does not have an entry for "localhost."
    </OL>
    <P>
    The simplest solution is to create a domain and entry for "localhost." or
    add "localhost" to a domain in mail server's domain search path.
    <P>
    NOTE: Netscape Technical Support can explain what DNS entries are required
    for Netscape products. Netscape Technical Support does not support or
    configure DNS for customers. This includes BIND (named) and Microsoft DNS.
    </OL>

    I think I found the answer to your problem here.
    To save you some trouble, here is the quote:
    {quote}
    Q: Names on the internet are working fine, but looking up local names
    from /etc/hosts or DHCP doesn't seem to work.
    A: Resolver code sometime does strange things when given names without
    any dots in. Win2k and WinXP may not use the DNS at all and just
    try and look up the name using WINS. On unix look at "options ndots:"
    in "man resolv.conf" for details on this topic. Testing lookups
    using "nslookup" or "dig" will work, but then attempting to run
    "ping" will get a lookup failure, appending a dot to the end of the
    hostname will fix things. (ie "ping myhost" fails, but "ping
    myhost." works. The solution is to make sure that all your hosts
    have a domain set ("domain" in resolv.conf, or set a domain in
    your DHCP server, see below fr Windows XP and Mac OS X).
    Any domain will do, but "localnet" is traditional. Now when you
    resolve "myhost" the resolver will attempt to look up
    "myhost.localnet" so you need to have dnsmasq reply to that name.
    The way to do that is to include the domain in each name on
    /etc/hosts and/or to use the --expand-hosts and --domain options.
    {quote}

  • Problems With Adding Users to Messaging Server

    I am having trouble installing SUN ONE Messaging Server 6.0
    It is a new install of Solaris 9 on x86. I went through the Solaris Install and made sure that I did not install Apache or Sendmail, along with the older versions of the Messaging and Web server. When I gog to the Sun Java Enterprise System install, I selected Everything (I have tried part installs, but last time i picked Everything). During the setup I used all default settings.
    Once it was installed I ran the comm_dssetup.pl script, but was only able to use "schema 1", it would give me errors like:
    ========================
    You must first install Identity Server specifying this existing suffix (DIT)
    Rerun this program once you have installed Identity Server
    ========================
    I then ran configutil to change the http port of the SunONE Messenger Express to be port 85.
    If I use the Sun ONE Console, I can start / stop the Messaging services, view the logs, brows the directory server.
    If I add a user, the user I add cannot access any of the services. In fact the only user that I can use is the "admin" user.
    Can someone please help me figure out what I am doing wrong, and how to add users?
    I am working on a test box for now, so if anyone wants config files or more information please let me know, as I would very much like to move past this problem.

    Thank you for your quick reply.
    The Server that I am setting up now is a test server, we are looking at moving to Solaris for the Sun ONE Web server, and it would be nice to use the messaging server as well.
    I am surprised at how complex this is, and how little documentation there is about the technical parts.
    I will start looking into getting the patches, and "registering" the mail service.
    At least I have an idea of what I am looking for now. :)
    At this point, because I am using a developer version of Solaris and JES, and doing it on my own time (we are not a very big company) I would like to avoid calling tech support, as I am not sure what the cost would be for that.
    When I re-install the OS, which I have done at least once a day for the last 6 or 7 days, I will install the items you have suggested.
    Thanks for the advice and the point in the direction of getting this working.

  • Just got new air and trying to set up. When I put in my Apple ID and password it comes up with error message 'can't sign in because of server error. Try again signing on.' Trying again does not fix. I know my ID and PW are right as work on other devices.

    Just got new air and trying to set up. When I put in my Apple ID and password it comes up with error message 'can't sign in because of server error. Try again signing on.' Trying again does not fix. I know my ID and PW are right as work on other apple devices I have.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

Maybe you are looking for