RE: [cas-user] Mod_Auth_Cas Timeout Synchronization on Two Apache Servers.

2016-02-22 Thread Matt Smith
Hi Doe,

Unison is for syncing two distinct filesystems.  If you are using a single
shared filesystem, there is no need for syncing.

Looking forward to hearing your results!
-Matt
On Feb 22, 2016 19:20, "Song, Doe-Hyun"  wrote:

> Carl, It was the SE Linux issue. We allow httpd to access nfs file system.
>
> Matt, we launched both apaches. I will let you know if things work after
> several days running with the configuration.
> However, I wonder if we need to synchronize Sessions between two apaches
> as Christian did with unison?
> Please let me know if HA configuration for Apache is necessary.
>
> Thanks,
> Doe
>
> -Original Message-
> From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of
> Waldbieser, Carl
> Sent: Monday, February 22, 2016 10:51 AM
> To: Song, Doe-Hyun
> Cc: cas-user@apereo.org; Matt Smith
> Subject: Re: [cas-user] Mod_Auth_Cas Timeout Synchronization on Two Apache
> Servers.
>
> Is SE Linux running?
>
>   [root]# getenforce
>   Enforcing
>
> If so, try turning off SE linux temporarily to test:
>
>   [root]# setenforce 0
>
> Test, then turn it back on:
>
>   [root]# setenforce 1
>
> If it worked in permissive mode, you can try the following to look at the
> audit log from the command line:
>
>   [root]# sealert -a /var/log/audit/audit.log
>
> But you may need to install the package that has `sealert` for get what
> that is at the moment.
>
> Thanks,
> Carl
>
>
> - Original Message -
> From: "Song, Doe-Hyun" 
> To: "waldbiec" 
> Cc: cas-user@apereo.org, "Matt Smith" 
> Sent: Monday, February 22, 2016 10:24:34 AM
> Subject: RE: [cas-user] Mod_Auth_Cas Timeout Synchronization on Two Apache
> Servers.
>
> Carl and Matt,
>
> Thanks for your help.
> Unfortunately, I can create the foo or foo2 files and apache is the user
> to run httpd. We use Red Hat.
>
>
> [root@webarms02q dhs]# su apache -s /bin/bash -c "touch
> /mnt/tnsag/cas/cas_cache/foo2"
> [root@webarms02q dhs]# cd /mnt/tnsag/cas/cas_cache
> [root@webarms02q cas_cache]# ll
> total 0
> -rw-r--r--. 1 apache apache 0 Feb 22 10:11 foo
> -rw-r--r--. 1 apache apache 0 Feb 22 10:14 foo2
> [root@webarms02q cas_cache]# ps aux | grep httpd
> apache 307  0.0  0.1 422616 14900 ?Sl   08:32   0:01
> /usr/sbin/httpd
> apache 310  0.0  0.1 422616 14896 ?Sl   08:32   0:02
> /usr/sbin/httpd
> apache 313  0.0  0.1 422616 14924 ?Sl   08:32   0:01
> /usr/sbin/httpd
> apache 366  0.0  0.1 422616 14828 ?Sl   08:57   0:00
> /usr/sbin/httpd
> root   646  0.0  0.0 110172   848 pts/0S+   10:14   0:00 grep httpd
> root 21988  0.0  0.1 266112 14436 ?Ss   Feb19   0:21
> /usr/sbin/httpd
> apache   31507  0.0  0.1 422616 14936 ?Sl   01:58   0:03
> /usr/sbin/httpd
> apache   32360  0.0  0.1 422616 14924 ?Sl   05:49   0:02
> /usr/sbin/httpd
> apache   32432  0.0  0.1 422616 14900 ?Sl   06:10   0:02
> /usr/sbin/httpd
> apache   32637  0.0  0.1 422616 14908 ?Sl   07:43   0:02
> /usr/sbin/httpd
> apache   32642  0.0  0.1 422616 14940 ?Sl   07:43   0:02
> /usr/sbin/httpd
> apache   32707  0.0  0.1 422616 14920 ?Sl   08:03   0:02
> /usr/sbin/httpd
> apache   32756  0.0  0.1 422616 14908 ?Sl   08:27   0:01
> /usr/sbin/httpd
> apache   32759  0.0  0.1 422616 14840 ?Sl   08:28   0:01
> /usr/sbin/httpd
> [root@webarms02q cas_cache]# cat /etc/issue
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
> Kernel \r on an \m
> [root@webarms02q cas_cache]# uname -a
> Linux webarms02q 2.6.32-431.5.1.el6.x86_64 #1 SMP Fri Jan 10 14:46:43 EST
> 2014 x86_64 x86_64 x86_64 GNU/Linux
> [root@webarms02q cas_cache]# uname -r
> 2.6.32-431.5.1.el6.x86_64
>
>
>
> -Original Message-
> From: Waldbieser, Carl [mailto:waldb...@lafayette.edu]
> Sent: Friday, February 19, 2016 4:08 PM
> To: Song, Doe-Hyun
> Cc: cas-user@apereo.org; Matt Smith
> Subject: Re: [cas-user] Mod_Auth_Cas Timeout Synchronization on Two Apache
> Servers.
>
> Yes, and make sure that is the user running the web service:
>
>   # ps aux | grep httpd
>
> The user will need permissions down every folder.
> If all else fails, are you runnning SE Linux?  That can sometimes restrict
> access to files.
>
> Thanks,
> Carl
>
> - Original Message -
> From: "Matt Smith" 
> To: "Song, Doe-Hyun" 
> Cc: "waldbiec" , cas-user@apereo.org
> Sent: Friday, February 19, 2016 3:46:35 PM
> Subject: Re: [cas-user] Mod_Auth_Cas Timeout Synchronization on Two Apache
> Servers.
>
> Can you confirm that the Apache user can write to that directory ?
>
> # su apache -s /bin/bash -c "touch /mnt/tnsag/cas/cas_cache/foo"
>
> -Matt
>
> On Fri, Feb 19, 2016 at 3:29 PM, Song, Doe-Hyun  wrote:
>
> > Unfortunately, apache owns the directory.
> >
> >
> > [root@webarms01q cas]# pwd
> > /mnt/tnsag/cas
> > [root@webarms01q cas]# ll
> 

