Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2018

Cannot directly deploy SwitchYard project into Fuse on Karaf

XMLWordPrintable

    • Hide

      1. Create new SY project with Fuse (on Karaf) runtime
      2. Add HelloBean (a bean with a method String sayHello(String name))
      3. Promote service add add HTTP binding
      4. Save and try to deploy to the server

      Show
      1. Create new SY project with Fuse (on Karaf) runtime 2. Add HelloBean (a bean with a method String sayHello(String name)) 3. Promote service add add HTTP binding 4. Save and try to deploy to the server
    • Workaround Exists
    • Hide

      1. Open pom.xml and replace switchyard.osgi.version in the following line

      <switchyard.osgi.import.switchyard.version>version="[$(version;==;${switchyard.osgi.version}),$(version;=+;${switchyard.osgi.version}))"</switchyard.osgi.import.switchyard.version>

      by its value

      2. Or you can install the bundle into local maven repo and then install it as follows

      osgi:install -s mvn:com.example.switchyard/switchyard-example/0.0.1-SNAPSHOT
      
      Show
      1. Open pom.xml and replace switchyard.osgi.version in the following line <switchyard.osgi.import.switchyard.version>version="[$(version;==;${switchyard.osgi.version}),$(version;=+;${switchyard.osgi.version}))"</switchyard.osgi.import.switchyard.version> by its value 2. Or you can install the bundle into local maven repo and then install it as follows osgi:install -s mvn:com.example.switchyard/switchyard-example/0.0.1-SNAPSHOT

      Cannot directly deploy SwitchYard project into Fuse on Karaf. To do this you have to manually update the pom.xml.

      It seems that it cannot parse the line

      <switchyard.osgi.import.switchyard.version>version="[$(version;==;${switchyard.osgi.version}),$(version;=+;${switchyard.osgi.version}))"</switchyard.osgi.import.switchyard.version>
      

        1. manifest-error.png
          manifest-error.png
          7 kB
        2. npe_in_master.txt
          2 kB
        3. stacktrace.txt
          10 kB
        4. switchyard-example.jar
          2 kB
        5. switchyard-example.zip
          5 kB
        6. switchyard-example-0.0.1-SNAPSHOT.jar
          6 kB
        7. sy_deployment_to_fuse.mp4
          9.04 MB

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              apodhrad@redhat.com Andrej Podhradsky
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: