[cas-user] Trouble with ActiveMQ/Artemis JMS ticketing system on Cas 6.5.6.

2022-07-21 Thread Joe Gullo
We have a cas environment with 2 front ends, and want to point to a central 
jms server for distributed ticketing.  We have artemis set up on a third 
box (not using artemis specifically, just using it as the next activemq 
release).  Auth is handed off via delegated saml (to okta) so pac4j is used 
for authentication.  When a user logs in, it is successful, they get a 
ticket and they get attributes, but I do not believe the distributed 
ticketing is successful.  Here is the JMS configuration:

cas.ticket.registry.jms.crypto.signing.key=REDACTED
cas.ticket.registry.jms.crypto.encryption.key=REDACTED
spring.activemq.broker-url=tcp://urltoserver:61617
spring.activemq.user=REDACTED
spring.activemq.password=REDACTED
spring.activemq.pool.enabled=true
spring.activemq.pool.max-connections=50
spring.activemq.packages.trust-all=false
spring.activemq.packages.trusted=org.apereo.cas

Then when a user logs in, despite the login being successful, I get this in 
the cas logs (the actual value of the specified config replaces what's in 
bold):

2022-07-20 20:32:37,106 WARN 
[org.springframework.jms.listener.DefaultMessageListenerContainer] - 

org.springframework.jms.listener.adapter.ListenerExecutionFailedException: 
Listener method 'public void 
org.apereo.cas.ticket.registry.JmsTicketRegistryQueueReceiver.receive(org.apereo.cas.ticket.queue.BaseMessageQueueCommand)
 
throws java.lang.Exception' threw exception; nested exception is 
org.springframework.jms.support.converter.MessageConversionException: 
Failed to convert JSON message content; nested exception is 
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Problem 
deserializing 'setterless' property ("authnContexts"): no way to handle 
typed deser with setterless yet
 at [Source: 
(String)"{"@class":"org.apereo.cas.ticket.queue.UpdateTicketMessageQueueCommand","id":{"@class":"org.apereo.cas.util.PublisherIdentifier","id":"90e5a8e0-2654-43dc-aeb8-210880c1083d"},"ticket":{"@class":"org.apereo.cas.ticket.TransientSessionTicketImpl","@id":1,"expirationPolicy":{"@class":"org.apereo.cas.ticket.expiration.MultiTimeUseOrTimeoutExpirationPolicy$TransientSessionTicketExpirationPolicy","numberOfUses":1,"timeToLive":300,"name":"TransientSessionTicketExpirationPolicy-95b2fec6-0c78-4d42-8f70-99"[truncated
 
2020 chars]; line: 1, column: 2068] (through reference chain: 
org.apereo.cas.ticket.queue.UpdateTicketMessageQueueCommand["ticket"]->org.apereo.cas.ticket.TransientSessionTicketImpl["properties"]->java.util.HashMap["pac4jUserProfiles"]->java.util.LinkedHashMap["
*cas.authn.pac4j.saml[0].clientName=*
"]->org.pac4j.saml.profile.SAML2Profile["authnContexts"])

Additionally, this is in the artemis logs:

2022-07-20 20:32:39,115 WARN  [org.apache.activemq.artemis.core.server] 
AMQ222149: Message 
Reference[47408]:RELIABLE:CoreMessage[messageID=47408,durable=true,userID=11bdaf9a-086b-11ed-b8ae-0a888fcbcf63,priority=4,
 
timestamp=Wed Jul 20 20:32:27 UTC 2022,expiration=0, durable=true, 
address=CasTicketRegistryQueue,size=6788,properties=TypedProperties[__HDR_dlqDeliveryFailureCause=java.lang.Throwable:
 
Delivery[7] exceeds redelivery policy limit:RedeliveryPolicy {destination = 
null, collisionAvoidanceFactor = 0.15, maximumRedeliveries = 6, 
maximumRedeliveryDelay = -1, initialRedeliveryDelay = 1000, 
useCollisionAvoidance = false, useExponentialBackOff = false, 
backOffMultiplier = 5.0, redeliveryDelay = 1000, preDispatchCheck = true}, 
cause:null,__AMQ_CID=ID:*cas-front-end-hostname*
-36353-1658348877999-0:10,_AMQ_GROUP_SEQUENCE=0,__HDR_BROKER_IN_TIME=1658349147052,@class=org.apereo.cas.ticket.queue.UpdateTicketMessageQueueCommand,_AMQ_ROUTING_TYPE=1,__HDR_ARRIVAL=0,__HDR_COMMAND_ID=5,__HDR_PRODUCER_ID=ID:
*cas-front-end-hostname*-36353-1658348877999-1:10:1:1,__HDR_MESSAGE_ID=ID:
*cas-front-end-hostname*-36353-1658348877999-1:10:1:1:1,__HDR_DROPPABLE=false]]@1093364495
 
has reached maximum delivery attempts, sending it to Dead Letter Address 
DLQ from CasTicketRegistryQueue

I'm stumped, this is over my head as a sysadmin and not a java developer, 
any clues would be helpful here.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f24067b2-b26d-4772-9fb9-392c27fab261n%40apereo.org.


[cas-user] Re: For Cas Config Server, where is the default log location?

2022-06-06 Thread Joe Gullo
I never figured out the desired default log location, but this worked for 
me to change the log location to /var/log/cas (a directory I made which is 
owned by tomcat):

1) Build the default overlay war (I've built it in 
/opt/cas/cas-configserver.orgname)
2) Copy 
"/opt/cas/cas-configserver.orgname/build/overlays/bootWar/cas/WEB-INF/classes/log4j2.xml"
 
