Comments (23)
Thanks for the report.
Could you make my life easier by attaching a zip or tar file? Thanks.
Original comment by [email protected]
on 5 May 2009 at 11:23
- Changed state: Accepted
from run-jetty-run.
attachment as a zip
Original comment by [email protected]
on 5 May 2009 at 11:34
Attachments:
from run-jetty-run.
Thanks
Original comment by [email protected]
on 6 May 2009 at 1:30
from run-jetty-run.
Original comment by [email protected]
on 6 May 2009 at 11:00
- Added labels: Priority-High
- Removed labels: Priority-Medium
from run-jetty-run.
Disregard this bug. Apparently using the MX4J library (not the MX4J-Tools
library)
in Java 5 is the cause of this. MX4J is an implementation of JMX and is
suitable for
adding JMX to JDK 1.4 and earlier, but is not needed on JDK 5 and its inclusion
can
cause problems like this. Removing this library specifically removes the error
and
allows full functionality. I still am not quite sure why this broke between
1.1.0
and 1.0.1, but I suspect its some obscure class loading order issue that isn't
really
a defect.
Original comment by [email protected]
on 6 May 2009 at 7:01
from run-jetty-run.
Thanks for the update.
Original comment by [email protected]
on 7 May 2009 at 12:03
- Changed state: Invalid
from run-jetty-run.
I opened another issue, because i didnt search in all status.
I am not using mx4j library in the app but having the same problem. The project
is
run with java-6. I attached the full stack in issue 28.
Original comment by [email protected]
on 7 May 2009 at 2:51
from run-jetty-run.
OK, I'm re-opening this bug. I have some guesses as to the cause, and will
investigate.
Original comment by [email protected]
on 7 May 2009 at 3:07
- Changed state: Accepted
from run-jetty-run.
Pheotmail, can you detail the full list of dependencies in your classpath?
From what
I've read this problem can also be caused by ANY other JMX implementations in
the
classpath.
Original comment by [email protected]
on 7 May 2009 at 5:14
from run-jetty-run.
@9 the dependencies can be seen in the attachement of issue 28. there is a
bunch of
dependencies especially from spring, hibernate and cxf-webservice. i dont know
if
there is a jmx implementation included.
Original comment by [email protected]
on 7 May 2009 at 5:27
from run-jetty-run.
Phoetmail, is there an option on the version of java you're using to dump out
the
class loading events (java -verbose:class is available from the Sun and IBM
JREs)?
If so, this might add some useful info about the LinkageError.
Original comment by [email protected]
on 8 May 2009 at 11:49
from run-jetty-run.
FYI, Jetty defaults to overriding the normal J2SE class loader delegation model
(which calls for delegating to the parent). You might try setting:
-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true
in the VM args, and report back how that impacted things.
Original comment by [email protected]
on 8 May 2009 at 11:58
from run-jetty-run.
I will try the system-property and report back. But i think that it will not be
before next week.
Original comment by [email protected]
on 8 May 2009 at 12:07
from run-jetty-run.
Jetty 6.1.6 defines the following prefixes for system classes (classes that a
web app can't
override/replace):
java.
javax.servlet.
javax.xml.
org.mortbay.
org.xml.
org.w3c.
org.apache.commons.logging.
org.apache.log4j.
Notice this doesn't include javax.management.
My inclination is to guess this is the source of the problem reported here.
Fortunately, this is a settable value (in code). So, if we can determine that
this is the problem, it'll
be pretty easy to add it to the list. Alternately, I could add javax. as a
system classes prefix.
Original comment by [email protected]
on 9 May 2009 at 7:07
from run-jetty-run.
Response to Comment 12:
-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true
It works! With this VM arg jetty runs again.
Thanks.
Original comment by [email protected]
on 11 May 2009 at 9:26
from run-jetty-run.
@15 Stefan, what class was failing to load for you?
Original comment by [email protected]
on 11 May 2009 at 11:45
from run-jetty-run.
Please fix this bug on 6.1 and 7 plugins, this is really blocking as soon as we
use
java6 !!!
Original comment by bouiaw
on 16 Dec 2009 at 1:56
from run-jetty-run.
Issue 28 has been merged into this issue.
Original comment by [email protected]
on 3 Jan 2010 at 4:39
from run-jetty-run.
-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true
Also worked for me.
Thanks :)
Original comment by [email protected]
on 17 Nov 2010 at 6:10
from run-jetty-run.
Issue 34 has been merged into this issue.
Original comment by tonylovejava
on 11 Mar 2011 at 8:41
from run-jetty-run.
Plan to make it more clear in 1.2
Original comment by tonylovejava
on 11 Mar 2011 at 9:15
- Added labels: 1.2
from run-jetty-run.
Ready since 2011/3/16 , committed in r88 .
I add a option and provide a help link for this config in RJR Run Configuration.
will in version 1.2.1
Original comment by tonylovejava
on 20 Mar 2011 at 5:50
- Changed state: Fixed
from run-jetty-run.
-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true
worked for me.
Big thanks
Original comment by [email protected]
on 17 Mar 2015 at 5:38
from run-jetty-run.
Related Issues (20)
- Duplicated bootstrap implementation in every jetty version plugin
- No repository found at http://xzer.github.io/run-jetty-run-updatesite/current/. HOT 2
- The jetty plugin makes opening "run configurations" very slow HOT 10
- servlet3 does work, but spring mvc aysnc (servlet3) doesn't HOT 2
- No context loaded when using custom jetty.xml HOT 6
- How to enable Jetty's JMX?
- Update site broken HOT 1
- Error occurs when installing on Eclipse Luna HOT 2
- Provide a way to set setWantClientAuth (or do it by default) HOT 1
- How to allow reverse proxy through RunJettyRun HOT 1
- Maven Managed Dependencies cannot be loaded automatically. HOT 1
- How to add support for Jetty 9.4.6.v20170531 HOT 2
- Cannot update from nightly update site HOT 9
- Update site is down HOT 5
- how to let single instance jetty-run for multiple web apps HOT 2
- How to install RJR OFFLINE HOT 1
- The calling class org.jboss.resteasy.cdi.CdiInjectorFactory is placed in multiple bean archives HOT 1
- Test dependencies are present in the runtime classpath
- error about jsr356 when start in eclipse used RJR
- Using recent JREs yields MaxPermSize error 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 run-jetty-run.