The biggest reason was to have an OOTB application. just load and run.
Chris Howe sent the following on 4/20/2008 10:17 PM: > There was a particular reasoning for running tomcat embedded. What was > it? If those issues are resolved, would it be better to tomcat > (non)embedded? This would help quite a few integration issues. > > I just did a quick run and it works. However, there may be a > classloader issue. I had to copy the mysql jar to tomcat-x/lib because > it wasn't getting picked up in ofbiz/framework/entity/lib/jdbc . > > > --- "Jacques Le Roux (JIRA)" <[EMAIL PROTECTED]> wrote: > >> [ >> > https://issues.apache.org/jira/browse/OFBIZ-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >> ] >> >> Jacques Le Roux closed OFBIZ-1738. >> ---------------------------------- >> >> Resolution: Fixed >> Fix Version/s: SVN trunk >> >> Thanks Ludovic, >> >> Your "patch" is in trunk rev. 649921 >> >> >> I did not test anything, I just added ASL headers to bat and sh >> scripts in the 55 branch and made a page in Wiki at >> http://docs.ofbiz.org/x/gR from your how to. >> I did so for 2 main reasons : >> 1. I have no time to test thorougly, and I suppose that it works from >> your comments this issue >> 2. It's harmless for the project, only people interested may >> encounter issues if any >> >>> Add support for running one instance of OfBiz under Tomcat >>> ---------------------------------------------------------- >>> >>> Key: OFBIZ-1738 >>> URL: >> https://issues.apache.org/jira/browse/OFBIZ-1738 >>> Project: OFBiz >>> Issue Type: New Feature >>> Components: framework >>> Affects Versions: SVN trunk >>> Environment: Mac OS X 10.5.2, JDK 1.5.0_13 >>> Reporter: Ludovic MaƮtre >>> Assignee: Jacques Le Roux >>> Priority: Minor >>> Fix For: SVN trunk >>> >>> Attachments: ofbiz-tomcat-setup.zip, tomcat.zip >>> >>> Original Estimate: 8h >>> Remaining Estimate: 8h >>> >>> This issue provide templates and patchs to run one instance of >> OfBiz under Tomcat. >>> The templates are used to: >>> - setup the classpath of Tomcat, (catalina.properties) >>> - declare the ofbiz webapps in the server configuration >>> The files generated from the templates, with the command 'java -jar >> ofbiz.jar -setup tomcat', should be copied in the $CATALINA_HOME/conf >> folder of Tomcat. >>> IIRC there is also some setup to perform in the first loaded >> webapp, and a few other modifications in the code, i will digg into >> it this evening (French riviera time) and create a patch which will >> be added to this issue. (the full code is also published on my >> subversion server: >> http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but >> good luck to find the relveant parts :-)) >>> Best regards, >> -- >> This message is automatically generated by JIRA. >> - >> You can reply to this email to add a comment to the issue online. >> >> > > > >