to "/opt/cas/cas-configserver.orgname/src/main/resources/log4j2.xml"
3) Edit the new file, changing the log location on lines "12 and 13":
3a) I changed  fileName="casconfigserver.log" 
to  fileName="/var/log/cas/casconfigserver.log" on line 12
3b) I changed  filePattern="cas-%d{-MM-dd-HH}-%i.log" to 
filePattern="/var/log/cas/cas-%d{-MM-dd-HH}-%i.log" on line 13
4) Rebuild the overlay war and run that.

On Monday, June 6, 2022 at 9:59:21 AM UTC-7 Joe Gullo wrote:

> Running the config server, built from initializr, I'm getting this error 
> in the log:  
>
> 2022-06-03 16:12:19,543 main ERROR Unable to create file 
> casconfigserver.log java.io.IOException: Permission denied
>
> For Cas and Cas Management Server, I can define an alternate log4j.xml and 
> specify a ${basedir} which directs logs where I want them to go, but it 
> appears that is not working for the config server, even if I bake it into 
> the overlay.  Where is the default location for the log file for the config 
> server supposed to go, I can't find a path defined in the documentation for 
> this or spring config server?
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a9525839-93bd-4f53-9edb-e06b45b536ben%40apereo.org.


[cas-user] For Cas Config Server, where is the default log location?

2022-06-06 Thread Joe Gullo
Running the config server, built from initializr, I'm getting this error in 
the log:  

2022-06-03 16:12:19,543 main ERROR Unable to create file 
casconfigserver.log java.io.IOException: Permission denied

For Cas and Cas Management Server, I can define an alternate log4j.xml and 
specify a ${basedir} which directs logs where I want them to go, but it 
appears that is not working for the config server, even if I bake it into 
the overlay.  Where is the default location for the log file for the config 
server supposed to go, I can't find a path defined in the documentation for 
this or spring config server?

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/4defe505-6d4e-404d-8789-89152316e464n%40apereo.org.


Re: [cas-user] Before I complete a deployment, can I get a sanity check of my architecture plan?

2022-06-01 Thread Joe Gullo
Is my understanding correct that the management server overlay goes on the 
"config server" host, or does it go on each of the "cas-overlay" front 
ends?  My thought was that it was the hub component of a hub-and-spoke 
system, but I didn't see that explicitly laid out, or part of a best 
practices configuration.


On Wednesday, June 1, 2022 at 10:06:09 AM UTC-7 Ray Bon wrote:

