Not gonna work this way :) See this instead please 
http://jasig.github.io/cas/Mailing-Lists.html#unsubscribing



From: Fred Duarte [mailto:[email protected]]
Sent: Friday, February 27, 2015 2:49 PM
To: [email protected]
Subject: Re: [cas-user] CAS Services Registry UI Not Writing to Database



Unsuscribe



2015-02-27 14:18 GMT-05:00 Christopher Myers <[email protected] 
<mailto:[email protected]> >:

Does this help at all?

https://github.com/Unicon/cas-mfa/issues/53



>>> Alex Olson <[email protected] <mailto:[email protected]> > 02/26/15 4:49 PM >>>

We are running CAS 3.5.3, and use the JPAServiceRegistryDaoImpl to persist 
registered services. There’s a problem though, in that our Services Registry 
Management UI can read from the database but does not write to it. Turning 
logging up to trace and looking at an attempted save shows:

2015-02-26 14:35:05,532 TRACE 
[org.hibernate.action.internal.UnresolvedEntityInsertActions] - No entity 
insert actions have non-nullable, transient entity dependencies.
2015-02-26 14:35:05,532 TRACE 
[org.hibernate.event.internal.AbstractSaveEventListener] - Persistent 
instance of: org.jasig.cas.services.RegisteredServiceImpl
2015-02-26 14:35:05,532 TRACE 
[org.hibernate.event.internal.DefaultPersistEventListener] - Ignoring 
persistent instance



What are some possible culprits? We have the registry configured like so:

    <bean id="entityManagerFactory"

          
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">

        <property name="dataSource" ref="dataSource"/>

        <property name="jpaVendorAdapter">

            <bean 
class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">

                <property name="generateDdl" value="false"/>

                <property name="showSql" value="false"/>

            </bean>

        </property>

        <property name="jpaProperties">

            <props>

                <prop 
key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>

                <prop key="hibernate.hbm2ddl.auto">update</prop>

                <prop key="hibernate.default_schema">cas</prop>

            </props>

        </property>

    </bean>



    <bean id="transactionManager" 
class="org.springframework.orm.jpa.JpaTransactionManager">

        <property name="entityManagerFactory" ref="entityManagerFactory"/>

    </bean>



    <tx:annotation-driven transaction-manager="transactionManager"/>



Thanks!

--

Alex K. Olson

-- 
You are currently subscribed to [email protected] 
<mailto:[email protected]>  as: [email protected] 
<mailto:[email protected]>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user
-- 
You are currently subscribed to [email protected] 
<mailto:[email protected]>  as: [email protected] 
<mailto:[email protected]>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user




-- 

Regards,
Fred Duarte


-- 
You are currently subscribed to [email protected] 
<mailto:[email protected]>  as: [email protected] 
<mailto:[email protected]>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to