JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5627

Notifications Example: "anonymous" error message not reaching the browser.

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 3.2.0, 3.2.x
  • Fix Version/s: 3.2.x
  • Component/s: Examples / Tutorials
  • Labels:
    None
  • Environment:

    Mule OOTB running notifications example. Safari (at least).

  • User impact:
    Medium
  • Similar Issues:
    None

Description

1. Install mule.
2. Run notifications example.
3. Go to http://localhost:8082/services/notifications/
4. Try to send a message as anonymous. You get nothing in the browser.
5. See the console output. You will see an exception as follows.
Interesting fact: This is showing up on CONSOLE, but not on PER-APP-LOGS.

{"timestamp":"Thu, 30 Jun 2011 19:29:44 GMT","id":"17","data":{},"channel":"/services/echo","clientId":"swwzr1bae4xf2pv82y"}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.cometd.BayeuxService.doInvoke(BayeuxService.java:357)
at org.mortbay.cometd.BayeuxService.invoke(BayeuxService.java:309)
at org.mortbay.cometd.BayeuxService.access$400(BayeuxService.java:59)
at org.mortbay.cometd.BayeuxService$AsyncListen.deliver(BayeuxService.java:393)
at org.mortbay.cometd.ClientImpl.notifyMessageListener(ClientImpl.java:214)
at org.mortbay.cometd.ClientImpl.doDelivery(ClientImpl.java:194)
at org.mortbay.cometd.ChannelImpl.deliverToSubscriber(ChannelImpl.java:502)
at org.mortbay.cometd.ChannelImpl.doDelivery(ChannelImpl.java:464)
at org.mortbay.cometd.ChannelImpl.doDelivery(ChannelImpl.java:494)
at org.mortbay.cometd.ChannelImpl.doDelivery(ChannelImpl.java:494)
at org.mortbay.cometd.AbstractBayeux$PublishHandler.handle(AbstractBayeux.java:1293)
at org.mortbay.cometd.AbstractBayeux.handle(AbstractBayeux.java:287)
at org.mortbay.cometd.continuation.ContinuationCometdServlet.service(ContinuationCometdServlet.java:171)
at org.mule.transport.ajax.container.MuleAjaxServlet.service(MuleAjaxServlet.java:107)
at org.mortbay.cometd.AbstractCometdServlet.service(AbstractCometdServlet.java:265)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: org.mule.api.security.UnauthorisedException: Authentication failed for principal anonymous. Message payload is of type: HashMap
at org.mule.example.notifications.DummySecurityFilter.authenticate(DummySecurityFilter.java:44)
at org.mule.security.AbstractAuthenticationFilter.doFilter(AbstractAuthenticationFilter.java:59)
at org.mule.processor.SecurityFilterMessageProcessor.process(SecurityFilterMessageProcessor.java:57)
at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:88)
at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:89)
at org.mule.processor.chain.InterceptingChainLifecycleWrapper.doProcess(InterceptingChainLifecycleWrapper.java:63)
at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:89)
at org.mule.processor.chain.InterceptingChainLifecycleWrapper.process(InterceptingChainLifecycleWrapper.java:94)
at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:88)
at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:89)
at org.mule.processor.chain.InterceptingChainLifecycleWrapper.doProcess(InterceptingChainLifecycleWrapper.java:63)
at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:89)
at org.mule.processor.chain.InterceptingChainLifecycleWrapper.process(InterceptingChainLifecycleWrapper.java:94)
at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:185)
at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:158)
at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:145)
at org.mule.transport.ajax.AjaxMessageReceiver$ReceiverService.route(AjaxMessageReceiver.java:76)
... 32 more
Caused by: org.mule.api.security.UnauthorisedException: Authentication failed for principal anonymous. Message payload is of type: HashMap
at org.mule.example.notifications.DummySecurityFilter.authenticate(DummySecurityFilter.java:39)
... 48 more

Issue Links

is duplicated by

Bug - A problem which impairs or prevents the functions of the product. MULE-5770 Secure echo does not work in Notifications example

  • Blocker - Blocks development and/or testing work, production could not run.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open In Progress In Progress
5d 17h 1m 1 Dirk Olmes 06/Jul/11 07:32 AM
In Progress In Progress Open Open
2h 38m 1 Dirk Olmes 06/Jul/11 10:11 AM

People

  • Assignee:
    Unassigned
    Reporter:
    Victor Bonillo
Vote (0)
Watch (0)

Dates

  • Created:
    30/Jun/11 02:31 PM
    Updated:
    28/Jun/12 03:01 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.