Java add-in cannot connect to message server

I'm installing a Java add-in to an ABAP system (NW 2004s). During the start of the Java Engine, the processes cannot be started. When I look al dev_jcontrol, I see this:
Thr 2860] Sun Jul 30 19:59:45 2006
[Thr 2860] ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2764]
[Thr 2860] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 1740
     (SI_ECONN_REFUSE; I4; ST; <IP-ADDRESS>:36) [nixxi.cpp    2764]
[Thr 2860] *** ERROR => MsIAttachEx: NiBufConnect to /36 failed (rc=NIECONN_REFUSED) [msxxi.c      652]
[Thr 2860] *** WARNING => Can't attach to message server (/36) [rc = -100]-> reconnect [jcntrms.c    368]
It seems that JControl tries to connect to the message server on port 36. Where can this be corrected?

Discovering this thread when I had the same problem (with port number 36 not the 3901) I was frustrated to see no posted solution.  So now that I have solved it, here is  my solution:
Cause
=====
The J2EE add in adds a number of parameters to the default profile - however it does not import these into the database version of the profiles in RZ10.  Hence if you modify a parameter in the DEFAULT.PFL using RZ10 and activate it without first doing a "Import Profiles of Active Servers" the parameters added by J2EE install dissappear.
Solution
========
In my case, I just compared the DEFAULT.PFL.BAK file to DEFAULT.PFL and readded the missing entries - incase people have lost there BAK file, here are the entries I needed to put back in (note your port numbers and instance numbers may differ):
SAP Central Service Instance for J2EE
j2ee/scs/host =
j2ee/scs/system = 01
j2ee/ms/port = 3901
j2ee/dbtype = ora
j2ee/dbname = BWP
j2ee/dbhost =
Restart the instance and magic! It works.
Regards,
Jason Currey

