[cle-release-team] Tech requirements for 2.9.0 release

Matthew Jones matthew at longsight.com
Mon Oct 8 16:18:08 PDT 2012


Yea, putting it in a different Sakai lib directory wouldn't really solve
anything.

It's it already configured OOTB to be
common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar

So if you actually have ${catalina.base} and ${catalina.home} setup in
different directories, then you're good to go, and the Tomcat libs won't
overlap the Sakai libs. The Tomcat stuff goes in ${catalina.home}/lib and
the Sakai stuff goes in ${catalina.base}/lib. This is the ideal as it
allows for easy Tomcat upgrades, usage of the version provided by your
distribution, as well as really easy Sakai modifications. However it
requires a little reading and work. This is how all the 2.9 setups I'm
setting up are going, and this is how qa29.sakaiqa.org is running.

Still yea, probably too late for 2.9.0 to dump them all in lib anyway
automatically.

-Matthew

On Mon, Oct 8, 2012 at 7:07 PM, Steve Swinsburg
<steve.swinsburg at gmail.com>wrote:

> Deploying to lib would avoid this but there was discussion that the are
> tomcat jars in there and you can't just clean it out, so we might use a
> different directory, ie sakai-lib or something. But that still needs
> configuration mods. I'd be in favour of deploying to lib and then having a
> proper undeploy goal. We talked about that as well.
>
> Also, all tomcat overlays in all indies need to be adjusted for this.
> Too late for 2.9 IMO.
>
> Cheers,
> Steve
>
> Sent from my iPad
>
> On 09/10/2012, at 2:59, Matthew Jones <matthew at longsight.com> wrote:
>
> In pack demo there is an ant script that does a regexp replace on the
> catalina.properties. However this also downloads the tomcat so it knows it
> exists. For the binary and source, you have to know to significantly modify
> the JAVA_OPTS (and CATALINA_OPTS)
>
> I was never a super fan of downloading, just in-case they change other
> stuff in this file, then we'd be have to always make sure to keep it
> up-to-date and somehow working with all versions of tomcat. Though if you
> have any good ideas go for it? It seems like the best solution would have
> been just to modify the assemblies and deployment to have it deploy all
> libs to "${catalina.base}/lib" which is already defined, though if you
> didn't do a split setup (which I don't think is documented yet) then all of
> Sakai libs would be mixed up with Apache libs. [1] We're really just
> overwhelmed right now trying to get 2.9 out as-is. :)
>
> [1]
> http://old.nabble.com/-Building-Sakai--Sakai-directory-layout-for-Tomcat-7-td34174210.html
>
> https://source.sakaiproject.org/svn/pack/trunk/pack-demo/build.xml
>
>
>       <echo message="[INFO] Modify Tomcat catalina.properties for Tomcat 7" />
>       <copy file="${basedir}/target/pack/conf/catalina.properties"
>         tofile="${basedir}/target/pack/conf/catalina-orig.properties"
>           overwrite="true" />
>
>         <!-- Hopefully these won't break for Tomcat 5, but pack-demo doesn't target Tomcat 5 -->
>         <replaceregexp file="${basedir}/target/pack/conf/catalina.properties"
>           match="common.loader=(.*)"
>           replace="common.loader=${catalina.base}/common/lib/*.jar,\1"
>           byline="true"
>           />
>
>         <replaceregexp file="${basedir}/target/pack/conf/catalina.properties"
>           match="shared.loader=(.*)"
>           replace="shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar,\1"
>           byline="true"
>           />
>
> On Mon, Oct 8, 2012 at 11:36 AM, Noah Botimer <botimer at umich.edu> wrote:
>
>> This is a very delayed response, but... Can we come up with a more
>> convenient way to do the catalina.properties stuff? The documentation is
>> fine, but it's another new thing and there has to be a nice solution --
>> maybe as a one-liner to download a prepared version from SVN or a Maven
>> plugin (modification) to prepare the Tomcat directory?
>>
>> Thanks,
>> -Noah
>>
>>
>> On Tue, Oct 2, 2012 at 2:16 PM, Neal Caidin <
>> nealcaidin at sakaifoundation.org> wrote:
>>
>>> Hi,
>>>
>>> Matt Jones and I were discussing the technical requirements for 2.9.0
>>> release notes.
>>>
>>> Were were basically thinking we could copy and paste the system
>>> requirements from 2.8,with a few modifications -
>>> https://confluence.sakaiproject.org/display/DOC/Sakai+CLE+2.8+release+notes
>>>
>>> * Change Tomcat/Java support to java 7 recommended/preferred, java 6
>>> still supported
>>> * And then decide if we should still say MySql 5.1  or if we can say
>>> anything about MySql 5.5 or MariaDB?
>>>
>>>
>>> Matt pointed out this discussion -
>>> http://comments.gmane.org/gmane.comp.cms.sakai.devel/45066
>>>
>>> Thoughts?
>>>
>>> Thanks,
>>> Neal
>>>
>>> _______________________________________________
>>> cle-release-team mailing list
>>> cle-release-team at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>>>
>>
>>
>> _______________________________________________
>> cle-release-team mailing list
>> cle-release-team at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>>
>>
> _______________________________________________
> cle-release-team mailing list
> cle-release-team at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/cle-release-team/attachments/20121008/90050bbc/attachment-0006.html 


More information about the cle-release-team mailing list