Jetty beginner's question

View: New views
3 Messages — Rating Filter:   Alert me  

Jetty beginner's question

by jhonig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Maybe someone can point out if I'm missing something.  I am trying to
get a
lift-war to run in a jetty instance on another machine.  I assumed
that the war
would include everything needed to make my test application run, but
apparently
it doesn't include all the dependencies that are found when I run
jetty from within
Maven.  How do I generate a war that is self-contained?

W
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb@...
To unsubscribe from this group, send email to liftweb+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Jetty beginner's question

by yk-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe this thread can help:

http://groups.google.com.my/group/liftweb/browse_thread/thread/5e7f7e6eec0a3388/47e1fc06d6aa56ce

in short:

to run as plugin:

mvn tomcat:run

to create war file:

mvn package

On Tue, Nov 10, 2009 at 5:08 PM, jhonig <joho@...> wrote:

Maybe someone can point out if I'm missing something.  I am trying to
get a
lift-war to run in a jetty instance on another machine.  I assumed
that the war
would include everything needed to make my test application run, but
apparently
it doesn't include all the dependencies that are found when I run
jetty from within
Maven.  How do I generate a war that is self-contained?

W



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb@...
To unsubscribe from this group, send email to liftweb+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Jetty beginner's question

by jhonig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> to create war file:
>
> mvn package

Yes, that's what I did.  And then I dropped the war into the
appropriate directory
and created the configuration file in the contexts dir.  When I then
try to go to the
page I get: ....

Well, that's weird.  I'm doing the same as before and now it suddenly
works!
Before I got a long stack trace that I wanted to paste into this
message.

Thanks anyway!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb@...
To unsubscribe from this group, send email to liftweb+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---