System Error due to JCO communication failure? during mapping
in my JDBC-XI-Proxy scenario,
there is BPM with a transformation step,
in that step, during execution it gives Jco failure error, and particularly when the payload is very large....
my question is:
1. how JCo communication failure occurs in case of mapping??
2. why its only when the payload is huge??
Sudheep,
1, The Mapping is alaways executed in the Java Stack. And so win the runtime there needs to be a connection between the ABAP stack and the Java Stack for the Mapping to get exectued. The TCP IP Connection AI_RUNTIME_JCOSERVER is used for this purpise in SM59.
2. When the payload is huge , there can be a over flow of the java Heap memory and this needs to be increased. Ask your Basis team to increase the java heap size if you do not want to face this issue.
Regards
Bhavesh
Similar Messages
-
Hi !!!
I was working ok, with hibernate and mysql but yesterday I try to install the new mysql version (4.1.10) and receive the following error when I try to connect
Initializing Hibernate
INFO - Hibernate 2.1.6
INFO - hibernate.properties not found
INFO - using CGLIB reflection optimizer
INFO - configuring from resource: /hibernate.cfg.xml
INFO - Configuration resource: /hibernate.cfg.xml
INFO - Mapping resource: com/tutorial/hibernate/core/News.hbm.xml
INFO - Mapping class: com.tutorial.hibernate.core.News -> news
INFO - Configured SessionFactory: null
INFO - processing one-to-many association mappings
INFO - processing one-to-one association property references
INFO - processing foreign key constraints
INFO - Using dialect: net.sf.hibernate.dialect.MySQLDialect
INFO - Maximim outer join fetch depth: 2
INFO - Use outer join fetching: true
INFO - Using Hibernate built-in connection pool (not for production use!)
INFO - Hibernate connection pool size: 20
INFO - using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://localhost/unnobanews
INFO - connection properties: {user=news, password=news}
INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory
INFO - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
WARN - Could not obtain connection metadata
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
at org.gjt.mm.mysql.MysqlIO.init(Unknown Source)
at org.gjt.mm.mysql.Connection.connectionInit(Unknown Source)
at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Unknown Source)
at org.gjt.mm.mysql.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
Somewhere I red that was necessary to update the jdbc driver, so I updated it from version nro 2 to version nro 3.1.7 but still the error
Phpmyadmin works ok and mysql control center can connect ok too.
But when I try a telnet localhost:3306 I receive and error of connection filed
Anyway the mysql status thowme correct information, that it working ok!
Any idea ?
King regards
NatyHibernate 2.1.6
loaded properties from resource hibernate.properties: {hibernate.connection.username=root, hibernate.connection.password="", hibernate.cglib.use_reflection_optimizer=true, hibernate.connection.pool_size=10, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://manoj/manoj, hibernate.connection.driver_class=org.gjt.mm.mysql.Driver}
using CGLIB reflection optimizer
configuring from resource: /hibernate.cfg.xml
Configuration resource: /hibernate.cfg.xml
Mapping resource: com/mec/emp.hbm.xml
Mapping class: com.mec.Employee -> emp
Configured SessionFactory: null
processing one-to-many association mappings
processing one-to-one association property references
processing foreign key constraints
Using dialect: net.sf.hibernate.dialect.MySQLDialect
Maximim outer join fetch depth: 2
Use outer join fetching: true
Using Hibernate built-in connection pool (not for production use!)
Hibernate connection pool size: 10
using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://manoj/manoj
connection properties: {user=root, password=""}
No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
Could not obtain connection metadata
java.sql.SQLException: Server configuration denies access to data source
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:144)
at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1155)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:789)
at com.mec.CreateSession.getCurrentSession(CreateSession.java:35)
at com.mec.TestEmployee.createEmployee(TestEmployee.java:37)
at com.mec.TestEmployee.main(TestEmployee.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Use scrollable result sets: false
Use JDBC3 getGeneratedKeys(): false
Optimize cache for minimal puts: false
Query language substitutions: {}
cache provider: net.sf.hibernate.cache.EhCacheProvider
instantiating and configuring caches
building session factory
Not binding factory to JNDI, no JNDI name configured
SQL Error: 0, SQLState: 08001
Server configuration denies access to data source
Cannot open connection
java.sql.SQLException: Server configuration denies access to data source
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:144)
at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:286)
at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3326)
at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3286)
at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2231)
at com.mec.TestEmployee.createEmployee(TestEmployee.java:38)
at com.mec.TestEmployee.main(TestEmployee.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Process finished with exit code 0 -
Error in BPM: "COMMUNICATION FAILURE" during JCo call. Error opening an RFC
hello experts
i am receiving the above error incase of BPM scenario where i am having a Transform step and synchronous RFC step.
i referred to the few threads discussing such problems and was trying to find whether my mapping is correct and i tested my mappings using my payload which looks good.
When looked into the Mapping trace of the BPM "Show container" i found error ""COMMUNICATION FAILURE" during JCo call. Error opening an RFC connection" and it seems that when BPM is attempting to call interface mapping it is throwing this error.
Thanks in advance.
Regards
rajeevhi,
I think no problen with the mapping part,
jco connection requird when xi try to stablish the connection with the adapter .
please look the link provided.
Setup and test SAP Java Connector outbound connection
please also check the following parameter at the exchange profile
com.sap.aii.rwb.server.centralmonitoring.r3.ashost
com.sap.aii.rwb.server.centralmonitoring.r3.client
com.sap.aii.rwb.server.centralmonitoring.r3.sysnr
com.sap.aii.rwb.server.centralmonitoring.httpport
these parameter must be given properly.
if every thing is ok than and problem still exist than try to restart the system.
for us after restarting its worked fine.
regards,
navneet -
Random JCO Communication Failure Error after Hardware Migration
Greetings experts,
we had a migrated our XI server to new hardware and had couple of SLD related issues which were solved by the migration team. However, we are getting JCO communication failure very frequent whenever we use JCO from JAVA to call an RFC. The weird thing, if you restarted the message it will be successful.
The error message in the message monitor :
"COMMUNICATION FAILURE" during JCo call. Error opening an RFC connection"
Any idea to solve this random issue?Hi again,
the number of connection was increased to 200 but with no effects. Also, the user used to connect is a system user which does not need a ticket.
This is my connection code
mConnection = JCO.createClient("600", // Client
"USER", // Username
"PASSWORD", // Password
"EN", // Language
"hostname", // Host
"01"); // System Number
do I need to add anything else if I am using a clustered system? -
Mapping: JCO Communication Failure
Hi Experts,
I am working on a scenario PROXY<-->PI<-->SOAP.
When i trigger the proxy from SPROXY, the message gets stuck in PI with an error Mapping: JCO Communication Failure. I have checked the RFC destinations AI_RUNTIME_JCOSERVER and AI_VALIDATION_JCOSERVER in the PI system, both of which are successfully connected. the correct entiry is also maintaine in sxmb_adm.
I am not sure what could be the issue otherwise. I am not sure if we are missing any configuration on the PI side.
Any idea how can i get this resolved.
Thanks in advance.
Regards
TanzoomHi Tanzoom,
You get this kind of error when there are lots of messages to be processed simultaneously. Every message mapping needs one connection. If all 10 available connections are blocked from other messages you get this kind of error. Try increasing the the number of processes in VisualAdmin.
Also refer this below blog
http://scn.sap.com/blogs/saprouter/2012/08/07/jcocommunicationfailure
Best Regards,
Monikandan. -
Java.sql.SQLException: Communication failure during handshake.
I'm troubled by this problem followed:
the exception is decripted as:
java.sql.SQLException: Communication failure during handshake. Message from server: "Unknown database 'cust'"
I'm using JSP to access the MYSQL database. the database server has three databases:mysql,test,customer. my OS is win98. I can access the customer using "mysql -u root -p customer" in the command prompt.
but when I runs the JSP, the error appears.
the connection string is :
private String protocol = "jdbc:mysql://localhost/customer?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
if the connection string is :
private String protocol = "jdbc:mysql://localhost/test?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
or
private String protocol = "jdbc:mysql://localhost/mysql?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
there's no problem.
what is wrong ?
I guess it's wrong with mysql's setting.
please help me,lots of thks.It seems user root is the owner of 'customer' database. Can you use root to access 'customer' from JSP code?
Another hint:
Do you grant user customer_f privileges to 'customer' database when create 'customer'?
with root access from mysql> prompt:
mysql>grant all privileges on customer.* to customer_f@"localhost" identified by '151276';
Then, user customer_f will have all privileges to access 'customer' either from prompt or JSP page.
about Creating Users and Setting permission in MySQL
see http://www.devarticles.com/content.php?articleId=134 -
Random JCO Communication Failure Error
Dear All,
I am facing the weird issue of JCo connection failures. I am facing the error of Max no of conversations excedeed. If i am testing it then it is giving me error. But after some time if i check it again it will be successful and also ping will be also successful for the JCo. I am facing for all JCo which we have created in the Portal System.
We have 3 landscape system here. In my Development and Quality this type of error is coming which is very randomly.
In our Production server its not coming.
So i am very confused why this type of random behaviour is of JCo Connection.
Regards,
Dhruv ShahHi Dhruv,
If you are using WD application, then you should use disconnectIfAlive() in finally block of try-catch while executing RFC model.
Please check the Web Dynpro Best Practices: [How to Configure the JCo Destination Settings|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/portal%20integration/how%20to%20configure%20the%20jco%20destination%20settings.pdf] that will helps you identify maximum pool size, connections and timeout etc.
Also refer to JCo Pool Configuration and http://help.sap.com/saphelp_nw04/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/content.htm
Hope it helps
Regards
Arun -
Finding a System Error Message (reflected in communication channel)
Hi,
I am working on release 3.0. I have found a System Error Message reflected in JDBC communication channel due to a data problem. I assume that this message is old and I can not find the message. It seems that I need the exact date and time when the message was created in order to find this message. I would like to find the payload to view the data and cancel the message.
Does anyone have any tips on how to find this sort of message?
Thanks,
Leanneuse the standalone Logviewer to read the log files. Works great.
"If you have an SAP Web Application Server Java 6.20 or below you may also get a standalone_logviewer.zip file at the SAP Service Marketplace at service.sap.com/download u2192 SAP NetWeaver u2192 Release 04. In this case JDK version 1.3 or higher must be installed on the system. The java version must be same on the server and the client.
In the SAP Web AS Java 6.30 installation a folder named logviewer_standalone can be found under: <path Of J2EE installation>/<SysID>/JC<nr>/j2ee/admin/logviewer_standalone. Verify that the batch file logviewer.bat is installed in the directory logviewer-standalone.
(source -> http://help.sap.com/saphelp_nw04/helpdata/en/e4/540c404a435509e10000000a1550b0/frameset.htm)
procedure is ..
1.open Visual Administrator
2.click Log Configurator
3.Runtime->Destinations you can find out which destination is for defaultTrace.X.trx.
4.change the formatter from "com.sap.tc.logging.ListFormatter" to "com.sap.tc.logging.TraceFormatter"
if change couldn't take effect,reboot j2ee.
regards
chandra -
"COMMUNICATION FAILURE" during JCo call. Error opening RFC connection
Hi
I am trying the following scenario
/people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
In SM 59 test connection of AI_RUNTIME_JCOSERVER throws error " Error opening RFC connection"
Do I need to activate any service in SICF and do I need to do any IE configuration (sxmb_adm)
pls let me know the steps to solve this
thanks
manianHi Manian,
pls chk with ABAP system tha tu have given the correct PWD and CLNT No
Use
You need to create the following RFC destinations with both transaction SM59 (ABAP) and the Visual Administrator (Java):
● AI_RUNTIME_JCOSERVER
Points from the Integration Server to the mapping runtime. The program ID corresponds to the entry under JCo RFC provider for the J2EE Engine (used for the mapping runtime, value mapping, and the exchange profile).
● AI_DIRECTORY_JCOSERVER
Points from the Integration Server to the Integration Builder. The program ID corresponds to the entry under JCo RFC provider for the J2EE Engine (used to refresh the runtime cache).
● LCRSAPRFC
The RFC destination LCRSAPRFC is required for the connection to the System Landscape Directory (SLD). It is used to read the exchange profile.
● SAPSLDAPI
The RFC destination SAPSLDAPI is required for the connection to the SLD. It is used by the ABAP API.
Depending on your client settings, it may be necessary to log on to your Integration Server host as SAP system user with the authorization to maintain customizing tables and to release transport orders.
User SAP* or DDIC does not have these authorizations
Thanx
Sampath -
Hi Friends,
I am getting the below error in integration engine
"communication failure during JCO call".
Pls help me how to resolve this issue.
Regards,
Suresh.Hello
this is very generic error, more details must be known to solve the issue, if you are having this problem with your RFC communication channel, goto communicatin channel monitoring in RWB and there you would have complete details of why this error is occuring, do post back with those details to have clear understanding of the problem.
Moreover try creating an ABAP connection to R/3 system to which connection is being made and check if you are able to access the system altogether or not, for this follow the following step:
login to your PI server from SAP GUI with user PISUPER
got t-code SM59
Create destination with type: 3
provide ip address of your R/3 system in target host and instance number in respective field
save and execute "Connection test"
this will let you know if you are altogether able to access the R/3 system for PI server. -
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 -
CRM Mobile Sales Application : HTTP Communication Failure ERROR
Hi All,
I am trying to build a CRM mobile application in the Windows mobile.
the steps that we have followed are:
1. Activated and generated the Standard CRM mobile software component MAS_SMARTPHONE_DMSCV
2. Created the same Users in the CRM and DOE system
3. Set up windows mobile simulator
4. Created data in the CRM backend and performed initial download in the DOE.
5. activated the distribution model rules in the Admin and monitoring portal
6. and finally installed CRM mobile sales App in the Windows mobile,connected it to a device,and logged in to the CRM app from the simulator using the user and password created in step 2.
A device is created on the Admin & monitorng portal as soon as we sync from the simulator but we are unable to see any data
in the outbound queue.
In the transaction SMQ2 we have found our device queue with an error saying *exception occured due to HTTP communication
failure*
Debuggin the queue we are able to find an error under the class CL_DOE_ESDMA_SOAP_HANDLER in the method
PUSH_TO_DEVICE.
As we are on new grounds we are not able to assess the problem. Does it have anything to do with ports.
We are able to get see all the messages and the data while debuggin but while pushing it to the device there is a glitch.
Please suggest with any solution to this or what might be theHi Siva,
Thank you for your reply.
We have checked the ports that is concerning SUP it is 2000 we find it is active and open.
We have also checked a subscription monitoring table as suggested in a previous post [/community [original link is broken]
threadID=1978692].
we are getting a HTTP 110 error while debugging the queue of the device.
While checking a monitoring we have found a log saying :
Receive failed: client host = 10.116.158.208: com.sybase.djc.SystemException: HTTP: Post Message - HIOP Version not specified\nProbable cause: unexpected failure or abnormal shutdown of client application or client host
Please suggest to us what might might be the problem.
Thanks,
Krutheeka. -
PI 7.11 - How to create a System Error in SXMB_MONI using a Java Mapping
Hi
We ve go a Java Mapping in a File-to-HTTP Scenario. It works perfect except of one error case: if an empty source file or a source file with the wrong structure is delivered. In this case our Java Mapping forwards an empty payload to the HTTP channel. So, for PI is the mapping successful.
I'd like to recognize this case and invoke a system error in the SXMB_MONI, so that this mapping will be stopped and our alerting concept informs the users. I know, how to recognize the case in Java but need to know how to create the System Error Status in the PI System.
Thanks in advance
MichaelHi Michael,
Please refer here for the mapping API description:
http://help.sap.com/javadocs/NW04S/SPS09/pi/com/sap/aii/mapping/api/package-summary.html
You can use the StreamTransformationException exception describet there to raise an error from your Java mapping. Direct link:
http://help.sap.com/javadocs/NW04S/SPS09/pi/com/sap/aii/mapping/api/StreamTransformationException.html
You might also consider using the "Empty-File Handling" option in sender file CC to avoid processing empty files by PI.
Hope this helps,
Greg -
N85: System error with Maps
Hello
I have a N85 for a few days now. Everything is working except the Maps: when I try to launch the Maps application I have an error message "System Error" ("Erreur système" in french).
Does anybody know how to fix this problem ?
ThanksHello
Thanks for your answer. In fact when I have a look to the installed apps, Nokia Maps is not in the list of installed applications (which is probably the cause of the error). I have already noticed this and I have tried to install Nokia Maps but the result is the same: Nokia Maps not in the list of installed apps and "System error" when I try to use the maps. The Nokia support has sent me some steps to perform (among them reinitialize the phone to its primary state or even format it) to fix the problem. I will try this.
I'll let you know if it is has worked
Thanks
Regards -
We have a SOAP to PROXY scenario Which is in Production.
We keep getting the Error:
" Problem while determining receivers using interface mapping: "SYSTEM FAILURE" during JCo call. Bean SMPP_CALL_JAVA_RUNTIME3 not found on host XXXXXX, ProgId =AI_RUNTIME_XXX.
We are using Standard Receiver Determination with single receiver without any condition. And no mapping being used in interface determination.
What are all the possible situation where we face such as this issue in Production.Please check the SAP note
# 1706936 - messages fails with error java.lang.RuntimeException Bean SMPP_CALL_JAVA_RUNTIME3 not found
1944248 - PI unstable due to JCO_SYSTEM_FAILURE mapping issues
Maybe you are looking for
-
Is there any way to sort itunes library between m4a and mp3 versions of songs. If there is, any instructions and guidance would be most appreciated. Thanks in advance.
-
Upgrading MacBook Pro (OS 10.6.8) to Yosemite
Can I upgrade my 2008 MacBook Pro (Snow Leopard 10.6.8.) with Yosemite? I was advised not to as it would substantially slow down my hard drive.
-
Wrong codes? or maybe I don't understand the instructions
The instructions said "Write a procedure that will retrieve an existing record in Enrollment usiing the student and section Ids and set the grade to a specified value. (use update instead of insert) and write another procedure that will assign a give
-
Greetings All, I was wondering if someone can point me into the right direction. I have a school that needs to really lock down iMacs, iBooks and MacBooks (Ethernet and wireless). The clients are all on at least some flavor of 10.4.x, and I'm current
-
I need to refresh an application
i need to refresh an application after an entry to a database is made....i know its not the right thing to do but im having trouble refreshing a tile component and its working after i refresh the whole app but not if just re-instantiate the component