Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
This method (ServletContext#getContextPath) is called by the javamelody plugin 
only if the servlet api version is 2.5 or more. And this issue shows that in 
your setup (bamboo 2.6.1 with jetty), the contract of the servlet api 2.5 was 
broken somehow: the servlet api version reports 2.5 but this method is not 
found.

In fact, I see in my bamboo setup v2.5.5 that there are two servlet api jar 
files in the directory "Bamboo/webapp/WEB-INF/lib". My understanding is that 
servlet api jar files are not needed by the servlet container in "WEB-INF/lib". 
And having two servlet api jar files in "WEB-INF/lib" is perhaps asking for 
trouble in the ordering of classloaders. The following bamboo ticket is also 
related: http://jira.atlassian.com/browse/BAM-5137

So I suggest trying the following:
- stop the bamboo server
- backup and delete the file "Bamboo/webapp/WEB-INF/lib/servlet-api-2.4.jar" 
from your bamboo setup (but keep the servlet-api-2.5.jar)
- restart the bamboo server
- install the javamelody plugin: does it work?

If it is ok, I think we can open a bamboo ticket.

For reference, the javamelody plugin for JIRA/Confluence/Bamboo can be found 
here: https://plugins.atlassian.com/plugin/details/20909

Original comment by [email protected] on 19 Jul 2010 at 2:16

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Thanks.  Following your suggestion did the trick.

Original comment by [email protected] on 19 Jul 2010 at 4:36

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024

Original comment by [email protected] on 16 Aug 2010 at 5:49

  • Added labels: Type-Task
  • Removed labels: Type-Defect

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
I have finally created the issue for Bamboo:
http://jira.atlassian.com/browse/BAM-6551

I close this issue as the problem is now in Atlassian hands.

In the meantime, the workaround before installing the javamelody plugin in 
Bamboo 2.6.1 is:
- stop the bamboo server
- backup and delete the file "Bamboo/webapp/WEB-INF/lib/servlet-api-2.4.jar" 
from your bamboo setup (but keep the servlet-api-2.5.jar)
- and restart the bamboo server to install the javamelody plugin

Original comment by [email protected] on 18 Aug 2010 at 9:59

  • Changed state: Invalid

from javamelody.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.