Similar Messages

  • Logon balancing error:cannot connect to message server (rc=9)

    Hi Gurus,
    I have just installed SAP GUI 710 in my new system and copied the saplogon.ini file to the respective folder in the new system.
    I am now able to see the servers in the logon pad but not able to login .
    When i try clicking the logon i am getting the below error message "
    "Logon balancing error:cannot connect to message server (rc=9)"
    Then further expanding the message i am getting the below message
    " Error: Server '?' unknown
    Tue Mar 02 11:51:05 2010
    Release 710
    Component NI (Network Interface), Version 39 rc =-3 , Detail NiErrSet. "
    Can you please help me out in accessing the servers.
    Regards
    Vikram

    Check OSS Note : 882741
    Summary
    Symptom
    Some users cannot longer connect SAP GUI to any SAP systems e.g. via SAP Logon, SAPShortcut etc. although they have not made any update to either SAP GUI or SAP system. The attempt to connect to the SAP system ends with  error messages like this: "Logon balancing error: could not connect to message server (rc=9)", "service sapmsXXX unknown" or "service sapdp## unknown".
    The detailed error information is as follows:
        Error: service 'sap...' unknown
        Component NI (network interface), ...
        rc = -3, module ninti.c, line 463
        Detail NiPGetServByName: service 'sap...' not found
        System Call getservbyname
    Other terms
    service sapmsXXX unknown,logon balancing,service sapdp## not found error,etc/services,drivers\etc\services,getservbyname, sapdpxx
    MSN Messenger 7.5,Connection Troubleshooter
    Reason and Prerequisites
    The reason for this malfunction is, that the datatype of the registry value HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath
    was changed from REG_EXPAND_SZ to REG_SZ.
    The following programs are currently known to cause this registry change:
    Starting MSN Messenger 7.5 "Connection Troubleshooter" (Build 7.5.0299).
    Installation of MSN Messenger 7.0 or MSN Messenger 7.5 with the option automatic scanning and configuration of ports.
    This modification prevents the expansion of environment variables in the value of the parameter. Therefore,
          %SystemRoot%\system32\drivers\etc
    is not translated to
       c:\windows\system32\drivers\etc
    and the services database is not found by the API function getservbyname().
    If you have checked the datatype of registry value DatabasePath and it is REG_EXPAND_SZ, apply SAP Note 52959 to check the appropriate settings in the services file.
    Solution
    Start the registry editor and rename the registry value HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath
    Create an Expandable-String Value (REG_EXPAND_SZ) with the same name and value.
    If more PCs are affected, you can export the correct value to a .reg file and import the .reg to other PCs.
    If you have the same problem although you have not installed Microsoft MSN Messenger 7.5, create a customer message, collect the following information and attach it to the message according to note 541726 or upload it to sapservX (see note 40024):
    Scan your workstations for spyware and viruses with up-to-date virus definitions. If you already did that what was the result ?
    What software has been installed recently ? (client software, Firewall)
    Create a registry export of the following key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstallon the affected and the unaffected PC respectively and attach the two .reg files to the customer message.
    Are the users on the affected workstations logged on with administrative credentials (local administrator ) ?
    Create an MPS Report Networking and Setup Perf of an affected workstation so that we can check if they use an software in common.
    You can download the Networking MPS Reporting Tool at:
    http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_Network.exe
    You can find a short description about the features of the tool at:
    http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_Network_Readme.txt
    The Setup Perf MPS Reporting Tool is located at:
    http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_SETUPPerf.EXE
    Run this report too on identically configured workstations, which are not affected.
    If you have already changed back the DatabasePath parameter and if after a while the value was switched back to REG_SZ perform the  following steps to help us to identify the reason for this problem:
    Switch the datatype back to REG_EXPAND_SZ
    Download Regmon from http://www.sysinternals.com on the affected machines
    Enable auditing on the affected clients
    Modify the settings of the eventlog so that no important entry is deleted!
    Open Regedit and highlight HKLM\System\CCS\Services\TCPIP\Parameters
    Right-click on "Parameters" and choos "Permissions" and click "Advanced".
    Choose "Auditing" and "Add".
    Add "Everyone" and select "this key only" under "Apply onto".
    Check the boxes "Set Value" and "Delete" and click "OK".
    Apply these settings
    Start Regmon and apply the correct filter settings:
    Press the "magnifying glass" button  to stop the monitoring.
    Press the rubber button to delete  all logged entries.
    Go to "Options Filter/Highlight".
    Copy the following value to the include field: tcpip\parameters\databasepath and click "Apply".
    Start Regmon by pressing the magnifying glass button
    Verify that logging starts when you double-click the TCPIP Key in regedit!
    If the datatype will be changed again,  provide us the output of the monitoring tools.
    Solution provided by Microsoft
    This issue is said to be fixed as of build 7.5.0311 of MSN messenger.

  • Load balancing error 88: Cannot connect to message server (rc=9)

    Hi,
    We are facing a problem in the system object.
    initially we created a system object with loadbalancing template ,and everything worked fine, but after couple of months we found a error "Load balancing error 88: Cannot connect to message server (rc=9)", so we have created a Dedicated application server object which resolved our issue.
    My question is why has this problem occured, and since my client side has lot number of users and we wish to keep the system back to load balancing object.
    How can i make my system object work back, what might be the causes?
    Thanks
    Srivastsa Kondapally

    Load balancing only works if the message server is available and the logon group specified exists as well.  If one of those changes, then it will break until you get the values set correctly.

  • Cannot connect to message server

    Hi,
    I have integrate a BSP Application from a sap ERP system in my portal !
    After I checked this BSP, my ICM from my SAP ERP system failed : Server Overload !
    I tried to restart the SAP system and know I have this error in the mmc :
    disp+work.exe Running but not connected to Message Server !
    In my dev_disp file :
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1617]
    ***LOG Q0F=> DpLoopInit, nomstry () [dpxxdisp.c   1704]
    ERROR => Connection to Message Server failed - check installation [dpxxdisp.c   1705]
    In my std_server0.out :
    Framework started for 151840 ms.
    SAP J2EE Engine Version 7.00   PatchLevel is running!
    PatchLevel March 04, 2006 16:23 GMT
    >
    Login :
    SAP J2EE Engine Version 7.00   PatchLevel is shutting down!  PatchLevel March 04, 2006 16:23 GMT
    Stopping services.
      Service jmsconnector stopped. (0 ms)
      Service sld stopped. (0 ms)
      Service com.adobe~TrustManagerService stopped. (31 ms)
      Service com.adobe~DocumentServicesConfiguration stopped. (16 ms)
      Service tcsecwssec~service stopped. (0 ms)
      Service tc.CBS.Service stopped. (0 ms)
      Service com.adobe~DocumentServicesDestProtoService stopped. (15 ms)
      Service pmi stopped. (47 ms)
      Service tcsecvsi~service stopped. (0 ms)
      Service tcsecdestinations~service stopped. (0 ms)
      Service tcsecsecurestorage~service stopped. (0 ms)
      Service adminadapter stopped. (0 ms)
      Service monitor stopped. (20000 ms) - Timeout expired.
      Service com.adobe~LicenseService stopped. (0 ms)
    In my std_dispatcher.out
    Framework started for 46754 ms.
    SAP J2EE Engine Version 7.00   PatchLevel is running!
    PatchLevel March 04, 2006 16:23 GMT
    >
    Login :[ParNew 159114K->11211K(557952K), 0.3431082 secs]
    [Full GC[Unloading class sun.reflect.GeneratedMethodAccessor17]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor5]
    [Unloading class sun.reflect.GeneratedMethodAccessor15]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor12]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor2]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor8]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor9]
    [Unloading class sun.reflect.GeneratedMethodAccessor5]
    [Unloading class sun.reflect.GeneratedMethodAccessor24]
    [Unloading class sun.reflect.GeneratedMethodAccessor14]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor11]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor3]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor10]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor7]
    [Unloading class sun.reflect.GeneratedMethodAccessor10]
    [Unloading class sun.reflect.GeneratedMethodAccessor11]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor4]
    [Unloading class sun.reflect.GeneratedMethodAccessor3]
    [Unloading class sun.reflect.GeneratedMethodAccessor7]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1]
    [Unloading class sun.reflect.GeneratedMethodAccessor21]
    [Unloading class sun.reflect.GeneratedMethodAccessor25]
    [Unloading class sun.reflect.GeneratedMethodAccessor20]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor13]
    [Unloading class sun.reflect.GeneratedMethodAccessor12]
    [Unloading class sun.reflect.GeneratedMethodAccessor26]
    [Unloading class sun.reflect.GeneratedMethodAccessor6]
    [Unloading class sun.reflect.GeneratedMethodAccessor29]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor6]
    [Unloading class sun.reflect.GeneratedMethodAccessor22]
    [Unloading class sun.reflect.GeneratedMethodAccessor28]
    [Unloading class sun.reflect.GeneratedMethodAccessor9]
    [Unloading class sun.reflect.GeneratedMethodAccessor27]
    [Unloading class sun.reflect.GeneratedMethodAccessor23]
    [Unloading class sun.reflect.GeneratedMethodAccessor13]
    [Unloading class sun.reflect.GeneratedMethodAccessor8]
    [Unloading class sun.reflect.GeneratedMethodAccessor16]
    11211K->10224K(557952K), 0.5038284 secs]

    Can you help help me, please.
    Thank you.
    Best regards,
    Mathieu

  • Logon balancing error 88: Cannot connect to message server(rc=9)

    HI.
    I AM USING R3 ECC 6.0
    PLZ HAVE A LOOK ON BELOW IMAGES.
    IN VM WEAR I HAVE INSTALLED THE ECC
    THROUGH THE WINDOWS  7 I AM LOGIN ECC 6.0
    EVERY TIME WORKING
    BUT RECENTLY I  BOO MY PC WINDOWS 7
    BUT IF I TRY TO RUN THE SAP LOGON
    ABOVE ERROR MESSAGE IS COMING.
    I SEARCHED IN NET.
    SOME BODY SUGGESTED THAT I NEED ADD ONE LINE AT SERVICES. FILE...(PLZ HAVE A LOOK ON 2 IMAGE)
    IS IT CORRECT TO ADD THE LINE..
    CAN I ADD THIS LINE
    SAPMS<SID>  3600/TCP
    ABOVE ONE IS CORRECT OR NOT ...
    WHERE CAN I ADD IN VM WEAR SYSTEM OR IN WINDOWS 7 SYSTEM.
    AND ALSO I AM HAVE ONE MORE DOUBT.
    PLZ HAVE A LOOK ON 2 IMAGE..
    I AM HAVING 2 SERVICES. FILES..
    I NEED YOUR VALUBALE SUGGESTIONS..

    Hi,
    Please change the <SID> of SAPMS<SID> to the real SID of the target system.
    For exmple, if the SID is ABC, then "SAPMSABC  3600/TCP"
    And about the port, actually the port should be 36<nn>.
    So please find the instance number of your message server.
    For example if the instance number is 00, then "SAPMSABC  3600/TCP"
    if the instance number is 10, then "SAPMSABC  3610/TCP"
    Hope this helps.
    Best regards,
    Shuai

  • My mini iPad will not connect to the internet. Getting a message that it cannot connect to the server.  What is this and how do I fix it?

    My mini iPad suddenly will not connect to the internet or retrieve my email.  I'm getting an error message that says "cannot connect to the server".  How do I fix this?

    Nevermind.  I found the answer from someone else's question.  Thank you.

  • HT1420 I am trying to rent a movie on my Apple TV and I keep getting the error message "Apple TV cannot connect to the server"  What can I do to correct this problem?

    Why does my Apple TV keep giving me the message "Apple TV cannot connect to the server" when I try and rent a movie to watch?

    Hello dprice3885,
    Thanks for using Apple Support Communities.
    Take a look at the Wi-Fi troubleshooting since you can access the network but not the content.
    Apple TV: Basic troubleshooting
    http://support.apple.com/kb/HT6106
    Apple TV (2nd and 3rd generation): Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS4546
    Have a nice day,
    Mario

  • I have two iPads and one is connected to the internet but my other iPad was connected then was not and since then I have not been able to add my internet back onto my iPad it only says cannot connect to the server any help would be great thanks

    I have two iPads and one is connected to the internet but my other iPad was connected then was not and since then I have not been able to add my internet back onto my iPad it only says cannot connect to the server any help would be great thanks

    If you are having WiFi problems it is necessary to isolate whether the problem is with your network or your iPad. Note: Do NOT consider your network to be blameless if some other devices can connect to it.
    First, test your iPad on some other WiFi networks: a friends, Starbucks, Barnes &amp; Noble, etc.
    If it works well there then the problem is probably with your network. Try restarting your WiFi router by removing power for 30 seconds. If that does not help check for a firmware update for your router. If none exists which corrects the problem consider replacing the router.
    If your iPad does not function well on other networks it possibly has a hardware problem. You could try Settings > General > Reset > Reset Network Settings to see if that corrects the problem. If not, contact Apple Support or visit an Apple store for evaluation. They can provide a replacement if your iPad is bad.
    If you need more help please give the make, model, and version of your WiFi router and how you have it configured.

  • When restoring... get message that it cannot connect to software server

    when restoring.. get a message that it cannot connect to software server.  What do I do next?

    Here is Apple's article on your error.
    http://support.apple.com/kb/TS1814

  • IPad Air wifi works but Safari returns message cannot connect to Apple server?

    using iPad Air wifi works but Safari returns message cannot connect to Apple server? (Friends iPad otherwise couldn't post!)

    Many thanks for contacting me Carolyn. However the wifi was working fine and I found the solution from this posting:
    https://discussions.apple.com/message/25449630
    So resetting the iPad by holding down the Home and Sleep buttons together to reset it did the job.
    Cheers
    Peter
    Sent from my iPad

  • Why are sent emails from mac mail going to out box and message saying cannot connect to ATT server?

    I receive emails via ATT to my mac mailbox. But when I send an email it goes to the out box and I get a message that it cannot connect to the server?
    The genius bar said that APPLE and ATT were working on this, but very frustrating. Any suggestions?

    Same is happening with me.  Was having intermittent DSL service - called AT&T to rectify.
    After the internet was back up and running, I could no longer send outgoing mail from my Mac Mail 5.3 application.  I didn't change any settings or update any software, yet the IT person i was talking to (the same who corrected my internet issue) was saying it was a Mail problem.
    I disagree considering it was working 1/2 hour before we started our conversation!
    Any insight would be helpful.
    Definitely set up the way AT&T suggested!

  • I keep getting the message "mail cannot connect to the server-." when it clearly can and does. How do I prevent these messages from appearing?

    See the title
    I keep getting the message "mail cannot connect to the server…." when it clearly can and does. How do I prevent these messages from appearing?
    help

    On your iPad or a Mac?
    You posted in the iMac community but your profile indicates an iPad 2.

  • I am getting the message that icloud cannot connect to the server

    Suddenly I am getting the message that iCloud cannot connect to the server.

    I have the same problem. Did you solve it already?

  • HT201269 I am trying to connect my iPhone to the cloud but when it asks me to agree to the new terms and conditions I click agree andI get a message stating it cannot connect to the server.

    I am trying to connect my iPhone to the cloud but when it asks me to agree to the new terms and conditions I click agree andI get a message stating it cannot connect to the server.

    Apple servers are currently down at the moment.  Try back later or wait until Apple resolves the issue.

  • TS3899 I tap on mail and I get a message that "cannot connect to the server" what does that mean and how do I fix it?

    Cannot connect to the server.  What to do?

    Hey LauradellLaurawidder,
    Thanks for the question. I understand you are experiencing issues with mail on your iPad. The following article may help to resolve your issue:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/TS3899
    Try these basic troubleshooting steps first
    1. Tap Safari and attempt to load a webpage (try any webpage). If you can load a webpage, then your device has Internet access. If you are unable to load a webpage, follow these troubleshooting steps.
              - Try to use an alternate Internet connection if available:
                        1. Try a different Wi-Fi connection
                        2. If your iOS device has an active cellular data plan, tap Settings > Wi-Fi and turn off Wi-Fi.
                        3. If the affected email account is provided by your Internet provider, see if your issue is resolved while connected to your home Wi-Fi network.*
    2. Log in to your email provider's website to ensure that the account is active and the password is correct.
    3. Restart your iOS device.
    4. Delete the affected email account from your device.
              - Tap Settings > Mail, Contacts, Calendars.
              - Choose the affected email account, then tap Delete Account.
              - Add your account again.
    * If you are only able to use your email account while connected to your home network, this may be a limitation put in place by your email service provider. For further support, please contact your email service provider directly.
    Additionally, if you are using a Gmail account you may find the following steps helpful:
    iOS: Gmail account will not connect to Gmail server
    http://support.apple.com/kb/TS3058
    Thanks,
    Matt M.

Maybe you are looking for

  • Itunes wont open on my pc

    itunes wont open on my pc, can anyone assist me?

  • Where is AirDrop on my MacBook?

    I have Lion installed on both my Mac Pro and my MacBook.  Both are connected to the same WiFi network, and are within a few feet of each other.  On my MacPro, when I open a Finder window one of the items in the Sidebar, directly under "All My Files",

  • How much is a new screen for a mac book pro

    how much is a new screen for a mac book pro? - mine is cracked and shattered, everything else seems to work at mo?

  • Email attachment count

    hello java guru's can someone tell me how will i get all the attachments(>2) and print each attachments content.. part = new Packages.javax.mail.internet.MimeBodyPart(is); for each of the attachment, i want the filename, filecontent in a sort of arra

  • I cannot get the Amazon kindle to connect to my Cisco Wireless network

    I'm running the 1142 APs with version 6.x on the WLC 4400. I have no security at the moment. Any ideas why it won't connect? thanks Gary