Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331579 - Jetty Server fails to start with 7.1.5
Summary: Jetty Server fails to start with 7.1.5
Status: CLOSED WONTFIX
Alias: None
Product: Jetty
Classification: RT
Component: wtp (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.1.x   Edit
Assignee: Jesse McConnell CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 13:30 EST by David Carver CLA
Modified: 2011-01-10 16:07 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carver CLA 2010-12-01 13:30:26 EST
I get the following stack trace when trying to start the server with a Dynamic Web Project.

java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.jetty.start.Main.invokeMain(Main.java:485)
	at org.eclipse.jetty.start.Main.start(Main.java:626)
	at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:275)
	at org.eclipse.jetty.start.Main.main(Main.java:82)
Caused by: java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
	at java.lang.Class.getConstructors(Class.java:1459)
	at org.eclipse.jetty.xml.XmlConfiguration.newObj(XmlConfiguration.java:630)
	at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:262)
	at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:220)
	at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1007)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:983)
	... 8 more
Caused by: java.lang.ClassNotFoundException: javax.transaction.UserTransaction
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	... 17 more
Comment 1 Jesse McConnell CLA 2010-12-01 15:01:48 EST
sorry dave, was this with eclipse distro or with hightide?
Comment 2 David Carver CLA 2010-12-03 15:24:56 EST
(In reply to comment #1)
> sorry dave, was this with eclipse distro or with hightide?

Eclipse distro.

7.1.6 seemed to work.

Also, similar error with hightide.
Comment 3 David Carver CLA 2010-12-03 15:25:42 EST
(In reply to comment #2)
> (In reply to comment #1)
> > sorry dave, was this with eclipse distro or with hightide?
> 
> Eclipse distro.
> 
> 7.1.6 seemed to work.
> 
> Also, similar error with hightide.

Correct that, 7.2 worked.
Comment 4 Jesse McConnell CLA 2011-01-10 16:07:45 EST
closing as this works for the latest released versions of jetty