Hi,
I'currently trying to run our OFBiz in docker but I can't find a way to create a .war or .jar file to deploy it in a simple tomcat or java container. Seems I have to checkout the sources in my docker container, run the gradle build and then start OFBiz. Is there a way to get a .war or a .jar file containing alle the dependencies for running it in a container? Thanks for helping me! Heiko |
Hi Heiko,
it is not possible to deploy OFBiz as a self-contained WAR OOTB. We have dropped support for this long time ago. OFBiz already contains an embedded Tomcat which will be started when you start OFBiz. There should be no problem to start it in Docker also. Best regards, Michael Brohl ecomify GmbH www.ecomify.de Am 20.10.17 um 20:18 schrieb Heiko Cane: > Hi, > > I'currently trying to run our OFBiz in docker but I can't find a way to > create a .war or .jar file to deploy it in a simple tomcat or java > container. Seems I have to checkout the sources in my docker container, run > the gradle build and then start OFBiz. > > Is there a way to get a .war or a .jar file containing alle the > dependencies for running it in a container? > > > Thanks for helping me! > > Heiko > smime.p7s (5K) Download Attachment |
In reply to this post by Heiko Cane
Create your own Dockerfile, you can't use a tomcat container. I
recommend airdock/oracle-jdk as your starting docker image On Fri, Oct 20, 2017 at 9:18 PM, Heiko Cane <[hidden email]> wrote: > Hi, > > I'currently trying to run our OFBiz in docker but I can't find a way to > create a .war or .jar file to deploy it in a simple tomcat or java > container. Seems I have to checkout the sources in my docker container, run > the gradle build and then start OFBiz. > > Is there a way to get a .war or a .jar file containing alle the > dependencies for running it in a container? > > > Thanks for helping me! > > Heiko |
Thanks for your reply. I will try to build my own docker file (without
tomcat). It seems that airdock/oracle-jdk is not up-to-date. The latest version of this images contains jdk-8u112. Maybe I'll try the latest openjdk docker image. Are you already running OFBiz in docker? 2017-10-20 20:43 GMT+02:00 Taher Alkhateeb <[hidden email]>: > Create your own Dockerfile, you can't use a tomcat container. I > recommend airdock/oracle-jdk as your starting docker image > > On Fri, Oct 20, 2017 at 9:18 PM, Heiko Cane <[hidden email]> wrote: > > Hi, > > > > I'currently trying to run our OFBiz in docker but I can't find a way to > > create a .war or .jar file to deploy it in a simple tomcat or java > > container. Seems I have to checkout the sources in my docker container, > run > > the gradle build and then start OFBiz. > > > > Is there a way to get a .war or a .jar file containing alle the > > dependencies for running it in a container? > > > > > > Thanks for helping me! > > > > Heiko > |
It's not hard, you can roll something out within 10 minutes. If you want
the latest JDK then you might consider rolling your own image. On Oct 22, 2017 7:17 PM, "Heiko Cane" <[hidden email]> wrote: > Thanks for your reply. I will try to build my own docker file (without > tomcat). > > It seems that airdock/oracle-jdk is not up-to-date. The latest version of > this images contains jdk-8u112. > Maybe I'll try the latest openjdk docker image. > > Are you already running OFBiz in docker? > > 2017-10-20 20:43 GMT+02:00 Taher Alkhateeb <[hidden email]>: > > > Create your own Dockerfile, you can't use a tomcat container. I > > recommend airdock/oracle-jdk as your starting docker image > > > > On Fri, Oct 20, 2017 at 9:18 PM, Heiko Cane <[hidden email]> > wrote: > > > Hi, > > > > > > I'currently trying to run our OFBiz in docker but I can't find a way to > > > create a .war or .jar file to deploy it in a simple tomcat or java > > > container. Seems I have to checkout the sources in my docker container, > > run > > > the gradle build and then start OFBiz. > > > > > > Is there a way to get a .war or a .jar file containing alle the > > > dependencies for running it in a container? > > > > > > > > > Thanks for helping me! > > > > > > Heiko > > > |
Free forum by Nabble | Edit this page |