Scott Battaglia wrote:
> Can you give us any hints as to what you're trying to migrate?

I'm using LDAP and SPNEGO with MS AD. To avoid any migration trouble I've
started over nearly from scratch with a new deployerConfigContext.xml etc.

The trace log shows that both authc provides seems to be configured.

Attached the log4j.xml. Can I turn on more information there?

Ciao, Michael.

> 2011/2/2 Michael Ströder <[email protected]
> <mailto:[email protected]>>
> 
>     HI!
> 
>     I'm trying to do what we've done with CAS 3.3.5 now with CAS 3.4.5.
>     Frankly
>     I'm completely lost. The entry page just says "CAS is Unavailable".
> 
>     I tried to turn logging to "TRACE" in
>     src/main/webapp/WEB-INF/classes/log4j.xml
> 
>     But the only message which seems to be something like an error is:
>     [org.jasig.cas.web.support.CasArgumentExtractor] - Extractor did not
>     generate
>     service.
> 
>     I 'm not familiar with the Spring stuff so I don't know where to
>     search next.
>     So some hints are highly appreciated...
> 
>     Ciao, Michael.

-- 
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
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration debug="true" xmlns:log4j="http://jakarta.apache.org/log4j/";>
    <!--
      This default ConsoleAppender is used to log all NON perf4j messages
      to System.out
    -->
    <appender name="console" class="org.apache.log4j.ConsoleAppender">
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d %p [%c] - &lt;%m&gt;%n"/>
        </layout>
    </appender>

    <appender name="cas" class="org.apache.log4j.RollingFileAppender">
        <param name="File" value="/var/log/tomcat5.5/mycasad.log" />
        <param name="MaxFileSize" value="512KB" />
        <param name="MaxBackupIndex" value="3" />
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d %p [%c] - %m%n"/>
        </layout>
    </appender>

    <!-- Perf4J appenders -->
    <!--
       This AsyncCoalescingStatisticsAppender groups StopWatch log messages
       into GroupedTimingStatistics messages which it sends on the
       file appender defined below
    -->
    <appender name="CoalescingStatistics" class="org.perf4j.log4j.AsyncCoalescingStatisticsAppender">
        <param name="TimeSlice" value="60000"/>
        <appender-ref ref="fileAppender"/>
        <appender-ref ref="graphExecutionTimes"/>
        <appender-ref ref="graphExecutionTPS"/>
    </appender>

    <!-- This file appender is used to output aggregated performance statistics -->
    <appender name="fileAppender" class="org.apache.log4j.FileAppender">
        <param name="File" value="/var/log/tomcat5.5/mycasad_perfStats.log"/>
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%m%n"/>
        </layout>
    </appender>

       <appender name="graphExecutionTimes" class="org.perf4j.log4j.GraphingStatisticsAppender">
           <!-- Possible GraphTypes are Mean, Min, Max, StdDev, Count and TPS -->
           <param name="GraphType" value="Mean"/>
           <!-- The tags of the timed execution blocks to graph are specified here -->
           <param name="TagNamesToGraph" value="DESTROY_TICKET_GRANTING_TICKET,GRANT_SERVICE_TICKET,GRANT_PROXY_GRANTING_TICKET,VALIDATE_SERVICE_TICKET,CREATE_TICKET_GRANTING_TICKET" />
       </appender>

       <appender name="graphExecutionTPS" class="org.perf4j.log4j.GraphingStatisticsAppender">
           <param name="GraphType" value="TPS" />
           <param name="TagNamesToGraph" value="DESTROY_TICKET_GRANTING_TICKET,GRANT_SERVICE_TICKET,GRANT_PROXY_GRANTING_TICKET,VALIDATE_SERVICE_TICKET,CREATE_TICKET_GRANTING_TICKET" />
       </appender>

    <!-- Loggers -->
    <!--
      The Perf4J logger. Note that org.perf4j.TimingLogger is the value of the
      org.perf4j.StopWatch.DEFAULT_LOGGER_NAME constant. Also, note that
      additivity is set to false, which is usually what is desired - this means
      that timing statements will only be sent to this logger and NOT to
      upstream loggers.
    -->
    <logger name="org.perf4j.TimingLogger" additivity="false">
        <level value="TRACE"/>
        <appender-ref ref="CoalescingStatistics"/>
    </logger>

    <!--
        WARNING: Setting the org.springframework logger to DEBUG displays debug information about
        the request parameter values being bound to the command objects.  This could expose your
        password in the log file.  If you are sharing your log files, it is recommend you selectively
        apply DEBUG level logging on a an org.springframework.* package level (i.e. org.springframework.dao)
    -->
    <logger name="org.springframework">
        <level value="TRACE" />
    </logger>

    <logger name="org.springframework.webflow">
        <level value="TRACE" />
    </logger>

    <logger name="org.jasig" additivity="true">
        <level value="TRACE" />
        <appender-ref ref="cas" />
    </logger>

    <!--
        WARNING: Setting the flow package to DEBUG will display
        the parameters posted to the login servlet including
        cleartext authentication credentials
    -->
    <logger name="org.jasig.cas.web.flow" additivity="true">
        <level value="TRACE" />
        <appender-ref ref="cas" />
    </logger>

    <!--
      The root logger sends all log statements EXCEPT those sent to the perf4j
      logger to System.out.
    -->
    <root>
        <level value="TRACE"/>
        <appender-ref ref="console"/>
    </root>
</log4j:configuration>

Reply via email to