I'm trying to configure AtomPullServer for viewing Apache CXF logs. I'm using Tomcat 7, Apache CXF 2.7.6, Apache Abdera 1.1.3.
According to documentation, the only thing that I should do will be to add this to the Spring context configuration file
<bean id="atomPullServer" class="org.apache.cxf.management.web.logging.atom.AtomPullServer" init-method="init">
<property name="level" value="ERROR" />
<property name="maxInMemorySize" value="100"/>
</bean>
<jaxrs:server id="atomServer" address="/atom">
<jaxrs:serviceBeans>
<ref bean="atomPullServer"/>
</jaxrs:serviceBeans>
<jaxrs:providers>
<bean id="feed" class="org.apache.cxf.jaxrs.provider.atom.AtomFeedProvider" />
<bean id="entry" class="org.apache.cxf.jaxrs.provider.atom.AtomEntryProvider" />
<bean class="org.apache.cxf.jaxrs.ext.search.SearchContextProvider"/>
</jaxrs:providers>
</jaxrs:server>
But as soon as I added it, I get (in the console) Exception in thread "http-bio-8080-exec-X" java.lang.OutOfMemoryError: PermGen space
while accessing any of the services and of course the server does not respond anymore. If I remove these lines everything works fine.
Any idea what could be the problem?