> Joe,
>
> The key is small steps. Make a change and test. And of course, once it is 
> working as expected, commit to your git repo.
> For some aspects of Cas, you can create dummy services [in the service 
> registry]. Cas will do its part for authentication and redirect, which will 
> result in a 404. With the right logging settings you can see what cas is 
> doing; such as getting user attributes, checking  service authorizations, 
> multifactor, etc. Even single logout can be observed (cas can show which 
> services are being sent the logout request).
> There are a couple of guides available. Although they are for prior 
> version, they will show you steps taken.
>
> https://paulchauvet.github.io/deploying-cas/
>
> https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html
>
> There are management endpoints that may also prove useful.
> https://apereo.github.io/cas/6.5.x/monitoring/Monitoring-Statistics.html
>
> This blog may also be helpful
> https://fawnoos.com/blog/
>
> Ray
>
> On Tue, 2022-05-31 at 14:59 -0700, Joe Gullo wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
>
> I'm a sysadmin with no spring/java/cas experience, but I've been tasked 
> with taking a cas instance deployed by a vendor in ~2014 and bringing it up 
> to date with modern cas.  I've read the docs extensively, but I'm still 
> feeling like I may be making structural mistakes that I'd like someone with 
> more experienced eyes to consider. 
>
> Presently, I'm working with 2 individual servers, one with cas 
> configserver and cas management server, then another 1 (which will 
> ultimately become one of many) cas server.  I am deploying all of them from 
> initializr.  The thought was that the configserver and management server 
> are on their own system and the main cas servers will talk to that.  
> Presently, they are each operating as their own service under tomcat under 
> their own ports.
>
> The config server currently is presenting 4 profiles which I've separated 
> into their own "application-.properties" on the cas config 
> server.  Those are "common" "ldap" "dev" and "prod".  Then, in the 
> individual bootstrap.properties files that would go into building the 
> client overlay, I can specify which profiles to use.  This seems to be 
> working well; I'll change the bootstrap.properties and redeploy and I see 
> the changes.
>
> For now, for the dev build out, we're using JMS ticket registry and I'd 
> like to use JSON for my service registry.  Eventually I'd like the json 
> repository to be located on the config server and accessed remotely from 
> the front ends, but for now, it is on the front end configured with 
> "file://etc/cas/services-repo".  In testing, the only service I'm adding 
> now is the management server.  I haven't gotten to the point of adding 
> actual services yet.
>
> Am I approaching this in a sane way?  It seems to be working thus far, but 
> the criticality of the system and my unfamiliarity with this ecosystem 
> makes me want a second opinion.
>
> -- 
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 <(250)%20721-8831> | CLE 019 | rb...@uvic.ca
>
> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional 
> territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ 
> peoples whose historical relationships with the land continue to this day.
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/0f77c45e-a8c3-46cd-883b-aadce9cf5878n%40apereo.org.


Re: [cas-user] Assistance building CAS Management Overlay, "Could not find org.apereo.cas:cas-server-support-bom:."

2022-05-31 Thread Joe Gullo
That did it, that's the fix, thank you so much!!!

On Monday, May 30, 2022 at 11:41:07 AM UTC-7 Trevor Fong wrote:

