Comments (4)
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.
Thanks. Following your suggestion did the trick.
Original comment by [email protected]
on 19 Jul 2010 at 4:36
from javamelody.
Original comment by [email protected]
on 16 Aug 2010 at 5:49
- Added labels: Type-Task
- Removed labels: Type-Defect
from javamelody.
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)
- Cross Site Scripting HOT 12
- JavaMelody PDF Report: Customizing Content of generated PDF Report HOT 2
- Hazelcast Issue HOT 6
- java.lang.NoClassDefFoundError: org/jrobin/core/RrdException HOT 2
- Is it possible to run it on a Minecraft 1.18.2 Fabric server with OpenJ9 JVM? HOT 1
- Latest IBM Java 8 SDK breaks JavaMelody: MBeansAccessor.getThreadAllocatedBytes throws UnsupportedOperationException HOT 6
- Auto registrating in optional collector in spring-boot-starter HOT 2
- InfluxDB 2.X (Auth) Support HOT 3
- Unable to expand to get more details
- Persist statistics data to database HOT 1
- Javamelody 2.0.1/Jakarta EE 10/Java 17 HOT 8
- MBeans view on JBoss/WildFly leads to OutOfMemoryError HOT 2
- Exception NoClassDefFoundError (HttpSessionListener) when trying to start Tomcat HOT 2
- License called "ASL" HOT 4
- Unable to Delete Cache Entries after Upgrading to Spring Boot 3.2.1 with EhCache 3.10.8 and JavaMelody 2.0.1 with JCaheManager
- Question about sending alerts HOT 3
- Kubernetes. Is there a way to save the data to a fixed storage directory? HOT 2
- Collect Server War uses highly vulnerable version of Jackson Databind HOT 5
- Error 500 from Confluence DC 8.7.2 HOT 2
- JavaMelodyDisabledAutoConfiguration turns off MonitoringFilter in every webapp (if many are deployed) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javamelody.