[cas-user] Create a separate webflow in CAS4

2016-02-22 Thread Yan Zhou


Hi there, 

 

With CAS4 + Overlay, I want to create a separate webflow when user wants to 
reset password (without going through login flow).  Such as  
https:///cas/resetpassword.

 

I am having trouble mapping URL /resetpassword to this new flow.  This 
could be a spring web flow issue, since I am new to it.

 

Registration is successful, but when I type the URL, it goes to /login 
page.  There is not anything in the log indicating that it attempts to map 
the request to my new flow.

 

Did I miss something?

Yan

 

2016-02-22 14:12:55,763 DEBUG 
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] 
- Registering flow definition 'ServletContext resource 
[/WEB-INF/webflow/resetpassword/resetpassword-webflow.xml]' under id 
'resetpassword'

 

I created a cas-servlet-extension.xml and have content like this.  It is 
loaded successfully but does not do anything.

 

 

 

 

 

 

 

 

  

 

  

 

 

   

 

   

 

   

 



 

 

 

-- 
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.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.


[cas-user] Oracle Schema JPA CAS 4.0.0

2016-02-22 Thread Marcelo Quiroz
Hi anyone,

I have a lot of problems when i tried to create a DDBB with CAS 4.0.0 in 
oracle. Log tell me errors 

import.sql not found, table or view doesn't exists ... but i'am not 
creating the schema ... 
[ServerService Thread Pool -- 68]02-22 12:26:36,014 [SchemaExport*] DEBUG 
 - Import file not found: /import.sql*
[ServerService Thread Pool -- 68]02-22 12:26:36,407 [AbstractLoggingWriter] 
INFO   - *java.sql.SQLSyntaxErrorException: ORA-00942: la tabla o vista no 
existe*
Is posible create a schema DDBB from files an not automatic. 


How i can resolve that?
 

ServerService Thread Pool -- 68]02-22 12:26:36,009 [SchemaExport] INFO   - 
HHH000227: Running hbm2ddl schema export
[ServerService Thread Pool -- 68]02-22 12:26:36,015 [AbstractLoggingWriter] 
INFO   - [ServerService Thread Pool -- 68]02-22 12:26:36,014 [SchemaExport] 
DEBUG  - Import file not found: /import.sql

[ServerService Thread Pool -- 68]02-22 12:26:36,014 [SchemaExport*] DEBUG 
 - Import file not found: /import.sql*
[ServerService Thread Pool -- 68]02-22 12:26:36,017 [AbstractLoggingWriter] 
INFO   - [ServerService Thread Pool -- 68]02-22 12:26:36,014 [SchemaExport] 
DEBUG  - Import file not found: /import.sql

[ServerService Thread Pool -- 68]02-22 12:26:36,014 [SchemaExport] DEBUG  - 
Import file not found: /import.sql
[ServerService Thread Pool -- 68]02-22 12:26:36,020 [AbstractLoggingWriter] 
INFO   - Hibernate: drop table registered_service_impl cascade constraints

[ServerService Thread Pool -- 68]02-22 12:26:36,406 [AbstractLoggingWriter] 
INFO   - [ServerService Thread Pool -- 68]02-22 12:26:36,403 
[Slf4jMLog$Slf4jMLogger$DebugLogger] DEBUG  - 
com.mchange.v2.c3p0.impl.NewPooledConnection@7f4dd123 handling a throwable.

[ServerService Thread Pool -- 68]02-22 12:26:36,407 [AbstractLoggingWriter] 
INFO   - *java.sql.SQLSyntaxErrorException: ORA-00942: la tabla o vista no 
existe*

[ServerService Thread Pool -- 68]02-22 12:26:36,408 [AbstractLoggingWriter] 
INFO   - 

[ServerService Thread Pool -- 68]02-22 12:26:36,408 [AbstractLoggingWriter] 
INFO   -  at ore.

Marcelo

-- 
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.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.