Deploy Lucee App as war file

Hello,
I came from Java corner and know to deploy a java/tomcat webapp via war
file.
But how does it work with lucee, because the WEB-INF folder have also to be
deployed or not?
What are the best way to deploy ramdomly webapps to lucee servers?

BR
Alex

There are a couple of questions here:
a) How to deploy lucee as a war
b) How to deploy “random” wars to a “lucee server”

To answer a)

A WAR is essentially a zip file (rename the extension) with a bunch of files in it and a WEB-INF folder. In that folder (which you don’t have now) you have to add a web.xml file that you can see in the tomcat conf/web.xml and then it is a web app all by itself.

you would also need to move a bunch of the jars to that WEB-INF/lib (or libs can’t recall)

so it’s a small process of just moving stuff round to make yourself a deployable lucee web app

To answer b)

Lucee Server is actually just tomcat configured to serve apps so you could just throw your war to the /lucee/webapps folder and it should deploy it to http://localhost:8080/webappname/ http://localhost:8080/webappname/

Does that help?

MD> On 1 Apr 2016, at 14:18, Alexander Diedler <@Alexander_Diedler> wrote:

Hello,
I came from Java corner and know to deploy a java/tomcat webapp via war file.
But how does it work with lucee, because the WEB-INF folder have also to be deployed or not?
What are the best way to deploy ramdomly webapps to lucee servers?

BR
Alex


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/feb6c36a-b76f-4ac4-9c79-c93c770f0b2f%40googlegroups.com https://groups.google.com/d/msgid/lucee/feb6c36a-b76f-4ac4-9c79-c93c770f0b2f%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

Hello, was this topic for nobody other important or have already done it?Am Freitag, 1. April 2016 20:46:28 UTC+2 schrieb Alexander Diedler:

Thank you Mark for your quick overview.
I understand I need my APP in a folder e.g. webcontent and inside this a
WEB-INF folder /lucee/Web.XML
But what is with the whole Railo Webadmin config and settings from this
WEB-INF folder? Does I have to copy and package it with my WebApp to a war
file? Normally you call http://APP:8888/lucee/Admin/Web.cfm to configure
customtag path,schedled Tasks etc. Do I need to zip it also and deploy? For
warfile deployment i understand the uploaded war delete the target folder
and then extract the content.

Hi Alexander,

I create lucee application war files for aws deployment, I blogged about it here… I hope this points you in the right direction.

Regards,
Adam