[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:38:36 -0500 (CDT)
Newsgroups gmane.comp.java.jetty.general
Message-ID <1035099077.617.1348281516509.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

If you can verify that you have the correct versions of all files, with correct ids in them, then please provide details of how you're running jetty, the contents of your $JETTY_HOME/lib and $JETTY_HOME/etc directories and the start.ini file you're using.

I can verify that I'm using the debian version of the 8.1.7 distibution, downloaded from http://dist.codehaus.org/jetty/deb/8.1.7.v20120910/jetty-deb-8.1.7.v20120910.deb and installed with dpkg on Ubuntu 12.04 64bit running the latest openjdk7.

Since installation I haven't modified the content of $JETTY_HOME/lib at all, and made only the following edits of config files:

- start.ini: Added etc/jetty-setuid.xml as the first item in the list of config files, right above etc/jetty-jmx.xml.

- start.ini: comment out etc/jetty-contexts.xml

- start.ini: uncomment etc/jetty-ssl.xml

- start.ini: append ",setuid" to the value of the OPTIONS variable.

- etc/jetty.xml: change port and some other settings within the connector definition

- etc/jetty-ssl.xml: change port and some other settings within the connector definition

I then copy my war (root.war) to webapps (after deleting the entire contents of the webapps folder) and use /opt/jetty/bin/jetty.sh to start and stop the server.

BTW, I never used version 8.1.6 - I skipped straight from 8.1.5 to 8.1.7. Nothing has been mixed, however. I always do a clean install, apply the minimal needed edits (described above), then copy in my war.

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