Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-577

servicemix camel can't deal with the message have the security subject rightly

    XMLWordPrintableJSON

Details

    Description

      Role based access control that is set up in the security.xml file to protect component access based on group membership does not work for Camel JBI components. The Camel JBI component throws "user not authorized for this endpoint" when the user is a member of the role specified in security.xml file and clearly displayed on the Servicemix console.

      2008-10-22 14:40:02,623 [qtp0-0 ] DEBUG JAASAuthenticationService -
      Authenticating 'alice
      2008-10-22 14:40:02,633 [qtp0-0 ] DEBUG PropertiesLoginModule -
      Initialized debug=true usersFile=users-passwords.properties groupsFile=groups.p
      roperties basedir=D:\IONA\FUSE\ESB-3.3.1.9\conf
      2008-10-22 14:40:02,633 [qtp0-0 ] DEBUG PropertiesLoginModule -
      login alice
      2008-10-22 14:40:02,633 [qtp0-0 ] DEBUG PropertiesLoginModule -
      commit
      2008-10-22 14:40:02,633 [qtp0-0 ] DEBUG JAASAuthenticationService -
      Authenticating alice successfully
      2008-10-22 14:40:02,663 [qtp0-0 ] DEBUG SecuredBroker -
      send exchange with secure broker
      2008-10-22 14:40:02,663 [qtp0-0 ] DEBUG SecuredBroker -
      service name :

      {http://servicemix.apache.org/replaceMe}

      my-camel-su
      2008-10-22 14:40:02,663 [qtp0-0 ] DEBUG SecuredBroker -
      operation name :

      {http://apache.org/hello_world_soap_http}

      greetMe
      2008-10-22 14:40:02,663 [qtp0-0 ] DEBUG SecuredBroker -
      authorization for Subject:
      Principal: WSUsernameTokenPrincipal: alice
      Principal: alice
      Principal: admin

      2008-10-22 14:40:02,683 [-camel-thread-1] DEBUG SecuredBroker -
      send exchange with secure broker
      2008-10-22 14:40:02,683 [-camel-thread-1] DEBUG SecuredBroker -
      service name :

      {http://apache.org/hello_world_soap_http}

      SOAPServiceWSSecurity
      2008-10-22 14:40:02,683 [-camel-thread-1] DEBUG SecuredBroker -
      operation name :

      {http://apache.org/hello_world_soap_http}

      greetMe
      2008-10-22 14:40:02,693 [-camel-thread-1] ERROR DeadLetterChannel -
      Failed delivery for exchangeId: ID-jramirez800/4000-1224700642080/0-0. On deliv
      ery attempt: 0 caught: java.lang.SecurityException: User not authenticated
      java.lang.SecurityException: User not authenticated
      at org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(S
      ecuredBroker.java:78)
      at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
      ainer.java:878)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
      ryChannelImpl.java:395)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:470)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:442)
      at org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.jav
      a:91)
      at org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:57
      )
      at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$Processor
      ToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
      at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:7
      5)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:174)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:96)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProc
      essor.java:47)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelp
      er.java:41)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsy
      ncProcessor.java:66)
      at org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExch
      ange(CamelJbiEndpoint.java:114)
      at org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint
      .java:72)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
      feCycle.java:540)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
      BaseLifeCycle.java:492)
      at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
      Cycle.java:46)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
      d(DeliveryChannelImpl.java:620)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
      w.java:172)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
      ava:167)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
      a:134)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)
      2008-10-22 14:40:03,704 [-camel-thread-1] DEBUG SecuredBroker -
      send exchange with secure broker
      2008-10-22 14:40:03,704 [-camel-thread-1] DEBUG SecuredBroker -
      service name :

      {http://apache.org/hello_world_soap_http}

      SOAPServiceWSSecurity
      2008-10-22 14:40:03,704 [-camel-thread-1] DEBUG SecuredBroker -
      operation name :

      {http://apache.org/hello_world_soap_http}

      greetMe
      2008-10-22 14:40:03,704 [-camel-thread-1] ERROR DeadLetterChannel -
      Failed delivery for exchangeId: ID-jramirez800/4000-1224700642080/0-0. On deliv
      ery attempt: 1 caught: java.lang.SecurityException: User not authenticated
      java.lang.SecurityException: User not authenticated
      at org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(S
      ecuredBroker.java:78)
      at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
      ainer.java:878)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
      ryChannelImpl.java:395)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:470)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:442)
      at org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.jav
      a:91)
      at org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:57
      )
      at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$Processor
      ToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
      at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:7
      5)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:174)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:96)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProc
      essor.java:47)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelp
      er.java:41)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsy
      ncProcessor.java:66)
      at org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExch
      ange(CamelJbiEndpoint.java:114)
      at org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint
      .java:72)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
      feCycle.java:540)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
      BaseLifeCycle.java:492)
      at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
      Cycle.java:46)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
      d(DeliveryChannelImpl.java:620)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
      w.java:172)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
      ava:167)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
      a:134)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)
      2008-10-22 14:40:04,726 [-camel-thread-1] DEBUG SecuredBroker -
      send exchange with secure broker
      2008-10-22 14:40:04,726 [-camel-thread-1] DEBUG SecuredBroker -
      service name :

      {http://apache.org/hello_world_soap_http}

      SOAPServiceWSSecurity
      2008-10-22 14:40:04,726 [-camel-thread-1] DEBUG SecuredBroker -
      operation name :

      {http://apache.org/hello_world_soap_http}

      greetMe
      2008-10-22 14:40:04,726 [-camel-thread-1] ERROR DeadLetterChannel -
      Failed delivery for exchangeId: ID-jramirez800/4000-1224700642080/0-0. On deliv
      ery attempt: 2 caught: java.lang.SecurityException: User not authenticated
      java.lang.SecurityException: User not authenticated
      at org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(S
      ecuredBroker.java:78)
      at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
      ainer.java:878)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
      ryChannelImpl.java:395)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:470)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:442)
      at org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.jav
      a:91)
      at org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:57
      )
      at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$Processor
      ToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
      at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:7
      5)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:174)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:96)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProc
      essor.java:47)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelp
      er.java:41)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsy
      ncProcessor.java:66)
      at org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExch
      ange(CamelJbiEndpoint.java:114)
      at org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint
      .java:72)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
      feCycle.java:540)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
      BaseLifeCycle.java:492)
      at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
      Cycle.java:46)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
      d(DeliveryChannelImpl.java:620)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
      w.java:172)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
      ava:167)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
      a:134)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)
      2008-10-22 14:40:05,757 [-camel-thread-1] DEBUG SecuredBroker -
      send exchange with secure broker
      2008-10-22 14:40:05,767 [-camel-thread-1] DEBUG SecuredBroker -
      service name :

      {http://apache.org/hello_world_soap_http}

      SOAPServiceWSSecurity
      2008-10-22 14:40:05,767 [-camel-thread-1] DEBUG SecuredBroker -
      operation name :

      {http://apache.org/hello_world_soap_http}

      greetMe
      2008-10-22 14:40:05,767 [-camel-thread-1] ERROR DeadLetterChannel -
      Failed delivery for exchangeId: ID-jramirez800/4000-1224700642080/0-0. On deliv
      ery attempt: 3 caught: java.lang.SecurityException: User not authenticated
      java.lang.SecurityException: User not authenticated
      at org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(S
      ecuredBroker.java:78)
      at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
      ainer.java:878)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
      ryChannelImpl.java:395)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:470)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:442)
      at org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.jav
      a:91)
      at org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:57
      )
      at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$Processor
      ToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
      at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:7
      5)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:174)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:96)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProc
      essor.java:47)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelp
      er.java:41)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsy
      ncProcessor.java:66)
      at org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExch
      ange(CamelJbiEndpoint.java:114)
      at org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint
      .java:72)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
      feCycle.java:540)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
      BaseLifeCycle.java:492)
      at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
      Cycle.java:46)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
      d(DeliveryChannelImpl.java:620)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
      w.java:172)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
      ava:167)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
      a:134)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)
      2008-10-22 14:40:06,789 [-camel-thread-1] DEBUG SecuredBroker -
      send exchange with secure broker
      2008-10-22 14:40:06,789 [-camel-thread-1] DEBUG SecuredBroker -
      service name :

      {http://apache.org/hello_world_soap_http}

      SOAPServiceWSSecurity
      2008-10-22 14:40:06,789 [-camel-thread-1] DEBUG SecuredBroker -
      operation name :

      {http://apache.org/hello_world_soap_http}

      greetMe
      2008-10-22 14:40:06,789 [-camel-thread-1] ERROR DeadLetterChannel -
      Failed delivery for exchangeId: ID-jramirez800/4000-1224700642080/0-0. On deliv
      ery attempt: 4 caught: java.lang.SecurityException: User not authenticated
      java.lang.SecurityException: User not authenticated
      at org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(S
      ecuredBroker.java:78)
      at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
      ainer.java:878)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
      ryChannelImpl.java:395)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:470)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:442)
      at org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.jav
      a:91)
      at org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:57
      )
      at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$Processor
      ToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
      at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:7
      5)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:174)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:96)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProc
      essor.java:47)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelp
      er.java:41)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsy
      ncProcessor.java:66)
      at org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExch
      ange(CamelJbiEndpoint.java:114)
      at org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint
      .java:72)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
      feCycle.java:540)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
      BaseLifeCycle.java:492)
      at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
      Cycle.java:46)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
      d(DeliveryChannelImpl.java:620)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
      w.java:172)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
      ava:167)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
      a:134)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)
      2008-10-22 14:40:07,810 [-camel-thread-1] DEBUG SecuredBroker -
      send exchange with secure broker
      2008-10-22 14:40:07,810 [-camel-thread-1] DEBUG SecuredBroker -
      service name :

      {http://apache.org/hello_world_soap_http}

      SOAPServiceWSSecurity
      2008-10-22 14:40:07,810 [-camel-thread-1] DEBUG SecuredBroker -
      operation name :

      {http://apache.org/hello_world_soap_http}

      greetMe
      2008-10-22 14:40:07,810 [-camel-thread-1] ERROR DeadLetterChannel -
      Failed delivery for exchangeId: ID-jramirez800/4000-1224700642080/0-0. On deliv
      ery attempt: 5 caught: java.lang.SecurityException: User not authenticated
      java.lang.SecurityException: User not authenticated
      at org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(S
      ecuredBroker.java:78)
      at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
      ainer.java:878)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
      ryChannelImpl.java:395)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:470)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:442)
      at org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.jav
      a:91)
      at org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:57
      )
      at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$Processor
      ToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
      at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:7
      5)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:174)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:96)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProc
      essor.java:47)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelp
      er.java:41)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsy
      ncProcessor.java:66)
      at org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExch
      ange(CamelJbiEndpoint.java:114)
      at org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint
      .java:72)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
      feCycle.java:540)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
      BaseLifeCycle.java:492)
      at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
      Cycle.java:46)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
      d(DeliveryChannelImpl.java:620)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
      w.java:172)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
      ava:167)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
      a:134)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)
      2008-10-22 14:40:07,850 [-camel-thread-1] ERROR DeadLetterChannel -
      Exchange[BodyType:javax.xml.transform.dom.DOMSource, Body:<jbi:message xmlns:jb
      i="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper" xmlns:msg="http://apache.org/
      hello_world_soap_http" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="h
      ttp://www.w3.org/2001/XMLSchema-instance" name="greetMeRequest" type="msg:greetM
      eRequest" version="1.0"><jbi:part><greetMe xmlns="http://apache.org/hello_world_
      soap_http/types"><requestType>ffang</requestType></greetMe></jbi:part></jbi:mess
      age>]
      2008-10-22 14:40:07,860 [-camel-thread-1] ERROR DeadLetterChannel -
      Failed delivery for exchangeId: ID-jramirez800/4000-1224700642080/0-0. Handled
      by the failure processor: RecipientList[log:org.apache.camel.DeadLetterChannel?l
      evel=error]
      2008-10-22 14:40:07,860 [-camel-thread-1] DEBUG SecuredBroker -
      send exchange with secure broker
      Oct 22, 2008 2:40:07 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
      INFO: Interceptor has thrown exception, unwinding now
      org.apache.cxf.interceptor.Fault: User not authenticated
      at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.h
      andleMessage(CxfBcConsumer.java:627)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
      orChain.java:220)
      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainIniti
      ationObserver.java:77)
      at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceReque
      st(JettyHTTPDestination.java:278)
      at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(Je
      ttyHTTPDestination.java:252)
      at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTP
      Handler.java:70)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
      57)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
      lerCollection.java:206)
      at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
      52)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
      2)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
      n.java:840)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:744)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:377)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
      va:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
      ava:497)
      Caused by: java.lang.SecurityException: User not authenticated
      at org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(S
      ecuredBroker.java:78)
      at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
      ainer.java:878)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
      ryChannelImpl.java:395)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:470)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
      veryChannelImpl.java:442)
      at org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.jav
      a:91)
      at org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:57
      )
      at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$Processor
      ToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
      at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:7
      5)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:174)
      at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChanne
      l.java:96)
      at org.apache.camel.management.InstrumentationProcessor.process(Instrume
      ntationProcessor.java:63)
      at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProc
      essor.java:47)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelp
      er.java:41)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsy
      ncProcessor.java:66)
      at org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExch
      ange(CamelJbiEndpoint.java:114)
      at org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint
      .java:72)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
      feCycle.java:540)
      at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
      BaseLifeCycle.java:492)
      at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
      Cycle.java:46)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
      d(DeliveryChannelImpl.java:620)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
      w.java:172)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
      ava:167)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
      a:134)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)

      Attachments

        1. SMXCOMP-577.smx32.patch
          2 kB
          Willem Jiang
        2. SMXCOMP-577.patch
          2 kB
          Willem Jiang

        Activity

          People

            ffang Freeman Yue Fang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: