Comments (5)
Here's the rest of the log (posted in a comment because original post was too
long).
...
Caused by: java.lang.LinkageError: Class javax/management/MBeanServer violates
loader
constraints
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at
com.mchange.v2.c3p0.management.ActiveManagementCoordinator.attemptManageC3P0Regi
stry
(ActiveManagementCoordinator.java:52)
at
com.mchange.v2.c3p0.C3P0Registry.attemptRegisterRegistryMBean(C3P0Registry.java:
217)
at com.mchange.v2.c3p0.C3P0Registry.reregister(C3P0Registry.java:242)
at
com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.<init>(PoolBackedDataSourceBas
e.java:2
28)
at
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<init>(AbstractPoolBackedD
ataSourc
e.java:62)
at
com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:108)
at
com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:104)
at
org.hbf.core.spring.persistence.module.springtransactions.SpringTransactionedHib
ernateModule
$GuiceComboPooledDataSource.getObject(SpringTransactionedHibernateModule.java:20
4)
at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(Facto
ryBeanRegist
rySupport.java:121)
... 107 more
Original comment by [email protected]
on 26 Aug 2009 at 1:15
from run-jetty-run.
A closer inspection revealed that the problem is C3P0 trying to expose its
MBeans, see
http://jira.atlassian.com/browse/CONF-11854
The problem is resolved if you add -
Dcom.mchange.v2.c3p0.management.ManagementCoordinator=com.mchange.v2.c3p0.manage
ment.NullManag
ementCoordinator to the VM arguments in the Eclipse Debug/Run Configuration for
the project.
Original comment by [email protected]
on 26 Aug 2009 at 1:24
from run-jetty-run.
You may also be encountering the problem described in issue 27. I suggested a
workaround here:
http://code.google.com/p/run-jetty-run/issues/detail?id=27&can=1#c12
Original comment by [email protected]
on 26 Aug 2009 at 2:46
from run-jetty-run.
James, thanks a lot for your tip. Indeed,
-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true
solves the problem, too, and I will go for it.
Original comment by [email protected]
on 26 Aug 2009 at 4:06
from run-jetty-run.
Merged to Issue #27 .
Original comment by tonylovejava
on 11 Mar 2011 at 8:41
- Changed state: Duplicate
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.