Re: Docker doc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Docker doc

Mace, Mark
Benito, 

Thanks for the quick write up.  

I've built uPortal start and it's working when I use the gradle commands for deploying and starting tomcat and hsql.  However, when I build and try to launch the uPortal-demo docker images, I am seeing issues related to hsql.  

29-Jul-2019 18:55:37.667 SEVERE [Timer-3,uPortal.cacheManager,520fc1c49afe-31285] org.jgroups.protocols.JDBC_PING.writeToDB JGRP000145: Error updating JDBC_PING table

 java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: JGROUPSPING in statement [INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?)]


It has occurred to me that it might be the DB is not initialized for the docker image.  Am I on the right track?

--mark



From: [hidden email] <[hidden email]> on behalf of Benito Gonzalez <[hidden email]>
Sent: Wednesday, July 17, 2019 3:07 PM
To: uPortal Developers <[hidden email]>
Subject: [uportal-dev] Docker doc
 
Hi folks,

I added a write-up on how to use Docker with uPortal. It's thin but should get you started.


Have a great day!
--bjagg

Benito J. Gonzalez
Software Developer
Unicon, Inc.
Voice:  209.777.2754
 Text:  209.777.2754
Email:  [hidden email]
GitHub:  bjagg
GitLab:  bjagg
BitBucket:  bjagg


--
You received this message because you are subscribed to the Google Groups "uPortal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/69771449.821523.1563390468343.JavaMail.zimbra%40unicon.net.

--
You received this message because you are subscribed to the Google Groups "uPortal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/DM6PR01MB4364FFA2096840D44BDF0615C6DD0%40DM6PR01MB4364.prod.exchangelabs.com.
Reply | Threaded
Open this post in threaded view
|

Re: Docker doc

Benito J. Gonzalez-2

Glad to hear from you!
--bjagg


From: "Mace, Mark" <[hidden email]>
To: "Benito Gonzalez" <[hidden email]>, "uPortal Developers" <[hidden email]>
Sent: Monday, July 29, 2019 2:05:16 PM
Subject: Re: [uportal-dev] Re: Docker doc

Benito,

I started thinking about what I was doing and looking at the startup file.  When I was messing around, I ran the skinGenerate task, which was the ONLY change I made from the initial clone of uPortal-start.  I went back, removed those files and ran the portalInit task followed up by creating the docker images again and now it's working.

Not sure if I ran the portalInit task after the skinGenerate, so it might be a failure in sequence on my part.  I'll test further later tonight or tomorrow.

--mark

From: [hidden email] <[hidden email]> on behalf of Mace, Mark <[hidden email]>
Sent: Monday, July 29, 2019 4:00 PM
To: Benito Gonzalez <[hidden email]>; uPortal Developers <[hidden email]>
Subject: Re: [uportal-dev] Re: Docker doc
 
thanks for the response, since I'm new to docker, I've captured the results of running 'docker run -it -p 8080:8080 apereo/uportal-demo' and attached it to this email (startup.txt).  

Now that I'm looking at the text file I see are a Node related error, could that be the issue?


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':overlays:uPortal:npmInstall'.
> Process 'command '/home/gradle/overlays/uPortal/.gradle/nodejs/node-v12.2.0-linux-x64/bin/npm'' finished with non-zero exit value 127

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 29s


Tomcat is responding, localhost:8080 gives me the tomcat page, put localhost:8080/uPortal gives me a 404 error.

thanks in advance for your help!

From: Benito Gonzalez <[hidden email]>
Sent: Monday, July 29, 2019 3:15 PM
To: Mace, Mark <[hidden email]>; uPortal Developers <[hidden email]>
Subject: Re: [uportal-dev] Re: Docker doc
 
Hi Mark!

That table is not created with Hibernate, so it's in a tables.xml file using an older uPortal technology.

Other than the JGROUP module, does the portal seem to run okay?

--bjagg


From: "Mace, Mark" <[hidden email]>
To: "Benito Gonzalez" <[hidden email]>, "uPortal Developers" <[hidden email]>
Sent: Monday, July 29, 2019 12:09:59 PM
Subject: [uportal-dev] Re: Docker doc

Benito, 

Thanks for the quick write up.  

I've built uPortal start and it's working when I use the gradle commands for deploying and starting tomcat and hsql.  However, when I build and try to launch the uPortal-demo docker images, I am seeing issues related to hsql.  

29-Jul-2019 18:55:37.667 SEVERE [Timer-3,uPortal.cacheManager,520fc1c49afe-31285] org.jgroups.protocols.JDBC_PING.writeToDB JGRP000145: Error updating JDBC_PING table

 java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: JGROUPSPING in statement [INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?)]


It has occurred to me that it might be the DB is not initialized for the docker image.  Am I on the right track?

--mark



From: [hidden email] <[hidden email]> on behalf of Benito Gonzalez <[hidden email]>
Sent: Wednesday, July 17, 2019 3:07 PM
To: uPortal Developers <[hidden email]>
Subject: [uportal-dev] Docker doc
 
Hi folks,

I added a write-up on how to use Docker with uPortal. It's thin but should get you started.


Have a great day!
--bjagg

Benito J. Gonzalez
Software Developer
Unicon, Inc.
Voice:  209.777.2754
 Text:  209.777.2754
Email:  [hidden email]
GitHub:  bjagg
GitLab:  bjagg
BitBucket:  bjagg


--
You received this message because you are subscribed to the Google Groups "uPortal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/69771449.821523.1563390468343.JavaMail.zimbra%40unicon.net.

--
You received this message because you are subscribed to the Google Groups "uPortal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/DM6PR01MB4364FFA2096840D44BDF0615C6DD0%40DM6PR01MB4364.prod.exchangelabs.com.

--
You received this message because you are subscribed to the Google Groups "uPortal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/DM6PR01MB4364EDEAC91B0AA0BAF3757FC6DD0%40DM6PR01MB4364.prod.exchangelabs.com.

--
You received this message because you are subscribed to the Google Groups "uPortal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/DM6PR01MB4364B7BF0D3BAC908C7E5784C6DD0%40DM6PR01MB4364.prod.exchangelabs.com.

--
You received this message because you are subscribed to the Google Groups "uPortal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/760153466.1743359.1564434738510.JavaMail.zimbra%40unicon.net.