> I applied Inspektr but it gives the below error; I
> could not find any solution, what is the cause of error?
>
> java.lang.IllegalArgumentException: serverIpAddress is a required field.

Do you have the following filter and related filter-mapping defined in
your web.xml?

  <filter>
    <filter-name>Inspektr ClientInfo Filter</filter-name>
    
<filter-class>com.github.inspektr.common.web.ClientInfoThreadLocalFilter</filter-class>
  </filter>

I believe that's required to extract and hold the IP address in
thread-local storage from the HTTP request processing layer and make
it available to Inspektr when it attempts to write an audit record.
Although this filter is in the web.xml by default, we probably ought
to document this requirement on the page I cited.

M

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to