New tomcatConfig in uPortal-start

10 views
Skip to first unread message

Benito Gonzalez

unread,
Mar 25, 2022, 12:37:17 PMMar 25
to Developers, uPortal, uPortal Community
Hi folks,

Most of you know that setting up Tomcat for the first time is easy. You can run either `tomcatInstall` or `portalInit` to get it up and configured. (`portalInit` just calls `tomcatInstall` along with many other tasks.)

But the question keeps popping up, if I change a configuration file in etc/portal/ or etc/tomcat/, how do I get it into Tomcat? It used to be a manual copy -- not anymore!!

We split out the configuration parts of `tomcatInstall` into `tomcatConfig`. Once you have Tomcat installed, you only have to run that prior task if you upgrade the Tomcat version.

Now, if you make changes in etc/portal/ or etc/tomcat/ you can run `tomcatConfig` to copy out those 2 directories (and shared libs) without hammering your Tomcat.

This is especially nice for Window Servers that used the Tomcat installer. Skip `tomcatInstall` to avoid clobbering your setup. Just run `tomcatConfig` to get Tomcat ready for uPortal. (Just make sure TOMCAT_HOME is pointing to the right directory.)

Now would be a good time to consider merging the latest changes into your uPortal-start repo. As always, you can reach out to the community if you run into issues. If you are a Unicon OSS Subscriber, open a ticket if you want help walking through the process.

Have a great weekend!
-bjagg

--
Benito J. Gonzalez
Software Architect
Unicon, Inc.
GitHub:  bjagg
GitLab:  bjagg
BitBucket:  bjagg

Benito Gonzalez

unread,
Mar 25, 2022, 5:50:09 PMMar 25
to Andrey Postoyanets, Developers, uPortal, uPortal Community
You bet!!

-bjagg

On Fri, Mar 25, 2022 at 9:49 AM Andrey Postoyanets <And...@brooklyn.cuny.edu> wrote:

This is fantastic news. Thank you so much for that Benito!

 

Andrey Postoyanets

CUNY, Brooklyn College

 

From: uporta...@apereo.org <uporta...@apereo.org> On Behalf Of Benito Gonzalez
Sent: Friday, March 25, 2022 12:37 PM
To: Developers, uPortal <uport...@apereo.org>; uPortal Community <uporta...@apereo.org>
Subject: [uportal-user] New tomcatConfig in uPortal-start

 

CAUTION: This email is from outside BC, so examine it closely before opening attachments or clicking on links

 

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uportal-user...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-user/CAJ_1GkRD9%3D1gxX_eTReB%2Bp%3D5ie9T465xrk_E4cecUHXKZoXxdg%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages