[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]> Fri, 21 Sep 2012 21:48:37 -0500 (CDT)
Newsgroups gmane.comp.java.jetty.general
Message-ID <978347996.619.1348282117202.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
Ido
commented on JETTY-1544

The packaged jetty-setuid.xml file uses the id "Server" for its Configure element, causing a ClassCastException

From the stack trace above you can see that Jetty is trying to cast something (presumably org.eclipse.jetty.server.Server, which is the "class" attribute of the "Configure" node in jetty.xml) into org.mortbay.setuid.SetUIDServer (which is the "class" attribute of the "Configure" node in jetty-setuid.xml). Or the other way around.

The question is why does the casting fail - isn't org.mortbay.setuid.SetUIDServer a subclass of org.eclipse.jetty.server.Server? Or is it still a subclass of the mortbay-namespaced org.mortbay.jetty.Server?

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