[Business Connector] JCo

Hi all,
I have the following problem regarding Business Connector issuing IDoc for a SAP Backend system to process.
Since BC is waiting for the complete integration of the IDoc to send the next one, the process is quite long !
Thus, I had several questions regarding Business Connector :
1) Does Business Connector necessarily rely on JCo to connect to SAP Backend systems or is there another way ?
2) If yes, is it possible to configure pooled connection instead of direct connection as it seems to be the default behaviour
3) Has anyone experiences multiples connections to the same SAP Backend system from one instance of Business Connector ?
4) Is this possible to configure SAP Business Connector in order not to wait for the complete integration ?
5) Is this possbile to configure ALE in order to only issue a receipt confirmation to SAP Business Connector (with the purpose to fasten the whole process) ?
Thanks for you help!
Best regards,
Guillaume

Hi,
1)SAP Business Connector is a SAP native Message Server.
SAP JCo is native Connector from/to R/3 to/from the Java world.
SAP Java Resource Adapter is a Connector which currently applies to JCA 1.0.
2) neither SAP Business Connector nor SAP JCo meets JCA specifications.
regards,
Eugen

Similar Messages

  • JCO Timeout for SAP Business Connector 4.7

    Environment :
      Windows 2000, SAP Business Connector (BC) 4.7
    General Description :
      SAP BC is used to invoke BAPI's in the SAP R/3 system.
    Issue :
      Some BAPI's are taking some time to return response depending on user load. Need to provide a timeout for RFC calls invoked by SAP BC using JCO.
      Following is the entry in the rfc trace log file when BC starts up ...
    000000  -
      2005-05-12 11:07:20 EDT
    000001  [B2B-SAP.0011.0001] [JNI-LAYER] RFC.nativeSetTraceLevel()                with rc = RFC_OK   leave, [SUCCESS]
    000002  [B2B-SAP.0002.0022] Log level set to 10
    000003  [B2B-SAP.0002.0025] Registered SAP package trace with core trace
    000004  [B2B-SAP.0002.0014] Starting SAP services
    000005  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.setProperty(jco.jdsr.comp_name, SAP BC server0023 5555)
    000006  [B2B-SAP.0003.0001] Loading native libraries
    000007  [B2B-SAP.0003.0002] JCO version: 2.1.4 (2004-10-20) sapjcorfc 2.1.4 (2004-10-20)
    000008  [B2B-SAP.0003.0004] jRFCLibrary info: 2.1.4 (2004-10-20)(C:\sapbc47\Server\packages\SAP\code\libs\sapjcorfc.dll)
    000009  [B2B-SAP.0003.0003] RfcLibrary version:
    This RFC library belongs to the SAP R/3 Release *** 640,0,41  *** MT-SL
    Versions of SAP internal libraries:
      dptr:    2
      ni  :   37
      cpic:    3
      rfc :    3
    00000A  [B2B-SAP.0011.0001] MiddlewareRFC.setProperty(jco.middleware.wait_for_request_time, 1)
    00000B  [B2B-SAP.0002.0016] Loaded SAP server configurations
    00000C  [B2B-SAP.0002.0015] SAP services started
    00000D  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setAbapDebug(false), current state false
    00000E  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setTrace(true), current state false
    00000F  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setAbapDebug(false), current state false
    000010  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setMaxWaitTime(30000)
    000011  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setConnectionTimeout(600000)
    000012  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setTimeoutCheckPeriod(30000) on pool SERVER-300&USER_RFC&300&EN
    000013  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.PoolManager.addPool:
          name = SERVER-300&USER_RFC&300&EN,
          connection = USER_RFC|300|EN|AS=[11.12.7.296|00|]G0|,
          pool_size = 10,
          max_wait_time = 30000,
          pooled_connection_timeout = 600000,
          timeout_check_period = 30000
    000014  [B2B-SAP.0005.0003] Pool changed: SERVER-300&USER_RFC&300&EN containing 0 connection(s)
    007E72  [B2B-SAP.0006.0001] Executing invoke for ZBAPI_TEST_Service on SERVER-300
    007E73  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.execute (ZBAPI_TEST_Service) on handle [2]
    Questions :
       1) Is there a SAP BC configuration parameter for RFC execution timeout ??
       2) Any other way of enforcing the RFC time out ??
       3) If there is a way to set timeout on JCO.Client.execute method ??
    I really appreciate your help !!

    I have tried changes the connection timeout value but if doesnot affect the time RFC. Following is from SAP BC adapter  guide ..
    Delay (minutes) until an unused connection to a SAP
    System is timed out (default: 5)
    I think I need similar setting as that for RFC connection !!

  • JCO exceptions in business connector

    hi..
    i am getting the below JCO$ABAp exceptions in BC server.
    can anyone pls clarify the root cause of these errors and possible solutions as to how they can be eliminated:
    com.sap.mw.jco.JCO$AbapException: (126) INVALID_STATUS: INVALID_STATUS
         at com.wm.pkg.sap.rfc.SAPSession.invoke(SAPSession.java:463)
         at pub.sap.client.invoke(client.java:297)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
         at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
         at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
         at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
         at java.lang.Thread.run(Unknown Source)
    any inputs would be highly appreciated.
    thanks
    priya.

    hii..
    i am not handling sap side as such..just taking care of the business connector side.
    i need to know if the resulting jco exceptions are due to services running in bc or sap function module side
    thanks

  • JCO$Exception in business connector

    hi,
    i am getting the following JCO$exceptions in business connector production server.Also the message said is RFC internal error.I need to know the root cause of these exceptions and how they can be resolved either in business connector side or ABAP side.
    2005-11-25 08:29:49 GMT com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: internal error
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeCreateTID(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.createTID(MiddlewareRFC.java:1246)
         at com.sap.mw.jco.JCO$Client.createTID(JCO.java:3903)
         at com.wm.pkg.sap.rfc.SAPSession.createTID(SAPSession.java:768)
         at pub.sap.client.createTID(client.java:373)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
         at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
         at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
         at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
         at java.lang.Thread.run(Unknown Source)
    Any help on this regard would be extremely useful and appreciated.
    Thanks
    Regards,
    Ramya.

    hii..
    i am not handling sap side as such..just taking care of the business connector side.
    i need to know if the resulting jco exceptions are due to services running in bc or sap function module side
    thanks

  • JCo IDoc: SAP Business Connector required?

    On my searching for the error IDOC_ERROR_METADATA_UNAVAILABLE i have found this thread:
    BC 4.7 -IDOC_ERROR_METADATA_UNAVAILABLE
    "As of SAP BC 4.7 the SAP Adapter (the piece dealing with the SAP system(s)) uses the new SAP IDoc Java API which uses other function modules to retrieve the definition data of the IDocs.
    You need new permissions in the SAP system, especially
    S_IDOCDEFT:EDI_TCD=WE30,ACTVT=03,EDI_CIM=,EDI_DOC=
    S_CTS_ADMI:CTS_ADMFCT=TABL"
    Does JCo Idoc require the Business Connector installed to execute the JCoIDoc.createDocument() method? I guess not, but i can not see other reasons for the error message. If i read it correctly, the BC needs the permissions in SAP, but the JCoIdoc library does not depend on the BC.
    Mike

    No, it is not required.  At my company we use a third party software to handle all faxes.  Really it is setup SAP as an output device, so it is just like printing to a printer.  THe only differences is we need to have a header page in the sapscript which gives all of the details of the fax to the third party software.  This software then strips off this first page and faxes the rest of the pages.
    It is called RightFax and it runs on a separate server.
    Regards,
    Rich Heilman

  • Problem establishing Business Connector 4.8 and R/3 connection

    Hello,
    I'm currently running a few SAP Business Connectors 4.7 servers for my company, all connected to SAP R/3 4.7 backend, and everything works fine.
    I tried to setup the new BC 4.8, on a fresh Windows 2003 server, the install went fine, but when I try to make a new R/3 connection, with a working and existing RFC user (previously used by the former BC 4.7), I have the following error message :
    Error : class com.sap.conn.jco.JCoRuntimeException
    Message : Name or password is incorrect. Please re-enter on 192.168.0.4 sysnr 00
    Service : sap.admin.server:getInfo
    I don't understand because if I unplug the 4.8 server and plug back the 4.7 one with exactly SAME user/password and same R/3 connection properties, it works fine...
    I precise I re-typed manually the login/passwords in both BCs to ensure it's not due to a typo error.
    I have read that JCO has changed between 4.7 and 4.8 releases. Could it have an impact ? Also do I still need to install a librfc32.dll in my windows/system32 directory ?
    Any clues ?
    Thanks in advance for your help
    P.
    Edited by: Patrick TOURNEUR on Jul 21, 2008 6:40 PM

    Hello,
    just for your info, the JCo implementation has changed about this login function. BC 4.8 is using JCo 3, 4.7 used JCo 2.
    I never understood the whole problem completely, but as you found out by yourself, you are safe if you enter the user/pwd in SAP only uppercase, and also in BC
    SAP changed this user/login up/lowcase stuff at some time, which has caused many trouble in projects.
    CSY

  • RFC Error while trying to access function module from business connector

    Hi,
    I am getting the following RFc exceptions in BC server when we invoke the service pub.sap.client:invoke fail as a flow step in Idoc_Status_Add(this service is calling a function module in sap namely ZYBC_IDOC_STATUS_ADD_FROM_BC which Adds status to Idoc (from Business Connector).But no trace of failures are recorded in sap side
    except 1: rfc_failure in BC trace files under monitoring.I need to know the root cause of these errors as the same services have run finely later and IDOCs were also processed successfully without any problem.
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: See RFC trace file or SAP system log for more details
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1217)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3684)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3129)
    at com.wm.pkg.sap.rfc.SAPSession.invoke(SAPSession.java:437)
    at pub.sap.client.invoke(client.java:297)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source)
    could anyone throw light on how this kind of error can be resolved and why it occured?
    Thanks.

    What does the RFC trace file and log say? Has there been any dump on the SAP server? Check the logs and transaction st22 in your SAP system to see if the RFC-module has dumped.
    My guess is the problem is in the RFC-module, I think you should start looking there.
    regards,
    Dionisios

  • No SAP Option under Adapters in SAP business connector 4.7 Admin page

    Hi Experts,
    I have installed SAP BC 4.7 (both server and developer) and started the server (installation done with <sid>adm user). The problem I am facing is in configuration. There is no SAP option under Adapters because of which I am unable to configure ABAP stack here. Please help in resolving this.
    Below are some logs:
    sapqat01:ecqadm 52> java -jar /opt/sapbc47/Server/packages/SAP/code/jars/static/sapjco.jar -stdout
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc. Not found in java.library.path [/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin/classic:/opt/CA/SharedComponents/lib:/usr/sap/ECQ/SYS/exe/run:/opt/sapbc47/Server/packages/SAP/code/jars/static:/oracle/client/10x_64/instantclient:/usr/lib]
            at com.sap.mw.jco.JCO.<clinit>(JCO.java:638)
            at java.lang.J9VMInternals.initializeImpl(Native Method)
            at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
            at java.lang.Class.forNameImpl(Native Method)
            at java.lang.Class.forName(Class.java:119)
            at com.sap.mw.jco.About.<init>(About.java:33)
            at com.sap.mw.jco.About.main(About.java:98)
    SAP Java Connector (JCo)
    Copyright (c) 2000-2003 SAP AG. All rights reserved.
    Version Information
    Java Runtime:
    Operating System:    Linux 2.6.18-194.el5 for amd64
    Java VM:             1.4.2 IBM Corporation
    Java Codepage:       UTF8
    Versions:
    JCo API:             2.1.0 (2003-04-24)
    JCo middleware:      Library not found
    JCo library:         Library not found
    RFC library:         Library not found
    Paths:
    JCo classes:         System-defined path
    JCo library:         Library not found
    RFC library:         System-defined path
    Manifest
    Manifest-Version: 1.0
    Implementation-Version: 20030516 0830
    Specification-Title: SAP Java Connector
    Specification-Version: 2.1.0 (2003-04-24)
    Implementation-Title: com.sap.mw.jco
    Main-Class: com.sap.mw.jco.About
    Created-By: Ant 1.4.1
    Implementation-Vendor-Id: com.sap
    Implementation-Vendor: SAP AG, Walldorf
    Specification-Vendor: SAP AG, Walldorf
    server.log file has the following error:
    sapqat01:ecqadm 68> head -200 server.log
    000000  [B2BSERV.0025.0001] Business Connector Server 4.7 (Standard Encryption) Build 999
    000001  [B2BSERV.0025.0006] License Manager started
    000002  [B2BSERV.0025.0008] State Manager started
    000003  [B2BSERV.0025.0010] Service Manager started
    000004  [B2BSERV.0025.0012] Cache Manager started
    000005  [B2BSERV.0025.0009] WIDL Service Manager started
    000006  [B2BSERV.0025.0004] Flow Service Manager started
    000007  [B2BSERV.0025.0002] Package Manager started
    000008  [B2BSERV.0025.0011] Package Replicator Manager started
    000009  [B2BSERV.0028.0001] Loading packages
    00000A  [B2BSERV.0028.0005] Loading WmRoot package
    java.util.NoSuchElementException
            at java.util.StringTokenizer.nextToken(StringTokenizer.java:280)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:759)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntries(PackageManager.java:713)
            at com.wm.app.b2b.server.PackageManager.processPackageManifest(PackageManager.java:564)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:361)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:327)
            at com.wm.app.b2b.server.PackageManager.loadPackages(PackageManager.java:279)
            at com.wm.app.b2b.server.PackageManager.init(PackageManager.java:180)
            at com.wm.app.b2b.server.Server.run(Server.java:183)
    00000B  [B2BSERV.0028.0005] Loading WmPublic package
    00000C  [B2BSERV.0028.0026] Warning: Deprecated service type (webtap) in service pub.webtap:getPage in package WmPublic
    00000D  [B2BSERV.0028.0005] Loading WmPartners package
    java.util.NoSuchElementException
            at java.util.StringTokenizer.nextToken(StringTokenizer.java:280)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:759)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntries(PackageManager.java:713)
            at com.wm.app.b2b.server.PackageManager.processPackageManifest(PackageManager.java:564)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:361)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:327)
            at com.wm.app.b2b.server.PackageManager.loadPackages(PackageManager.java:279)
            at com.wm.app.b2b.server.PackageManager.init(PackageManager.java:180)
            at com.wm.app.b2b.server.Server.run(Server.java:183)
    00000E  [B2BSERV.0028.0005] Loading SAP package
    java.util.NoSuchElementException
            at java.util.StringTokenizer.nextToken(StringTokenizer.java:280)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:759)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntries(PackageManager.java:713)
            at com.wm.app.b2b.server.PackageManager.processPackageManifest(PackageManager.java:564)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:361)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:327)
            at com.wm.app.b2b.server.PackageManager.loadPackages(PackageManager.java:279)
            at com.wm.app.b2b.server.PackageManager.init(PackageManager.java:180)
            at com.wm.app.b2b.server.Server.run(Server.java:183)
    00000F  [B2BSERV.0028.0005] Loading WmSamples package
    java.util.NoSuchElementException
            at java.util.StringTokenizer.nextToken(StringTokenizer.java:280)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:759)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntries(PackageManager.java:713)
            at com.wm.app.b2b.server.PackageManager.processPackageManifest(PackageManager.java:564)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:361)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:327)
            at com.wm.app.b2b.server.PackageManager.loadPackages(PackageManager.java:279)
            at com.wm.app.b2b.server.PackageManager.init(PackageManager.java:180)
            at com.wm.app.b2b.server.Server.run(Server.java:183)
    000010  [B2BSERV.0028.0005] Loading WmDB package
    java.util.NoSuchElementException
            at java.util.StringTokenizer.nextToken(StringTokenizer.java:280)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:759)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntry(PackageManager.java:734)
            at com.wm.app.b2b.server.PackageManager.readAccessEntries(PackageManager.java:713)
            at com.wm.app.b2b.server.PackageManager.processPackageManifest(PackageManager.java:564)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:361)
            at com.wm.app.b2b.server.PackageManager.loadPackage(PackageManager.java:327)
            at com.wm.app.b2b.server.PackageManager.loadPackages(PackageManager.java:279)
            at com.wm.app.b2b.server.PackageManager.init(PackageManager.java:180)
            at com.wm.app.b2b.server.Server.run(Server.java:183)
    000011  [B2BSERV.0028.0005] Loading Default package
    000012  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.event:startEventAgentPort)
    000013  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.net.email:init)
    000014  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.net.ftp:init)
    000015  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.net.http:init)
    000016  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.net.https:init)
    000017  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.net.smime:init)
    000018  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.net.sock:init)
    000019  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.net.sslsock:init)
    00001A  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.ns:syncToNamespace)
    00001B  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.remote:init)
    00001C  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.schedule:init)
    00001D  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.security.revInvoke:init)
    00001E  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.tx:init)
    00001F  [B2BCORE.0063.0011] Start
    000020  [B2BSERV.0028.0012] WmRoot: Startup service (wm.server.soap:init)
    000021  [B2BSERV.0028.0012] WmPublic: Startup service (pub.ldap:init)
    000022  [B2BSERV.0028.0012] WmPartners: Startup service (wm.PartnerMgr.gateway.admin:startup)
    000023  [B2BPCKG.0074.0003] TransactionManager: init (entries=0, freeBlocks=0, maxFree=0, bytes=0, sync=true, file=packages/WmPartners/config/xtn.log)
    000024  [B2BPCKG.0073.0005] Admin: WmPartners Startup ok
    000025  [B2BSERV.0028.0012] SAP: Startup service (sap.admin:startup)
    000026  [B2BSERV.0028.0013] Startup service exited with the following error: java.lang.reflect.InvocationTargetException: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc. Not found in java.library.path [/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin/classic:/opt/sapbc47/Server/packages/WmWin32/code/libs:/opt/sapbc47/Server/packages/WmPartners/code/libs:/opt/sapbc47/Server/packages/SAP/code/libs:/opt/sapbc47/Server/lib:/opt/CA/SharedComponents/lib:/usr/sap/ECQ/SYS/exe/run:/oracle/client/10x_64/instantclient:/usr/lib]
    000027  [B2BSERV.0028.0012] SAP: Startup service (sap.admin.xslt:startup)
    000028  [B2BSERV.0028.0012] SAP: Startup service (sap.transport:ALEinit)
    000029  [B2BSERV.0028.0013] Startup service exited with the following error: java.lang.reflect.InvocationTargetException: com.wm.pkg.sap.SAPConfig (initialization failure)
    00002A  [B2BSERV.0028.0012] SAP: Startup service (sap.transport:BAPIinit)
    00002B  [B2BSERV.0028.0012] SAP: Startup service (sap.transport:RFCinit)
    00002C  [B2BSERV.0028.0012] SAP: Startup service (sap.transport:XMLinit)
    00002D  [B2BSERV.0028.0012] SAP: Startup service (sap.demo.idoc:registerDemoRoutings)
    00002E  [B2BSERV.0028.0012] WmDB: Startup service (wm.server.db:startup)
    00002F  [B2BSERV.0025.0005] Port Manager started
    000030  [B2BSERV.0025.0013] Cache Sweeper started
    000031  [B2BSERV.0025.0016] Config File Directory Saved
    000032  [B2BSERV.0014.0002] Initialization complete.
    000033  -
      2011-10-11 03:20:36 EDT
    000034  [B2BSERV.0014.0005] Shutting down server. User requested.
    000035  [B2BSERV.0028.0015] SAP: Shutdown service (sap.admin:shutdown)
    000036  [B2BSERV.0028.0016] Shutdown service exited with the following error: java.lang.reflect.InvocationTargetException: com.wm.pkg.sap.SAPConfig (initialization failure)
    000037  [B2BSERV.0028.0015] WmPartners: Shutdown service (wm.PartnerMgr.gateway.admin:shutdown)
    000038  [B2BPCKG.0073.0001] Admin: WmPartners Shutdown
    000039  [B2BSERV.0028.0015] WmPublic: Shutdown service (pub.ldap:shutdown)
    00003A  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.net.http:shutdown)
    00003B  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.net.https:shutdown)
    00003C  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.net.ftp:shutdown)
    00003D  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.net.email:shutdown)
    00003E  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.tx:shutdown)
    00003F  [B2BCORE.0063.0013] Shutdown
    000040  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.schedule:shutdown)
    000041  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.remote:shutdown)
    000042  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.net.sock:shutdown)
    000043  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.net.sslsock:shutdown)
    000044  [B2BSERV.0028.0015] WmRoot: Shutdown service (wm.server.security.revInvoke:shutdown)
    000045  [B2BSERV.0014.0006] Server shutdown completed.
    If anyone knows the solution, then please let me know. Your help is appreciated.
    Best Regards,
    Vikash Chandra
    Edited by: Chandra Vikash on Oct 11, 2011 1:46 PM

    Hello gaurav,
    I have tried re-installing.
    I am able to open the web-admin and also all the links except the ones in the adapters section.
    I have checked the installation document, adapter guide for BC 4.8 but i couldnt find anything useful.
    I was just wondering if it has got anything to do with the OS.
    lemme know if you have come across anything like this.
    thanks for the help.
    Sreejith

  • IDOC_ERROR_ILLEGAL_TYPE in business connector 4.7

    Hi,
    IDOCS are being sent from sap system to Business connector and conversion to xml is done through bc services
    I am getting the following exceptions in business connector production server.I need to know the rootcauses of these exceptions and how they can be resolved
    2005-11-25 08:15:40 GMT com.sap.mw.idoc.IDoc$Exception: (3) IDOC_ERROR_ILLEGAL_TYPE: The document does not correspond to the associated repository.
         at com.sap.mw.idoc.jco.JCoIDoc$JCoDocumentList.add(JCoIDoc.java:3095)
         at com.wm.pkg.sap.rfc.SAPSession.sendIDoc(SAPSession.java:671)
         at pub.sap.client.sendIDoc(client.java:356)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
         at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
         at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
         at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
         at java.lang.Thread.run(Unknown Source)
    Regards,
    priya.

    I am with the same problem and it is apparently caused because the xml file is without encoding,

  • Business connector exceptions(java)

    Hi,
    I am getting java exceptions from Business connector server continously.Need to know the root cause of these errors and how they can be eliminated.
    The error i am getting is as below:
    com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: internal error
               at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeCreateTID(Native Method)
               at com.sap.mw.jco.rfc.MiddlewareRFC$Client.createTID(MiddlewareRFC.java:1246)
               at com.sap.mw.jco.JCO$Client.createTID(JCO.java:3903)
               at com.wm.pkg.sap.rfc.SAPSession.createTID(SAPSession.java:768)
               at pub.sap.client.createTID(client.java:373)
               at java.lang.reflect.Method.invoke(Native Method)
               at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
               at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
               at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
               at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
               at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
               at com.wm.lang.flow.FlowState.step(FlowState.java:430)
               at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
               at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
               at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
               at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
               at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
               at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
               at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
               at java.lang.Thread.run(Unknown Source)
    Any help on this regard would be highly appreciated.
    Thanks in advance.
    Regards,
    Priya.

    Hi Astrid,
    thanks for ur reply.
    i will chk that out and by the way the below is the full error log am getting and also there is some data loss in inbound messages to sap due to this error and IDOC exception.can u pls help on this issue
    Error being reported is:
    com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: internal error
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeCreateTID(Native Method)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.createTID(MiddlewareRFC.java:1246)
    at com.sap.mw.jco.JCO$Client.createTID(JCO.java:3903)
    at com.wm.pkg.sap.rfc.SAPSession.createTID(SAPSession.java:768)
    at pub.sap.client.createTID(client.java:373)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source)
    and
    com.sap.mw.idoc.IDoc$Exception: (3) IDOC_ERROR_ILLEGAL_TYPE: The document does not correspond to the associated repository.
    at com.sap.mw.idoc.jco.JCoIDoc$JCoDocumentList.add(JCoIDoc.java:3095)
    at com.wm.pkg.sap.rfc.SAPSession.sendIDoc(SAPSession.java:671)
    at pub.sap.client.sendIDoc(client.java:356)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source)
    thanks in advance
    regards,
    priya.

  • Business connector idoc error

    hi,
    i am getting these errors continously in bc server after restart of sap due to which there is data loss in the inbound messages to sap.outbound messages were processed every time sap was started.the errors are as follows:
    com.sap.mw.idoc.IDoc$Exception: (3) IDOC_ERROR_ILLEGAL_TYPE: The document does not correspond to the associated repository.
    at com.sap.mw.idoc.jco.JCoIDoc$JCoDocumentList.add(JCoIDoc.java:3095)
    at com.wm.pkg.sap.rfc.SAPSession.sendIDoc(SAPSession.java:671)
    at pub.sap.client.sendIDoc(client.java:356)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source)
    and am also getting rfc error as follows:
    com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: internal error
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeCreateTID(Native Method)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.createTID(MiddlewareRFC.java:1246)
    at com.sap.mw.jco.JCO$Client.createTID(JCO.java:3903)
    at com.wm.pkg.sap.rfc.SAPSession.createTID(SAPSession.java:768)
    at pub.sap.client.createTID(client.java:373)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source) .
    please let me know rootcause of these errors and wat can be done to resolve it soon
    thanks in advance,
    regards,
    priya.

    Not sure if it will help, but have you tried to flush the structure cache? I think you will have problems if the structure of the IDoc has changed in the R/3 system and the Business Connector is not aware of the change.
    BR,
    Tony.

  • SAP Business Connector in xMII 12.0

    Hi,
        Can somebody help me out about SAP business connector action in transaction? and How to send one XML or Message from SAP xMII 12.0 to SAP ERP system?
    Thanks,
    Madhavi

    Hi Madhavi,
    Business Connector is a fairly old middleware technology provided by SAP which can be used to integrate SAP ERP to other applications. It is largely superseded by SAP XI/PI (which provides better, more robust & scalable middleware and A2A integration functionality). MII can connect to XI/PI via its SOAP or HTTP post actions, or via the SAP XI action block for business logic transactions (released via SDN for MII 11.5, and part of the MII 12.0 core product).
    For direct connections to ERP systems (e.g. for RFC calls), use the JCo action blocks in MII 11.5, and the JRA actions in v. 12.0.
    Hope this helps,
    Sascha

  • Business connector java exceptions

    Hi,
    i am getting the below exceptions in BC server :
    java.net.ConnectException: Operation timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at com.wm.net.NetURLConnection.httpConnect(NetURLConnection.java:502)
    at com.wm.net.NetURLConnection.connect(NetURLConnection.java:162)
    at com.wm.net.HttpURLConnection.getOutputStream(HttpURLConnection.java:419)
    at com.wm.net.HttpContext.getOutputStream(HttpContext.java:578)
    at com.wm.net.HttpContext.getOutputStream(HttpContext.java:554)
    at com.wm.net.HttpContext.post(HttpContext.java:338)
    at pub.client.http(client.java:579)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:466)
    at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
    at com.wm.app.b2b.server.Service.doInvoke(Service.java:464)
    at com.wm.pkg.sap.rfc.Listener.handleRequest(Listener.java:340)
    at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7238)
    at com.sap.mw.idoc.jco.JCoIDoc$Server.dispatchRequest(JCoIDoc.java:10268)
    at com.wm.pkg.sap.rfc.Listener.dispatchRequest(Listener.java:227)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1368)
    at com.sap.mw.jco.JCO$Server.listen(JCO.java:6805)
    at com.sap.mw.jco.JCO$Server.run(JCO.java:6734)
    at com.wm.pkg.sap.rfc.Listener.run(Listener.java:117)
    at java.lang.Thread.run(Unknown Source)
    also,the error recorded in the audit log is a function module name which has been defined in BC as a function map and the sap system is calling business connector to execute a particular service which is pub:client:http.
    inbound mapping has been done and when sap system calls BC to exceute this service,the above exceptions are raised.
    need to know the root cause of these exceptions and how they can be rectified.
    also,please clarify if the exceptions
    at com.wm.net.NetURLConnection.httpConnect(NetURLConnection.java:502)
    at com.wm.net.NetURLConnection.connect(NetURLConnection.java:162)
    at com.wm.net.HttpURLConnection.getOutputStream(HttpURLConnection.java:419)
    are occuring due to incorrect parameters in URL of http service or some other reason.
    any help in this regard would be appreciated
    thanks.

    Hi Priya
    Seeing the messages, it appears that server is down.
    "java.net.ConnectException" occurs whenever you try to connect to a system which is not up and running.
    cheers
    Sameer
    PS: Please award points if you find the answer useful

  • Error log on http request from business connector (BC)

    Hi all,
    We are sending http requests from our business connector to one client but the messages keep having log errors :
    server.log details :
    003C24  [B2BCORE.0064.0014] Opening Socket https://www.qab2b.xxx.com:443/invoke/wm.b2b.cxml:receiveCXML  proxy=10.28.38.27:80
    003C25  [B2BCORE.0038.0002] --> CONNECT www.qab2b.xxx.com:443 HTTP/1.0
    003C26  [B2BCORE.0038.0002] --> User-Agent: Mozilla/4.0 [en] (WinNT; I)
    003C27  [B2BCORE.0038.0002] --> Accept: image/gif, /
    003C28  [B2BCORE.0038.0002] --> Host: www.qab2b.xxx.com:443
    003C29  [B2BCORE.0038.0002] --> Proxy-Authorization: Basic YWJ1c2luZXNzY29ubmVjdG9yOmFidXNpbjA0
    003C2A  [B2BCORE.0038.0002] --> Authorization: Basic U0ZSQ2VnZXRlbDoyMDA3KkVBSV9TRlI=
    003C2B  [B2BCORE.0038.0002] > Content-type: multipart/mixed; boundary="--=_Part_0_1941981.1219399983635"
    003C2C  [B2BCORE.0038.0002] --> Message-ID: <7159395.1219399983666.JavaMail.SYSTEM@sw0030>
    003C2D  [B2BCORE.0038.0002] --> Mime-Version: 1.0
    003C2E  [B2BCORE.0040.0001] HTTP/1.1 200
    003C2F  [B2BCORE.0064.0017] Proxy Header <--Connection established
    003C30  [B2BCORE.0038.0002] --> POST /invoke/wm.b2b.cxml:receiveCXML HTTP/1.0
    003C31  [B2BCORE.0038.0002] --> User-Agent: Mozilla/4.0 [en] (WinNT; I)
    003C32  [B2BCORE.0038.0002] --> Accept: image/gif, /
    003C33  [B2BCORE.0038.0002] --> Host: www.qab2b.xxx.com:443
    003C34  [B2BCORE.0038.0002] --> Proxy-Authorization: Basic YWJ1c2luZXNzY29ubmVjdG9yOmFidXNpbjA0
    003C35  [B2BCORE.0038.0002] --> Authorization: Basic U0ZSQ2VnZXRlbDoyMDA3KkVBSV9TRlI=
    003C36  [B2BCORE.0038.0002] > Content-type: multipart/mixed; boundary="--=_Part_0_1941981.1219399983635"
    003C37  [B2BCORE.0038.0002] --> Message-ID: <7159395.1219399983666.JavaMail.SYSTEM@sw0030>
    003C38  [B2BCORE.0038.0002] --> Mime-Version: 1.0
    003C39  [B2BCORE.0038.0002] --> Content-Length: 188225
    003C3A  [B2BCORE.0040.0001] HTTP/1.0 200
    003C3B  [B2BCORE.0041.0001] ssnid=86087kPxFCsECcmXU5DHUAInKY9mEIIU-9355222; path=/;
    003C3C  [B2BCORE.0038.0002] <-- Set-Cookie: ssnid=86087kPxFCsECcmXU5DHUAInKY9mEIIU-9355222; path=/;
    003C3D  [B2BCORE.0038.0002] <-- Content-Type: multipart/mixed; boundary="----=_Part_0_1941981.1219399983635"
    003C3E  [B2BCORE.0038.0002] <-- Connection: Close
    003C3F  [B2BCORE.0038.0002] <-- Content-Length: 0
    003C40  [B2BCORE.0049.0008] Sequence : index=8 depth=3
    003C41  [B2BCORE.0049.0008] Sequence : index=6 depth=2
    003C42  [B2BCORE.0049.0008] Sequence : index=1 depth=3
    003C43  [B2BCORE.0049.0005] Invoke : index=1 depth=4
    003C44  [B2BCORE.0049.0008] Sequence : index=2 depth=3
    003C45  [B2BCORE.0049.0005] Invoke : index=1 depth=4
    003C46  [B2BCORE.0049.0008] Sequence : index=3 depth=3
    003C47  [B2BCORE.0049.0005] Invoke : index=1 depth=4
    003C48  [B2BSERV.0048.9999] Array index out of range: -1
    003C49  [B2BCORE.0049.0008] Sequence : index=4 depth=3
    003C4A  [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedStatusCode(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@code(0)
    003C4B  [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedMessage(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/*body(0)
    003C4C  [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedText(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@text(0)
    003C4D  [B2BCORE.0049.0008] Sequence : index=5 depth=3
    003C4E  [B2BCORE.0049.0008] Sequence : index=6 depth=3
    003C4F  [B2BCORE.0049.0008] Sequence : index=7 depth=2
    003C50  [B2BCORE.0049.0008] Sequence : index=2 depth=1
    003C51  [B2BSERV.0056.0003] Unable to send mail. Illegal address
    error java log on server>logs>error:
    2008-08-22 12:16:33 CEST java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
         at com.wm.util.List.elementAt(List.java:101)
         at com.wm.lang.xml.token.BlockInputBuffer.getChar(BlockInputBuffer.java:59)
         at com.wm.lang.xml.TextNode.appendSqueezedText(TextNode.java:178)
         at com.wm.lang.xml.ElementNode.appendSqueezedText(ElementNode.java:333)
         at com.wm.lang.xml.ElementNode.getTextOfChildren(ElementNode.java:309)
         at com.wm.lang.xml.Document.getTextOfChildren(Document.java:542)
         at com.wm.app.b2b.services.DocumentToRecordService.recursiveCollect(DocumentToRecordService.java:661)
         at com.wm.app.b2b.services.DocumentToRecordService.bind(DocumentToRecordService.java:356)
         at pub.web.documentToRecord(web.java:667)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:392)
         at wm.PartnerMgr.gateway.transport.B2B.OutboundProcess(B2B.java:157)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:464)
         at wm.PartnerMgr.gateway.runtime.InboundProcess(runtime.java:423)
         at pub.sap.transport.RFC.InboundProcess(RFC.java:190)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:464)
         at com.wm.pkg.sap.rfc.Listener.handleRequest(Listener.java:286)
         at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:6022)
         at com.sap.mw.idoc.jco.JCoIDoc$Server.dispatchRequest(JCoIDoc.java:10120)
         at com.wm.pkg.sap.rfc.Listener.dispatchRequest(Listener.java:186)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1070)
         at com.sap.mw.jco.JCO$Server.listen(JCO.java:5797)
         at com.sap.mw.jco.JCO$Server.run(JCO.java:5731)
         at com.wm.pkg.sap.rfc.Listener.run(Listener.java:101)
         at java.lang.Thread.run(Thread.java:479)
    Thanks for your support on this eai.
    Regards,
    Laurent.

    ok, I think we do not need the save/loadPipeline things, because you can debug the flow without that. I first thought you act as HTTP server, but you issue the client call in the flow itself.
    Looking at the logs more carefully, it shows for example:
    Copy failed: (Simple) No source data available: to=/returnedStatusCode(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@code(0)
    But you say have that input:
    <?xml version="1.0"?>
    <!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.011/cXML.dtd">
    <cXML version="1.2.011" payloadID="20080825171850716.18637uTQ9ExzheaK+H6b7O9oCAQWPzHA-9355222.8b3632def70da7220004d0b6" timestamp="2008-08-25T17:18:50-CEST">
    <Response>
    <Status code="500">No cXML document received from sender.</Status>
    </Response>
    </cXML>
    So we see that your mappings assumptions do not match the result structure.
    The other problem is that you get a status 500 and do not receive a cXML document, but that might be ok, depending on what parameters you pass to the other HTTP server. At least, you get a meaningful error message back from the server, meaning communication is ok.
    I suggest you first correct those "copy failed" issues and then check by single-stepping where exactly the flow fails and check that input again.
    By the way, when I feed the above cXML into recordToDocument, it works fine. Did you specify other input parameters besides "node" (e.g. recordName) ? And again, are you on Core Fix 8 ?
    CSY

  • Version of Business Connector Supported

    Hi ,
    What version of Business Connector supported in xMII? Is it possible to connect SAP ECC6.0 with the BC 4.7 using xMII?
    Thanks,
    Bala

    My apologies for putting this so BLUNTLY, but why would you want to do this?
    ECC 6 fully supports JCO in which case you would use the xMII JCO blocks that are already in place and have been for some time now.

Maybe you are looking for

  • Could not run JSP in eclipse

    Hi, I installed the eclipse and it is running fine with the .java files. I installed the Tomcat4.1 and configured it with eclipse. now iam able to run and stop the Tomcat server from the elcipse. I created a Tomcat project and trying to run Helloworl

  • Hyperlinks don't work, pause button on quicktime music doesn't work, help!

    Hi, This is my second time with I web, having created and maintained a site for 2 years I know a lot about the program. The thing that kills me with this program is that even when you think you do something right, there's a chance it just may not wor

  • Generation of XML Tags for columns in Lexical parameter in select query

    Hi, I have lexical parameter in my select statement of my data model in the report. How do i generate XML tags for these columns inside a Lexical Parameter? Simple Example: I have data model query as follows: SELECT msi.inventory_item_id &LP_SELECT F

  • Insert webpart zone in tabs in webpart page using sharepoint designer 2010

    Hi All, I am facing a problem , its looks very easy but i couldn't found any clue about this. i have created a webpart page, after this i have enable to view quick launch in this webpart page. then i have create a some tabs with reference to this sit

  • Background stage question

    Hello Developers, I normally use the stage colour as the background, but I want to change the colour of the background for one scene in a new IOS app I am coding.  This scene will have some objects that are animated.  I just want to use a solid colou