Arie, Getting your deployment server setup is the first thing. Getting Jetty, Glassfish or others working is not really a question for this list, but when they are running (see the respective container documentation) you should just be able to drop the compiled war file (created with "mvn clean package") into the web app deployer. Again, you need to read that container documentation.
You dont need a front end server like NGINX, its just that most people prefer one for flexibility of having multiple upstream servers / backends etc. I would start with Jetty, and deploy the war into webapps... from there it should be available at http://host:8080/yourwebapp/ Of course, if you dont want to host yourself, i would recommend stax.net.... those guys are great and have an integrated lift setup. Cheers, Tim On Feb 4, 11:29 am, Arie <[email protected]> wrote: > Hi, this is my first post to this group. First off, I'm new to web > frameworks, lift and linux, I have however got a war file and > persistently been trying to get my compiled war file to run on my > linux box. I compiled the war file using mvn compile. My problem is > that after having tried to run glassfish, tomcat and jetty and spent > hours googling about configurations, and looking in this group I still > have not been successful in deploying my war file (the IRC channel is > mostly unresponsive too). Obviously mvn jetty:run works, and I've had > limited success in getting glassfish to run in non-production mode > (http://wiki.glassfish.java.net/Wiki.jsp? > page=GettingStartedWithLiftOnGlassFish). > > What I'm asking therefore is firstly: what is the simplest way to > deploy my war file, and secondly the steps by which I should do this. > It seems that jetty is the simplest way, this post > -http://www.mail-archive.com/[email protected]/msg01296.html- > makes mention of nginx, which I have also not been able to make work. > Do I need a 'front-end' (I'm not familiar with this), and if so how do > I implement this? > > I understand I may be asking the wrong questions, so a few pointers > would be great. -- 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.
