[jetty-dev] [jira] (JETTY-1544) The packaged jetty-setuid.xml file uses the id "Server" for its Configure element, causing a ClassCastException
"Ido (JIRA)" <[email protected]> Tue, 11 Sep 2012 22:57:21 -0500 (CDT)
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <1632257745.54353.1347422241199.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
Ido created JETTY-1544 The packaged jetty-setuid.xml file uses the id "Server" for its Configure element, causing a ClassCastException Issue Type: Bug Affects Versions: 8.1.6 Assignee: Unassigned Created: 11/Sep/12 10:56 PM Description: The packaged jetty-setuid.xml file uses the id "Server" for its Configure element, causing a ClassCastException when the server is started. Here is the stack trace: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.jetty.start.Main.invokeMain(Main.java:468) at org.eclipse.jetty.start.Main.start(Main.java:616) at org.eclipse.jetty.start.Main.main(Main.java:92) Caused by: java.lang.ClassCastException: class org.mortbay.setuid.SetUIDServer at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:347) at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:302) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1253) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1188) ... 7 more Changing the id to org.eclipse.jetty.server.Server (as it had been until version 8.1.5) seems to resolve the issue. Project: Jetty Priority: Major Reporter: Ido This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators . For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email