JCO Connectoin Error
Hello Experts,
We are using SUP 2.0 on windows 7 64 bit machine.
We have sapjco 2.1.10 (32 bit & 64 bit). We successfully connected with SAP Server through Sybase Workspace.
We copied files in proper location like,
Librfc32.dll
u2022 C:\windows\system32
u2022 Sybase\unwiredplatform\serves\unwiredserver\lib
u2022 Sybase\unwiredplatform\jdk1.6.0_24\bin (librfc32.dll must be 32bit file)
u2022 Sybase\unwiredplatform\jdk1.6.0_24-x64\bin (If system is 64bit & librfc32.dll must 64bit file)
Sapjcorfc.dll
u2022 C:\windows\system32
u2022 Sybase\unwiredplatform\serves\unwiredserver\lib
u2022 Sybase\unwiredplatform\jdk1.6.0_24\bin (librfc32.dll must be 32bit file)
u2022 Sybase\unwiredplatform\jdk1.6.0_24-x64\bin (If system is 64bit & librfc32.dll must 64bit file)
Sapjco.jar
u2022 Sybase\unwiredplatform\serves\unwiredserver\lib\3rdparty
u2022 Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sap.mw.jco_<Version>\lib
But when we trying to synchronized an application it generate two errors like ,
1. Could not initialize class com.sap.mw.jco.JCO
2. c:\sybase\unwiredplatform\server\unwiredserver\lib\sapjcorfc.dll Can't load IA-64 bit dll on a AMD 64 bit.
We have intel pentium dual processor.
Please reply us.
Regards,
Tapan
Hi tulasidhar,
Thanks a lot for your reply.
I followed your instruction. But still face the same error.
I want to know that should i copy librfc32.dll (7200. <version> ) in all places where i copied librfc32.dll (6400.<version>) except windows/system32 ?
please reply me.
Regards,
Tapan
Similar Messages
-
JCO.Server Error while trying to execute a RFC program from SAP
Hi,
We are connecting to an external registered server program from SAP via Web Methods.
The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
Number - 10
LUname - dev01
TPName - sapgw00
User - KRAORANE
Status - CONNECTED
Symbolic - PRDB2B
Conversation - 86520353
Prot - REG
SAP return code - 0
CPIC rtn code - 0
The external program returns results as expected.
However sometimes the RFC fails and returns the message JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS.
We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
-KiranHi,
Please see the below links..
JCO.Server Error while trying to execute a RFC program from SAP
Re: JCO.Servcer could not find server function
Re: JCO.Server could not find server function 'SET_SLD_DATA'
/people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
Re: interfacing SAP with an existing java applications
http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
http://www.sapgenie.com/faq/jco.htm
Regards
Chilla.. -
JCo Connection Error in PI 7.1
Hi Experts,
In our PI 7.1 we got JCo COnnection Error:
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:869)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractSystemLandscapeFactory$1.checkStatus(AbstractSystemLandscapeFactory.java:310)
at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:483)
at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.updateJCOClientStatus(JCOConnectionsDetails.java:534)
at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:750)
... 73 more
Thanks
SunilHi,
java 2sdk , se 1.4.2_17 is the version.
Thanks
Sunil -
JCO communication error/ failure
In all scenarios, XML file has been picked up from the destination but not found in the target directory.
( In Adapter Framework the inbound and outbound messages are in green color.)
In qRFC monitor (TC smq2) the status is SYSFAIL.
When double clicking the SYSFAIL, a window shows that "communication failure during JCO all error"
Could you please let me know what is the error and how to solve this ?
Regards,
Ashok kumarAshok -
Did you check these links:
Mapping Error :JCO_COMMUNICATION_FAILURE
getting error "JCO_COMMUNICATION_FAILURE"
JCO_COMMUNICATION_FAILURE
JCO_COMMUNICATION_FAILURE
Hope those help.
Thanks,
Tirumal -
JCO connection error:Couldn't create JCOClientConnection for logical System
Hi All,
We are facing a production outage issue.
We have a Federated Portal Network setup where one of our producer goes down automatically (seems on heavy load).
On this Producer server we have 3 Web Dynpro applications deployed and default trace is full with JCO connection error saying Could not create JCOClientConnection for logical System: CSVMR_WD_MODELDATA_DEST.
We had issue with max allowed JCO connections so we changed the below mentioned parameters for JCO connection settings in portal:
u2022 Minimum value of JCo Pool Size in total = 80
u2022 Minimum value for CPIC_MAX_CONV per SAP Web AS = 320
u2022 Maximum Number JCo Connections = 160
Please let us know if we are missing on some settings, any help in this regard is appreciated.
Regards,
PriyankaHi,
As you have already increased the maximum number of connections/pool size but still you are facing this problem. I would suggest you to check the web dynpro application which might not be able to release/disconnect the JCO connection.
Please check this [Thread|How to close a model object connection for Adaptive RFC?; for more details.
Regards
Puneet -
Hi
I am trying to establish a JCo conenction for a web dynpro application. After establishing the JCo connection, when I test the connection I get the error message given below:
com.sap.mw.jco.JCO$Exception:
(102) RFC_ERROR_COMMUNICATION: Connect to message server host filed Connect_PM TYPE=B MSHOST=xyz Group=gxyz R3NAME=yyy.......
We are using EP 6.0 SP11. Please help.
Thank you
-MarkMark,
is this the same error as in JCo conenction error
if not, please post the complete error message.
kr, achim -
JCo destination error while executing the webservice model
Hi,
I have explained what I have done so far and whats my issue right now.
My requirement is calling a PI interface (exposed as webservice) from webdynpro for java and setting some parameter value to the PI interface based on which our functional flow will continue.
Done so Far :
1. Created a webdynpro for java application using NWDI.
2. received the WSDL file of the PI interface and imported as "Adaptive webservice model" into webdynpro.
3. used the model and set the parameters to PI interface and executed the model.
4. I have created JCO destinations in the source system (where the application runs) to communicate to the PI system. A special user has been created and assigned in the connection for communicating.
5. Also I have created the "Dynamic Webseviceproxies" in visual admin with the same name as the JCO destinations. It had a property "URL" for which I have tested with providing both the PI server URL (Http://<Hostname>:<Port no>) and also the complete webservice URL (Which calls the WSDL file directly)
when I run the application, I get the following error.
1. Exception on creation of service metadata for WS metadata destination 'WD_RFC_METADATA_DEST' and WS interface '{<Interface Name>'. One possible reason is that the metadata destination 'WD_RFC_METADATA_DEST' has not been properly configured; check configuration.
after some exception the next error follows
2. Invalid Response Code 403 while accessing URL: <The URL which I have provided in the webservice proxy in Visual admin tool> Response Message: Forbidden.
after some lines of exception from PI server the next error follows.
3. Error: You are not authorized to view the requested resource
My Question :
1. Do I miss anything in Configuration?
2. Is my way of approach wrong?
3. Any additional authorization needed?
Kindly provide some ideas and inputs.
Regards,
Mahendran B.Dear Mahendran
JCO destination will not used for the Web Service Model. While creating the webservice model, you need to use the logical destination which you have created in the Visual Admin.
Please refer to the Secured WebServices II and verify currently used webservice logical destination How To Reimport Web Service Models in Web Dynpro for Java
You can also refer to
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e?QuickLink=index&overridelayout=true
Hope it will helps
Best Regards
Arun Jaiswal -
JCO Creation error using SAP router string
Hi All,
I have created technical system using customer system IP. After that I have created the JCO
I have given the details while creating a JCO:
JCO Name : <Name>
Client detail: <Client>
Message Server :< hostname>
Logon Group :<SPACE>
SAP Router String :< /H/<host IP>/H/S/<message server port number>
User Name :<User name>
Password :<***>
I have updated the Host and service file in the portal server.
When I am testing the JCO I got an exception:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=dicisap1 GROUP=PUBLIC R3NAME=DCD MSSERV=sapmsDCD SAPROUTER_STRING=/H/<RouterIP>/S/3600 PCS=1 LOCATION SAProuter 37.11 on SOLNMAN ERROR timeout occured TIME Wed Nov 05 17:42:31 2008 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -93 COUNTER 4825
How to resolve this problem ?
Regards,
Boopathi MHi
Check out these thread
/message/5401584#5401584 [original link is broken]
JCO$Exception: (102) RFC_ERROR_COMMUNICATION: CPIC-CALL: 'SAP_CMACCPTP'
Thanks -
HI ALL,
In creation of jco's i got the fallowing error.plz help me in this error.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=indiaides GROUP=SPACE R3NAME=IDS MSSERV=sapmsIDS PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR timeout while pending for route completion TIME Tue Jun 14 04:18:05 2011 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -12 DETAIL NiErrSet COUNTER 2
Regards
ViswaHi Viswa,
You can try with a service entry in the portal host. Go to Windows system in path "c:\windows\system32\drivers\etc\services"
Add a entry - sapms<SID> 36xx/tcp where xx is the instance number of the R/3 message server (like - sapmsPRD 3600/tcp)
Hope it helps.
Regards,
Sen -
Jco connection error while calling Custom FM in CRM Internet Sales Application
Hi ,
I am trying to do some customisation in the CRM ISA 4.0 development component.
Have followed the steps given in the Development and Extension Guide and tutorial PDF
Steps done for Custom RFC Call
1. Create RFCs
2. Edit file backendobject-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification:-
3. BackendBusinessObject Jco -
4. BusinessObject -
5. Edit file bom-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification
6. BusinessObjectManager BoM
7. BackendAware-
8. config.xml - to add custom actions
9. Action creation
10. Page : Order_change.jsp.
The backend is the CRM system while making a call to the CRM system the connection to the CRM system is not working .
Similar to what is given in the tutorial the getDefaultJCoConnection() is used .
But gettting null at the JCO connection.
JCO.Function func = getDefaultJCoConnection().getJCoFunction(‘CRM_ISA_SHOP_GETLIST’);
This is how my custom FM is being called.
Can someone help me with what may be the possible reason for this call failure.
While debugging and checking it shows null pointer exception in the JCo connection .
Thanks
ChinjuHi Hamendra,
When the code debugging was done in Java then we got just the NullPointerException for the JCo.
In the nwa log shows
where BackendBusinessObjectBaseSAP is the standard Java Class in the ISA
Error at
com.sap.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP.getDefaultJCoConnection(BackendBusinessObjectBaseSAP.java:46)
Thanks
Chinju -
JCO Proxy Error while connecting xMII into SAP R/3 Server
Hi All
When we try connect out SAP xMII server to the SAP R/3 Server using JCo (JCO Interface), we are getting an error
"Fatal Error: JCOProxy Error:Name or Password is incorrect, please re-enter"
We have checked the userID and password for logging into the SAP R/3 System and it is all correct and we are also able to login with the same userID/password using SAPGui. All the other details like SAP Server, Client Instance is all correct.
appreciate if someone can help resolving this.
Thanks and Regards
Biju KumarHi Biju,
I have also experienced this error. We are using xMII 12.0.1 with SAP R/3 4.6B. Please make sure that your password is in lowercase without special characters. Also check the xMII-logs if there is some more information about the error.
If nothing helps, delete the SAP server entry in Data Services and re-enter it. Maybe this makes it work. I found that either the password was different or the new entry helped.
Regards
Michael -
JCO Connection error in webdynpro
Hi
I have Ep 7.0, ECC 6.0 (NW2004s)
I am trying to establish JCo connection but we are getting the
following error
"com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect
to message server host failed Connect_PM TYPE=B MSHOST=*****
GROUP=SPACE R3NAME=HEI MSSERV=sapmsHEI PCS=1 ERROR
service 'sapmsHEI' unknown TIME Fri May 30 16:19:20 2008
RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -
3 MODULE ninti.c LINE 530 DETAIL NiPGetServByName2:
service 'sapmsHEI' not found SYSTEM CALL getservbyname_r COUNTER 2"
Already i have created TechnicalSystems in the Portal and
I have entered the sevice file in the location of c:\WINDOWS\system32\drivers\etc as "sapms<SID> 3600/tcp" in EnterprisePortal Server.
after that we have restarted the server
Still i am getting same error.
Could you please help us.
Regards
SrinivasHi,
First You Configure SLD Correctly.If You Have ECC And BW.You Maintaing Two WEBAS ABAP Systems.
You Create WEB AS ABAP System In SLD And Maintain Connection Properties Of ECC.And
Similarly For BW Also.
The Given Below Links To Help You SLD Cofiguration For J2EE
http://www.*********************/solution_manager/solution_manager_sld.html
SLD Configuration
3.If You Want To Create JCO Destinations.You Go To Login Portal
Content Administration->Webdynpro->Create JCO Destinatiion
A.General Data -> Specify Model Name,Client And JCO Pool Configuration
B.Specify J2EEE Cluster
C.Destination type
Data Type-> Application DataModel,Dictionary MetaDataMetadata
Destination Type->Load Balancing Or Single Server
D.Specify Either Application Server Or Message Server
E.SecurityUsername,password,confirm password,language
F.SummaryWhole Information
Similarly Metadata Created Follow Same Steps As Above
After Creating JCO Destinations, Go For Maintain JCO Destination And test The JCO Destinations Works Fine Or Not you Con Test.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/webdynpro/wd%20java/portal%20integration/how%20to%20use%20the%20web%20dynpro%20content%20administrator.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/85a483cb-0d01-0010-2990-c5168f01ce8a
http://help.sap.com/saphelp_nw04/helpdata/en/77/931440a1c32402e10000000a1550b0/frameset.htm
It's Useful Rewards Points
Bye
Thanks
SubbaRao -
Hi Gurus,
I have created two JCO Destinitation for my RFC, when i am trying to ping the connection it says "ping successful" but when i test i am getting the following error.
com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: The initial password has expired; request a new one
Can anyone please help me on this , this was not coming in my pervious system for which i have created the conection.
Is someting wrong on the ABAP system ?
points will be rewarded for quick solutions.
RakeshHello Rakesh,
Change the user type of the communication user that UME uses in Transaction SU01 to "System" (B) in the ABAP end.
FYI
Due to an error in the installation program (SAPInst) for NetWeaver 2004 and due to an incorrect documentation, the communication user used by the UME has the type "Communication" (C).This type is incorrect because it is subject to the mandatory password change and the initial password ageing just like type "Dialog" (A) (see Note 622464).
The following profile parameters affect the system's response:
o rfc/reject_expired_passwd
o login/password_max_reset_valid (ABAP 6.20 / 6.40) or
login/password_max_idle_initial (ABAP 7.00) and
login/password_max_idle_productive (ABAP 7.00)
In delivery status, these profile parameters are set in such a way that the RFC logon is not affected.
This information is at SAP note 959242.
Thanks
Pankaj
PS:- /thread/727533 [original link is broken]
Same post . -
JCO_ERROR_RESOURCE: Trying to access row values in a table which does not have any rows yet
what i did is to get the result from the arraylist
returnAckList.size() return 2
and after that i set the row and pass back the result to R3 with Table parameters
i hit the error above
ANY IDEA...
ArrayList returnAckList=sendMail.sendAuthenticate(bean,beanList2,configList,Conte);
if(returnAckList.size()>0){
int k=0;
for(Iterator it=returnAckList.iterator();it.hasNext();){
OutMailAckBean ack=(OutMailAckBean)it.next();
System.err.println("k" +k);
result.setRow(k);
result.getField("MAILID").setValue(ack.getEmailId());
result.getField("ARDDR").setValue(ack.getReceipient());
result.getField("STATUS").setValue(ack.getAckDelivery());
result.getField("MADAT").setValue(ack.getDateSend().substring(0,10));
result.getField("MATIM").setValue(ack.getDateSend().substring(11,19));
k++;
System.err.println("Ack Row " +k +":" +" mailid: " +" ARDDR: " +result.getField("ARDDR").getString()
" status: "result.getField("STATUS").getString() +" type: " +result.getField("TTYPE").getString()
" MADAT: "result.getField("MADAT").getString() " MATIM: "result.getField("MATIM").getString());
}else{
System.err.println("AckList is empty!!!!!!!!");
Message was edited by:
yzme yzmeYzme,
From the error message, what I can make out is that you are trying to manipulate row elements in a JCo table that doesn't have any rows yet.
Instead of changing the row pointer, try adding rows to the table first and then set the values.
ArrayList returnAckList=sendMail.sendAuthenticate(bean,beanList2,configList,Conte);
if(returnAckList.size()>0){
int k=0;
for(Iterator it=returnAckList.iterator();it.hasNext();){
OutMailAckBean ack=(OutMailAckBean)it.next();
System.err.println("k" +k);
// result.setRow(k);
/* Instead of this line of code add the appendRow statement.
I assume variable result is of type JCo.Table*/
<b>result.appendRow();</b>
result.getField("MAILID").setValue(ack.getEmailId());
result.getField("ARDDR").setValue(ack.getReceipient());
result.getField("STATUS").setValue(ack.getAckDelivery());
result.getField("MADAT").setValue(ack.getDateSend().substring(0,10));
result.getField("MATIM").setValue(ack.getDateSend().substring(11,19));
k++;
System.err.println("Ack Row " +k +":" +" mailid: " +" ARDDR: " +result.getField("ARDDR").getString()
+" status: "+result.getField("STATUS").getString() +" type: " +result.getField("TTYPE").getString()
+" MADAT: "+result.getField("MADAT").getString() +" MATIM: "+result.getField("MATIM").getString());
}else{
System.err.println("AckList is empty!!!!!!!!");
If my understanding is wrong, then please elaborate the problem.
Bala -
RFC Adaptive Model,JCO destinations error
HI,
I created the tutorial application to get Flight List using RFC adaptive model.
I created the JCO destinations in web dynpro content administrator after configuring the SLD (after many problems though ).
Our Server is Web AS 6.4 ABAP + JAVA ,but no R/3 modules installed.
WD_FLIGHTLIST_MODELDATA_DEST-type application--single server connection
WD_FLIGHTLIST_RFC_METADATA_DEST-type Dictionary-load balanced
The JCo destinations status shows green.
The test for WD_FLIGHTLIST_MODELDATA_DEST is succesful but the test for WD_FLIGHTLIST_RFC_METADATA_DEST fails with the error:[code]
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=nwserver GROUP=PUBLIC R3NAME=NWS MSSERV=sapmsNWS PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR Group PUBLIC not found TIME Thu Nov 10 18:24:23 2005 RELEASE 640 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 3515 DETAIL LgIGroup COUNTER 2 [/code]
The ping fails and if i test it again,i get another error
[code]com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=nwserver GROUP=PUBLIC R3NAME=NWS MSSERV=sapmsNWS PCS=1 ERROR Group PUBLIC not found TIME Thu Nov 10 18:29:13 2005 RELEASE 640 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 3515 DETAIL LgIGroup COUNTER 1 [/code]
What is wrong?Any more steps required?
If i try to edit it,the type is still the same-Application with single connection.
How can i change it?Do i need to change it to type Dictionary in the first place? How to proceed.
Please guide.
Regards,
Siddhartha
Message was edited by: Siddhartha Jain
Message was edited by: Siddhartha Jainhi Siddhartha,
You have to configure PUBLIC group using SMLG transaction
check these links out
http://help.sap.com/saphelp_nw04/helpdata/en/28/1c623c44696069e10000000a11405a/content.htm
hope this helps you
Regards
Rohit
Maybe you are looking for
-
Which universal dock adapter for iPod touch 4th generation?
When you go into the Apple store / cables and docks, you eventually find one labelled 'Universal Dock Adapter 3-Pack for iPod touch' but when you go into the support article 300277 'Learn about Apple Universal Dock' it says to use adapter number 20
-
How to edit digitally signed pdfs
How to edit signed pdf ? am getting the message that you are currently viewing a signed version. All editing and interactive features are disabled. Save a copy and reopen to edit this document , please help how can I remove this signature or disable
-
Multiple Excel Tabs...
Hi Is there a possibility to create a template that creates a multiple number of Excel Tab Pages, and how? If not, will u add this feature in future realeses? By the Way, when will the next release be available? Greetings...
-
New Display For My G4? New Card?
I want to get a new flat panel display, but I think I read somewhere that it needs a new video card to work. so... Which video card do I need, and what else will I have to do to this monster to use a new display? my current video card is the ATI Rade
-
Skip Logic--with required answers
Hello, I am creating a survey for the moderators of educational sessions. Each moderator is required to complete (8) session surveys as a condition of their registration fee reimbursement. I want moderators to only need to add their contact informati