Code Monkey home page Code Monkey logo

Comments (23)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
attachment as a zip

Original comment by [email protected] on 5 May 2009 at 11:34

Attachments:

from run-jetty-run.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Thanks

Original comment by [email protected] on 6 May 2009 at 1:30

from run-jetty-run.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024

Original comment by [email protected] on 6 May 2009 at 11:00

  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from run-jetty-run.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Thanks for the update.

Original comment by [email protected] on 7 May 2009 at 12:03

  • Changed state: Invalid

from run-jetty-run.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
@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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
@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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Issue 28 has been merged into this issue.

Original comment by [email protected] on 3 Jan 2010 at 4:39

from run-jetty-run.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
   -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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Issue 34 has been merged into this issue.

Original comment by tonylovejava on 11 Mar 2011 at 8:41

from run-jetty-run.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
-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)

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.