Subsonic.war with Jetty instead of Tomcat

Tutorials, tips and tricks.

Moderator: moderators

Subsonic.war with Jetty instead of Tomcat

Postby NoZomIBK » 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:
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
NoZomIBK
 
Posts: 9
Joined: Tue Jul 31, 2012 6:54 pm

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 11 guests