I'm currently looking into setting up ofbiz in an amazon EC2 instance.
I'm still at early prototyping stage, but I think it would make sense to be able to build ofbiz offline and then deploy it to tomcat as a single war file. Is it possible to compile ofbiz to a single war file for tomcat? If not I can investigate deploying to glassfish as a single war. Many thanks in advance, Chris |
No, it is not possible :)
Tomcat runs as a container inside ofbiz. You can disable it if you want to, or replace it by jetty. But you can not run ofbiz into tomcat. Imho:) -- deyan -----Original Message----- From: Chris Snow <[hidden email]> Sent: 05 Октомври 2009 г. 18:59 To: [hidden email] Subject: deploying ofbiz in amazon EC2 I'm currently looking into setting up ofbiz in an amazon EC2 instance. I'm still at early prototyping stage, but I think it would make sense to be able to build ofbiz offline and then deploy it to tomcat as a single war file. Is it possible to compile ofbiz to a single war file for tomcat? If not I can investigate deploying to glassfish as a single war. Many thanks in advance, Chris |
Administrator
|
You may try this, http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers
No guarantee for the Tomcat page ... (seems to be some problems nowadays) Jacques From: "Deyan Tsvetanov" <[hidden email]> > No, it is not possible :) > > Tomcat runs as a container inside ofbiz. You can disable it if you want to, or replace it by jetty. But you can not run ofbiz into > tomcat. Imho:) > > -- deyan > > -----Original Message----- > From: Chris Snow <[hidden email]> > Sent: 05 Октомври 2009 г. 18:59 > To: [hidden email] > Subject: deploying ofbiz in amazon EC2 > > I'm currently looking into setting up ofbiz in an amazon EC2 instance. > > I'm still at early prototyping stage, but I think it would make sense to > be able to build ofbiz offline and then deploy it to tomcat as a single > war file. > > Is it possible to compile ofbiz to a single war file for tomcat? If not I > can investigate deploying to glassfish as a single war. > > Many thanks in advance, > > Chris > > > > |
There are relatively big issues with EC2 - I'd probably look to a
better run Cloud - something like what Contegix, who specializes in OFBiz installations, provides: http://www.contegix.com/solutions/cloud-hosting.php Cheers, Ruppert On Oct 5, 2009, at 10:59 AM, Jacques Le Roux wrote: > You may try this, http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers > > No guarantee for the Tomcat page ... (seems to be some problems > nowadays) > > Jacques > > From: "Deyan Tsvetanov" <[hidden email]> >> No, it is not possible :) >> >> Tomcat runs as a container inside ofbiz. You can disable it if you >> want to, or replace it by jetty. But you can not run ofbiz into >> tomcat. Imho:) >> >> -- deyan >> >> -----Original Message----- >> From: Chris Snow <[hidden email]> >> Sent: 05 Октомври 2009 г. 18:59 >> To: [hidden email] >> Subject: deploying ofbiz in amazon EC2 >> >> I'm currently looking into setting up ofbiz in an amazon EC2 >> instance. >> >> I'm still at early prototyping stage, but I think it would make >> sense to >> be able to build ofbiz offline and then deploy it to tomcat as a >> single >> war file. >> >> Is it possible to compile ofbiz to a single war file for tomcat? >> If not I >> can investigate deploying to glassfish as a single war. >> >> Many thanks in advance, >> >> Chris >> >> >> > > smime.p7s (3K) Download Attachment |
Hi Tim,
What are the issues with EC2? Many thanks, Chris > There are relatively big issues with EC2 - I'd probably look to a > better run Cloud - something like what Contegix, who specializes in > OFBiz installations, provides: > > http://www.contegix.com/solutions/cloud-hosting.php > > Cheers, > Ruppert > > On Oct 5, 2009, at 10:59 AM, Jacques Le Roux wrote: > >> You may try this, >> http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers >> >> No guarantee for the Tomcat page ... (seems to be some problems >> nowadays) >> >> Jacques >> >> From: "Deyan Tsvetanov" <[hidden email]> >>> No, it is not possible :) >>> >>> Tomcat runs as a container inside ofbiz. You can disable it if you >>> want to, or replace it by jetty. But you can not run ofbiz into >>> tomcat. Imho:) >>> >>> -- deyan >>> >>> -----Original Message----- >>> From: Chris Snow <[hidden email]> >>> Sent: 05 ÐкÑомвÑи 2009 г. 18:59 >>> To: [hidden email] >>> Subject: deploying ofbiz in amazon EC2 >>> >>> I'm currently looking into setting up ofbiz in an amazon EC2 >>> instance. >>> >>> I'm still at early prototyping stage, but I think it would make >>> sense to >>> be able to build ofbiz offline and then deploy it to tomcat as a >>> single >>> war file. >>> >>> Is it possible to compile ofbiz to a single war file for tomcat? >>> If not I >>> can investigate deploying to glassfish as a single war. >>> >>> Many thanks in advance, >>> >>> Chris >>> >>> >>> >> >> > > -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk |
In reply to this post by Tim Ruppert
What are the issues you've had with EC2? We've been using it for several
months now and haven't found a problem. Curious what others are finding for f others are using it. Thread specific: we are using the OOTB ofbiz embedded tomcat and use svn to distribute code to our EC2 servers. I can't see a good enough reason to try and use a WAR file with Tocmat when ofbiz integrates with it very well. Brett On Mon, Oct 5, 2009 at 12:05 PM, Tim Ruppert <[hidden email]>wrote: > There are relatively big issues with EC2 - I'd probably look to a better > run Cloud - something like what Contegix, who specializes in OFBiz > installations, provides: > > http://www.contegix.com/solutions/cloud-hosting.php > > Cheers, > Ruppert > > > On Oct 5, 2009, at 10:59 AM, Jacques Le Roux wrote: > > You may try this, >> http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers >> >> No guarantee for the Tomcat page ... (seems to be some problems nowadays) >> >> Jacques >> >> From: "Deyan Tsvetanov" <[hidden email]> >> >>> No, it is not possible :) >>> >>> Tomcat runs as a container inside ofbiz. You can disable it if you want >>> to, or replace it by jetty. But you can not run ofbiz into tomcat. Imho:) >>> >>> -- deyan >>> >>> -----Original Message----- >>> From: Chris Snow <[hidden email]> >>> Sent: 05 Октомври 2009 г. 18:59 >>> To: [hidden email] >>> Subject: deploying ofbiz in amazon EC2 >>> >>> I'm currently looking into setting up ofbiz in an amazon EC2 instance. >>> >>> I'm still at early prototyping stage, but I think it would make sense to >>> be able to build ofbiz offline and then deploy it to tomcat as a single >>> war file. >>> >>> Is it possible to compile ofbiz to a single war file for tomcat? If not >>> I >>> can investigate deploying to glassfish as a single war. >>> >>> Many thanks in advance, >>> >>> Chris >>> >>> >>> >>> >> >> > |
yeah - I definitely wouldn't be able to justify anything related to
deploying in the stock Tomcat - it's just not worth the effort. The way that Brett described it is exactly what I'd do if I were using EC2. The problems, as I know it are: 1. Issues with Disk -- Local vs Networked -- Being lost ALL together -- Unrecoverable 2. Timing issues -- Clock synchronization can cause data to be out of sync. 3. etc There are many others - you just have to find the people who are worried about their performance and data and not just about the cost. I'll dig in and try to find some better case studies in the not too distant future, but I just wouldn't bet on it is all I'm saying. Cheers, Ruppert -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Oct 5, 2009, at 12:30 PM, Brett Palmer wrote: > What are the issues you've had with EC2? We've been using it for > several > months now and haven't found a problem. Curious what others are > finding for > f others are using it. > > Thread specific: we are using the OOTB ofbiz embedded tomcat and > use svn to > distribute code to our EC2 servers. I can't see a good enough > reason to try > and use a WAR file with Tocmat when ofbiz integrates with it very > well. > > > Brett > > On Mon, Oct 5, 2009 at 12:05 PM, Tim Ruppert <[hidden email] > >wrote: > >> There are relatively big issues with EC2 - I'd probably look to a >> better >> run Cloud - something like what Contegix, who specializes in OFBiz >> installations, provides: >> >> http://www.contegix.com/solutions/cloud-hosting.php >> >> Cheers, >> Ruppert >> >> >> On Oct 5, 2009, at 10:59 AM, Jacques Le Roux wrote: >> >> You may try this, >>> http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers >>> >>> No guarantee for the Tomcat page ... (seems to be some problems >>> nowadays) >>> >>> Jacques >>> >>> From: "Deyan Tsvetanov" <[hidden email]> >>> >>>> No, it is not possible :) >>>> >>>> Tomcat runs as a container inside ofbiz. You can disable it if >>>> you want >>>> to, or replace it by jetty. But you can not run ofbiz into >>>> tomcat. Imho:) >>>> >>>> -- deyan >>>> >>>> -----Original Message----- >>>> From: Chris Snow <[hidden email]> >>>> Sent: 05 Октомври 2009 г. 18:59 >>>> To: [hidden email] >>>> Subject: deploying ofbiz in amazon EC2 >>>> >>>> I'm currently looking into setting up ofbiz in an amazon EC2 >>>> instance. >>>> >>>> I'm still at early prototyping stage, but I think it would make >>>> sense to >>>> be able to build ofbiz offline and then deploy it to tomcat as a >>>> single >>>> war file. >>>> >>>> Is it possible to compile ofbiz to a single war file for tomcat? >>>> If not >>>> I >>>> can investigate deploying to glassfish as a single war. >>>> >>>> Many thanks in advance, >>>> >>>> Chris >>>> >>>> >>>> >>>> >>> >>> >> smime.p7s (3K) Download Attachment |
I'm not using OFBiz for a while, but I'm a heavy user of EC2, and I
would say EBS is a good solution. On Mon, Oct 5, 2009 at 11:40 AM, Tim Ruppert <[hidden email]> wrote: > yeah - I definitely wouldn't be able to justify anything related to > deploying in the stock Tomcat - it's just not worth the effort. The way > that Brett described it is exactly what I'd do if I were using EC2. The > problems, as I know it are: > > 1. Issues with Disk > -- Local vs Networked > -- Being lost ALL together > -- Unrecoverable > 2. Timing issues > -- Clock synchronization can cause data to be out of sync. > 3. etc > > There are many others - you just have to find the people who are worried > about their performance and data and not just about the cost. I'll dig in > and try to find some better case studies in the not too distant future, but > I just wouldn't bet on it is all I'm saying. > > Cheers, > Ruppert > -- > Tim Ruppert > HotWax Media > http://www.hotwaxmedia.com > > o:801.649.6594 > f:801.649.6595 > > On Oct 5, 2009, at 12:30 PM, Brett Palmer wrote: > >> What are the issues you've had with EC2? We've been using it for several >> months now and haven't found a problem. Curious what others are finding >> for >> f others are using it. >> >> Thread specific: we are using the OOTB ofbiz embedded tomcat and use svn >> to >> distribute code to our EC2 servers. I can't see a good enough reason to >> try >> and use a WAR file with Tocmat when ofbiz integrates with it very well. >> >> >> Brett >> >> On Mon, Oct 5, 2009 at 12:05 PM, Tim Ruppert >> <[hidden email]>wrote: >> >>> There are relatively big issues with EC2 - I'd probably look to a better >>> run Cloud - something like what Contegix, who specializes in OFBiz >>> installations, provides: >>> >>> http://www.contegix.com/solutions/cloud-hosting.php >>> >>> Cheers, >>> Ruppert >>> >>> >>> On Oct 5, 2009, at 10:59 AM, Jacques Le Roux wrote: >>> >>> You may try this, >>>> >>>> >>>> http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers >>>> >>>> No guarantee for the Tomcat page ... (seems to be some problems >>>> nowadays) >>>> >>>> Jacques >>>> >>>> From: "Deyan Tsvetanov" <[hidden email]> >>>> >>>>> No, it is not possible :) >>>>> >>>>> Tomcat runs as a container inside ofbiz. You can disable it if you want >>>>> to, or replace it by jetty. But you can not run ofbiz into tomcat. >>>>> Imho:) >>>>> >>>>> -- deyan >>>>> >>>>> -----Original Message----- >>>>> From: Chris Snow <[hidden email]> >>>>> Sent: 05 Октомври 2009 г. 18:59 >>>>> To: [hidden email] >>>>> Subject: deploying ofbiz in amazon EC2 >>>>> >>>>> I'm currently looking into setting up ofbiz in an amazon EC2 instance. >>>>> >>>>> I'm still at early prototyping stage, but I think it would make sense >>>>> to >>>>> be able to build ofbiz offline and then deploy it to tomcat as a single >>>>> war file. >>>>> >>>>> Is it possible to compile ofbiz to a single war file for tomcat? If >>>>> not >>>>> I >>>>> can investigate deploying to glassfish as a single war. >>>>> >>>>> Many thanks in advance, >>>>> >>>>> Chris >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> > > -- M Nakamura |
In reply to this post by Jacques Le Roux
Yup,
sorry :) -----Original Message----- From: Jacques Le Roux <[hidden email]> Reply-to: "Jacques Le Roux" <[hidden email]> To: [hidden email] Subject: Re: deploying ofbiz in amazon EC2 Date: Mon, 5 Oct 2009 18:59:44 +0200 You may try this, http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers No guarantee for the Tomcat page ... (seems to be some problems nowadays) Jacques From: "Deyan Tsvetanov" <[hidden email]> > No, it is not possible :) > > Tomcat runs as a container inside ofbiz. You can disable it if you want to, or replace it by jetty. But you can not run ofbiz into > tomcat. Imho:) > > -- deyan > > -----Original Message----- > From: Chris Snow <[hidden email]> > Sent: 05 Октомври 2009 г. 18:59 > To: [hidden email] > Subject: deploying ofbiz in amazon EC2 > > I'm currently looking into setting up ofbiz in an amazon EC2 instance. > > I'm still at early prototyping stage, but I think it would make sense to > be able to build ofbiz offline and then deploy it to tomcat as a single > war file. > > Is it possible to compile ofbiz to a single war file for tomcat? If not I > can investigate deploying to glassfish as a single war. > > Many thanks in advance, > > Chris > > > > |
In reply to this post by Brett
Hi Brett,
Do you have an outgoing SMTP server running on your EC2 image? It looks like you can't setup the DNS REVERSE PTR records on EC2 which can be a big problem for sending email. Many thanks, Chris > What are the issues you've had with EC2? We've been using it for several > months now and haven't found a problem. Curious what others are finding > for > f others are using it. > > Thread specific: we are using the OOTB ofbiz embedded tomcat and use svn > to > distribute code to our EC2 servers. I can't see a good enough reason to > try > and use a WAR file with Tocmat when ofbiz integrates with it very well. > > > Brett > > On Mon, Oct 5, 2009 at 12:05 PM, Tim Ruppert > <[hidden email]>wrote: > >> There are relatively big issues with EC2 - I'd probably look to a better >> run Cloud - something like what Contegix, who specializes in OFBiz >> installations, provides: >> >> http://www.contegix.com/solutions/cloud-hosting.php >> >> Cheers, >> Ruppert >> >> >> On Oct 5, 2009, at 10:59 AM, Jacques Le Roux wrote: >> >> You may try this, >>> http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers >>> >>> No guarantee for the Tomcat page ... (seems to be some problems >>> nowadays) >>> >>> Jacques >>> >>> From: "Deyan Tsvetanov" <[hidden email]> >>> >>>> No, it is not possible :) >>>> >>>> Tomcat runs as a container inside ofbiz. You can disable it if you >>>> want >>>> to, or replace it by jetty. But you can not run ofbiz into tomcat. >>>> Imho:) >>>> >>>> -- deyan >>>> >>>> -----Original Message----- >>>> From: Chris Snow <[hidden email]> >>>> Sent: 05 ÐкÑомвÑи 2009 г. 18:59 >>>> To: [hidden email] >>>> Subject: deploying ofbiz in amazon EC2 >>>> >>>> I'm currently looking into setting up ofbiz in an amazon EC2 instance. >>>> >>>> I'm still at early prototyping stage, but I think it would make sense >>>> to >>>> be able to build ofbiz offline and then deploy it to tomcat as a >>>> single >>>> war file. >>>> >>>> Is it possible to compile ofbiz to a single war file for tomcat? If >>>> not >>>> I >>>> can investigate deploying to glassfish as a single war. >>>> >>>> Many thanks in advance, >>>> >>>> Chris >>>> >>>> >>>> >>>> >>> >>> >> > -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk |
In reply to this post by Mark Nakamura
very interesting information! thanks ...
I didn´t find any information concerning how to share common data between different ofbiz instances! For instance the product images (stored in folder \framework\images\webapp\images\products). If a user adds or changes images by using the category manager and different ofbiz instances are using the images. How does it work for you? Do you store the whole ofbiz code on a EBS share and every ofbiz instance uses this share? Do you save the images in database instead using the filesystem? thanks mahesh On Tue, Oct 6, 2009 at 5:49 AM, M Nakamura <[hidden email]>wrote: > I'm not using OFBiz for a while, but I'm a heavy user of EC2, and I > would say EBS is a good solution. > > On Mon, Oct 5, 2009 at 11:40 AM, Tim Ruppert > <[hidden email]> wrote: > > yeah - I definitely wouldn't be able to justify anything related to > > deploying in the stock Tomcat - it's just not worth the effort. The way > > that Brett described it is exactly what I'd do if I were using EC2. The > > problems, as I know it are: > > > > 1. Issues with Disk > > -- Local vs Networked > > -- Being lost ALL together > > -- Unrecoverable > > 2. Timing issues > > -- Clock synchronization can cause data to be out of sync. > > 3. etc > > > > There are many others - you just have to find the people who are worried > > about their performance and data and not just about the cost. I'll dig > in > > and try to find some better case studies in the not too distant future, > but > > I just wouldn't bet on it is all I'm saying. > > > > Cheers, > > Ruppert > > -- > > Tim Ruppert > > HotWax Media > > http://www.hotwaxmedia.com > > > > o:801.649.6594 > > f:801.649.6595 > > > > On Oct 5, 2009, at 12:30 PM, Brett Palmer wrote: > > > >> What are the issues you've had with EC2? We've been using it for > several > >> months now and haven't found a problem. Curious what others are finding > >> for > >> f others are using it. > >> > >> Thread specific: we are using the OOTB ofbiz embedded tomcat and use > svn > >> to > >> distribute code to our EC2 servers. I can't see a good enough reason to > >> try > >> and use a WAR file with Tocmat when ofbiz integrates with it very well. > >> > >> > >> Brett > >> > >> On Mon, Oct 5, 2009 at 12:05 PM, Tim Ruppert > >> <[hidden email]>wrote: > >> > >>> There are relatively big issues with EC2 - I'd probably look to a > better > >>> run Cloud - something like what Contegix, who specializes in OFBiz > >>> installations, provides: > >>> > >>> http://www.contegix.com/solutions/cloud-hosting.php > >>> > >>> Cheers, > >>> Ruppert > >>> > >>> > >>> On Oct 5, 2009, at 10:59 AM, Jacques Le Roux wrote: > >>> > >>> You may try this, > >>>> > >>>> > >>>> > http://docs.ofbiz.org/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers > >>>> > >>>> No guarantee for the Tomcat page ... (seems to be some problems > >>>> nowadays) > >>>> > >>>> Jacques > >>>> > >>>> From: "Deyan Tsvetanov" <[hidden email]> > >>>> > >>>>> No, it is not possible :) > >>>>> > >>>>> Tomcat runs as a container inside ofbiz. You can disable it if you > want > >>>>> to, or replace it by jetty. But you can not run ofbiz into tomcat. > >>>>> Imho:) > >>>>> > >>>>> -- deyan > >>>>> > >>>>> -----Original Message----- > >>>>> From: Chris Snow <[hidden email]> > >>>>> Sent: 05 Октомври 2009 г. 18:59 > >>>>> To: [hidden email] > >>>>> Subject: deploying ofbiz in amazon EC2 > >>>>> > >>>>> I'm currently looking into setting up ofbiz in an amazon EC2 > instance. > >>>>> > >>>>> I'm still at early prototyping stage, but I think it would make sense > >>>>> to > >>>>> be able to build ofbiz offline and then deploy it to tomcat as a > single > >>>>> war file. > >>>>> > >>>>> Is it possible to compile ofbiz to a single war file for tomcat? If > >>>>> not > >>>>> I > >>>>> can investigate deploying to glassfish as a single war. > >>>>> > >>>>> Many thanks in advance, > >>>>> > >>>>> Chris > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >>> > > > > > > > > -- > M Nakamura > |
Free forum by Nabble | Edit this page |