Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.2
    • Fix Version/s: fuse-7.3
    • Component/s: Fuse EAP
    • Labels:
      None
    • Sprint:
      Fuse 7.3 Sprint 40 - Dev #1
    • Steps to Reproduce:
      Hide

      download attached reproducer
      mvn wildfly:deploy

      Show
      download attached reproducer mvn wildfly:deploy

      Description

      [From[timer:x]] -> [SetBody[constant{Hi Camels... because of Failed to create Producer for endpoint: ircs://camel-prod@chat.freenode.net:6697?nickname=camel-producer&channel=camel-test. Reason: java.lang.NoClassDefFoundError: javax/net/SocketFactory
          Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[[From[timer:x]] -> [SetBody[constant{Hi Camels... because of Failed to create Producer for endpoint: ircs://camel-prod@chat.freenode.net:6697?nickname=camel-producer&channel=camel-test. Reason: java.lang.NoClassDefFoundError: javax/net/SocketFactory
          Caused by: org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: ircs://camel-prod@chat.freenode.net:6697?nickname=camel-producer&channel=camel-test. Reason: java.lang.NoClassDefFoundError: javax/net/SocketFactory
      

      Suggested fix:
      add module dependency to camel-irc

      <?xml version="1.0" encoding="UTF-8"?>^M
      <module name="org.apache.camel.component.irc" xmlns="urn:jboss:module:1.1">
        <resources>
          <resource-root path="camel-irc-2.21.0.fuse-720040-redhat-00001.jar"/>
          <resource-root path="irclib-1.10.jar"/>
        </resources>
        <dependencies>
      +    <module name="javax.api"/>
          <module name="org.slf4j"/>
          <module name="javax.xml.bind.api"/>
          <module name="org.apache.camel.core"/>
        </dependencies>
        <exports>
          <exclude path="org/schwering"/>
          <exclude path="org/schwering/irc"/>
        </exports>
      </module>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                thomas.diesler Thomas Diesler
                Reporter:
                jbouska Jan Bouska
                Tester:
                Jan Bouska
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: