Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3177

Camel SAP - "JCo server is currently running" issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • jboss-fuse-6.2
    • Camel
    • None
    • % %
    • Hide
      install -s mvn:org.jboss.quickstarts.fuse/sap-srfc-server-fuse
      stop sap-srfc-server-fuse
      start sap-srfc-server-fuse
      

      OR

      install -s mvn:org.jboss.quickstarts.fuse/sap-srfc-server-fuse
      install -s mvn:org.jboss.quickstarts.fuse/sap-trfc-server-fuse
      
      Show
      install -s mvn:org.jboss.quickstarts.fuse/sap-srfc-server-fuse stop sap-srfc-server-fuse start sap-srfc-server-fuse OR install -s mvn:org.jboss.quickstarts.fuse/sap-srfc-server-fuse install -s mvn:org.jboss.quickstarts.fuse/sap-trfc-server-fuse

      Try to restart a bundle with sap-*-server camel component or install two different bundles with this a "sap-server" component and you will get the following error:

      2015-05-11 09:26:57,632 | ERROR | rint Extender: 2 | BlueprintCamelContext            | ?                                   ? | 203 - org.apache.camel.camel-blueprint - 2.15.0.redhat-620099 | Error occurred during starting Camel: CamelContext(sap-trfc-server-fuse-context) due JCo server is currently running. Current server state is ALIVE
      com.sap.conn.jco.JCoRuntimeException: (136) JCO_ERROR_ILLEGAL_STATE: JCo server is currently running. Current server state is ALIVE
      	at com.sap.conn.jco.rt.DefaultServer.start(DefaultServer.java:785)
      	at org.fusesource.camel.component.sap.SapRfcServerComponent.getServer(SapRfcServerComponent.java:128)
      	at org.fusesource.camel.component.sap.SapRfcServerComponent.getServerHandlerFactory(SapRfcServerComponent.java:83)
      	at org.fusesource.camel.component.sap.SapTransactionalRfcServerEndpoint.createConsumer(SapTransactionalRfcServerEndpoint.java:58)
      

      TCP connection is never closed. Even if these bundles are uninstalled!
      Try: netstat -putnae | grep java

            bicollin1@redhat.com William Collins (Inactive)
            mbasovni Martin Basovnik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: