On Wed, Feb 17, 2010 at 3:40 PM, trizk <[email protected]> wrote: > When i run mvn -e jetty:run in helloworld, it dies with > > java.lang.ClassNotFoundException: org.mortbay.setuid.SetUIDServer > > Has anyone had any success running the Jetty plugin as a non-root user > for their Lift web applications? I realize that the Jetty forum would > be a good venue for this question, however I am primarily interested > in Lift and hope to be more active in this group in the future. Any > insight would be greatly appreciated.
Not sure what your background is, so this may be obvious to you, but just in case: Maven is primarily a build tool for compiling/testing/assembling etc your application. Not for running it in production. So assuming you want to run your application in production on a server: 1) Install Jetty on the server, preferably by your distro's package management. This should setup everything with the right permissions. 2) Compile the application on your workstation: mvn package. This creates a war file in the target directory 3) Move the war file to Jetty's app directory on the server, in my case /var/lib/jetty6/webapps 4) Restart jetty /Jeppe -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