> Hi Joe,
> I ran into the same problem myself.  
> The problem was that "cas.version" was set to nothing in gradle.properties 
> (ie "cas.version=").
> To get it to compile I had to do the following (on MacOS/bash):
>
> setjdk 11
> getcas --directory cas-management-overlay-6.5.4 --type 
> cas-management-overlay --casVersion 6.5.4
> cd directory cas-management-overlay-6.5.4
> sed -i .orig 's/^cas\.version=.*/cas\.version=6\.5\.4/g' gradle.properties
> ./gradlew clean build
>
> ---
> BTW, here's a handy function if you have to run multiple JDK's:
> function setjdk() {
>   if [ $# -ne 0 ]; then
>removeFromPath '/System/Library/Frameworks/JavaVM.framework/Home/bin'
>if [ -n "${JAVA_HOME+x}" ]; then
> removeFromPath $JAVA_HOME
>fi
>export JAVA_HOME=`/usr/libexec/java_home -v $@`
>    export PATH=$JAVA_HOME/bin:$PATH
>   fi
>  }
>
> Thanks,
> Trev
>
> On Fri, 27 May 2022 at 21:30, Joe Gullo  wrote:
>
>> i will try that, but getcas is one of the recommended ways to build the 
>> overlay.  We're successfully using it for the other projects.  You can see 
>> the doc on it here, it works well for the configserver and the regular cas 
>> overlay template:
>>
>>
>> https://apereo.github.io/cas/6.5.x/installation/WAR-Overlay-Initializr.html
>>
>> On Friday, May 27, 2022 at 1:53:06 PM UTC-7 Ray Bon wrote:
>>
>>> Joe,
>>>
>>> git clone https://github.com/apereo/cas-management-overlay.git
>>> cd cas-management-overlay/
>>> git fetch origin 6.5
>>> git checkout 6.5
>>> ./gradlew clean build
>>>
>>> What is getcas?
>>>
>>> Perhaps what you were attempting was building the main project. That is 
>>> for developers, deployers use the overlays.
>>>
>>> Ray
>>>
>>> On Fri, 2022-05-27 at 09:02 -0700, Joe Gullo wrote:
>>>
>>> Notice: This message was sent from outside the University of Victoria 
>>> email system. Please be cautious with links and sensitive information. 
>>>
>>>
>>> I've been trying to build CAS Management Overlay, but I'm finding the 
>>> documentation a bit difficult to follow.  My understanding is it should 
>>> produce a standalone war, correct?I have a deployment procedure that 
>>> follows this: 
>>>
>>> cd /opt/cas
>>> rm -Rf /opt/cas/cas-management.orgname
>>> getcas --directory cas-management.orgname --casVersion 6.5.3 --type 
>>> cas-management-overlay
>>> cd -orgname
>>> cd /opt/cas/cas-management.orgname/
>>> chown -R casadmin:casadmin /opt/cas/cas-management.orgname
>>> sudo -u casadmin ./gradlew clean build
>>>
>>> This fails with the following:
>>>
>>> * What went wrong:
>>> Execution failed for task ':compileJava'.
>>> > Could not resolve all files for configuration ':compileClasspath'.
>>>> Could not find org.apereo.cas:cas-server-support-bom:.
>>>  Required by:
>>>  project :
>>>
>>> I've seen some other people building this and looking at their 
>>> procedures, it leads me to believe I need to download the actual 
>>> cas-overlay to the same directory before attempting to build, or is 
>>> something just wrong with the build environment?  I haven't seen much about 
>>> building it in the documentation.
>>>
>>> -- 
>>>
>>> Ray Bon
>>> Programmer Analyst
>>> Development Services, University Systems
>>> 2507218831 <(250)%20721-8831> | CLE 019 | rb...@uvic.ca
>>>
>>> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional 
>>> territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ 
>>> peoples whose historical relationships with the land continue to this day.
>>>
>> -- 
>>
> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to cas-user+u...@apereo.org.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/7c5b85d2-12f9-4ecc-af35-7904f8893960n%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7c5b85d2-12f9-4ecc-af35-7904f8893960n%40apereo.org?utm_medium=email_source=footer>
>> .
>>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c014f5eb-edb4-4aba-b338-52f683a79cb3n%40apereo.org.


[cas-user] Before I complete a deployment, can I get a sanity check of my architecture plan?

2022-05-31 Thread Joe Gullo
I'm a sysadmin with no spring/java/cas experience, but I've been tasked 
with taking a cas instance deployed by a vendor in ~2014 and bringing it up 
to date with modern cas.  I've read the docs extensively, but I'm still 
feeling like I may be making structural mistakes that I'd like someone with 
more experienced eyes to consider.

Presently, I'm working with 2 individual servers, one with cas configserver 
and cas management server, then another 1 (which will ultimately become one 
of many) cas server.  I am deploying all of them from initializr.  The 
thought was that the configserver and management server are on their own 
system and the main cas servers will talk to that.  Presently, they are 
each operating as their own service under tomcat under their own ports.

The config server currently is presenting 4 profiles which I've separated 
into their own "application-.properties" on the cas config 
server.  Those are "common" "ldap" "dev" and "prod".  Then, in the 
individual bootstrap.properties files that would go into building the 
client overlay, I can specify which profiles to use.  This seems to be 
working well; I'll change the bootstrap.properties and redeploy and I see 
the changes.

For now, for the dev build out, we're using JMS ticket registry and I'd 
like to use JSON for my service registry.  Eventually I'd like the json 
repository to be located on the config server and accessed remotely from 
the front ends, but for now, it is on the front end configured with 
"file://etc/cas/services-repo".  In testing, the only service I'm adding 
now is the management server.  I haven't gotten to the point of adding 
actual services yet.

Am I approaching this in a sane way?  It seems to be working thus far, but 
the criticality of the system and my unfamiliarity with this ecosystem 
makes me want a second opinion.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1f1c5603-8652-4f20-a2a7-434de666930an%40apereo.org.


Re: [cas-user] Assistance building CAS Management Overlay, "Could not find org.apereo.cas:cas-server-support-bom:."

2022-05-27 Thread Joe Gullo
i will try that, but getcas is one of the recommended ways to build the 
overlay.  We're successfully using it for the other projects.  You can see 
the doc on it here, it works well for the configserver and the regular cas 
overlay template:

https://apereo.github.io/cas/6.5.x/installation/WAR-Overlay-Initializr.html

On Friday, May 27, 2022 at 1:53:06 PM UTC-7 Ray Bon wrote:

> Joe,
>
> git clone https://github.com/apereo/cas-management-overlay.git
> cd cas-management-overlay/
> git fetch origin 6.5
> git checkout 6.5
> ./gradlew clean build
>
> What is getcas?
>
> Perhaps what you were attempting was building the main project. That is 
> for developers, deployers use the overlays.
>
> Ray
>
> On Fri, 2022-05-27 at 09:02 -0700, Joe Gullo wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
>
> I've been trying to build CAS Management Overlay, but I'm finding the 
> documentation a bit difficult to follow.  My understanding is it should 
> produce a standalone war, correct?I have a deployment procedure that 
> follows this: 
>
> cd /opt/cas
> rm -Rf /opt/cas/cas-management.orgname
> getcas --directory cas-management.orgname --casVersion 6.5.3 --type 
> cas-management-overlay
> cd -orgname
> cd /opt/cas/cas-management.orgname/
> chown -R casadmin:casadmin /opt/cas/cas-management.orgname
> sudo -u casadmin ./gradlew clean build
>
> This fails with the following:
>
> * What went wrong:
> Execution failed for task ':compileJava'.
> > Could not resolve all files for configuration ':compileClasspath'.
>> Could not find org.apereo.cas:cas-server-support-bom:.
>  Required by:
>  project :
>
> I've seen some other people building this and looking at their procedures, 
> it leads me to believe I need to download the actual cas-overlay to the 
> same directory before attempting to build, or is something just wrong with 
> the build environment?  I haven't seen much about building it in the 
> documentation.
>
> -- 
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 <(250)%20721-8831> | CLE 019 | rb...@uvic.ca
>
> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional 
> territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ 
> peoples whose historical relationships with the land continue to this day.
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/7c5b85d2-12f9-4ecc-af35-7904f8893960n%40apereo.org.


Re: [EXTERNAL SENDER] [cas-user] Assistance building CAS Management Overlay, "Could not find org.apereo.cas:cas-server-support-bom:."

2022-05-27 Thread Joe Gullo
I do have those installed:

[root@cas-config cas]# rpm -qa | grep openjdk
java-11-openjdk-headless-11.0.15.0.8-0.1.ea.el9.x86_64
java-11-openjdk-11.0.15.0.8-0.1.ea.el9.x86_64
java-11-openjdk-devel-11.0.15.0.8-0.1.ea.el9.x86_64
[root@cas-config cas]# dnf install java-11-openjdk-devel
Last metadata expiration check: 3:53:48 ago on Fri 27 May 2022 06:24:20 AM 
PDT.
Package java-11-openjdk-devel-1:11.0.15.0.8-0.1.ea.el9.x86_64 is already 
installed.

Additionally, I can successfully build both cas-overlay-template and 
cas-configserver-overlay on this box.
On Friday, May 27, 2022 at 9:34:57 AM UTC-7 ro...@mun.ca wrote:

> This typically indicates that you are missing the OpenJDK development 
> packages.
>
>  
>
> Previous thread:
>
>  
>
>
> https://groups.google.com/a/apereo.org/g/cas-user/c/HOiMGSumH5c/m/yof4tIlNBAAJ
>
>  
>
> *From:* cas-...@apereo.org  *On Behalf Of *Joe Gullo
> *Sent:* Friday, May 27, 2022 1:32 PM
> *To:* CAS Community 
> *Subject:* [EXTERNAL SENDER] [cas-user] Assistance building CAS 
> Management Overlay, "Could not find org.apereo.cas:cas-server-support-bom:."
>
>  
>
> I've been trying to build CAS Management Overlay, but I'm finding the 
> documentation a bit difficult to follow.  My understanding is it should 
> produce a standalone war, correct?I have a deployment procedure that 
> follows this:
>
>  
>
> cd /opt/cas
> rm -Rf /opt/cas/cas-management.orgname
> getcas --directory cas-management.orgname --casVersion 6.5.3 --type 
> cas-management-overlay
> cd -orgname
> cd /opt/cas/cas-management.orgname/
> chown -R casadmin:casadmin /opt/cas/cas-management.orgname
> sudo -u casadmin ./gradlew clean build
>
>  
>
> This fails with the following:
>
>  
>
> * What went wrong:
> Execution failed for task ':compileJava'.
> > Could not resolve all files for configuration ':compileClasspath'.
>> Could not find org.apereo.cas:cas-server-support-bom:.
>  Required by:
>  project :
>
>  
>
> I've seen some other people building this and looking at their procedures, 
> it leads me to believe I need to download the actual cas-overlay to the 
> same directory before attempting to build, or is something just wrong with 
> the build environment?  I haven't seen much about building it in the 
> documentation.
>
>  
>
> -- 
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to cas-user+u...@apereo.org.
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/a93b8d1b-1cef-4b9f-8c74-cb217f362554n%40apereo.org
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/a93b8d1b-1cef-4b9f-8c74-cb217f362554n%40apereo.org?utm_medium=email_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f9d39469-95c8-4318-866c-16587d6d1096n%40apereo.org.


[cas-user] Assistance building CAS Management Overlay, "Could not find org.apereo.cas:cas-server-support-bom:."

2022-05-27 Thread Joe Gullo
I've been trying to build CAS Management Overlay, but I'm finding the 
documentation a bit difficult to follow.  My understanding is it should 
produce a standalone war, correct?I have a deployment procedure that 
follows this:

cd /opt/cas
rm -Rf /opt/cas/cas-management.orgname
getcas --directory cas-management.orgname --casVersion 6.5.3 --type 
cas-management-overlay
cd -orgname
cd /opt/cas/cas-management.orgname/
chown -R casadmin:casadmin /opt/cas/cas-management.orgname
sudo -u casadmin ./gradlew clean build

This fails with the following:

* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.apereo.cas:cas-server-support-bom:.
 Required by:
 project :

I've seen some other people building this and looking at their procedures, 
it leads me to believe I need to download the actual cas-overlay to the 
same directory before attempting to build, or is something just wrong with 
the build environment?  I haven't seen much about building it in the 
documentation.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a93b8d1b-1cef-4b9f-8c74-cb217f362554n%40apereo.org.


[cas-user] Help understanding how to define a log location for the configserver and management server overlays?

2022-05-24 Thread Joe Gullo
Looking through the cas configserver options, is there a way to redirect 
logs to /var/log/cas/?  I can't find a way to get log4j2 to be picked up in 
the config server.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/41a120cb-62a5-457a-b842-87368b44a30cn%40apereo.org.