Subsonic.war with Jetty instead of Tomcat
Posted: Fri Sep 07, 2012 8:08 pm
When you try to run subsonic with jetty, you will get an error (see this post)
it happens, because jetty has some extra libs tomcat does not have and it comes to a conflict.
you have to remove the file "WEB-INF/lib/standard-1.1.2.jar" out of the .war file with three easy steps on (linux) commandline:
1) extract the files:
2) delete the lib:
3) rebuild the warfile:
now you can use the subsonic.war with your jetty
it happens, because jetty has some extra libs tomcat does not have and it comes to a conflict.
you have to remove the file "WEB-INF/lib/standard-1.1.2.jar" out of the .war file with three easy steps on (linux) commandline:
1) extract the files:
- Code: Select all
jar xvf subsonic.war
2) delete the lib:
- Code: Select all
rm WEB-INF/lib/standard-1.1.2.jar
3) rebuild the warfile:
- Code: Select all
jar cvf subsonic.war *
now you can use the subsonic.war with your jetty