I think things have changed in the later versions of OFBiz. See below: On Tue, Jun 5, 2012 at 2:01 PM, Al Byers <bye...@automationgroups.com> wrote: > I got this from Joe Eckard and think it is worth sharing for anyone > else coming along. Thanks Joe. > > Switching to jetty and back is easy & painless - first you need to > edit /framework/component-load.xml to make sure the jetty component is > active and the catalina component is disabled. This part was easy enough.
>Then you need to make > sure the jetty config is available - you can do that by copying the > "jetty-container" section from jetty.properties into ofbiz.properties, > or copy jetty.properties to ofbiz.properties in framework/base/config, What I ended up doing was modifying the "start.properties" file with these lines: # --- Location (relative to ofbiz.home) for (normal) container configuration #ofbiz.container.config=framework/base/config/ofbiz-containers.xml ofbiz.container.config=framework/base/config/jetty-containers.xml Note the second line was already commented out. There is a default parameter in Start.java pointing to ofbiz-containers. Then I rebuilt the start package and things seemed to work. -Al > or supply "jetty" as a command-line argument when running ofbiz. (e.g. > "java -jar ofbiz.jar jetty" - this will cause Start.java to load the > startup jetty.properties, which tells ofbiz to use > framework/base/config/jetty.properties instead of the default > framework/base/config/ofbiz.properties) > > -Al > > On Mon, Jun 4, 2012 at 4:49 AM, Al Byers <bye...@automationgroups.com> wrote: >> I can't find any documentation on switching from tomcat to jetty. Is >> it as simple as just uncommenting the jetty line in >> framework/component-load.xml? >> >> Do I need to comment anything? >> >> How can I tell that jetty is running? >> >> Thanks to Joe for keeping the jetty stuff up-to-date. I see that you >> made a commit just back in March. >> >> -Al