ticketregistry.xml should works for it create table in database On Fri, Feb 11, 2011 at 11:16 PM, Ren standist <[email protected]> wrote:
> turn up logging for org.hibernate > > when user logged there is nothing ,it seem like ticketregistry.xml not work > at all. > > > On Fri, Feb 11, 2011 at 11:01 PM, Scott Battaglia < > [email protected]> wrote: > >> We're using Hibernate for persistence so you'd need to turn up logging for >> org.hibernate >> >> >> >> On Fri, Feb 11, 2011 at 9:55 AM, Ren standist <[email protected]> wrote: >> >>> change to >>> <logger name="org.jasig.cas.ticket.registry.JpaTicketRegistry" >>> additivity="true"> >>> <level value="debug" /> >>> <appender-ref ref="jpa"/> >>> </logger> >>> >>> and there is nothing in jpa.log >>> >>> On Fri, Feb 11, 2011 at 10:43 PM, Ren standist <[email protected]>wrote: >>> >>>> change to >>>> <logger name="org.jasig.cas.ticket.registry.JpaTicketRegistry"> >>>> <level value="INFO" /> >>>> </logger> >>>> >>>> and got nothing about JpaTicketRegistry >>>> >>>> On Fri, Feb 11, 2011 at 10:27 PM, Ren standist <[email protected]>wrote: >>>> >>>>> when i add following to log4j.xml ,got error message ERROR No appender >>>>> named [jpa] could be found. >>>>> <logger name="org.jasig.cas.ticket.registry.JpaTicketRegistry" >>>>> additivity="false"> >>>>> <level value="INFO" /> >>>>> <appender-ref ref="jpa"/> >>>>> </logger> >>>>> >>>>> >>>>> On Fri, Feb 11, 2011 at 9:47 PM, Ren standist <[email protected]>wrote: >>>>> >>>>>> >>>>>> >>>>>> On Fri, Feb 11, 2011 at 9:16 PM, Marvin Addison < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> > First question how tables was created ? >>>>>>> >>>>>>> Hibernate schema generation feature. >>>>>>> >>>>>>> > When user login there is nothing is table TICKETGRANTINGTICKET ,but >>>>>>> user >>>>>>> > expire policy works fine. >>>>>>> > Is there a way to find the problem ,why not insert into table? >>>>>>> >>>>>>> Can you share your deployerConfigContext.xml file and relevant >>>>>>> application logs? See https://wiki.jasig.org/display/CASUM/Logging >>>>>>> for help with logging configuration. >>>>>>> >>>>>>> M >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> -- >>> 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 >>> >>> >> -- >> >> 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 >> >> > -- 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
