Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3-rc5
  • Fix Version/s: 1.3
  • Component/s: Examples / Tutorials
  • Labels:
    None
  • Environment:

    Built the webapp with ant and deployed it to Tomcat 5.5.9 (JDK 1.5.0_07)

  • Log Output:
    Hide
    org.apache.jasper.JasperException: MBeans Failed to initialise
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    root cause

    org.mule.MuleRuntimeException: MBeans Failed to initialise
    org.mule.management.agents.JmxAgent$1.onNotification(JmxAgent.java:167)
    org.mule.impl.internal.notifications.ServerNotificationManager.notifyListeners(ServerNotificationManager.java:163)
    org.mule.impl.internal.notifications.ServerNotificationManager.fireEvent(ServerNotificationManager.java:133)

    --------------------------------------------------------------------------------------

    javax.servlet.ServletException: Failed to route event via endpoint: MuleEndpoint{connector=org.mule.providers.vm.VMConnector@717d91, endpointUri=vm://stockquote, transformer=null, name='stockquote', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=null, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: java.lang.String
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
    org.apache.jsp.stockquote_jsp._jspService(org.apache.jsp.stockquote_jsp:103)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    root cause

    org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=org.mule.providers.vm.VMConnector@717d91, endpointUri=vm://stockquote, transformer=null, name='stockquote', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=null, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: java.lang.String
    org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:212)
    org.mule.impl.MuleSession.sendEvent(MuleSession.java:273)
    org.mule.extras.client.MuleClient.send(MuleClient.java:726)
    org.mule.extras.client.MuleClient.send(MuleClient.java:703)
    org.mule.extras.client.MuleClient.send(MuleClient.java:656)
    org.apache.jsp.stockquote_jsp._jspService(org.apache.jsp.stockquote_jsp:56)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Show
    org.apache.jasper.JasperException: MBeans Failed to initialise org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause org.mule.MuleRuntimeException: MBeans Failed to initialise org.mule.management.agents.JmxAgent$1.onNotification(JmxAgent.java:167) org.mule.impl.internal.notifications.ServerNotificationManager.notifyListeners(ServerNotificationManager.java:163) org.mule.impl.internal.notifications.ServerNotificationManager.fireEvent(ServerNotificationManager.java:133) -------------------------------------------------------------------------------------- javax.servlet.ServletException: Failed to route event via endpoint: MuleEndpoint{connector=org.mule.providers.vm.VMConnector@717d91, endpointUri=vm://stockquote, transformer=null, name='stockquote', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=null, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: java.lang.String org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) org.apache.jsp.stockquote_jsp._jspService(org.apache.jsp.stockquote_jsp:103) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=org.mule.providers.vm.VMConnector@717d91, endpointUri=vm://stockquote, transformer=null, name='stockquote', type='sender', properties={}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=null, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=null, endpointEncoding=null}. Message payload is of type: java.lang.String org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:212) org.mule.impl.MuleSession.sendEvent(MuleSession.java:273) org.mule.extras.client.MuleClient.send(MuleClient.java:726) org.mule.extras.client.MuleClient.send(MuleClient.java:703) org.mule.extras.client.MuleClient.send(MuleClient.java:656) org.apache.jsp.stockquote_jsp._jspService(org.apache.jsp.stockquote_jsp:56) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  • Similar Issues:
    None

Description

1. The first time I click on anything the webapp loads for a few seconds and then I get "org.apache.jasper.JasperException: MBeans Failed to initialise" I click again and no more error. Looks like the "load-on-startup" is not working?

2. Hello World and REST Hello World both return "{NullPayload}"

3. Stock Quote gives me "org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=org.mule.providers.vm.VMConnector@717d91, endpointUri=vm://stockquote, ..."

But this might be because of my firewall. If so it would be good to document this fact and even better, let the user configure an HTTP proxy so that it actually works.

4. JMX Console tries to open "http://localhost:9999" which of course will only work if your web browser is running on the same machine as Mule. Not even substituting the machine name/IP for localhost works because MX4J disables remote access by default. It would be good to document this fact.

Activity

Hide
Travis Carlson added a comment -

More comments from Ross:

– Webapp Ant Build Stock.xsl is not inclided in classes
– Webapp Name change caused REST examples to fail. Need to Update Rest Html files
– I got Caused by: javax.management.InstanceAlreadyExistsException: Adaptor:class=mx4j.tools.adaptor.http.HttpAdaptor when I redeployed the webapp, which means the the Jmx adapter is not undeploying itself on shutdown. any ideas Andrew?

Show
Travis Carlson added a comment - More comments from Ross: – Webapp Ant Build Stock.xsl is not inclided in classes – Webapp Name change caused REST examples to fail. Need to Update Rest Html files – I got Caused by: javax.management.InstanceAlreadyExistsException: Adaptor:class=mx4j.tools.adaptor.http.HttpAdaptor when I redeployed the webapp, which means the the Jmx adapter is not undeploying itself on shutdown. any ideas Andrew?
Hide
Ross Mason added a comment -

The web app works. There is no maven build for it, only Ant. For now I've put a readme in the maven build section of the examples

Show
Ross Mason added a comment - The web app works. There is no maven build for it, only Ant. For now I've put a readme in the maven build section of the examples

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: