JRA connection to message server
Hi,
I want to use the JRA to connect to an ABAP back end. The backend is setup to allow load balancing and high availability using a message server and logon groups.
Is it possible to connect to the message server with the JRA. (for example : passing a logon group as a parameter)
Can we benefit from the load balancing offered by the message server.
Thanks.
Thierry Dagnino
Systems Architect
Hydro-Québec
Hi,
I just read about JRA and found the following facts.
'The SAP Java Resource Adapter (SAP JRA) is a J2EE -compatible connector for SAP systems. It enables the integration of SAP systems with J2EE application servers. The SAP JRA implements the standard J2EE interfaces for the SAP Java Connector (SAP JCo), thus simplifying communication between heterogeneous, distributed J2EE landscapes and SAP.
You can use the SAP JRA to call remote functions of an SAP system by executing RFC calls via TCP/IP.'
So I believe since its just an add-on like thing which connects to the SAP system via SAP JCO you shouldn't worry about connecting to message server.
Since while creating a JCO connection you can define whether it should be a load-balanced or not.
Check this link.
http://help.sap.com/saphelp_erp2004/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm
another example would be found here...
http://help.sap.com/saphelp_erp2004/helpdata/en/25/19e7752be1c8459258a072d87e3a34/frameset.htm
hope that clears your doubt.
Regards,
Siddhesh
Similar Messages
-
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 -
(102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
Hello,
I'm almost giving up on this...I've been messing with this for too long now...
I get this error message:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM
TYPE=B MSHOST=exts0002 GROUP=PUBLIC R3NAME=ANB MSSERV=sapmsANB PCS=1 ERROR hostname 'exts0002' unknown TIME
Tue Feb 14 16:40:02 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -2 MODULE ninti.c
LINE 332 DETAIL NiPGetHostByName2: hostname 'exts0002' not found SYSTEM CALL gethostbyname_r COUNTER 1
I try to get the flightlist demo to work. I've put in "sapmsANB 3600/tcp" in services file locally in my machine (I'm using Sneak Preview SP11).
I've also done everything in "/people/sugree.phatanapherom/blog/2005/08/14/configuring-sld-in-sneak-preview-sap-netweaver-04-sneak
I've done everything possible to get this to work, but no luck.
What is wrong here?, please helpNow I've put in "193.183.156.17 PetJoh PetJoh.afab.local" in Hosts -> rebooted -> but still can't ping exts0002 (or the fully resolved name to it) I can't ping the actual IP nr either.
I can, however use JCO java code like:
import com.sap.mw.jco.*;
public class R3Connect extends Object {
JCO.Client mConnection;
public R3Connect() {
try {
// Change the logon information to your own system/user
mConnection =
JCO.createClient(
"100", // SAP client
"rfcuser", // userid
"jakob", // password
// null, // language
"en", // language
"anb.af.hosting.emtab.com", // application server host name
"00"); // system number
mConnection.connect();
System.out.println(mConnection.getAttributes());
mConnection.disconnect();
} catch (Exception ex) {
ex.printStackTrace();
System.exit(1);
public static void main (String args[]) {
R3Connect app = new R3Connect();
This works perfectly fine to connect, Why doesn't SLD? -
RFC_ERROR_COMMUNICATION: Connect to message server host failed
We are trying to create JCO destination
and we are getting the below problem
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=sappw2ci GROUP=PUBLIC R3NAME=PW2 MSSERV=sapmsPW2 PCS=1 ERROR service 'sapmsPW2' unknown TIME Thu Jan 10 23:34:05 2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 1
we added sapmsPW2 in the services file still we are facing the problem
i saw all the related posts in the forum but nothing worked
please help me in resolving this issue and points will be awarded for sure
BalaHi,
This JCO Exception caused by network problems, connection breakdowns, gateway problems, unavailability of the remote SAP system, etc.
What you can do is: Get the host of the SAP System from dev_jrfc.trc or the JRFC trace; ping the SAP system from command line; check routers, gateways, SAP systems
If an error has occurred on a lower communication layer, for example an RFC_ERROR_COMMUNICATION or RFC_ERROR_SYSTEM_FAILURE exception, have a look at the dev_jrfc.trc files. These files are written by JRFC and can be found in the directories j2ee/cluster/server* of the J2EE Application Server Installation.
Please check this blog and link:
The specified item was not found.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fhelp%2fsdn_help_nw04s%2fsaphelp_nw04s%2fhelpdata%2fen%2f3a%2f3b1b40fcdd8f5ce10000000a155106%2fcontent.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fhelp%2fsdn_help_nw04s%2fsaphelp_nw04s%2fhelpdata%2fen%2f94%2f3c1b40fcdd8f5ce10000000a155106%2fcontent.htm
Hope it helps....
Regards,
Mona -
NW2004s Connect to Message Server Host Failed - BW to Portals connection
Hi,
I am trying to connect a SAP BW NW2004s Patch 8 system to a NW2004s Portal. All of the checks in RSPOR_SETUP are successful.
However when I try to launch a query from Bex Query it fails with the following message.
"Connect to message server host failedConnect_PM TYPE=B MSHOST=SAPMSCR6 GROUP=webshop1_biw R3NAME=CR6 MSSERV=01 PCS=1"
The message server entry in the System Landscape object for the BW Server is "SAPMSCR6". Is this right?
I have searched for information about this and can't find anything. I am sure it is something basic. As anyone else resolved this issue or do they have an idea what might be causing the problem?
Any suggestions gratefully received.
DaveGuys look at the below SAP note. it will help
SAP Note Number: 764881 Inf. Broad.Connect to message server host failed - sapms -
I am trying to install SLM as DISTRIBUTED SYSTEM. I have installed CENTRAL SERVICES INSTANCE on host 1 and DB instance on host 2.
and trying to install CENTRAL SERVICE on host 3.
CENTRAL SERVICES INSTANCE and DB instance install successfully.
I am getting this error message when installing CENTRAL SERVICE.
here is my sapinst_dev.log
=======================
Connect to message server (host/3900) failed: NIEHOST_UNKNOWN.
======================================================
here is my dev
=========================================================
trc file: "dev_ms", trc level: 1, release: "700"
[Thr 16384] Tue Feb 26 20:51:13 2008
[Thr 16384] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
systemid 387 (Intel x86 with Linux)
relno 7000
patchlevel 0
patchno 110
intno 20050900
make: multithreaded, Unicode, optimized
pid 5846
[Thr 16384] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 5846) [msxxserv_mt. 1824]
[Thr 16384] SigISetDefaultAction : default handling for signal 17
[Thr 16384] load acl file = /usr/sap/KGB/SYS/global/ms_acl_info
[Thr 16384] MsGetOwnIpAddr: my host addresses are :
[Thr 16384] 1 : [1XX.10.10.222] host1.mycompanyname.com (HOSTNAME)
[Thr 16384] 2 : [1XX.0.0.1] localhost.localdomain (LOCALHOST)
[Thr 16384] MsHttpInit: full qualified hostname = host1.mycompanyname.com
[Thr 16384] HTTP logging is switch off
[Thr 16384] set HTTP state to LISTEN
[Thr 16384] MsHttpOwnDomain: own domain[1] = host1.mycompanyname.com
[Thr 16384] ms/icf_info_server : deleted
[Thr 16384] *** I listen to internal port 3900 (3900) ***
[Thr 16384] *** HTTP port 8100 state LISTEN ***
[Thr 16384] CUSTOMER KEY: >T0444609119<
=========================================================
I have changed the hostname in all the file (1) hostname ,(2)/etc/sysconfig/network file . i even checked my hostname and it shows hostname as "HOST1" so i am confused even though hostname is "HOST1" but in dev_ms the IP ADRESS is resolving to "host1.mycompanyname.com"
3. Also when i am trying to run "startsap" or "stopsap" from host1 where central service instance is installed. It gives me "command not found" although i see all the exe file in /usr/sap/SID/SYS/exe/run. why my command not running.
. I have added the sapmsSID 3900/tcp entries in both HOST1 and HOST3 services file.Only that
When I grep on Error from the file I get
more sapinst_dev.log |grep error
Error number 8 error type SPECIFIC_CODE
Error number 211 error type SPECIFIC_CODE
pci_error_tolerance_time 1440 Default Immed
Registering Profile directory /usr/sap/MBA/SYS/profile for beeing one of the sources of additional files to be collected in case of errors
hth72231:mbaadm 25> more sapinst_dev.log | grep error |more
Error number 8 error type SPECIFIC_CODE
Error number 211 error type SPECIFIC_CODE
pci_error_tolerance_time 1440 Default Immed
Registering Profile directory /usr/sap/MBA/SYS/profile for beeing one of the sources of additional files to be collected in case of errors
Standard input: END
other
TRACE[E] 2014-06-25 10:08:17.327 [syuxcuser.cpp:2762]
CSyUserImpl_setOsInfos(iastring sName, iastring sID, tSyUserInfo& msUserNewinfo)
lib=syslib module=syslib
FSL-05014 Command '/usr/sbin/usermod' with parameters '-G "adm,bin,daemon,lp,mail,other,root,sys,users,sapinst" root' failed with return code 8: Login root
is currently in use
But that is not the issue -
Connect to message server host failed Connect_PM TYPE=B MSHOST=hmsnsw00
When i deploy "TutWD_FlightBooking" Sample WebDynpro application I get following error.
I have following setup.
NetWeaver developer Studio (NWDS) Version: 2.0.9
J2EE server running on the same machine where i have NWDS Version: SAP J2EE Engine/7.00 PatchLevel 105053.42
SLD Version: 7.0009.20060621180635.0000
Build: 20060622 2041, Depot: //sdt/com.sap.lcr/645_SP_REL, Changelist: 345651
ABAP R/3 system is on remote system (accessing clients R/3 system) on the network.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=hmsnsw00 GROUP=PUBLIC R3NAME=DEV MSSERV=sapmsDEV PCS=1 ERROR timeout while pending for route completion TIME Tue Mar 13 12:04:14 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -12 DETAIL NiErrSet COUNTER 1
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:90)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:122)
... 62 more
I get same error message when i test the JCo Metadata connection, Model data connection works fine.
The message server value under WebDynpro content admin is created with right values as i checked with Basis person.
My service file in C:/windows/system32/drivers/etc has entries for both J2EE stack entry and ABAP stack (on remote server) entry with port numbers.
When i ping the ABAP (remote server) from my machine command prompt I get response.
I am running out of options. I really appreciate your inputs.
RameshHi, I think this might have todo with the fact that your Java stack wants to connect with a server from the same logon group called "PUBLIC".
Please make sure you added the same logon group "PUBLIC" to the ABAP Server. Try transaction SMLG.
Also as posted above the SLD needs this info aswell.
After using the transaction SMLG, log in and out 5 times in a row to your ABAP stack using SAP GUI. This might actually force an update to the SLD.
Greetings,
Robbert
Message was edited by:
Robbert van Waveren -
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 KondapallyLoad 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.
-
RFC_ERROR_COMMUNICATION: Connect to message server failed
Hi,
I think this is the most common error that one can face and have seen quite a few threads in the forum. Still, i couldn't resolve my problem.
I am getting the following error when i tried to connect to SAP using SAP JCO connector with load balancing.
(102) RFC_ERROR_COMMUNICATION: Connect to message server failed
Connect_PM MSHOST=sapserver, R3NAME=D11, GROUP=Group1
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host sapserver, service sapmsD11)
TIME Wed Jun 24 16:05:49 2009
I added the service sapmsD11 in the services file of my client as well as in R/3 server.
I got the above error when i tried to connect using load balancing. Without load balancing, i was able to connect to R/3 server successfully. Can any one tell how to figure out the message server host name ?
Can the application server host name and message server host name be same ?
PS: I am able to ping my R/3 server from my client.
Thanks,
Prasad.Hi,
Check that you have configured properly using the below document. And check the message server of R/3 is configured properly in the SLD.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5
Function module to get the message server host name and port in R/3.
SLDAG_GET_MESSAGE_SERVER_INFO
See this thread also..
Re: Jco Destination
Regards,
Charan -
Connect to message server host failed;WSAECONNREFUSED: Connection refused
Hi All,
I am getting the following error when I tried to test the system connectivity from the portal to NSP instance.
Connection failed. Make sure that Single Sign-On is configured correctly
I found the following entry in the logs
Error> occured >Wed Feb 03 22:43:49,875<
RfcException:
message: Connect to message server host failed
Connect_PM TYPE=B MSHOST=abchome.abcsap.local GROUP=SPACE R3NAME=NSP MSSERV=sapmsNSP PCS=1
ERROR partner '192.xxx.xxx.123:sapmsNSP' not reached
TIME Wed Feb 03 22:43:49 2010
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2823
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 1
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
Both NSP and J2E instances are on the same server. OS - win2k3.
I checked the services file and have the sapmsNSP entry.
I am able to launch an SAP transaction from System Administration -> Support
RZ70 from NSP also fails JCo error. SLD_UC RFC itself works fine and the JCo RFC provider SLD_UC program is running
WEB AS & ITS connections work fine.
User authentication is from backend, NSP.
I think I have gone thru all the logs but could not resolve the issue.
I appreciate any help on this,
VictorI tried to go thru the thread. I did not find any clue as why only server connectivity is failing. ABAP trial version is running fine and the NW trial version is working fine too. These run without crashing. I did a lot of customizing on the portal but dont see any issues except the System Connectivity. Like I mentioned I did UME configuration to point to NSP ABAP instance and I can log into the portal with user credentials that I use to login to ABAP. I can launch webgui etc without any issues.
-
Error in wizard to create new RFC model: connect to message server failed
Hi,
I am trying to create a new RFC model in my Web Dynpro project in NWDS. In the wizard, I reach the step where I am required to enter the SAP login information. I then enter the details in the Load Balancing tab and click Next. The error message I get is:
Connect to message server failed
Connect_PM MSHOST=****, R3NAME=*, GROUP=**
LOCATION CPIC (TCP/IP) on local host ***
ERROR service '***" unknown
(Note: the *** are client-specific and therefore confidential info so I am removing them).
The thing is, a colleague of mine is also doing the same thing, but he is not encountering this error.
Can someone help me troubleshoot this?Hi
The user you use to connect in the RFC should have the authorization to S_RFC. In the Duet installation guide look for the section about defining a system user ID in UME. This section has details about the authorization required for the user.
Thanks -
NIECONN_REFUSED - Connect to message server failes while installing AS
Hi all,
during installation of an additional application server ABAP+JAVA,
I obtain this message error:
Connection to message server (<Central istance>) failed: NIECONN_REFUSED.
can anyone help me?
The Message Server into central istance has not error and is online.
best regards,
DavideHi,
Check you have the connection to network and also firewall settings. May be you can stop antivirus (if there is any) and give a try.
If it is loopback adapter then you may need to check the configuration.
Manoj -
When trying to install an extra dialog instance to our BW environment in the second step when giving the profile parameter after reading the profiles it comes with the message:
An exception occurred while connecting to the message server instance MBA/DVEBMGS00 on host pdirmba1, port 3900. DIAGNOSIS: The original exception was: wapsmod.ms.MsAttachFailed: Connect to message server (pdirmba1/3900) failed: MSENILAYER.. SOLUTION: Make sure that the message server is started.
Message server is started as CI and second DI are already running.
HP-UX, Oralce11.
Did set the temp directory and SAPINST_USE_HOSTNAME parameter into the environment of root.
already tried niping from di to ci on the port and thats working okOnly that
When I grep on Error from the file I get
more sapinst_dev.log |grep error
Error number 8 error type SPECIFIC_CODE
Error number 211 error type SPECIFIC_CODE
pci_error_tolerance_time 1440 Default Immed
Registering Profile directory /usr/sap/MBA/SYS/profile for beeing one of the sources of additional files to be collected in case of errors
hth72231:mbaadm 25> more sapinst_dev.log | grep error |more
Error number 8 error type SPECIFIC_CODE
Error number 211 error type SPECIFIC_CODE
pci_error_tolerance_time 1440 Default Immed
Registering Profile directory /usr/sap/MBA/SYS/profile for beeing one of the sources of additional files to be collected in case of errors
Standard input: END
other
TRACE[E] 2014-06-25 10:08:17.327 [syuxcuser.cpp:2762]
CSyUserImpl_setOsInfos(iastring sName, iastring sID, tSyUserInfo& msUserNewinfo)
lib=syslib module=syslib
FSL-05014 Command '/usr/sbin/usermod' with parameters '-G "adm,bin,daemon,lp,mail,other,root,sys,users,sapinst" root' failed with return code 8: Login root
is currently in use
But that is not the issue -
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
VikramCheck 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. -
Connect to message server failed
If there is a huge traffic to the webapplication server, we are getting the follwoing error
Connect to message server failed_ Connect_PM MSHOST=..., R3NAME=..., GROUP=CRM_ _ LOCATION CPIC (TCP/IP) on local host_ ERROR internal error_ (this retcode should be handled by caller of NI-layer)_ _ TIME Thu Jan 11 19:40:21 2007_ RELEASE 640_ COMPONENT NI (network interface)_ VERSION 37_ RC -8_ MODULE nixxi_r.cpp_ LINE 3977_ DETAIL NiCreateHandle: no free handle_ COUNTER 212_ ]]>
<source>SAP.Connector</source>
<stacktrace> at SAP.Connector.Connection.Open()_ _ at SAP.Connector.Connection.BeforeCall(SAPClient sapclient)_ _ at SAP.Connector.SAPClient.BeforeCall()_ _ at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)_ _ at RFC call
We have enabled connecion pooling.
Any help would be appreciated.
Thanks,
SandyHi,
pls check the IP address and better do not login in the LOOPBACKADAPTER
make one more new lan connection and give the folowing IP adress
192.168.100.10 or some 100.200
this will help you
Regards,
srikanth
Maybe you are looking for
-
Nota Fiscal Return for Non PO invoice
Hi I am trying to create a Credit Memo thru MIRO for a non PO original inovice. How ever I am getting this error that NF number is not unique. This means that this vendor has already a inovice document with the same NF number. I am not getting this e
-
I need to download my Verizon bill. For some reason my account says I'm a "Member" and not the "Manager" or "Owner" so I can't download the bill. I AM THE ONLY PERSON ON THIS ACCOUNT. I AM THE ONLY PERSON WHO HAS EVER BEEN ON THIS ACCOUNT. ONLY ME. J
-
@nywhere conflict with cd rom.
I have windows xp pro 2.0ghz p4, 256 ddr,128 geForce4,tv@nywhere master, and a brand new dvd rw,.. Anyways the problem occered that once i finished setting up all my drivers and software for my tuner card my cd rom drive stopped working,.. so i took
-
Upgraded outdoor 1310G bridge from Autonomous to LWAPP
I recently got a pair of outdoor 1310G bridge radios to create a bridge. I upgraded one of the APs from Autonomous to LWAPP so that it could connect to our 4402 controller so that it could be monitored and controlled by it. Everything looks like it u
-
Jelly Bean Upgrade & Battery Life
Not sure if Battery Life was part of the Jelly Bean upgrade or if I had something running that was killing my battery which has been killed by Jelly Bean, but in the 12 hours I have used this since I upgraded, I have noticed that my battery is still