6 Replies Latest reply on Mar 24, 2009 1:10 PM by mielket

    I can't find the EIP or Camel Context Run configuation.

    jucaro

      Hello all,

       

      I have installed Fuse (apparently successfuly), I am able to create EIP, export them as Camel context, and everything. But, when I try to run or debug them, I cant find the FUSE Integration Designer EIP nor the Camel Context Run configuration.

       

      I am attaching a screenshot and the the eclipse log. It seems to be that I still am missing some dependencies:

       

      Unable to satisfy dependency from com.iona.eitools.camel.exporter.tests 1.1.0.200901271115 to requiredCapability: osgi.bundle/com.fusesource.jython/2.1.0.

      requiredCapability: osgi.bundle/com.fusesource.jython/2.1.0

       

      Could someone help me on this one?

       

      Thanks a lot!

      Juan

       

      My environment:

      java version "1.6.0_10"eclipse Version: 3.4.1FUSE Core features: Version: 1.1.0

      Web Standard Tools: Version: 3.0.4Maven 2.0 integration Version: 0.9.7

      Eclipse Mylyn Project Version: 3.0.2

      CXF Web Services (Incubation): Version: 0.3.2

      XML Schema Definition (XSD): Version: 2.4.1

      Spring IDE: Version: 2.2.2

       

       

        • 1. Re: I can't find the EIP or Camel Context Run configuation.
          sinavolu

          Hi,

           

          The plugin "com.iona.eitools.camel.exporter.tests" is used for executing JUnit test cases for exporter.

           

          But the problem is it is unable load the plugin: "com.iona.eitools.grinder.debugger.camel" which will contribute to the Eclipse launch configuration.

           

          Eclipse is unable to load this plugin because of missing springframework plugin and org.apache.commons.collections plugin.

           

          From your log file:

          !MESSAGE Unable to satisfy dependency from com.iona.eitools.grinder.debugger.camel 1.1.0.200901271115 to requiredCapability: osgi.bundle/org.springframework.bundle.spring/0.0.0.

          !MESSAGE Unable to satisfy dependency from com.iona.eitools.grinder.debugger.camel 1.1.0.200901271115 to requiredCapability: osgi.bundle/org.apache.commons.collections/0.0.0.

           

          Can you please check if you have these plugins in your plugin directory:

          org.springframework.bundle.spring

          org.apache.commons.collections

           

          Ideally Eclipse updatesite should have installed these plugins automatically.

           

          But you can get these plugins from:

          http://repo.fusesource.com/eclipse/mirror/1.1/community/

          and

          http://repo.fusesource.com/eclipse/mirror/1.1/spring/ (inside the zip file).

           

          Thanks

          Suresh

          • 2. Re: I can't find the EIP or Camel Context Run configuation.
            mielket

            Hhm, according to chapter 5 in the Integration Designer users guide there should indeed be options to create "run" and "debug" configurations but they currently don't exist. Let me follow up internally on what the current story is. I will get back to you shortly.

            • 3. Re: I can't find the EIP or Camel Context Run configuation.
              mielket

              Thanks for your investigations.

               

              These dependencies really should have been resolved when the Integration Designer was installed.

               

              However, even after installing these plugins

              org.springframework.bundle.spring

              org.apache.commons.collections

               

              there is no option to run or debug the EIP diagram. The error log contains more unresolved dependencies, like

              Unable to satisfy dependency from com.iona.eitools.grinder.debugger.camel 1.1.0.200901271115 to requiredCapability: osgi.bundle/org.springframework.bundle.spring/0.0.0.
              

               

              Edited by: tmielke on Mar 24, 2009 11:35 AM

              • 4. Re: I can't find the EIP or Camel Context Run configuation.
                sinavolu

                Hey,

                 

                It looks that the problem is with Spring IDE.

                 

                We depend on the plugin: org.springframework.bundle.spring.

                 

                When I look at the update site of the new version of SpringIDE (2.2.2) and it doesn't have this plugin - they might have removed this in the new version.

                 

                The update site originally mentioned in the documentation: http://springide.org/updatesite now refers to the new version 2.2.2 instead of 2.2.1.

                 

                Hence, instead of using the update site, please use the zip file available at  http://repo.fusesource.com/eclipse/mirror/1.1/spring/spring-ide_updatesite_2.2.1_v200811281800.zip

                 

                Steps to follow:

                1) Unzip this zip on a local folder (say C:\fid\dependencies\springide),

                2) Follow the steps present in  http://fusesource.com/docs/id/1.1/install_guide/IGFuseIdInstall.html

                3) At step 7, instead of giving the Spring update site, please give local site: C:\fid\dependencies\springide (click on "Add site..." select "Local..." and select the folder).

                 

                Please reply back if you still have any issues.

                Also please don't select "Grinder Tests Feature" in the FUSE category - you don't require that feature.

                 

                Thanks

                Suresh

                • 5. Re: I can't find the EIP or Camel Context Run configuation.
                  mielket

                  I have logged UI-548 for this problem.

                  • 6. Re: I can't find the EIP or Camel Context Run configuation.
                    jucaro

                    Hi Suresh,

                     

                    Thank you for the tip. I tryed it in my current eclipse instalation but it (of course) requires the old Spring plug-in to be uninstalled. So I will be waiting for the FUSE bugfix.

                    In the meanwhile I will be using plain-old-good maven (when you crete a project using the FUSE archetypes, the pom.xml includes a plugin that allows you to run the route via maven. i.e.: mvn camel:run). What I in deed did was to create a maven run configuration in eclipse to call this goal. The result is almost identical as running the route via Fuse run configuration, except for debuging.

                     

                    Again, thanks a lot!

                    Juan