System Error when Configuring IM Presence Plugin
Symptoms
The IM Presence Plugin is enabled and is working properly but configuring the plugin will give a stack trace.
Other plugins are working as expected and Confluence functionality is not affected.
Cause
com.opensymphony.xwork.config.ConfigurationException: There is no Action mapped for namespace /admin/plugins/impresence2 and action name config
at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:72)
Stack Trace:[hide]
com.opensymphony.xwork.config.ConfigurationException: There is no Action mapped for namespace /admin/plugins/impresence2 and action name config
at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:72)
at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:45)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:227)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
: <skip>
: <skip>
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
Cause
This means that Confluence is unable to find the plugin's config, which usually happens when:
- The plugin is disabled OR
- The config is disabled in Confluence administration console OR
- The config is commented out in the plugin jar file:
<action name="config" class="com.atlassian.confluence.extra.impresence2.config.IMConfigAction"> <result name="input" type="velocity">/templates/extra/impresence2/im-config.vm</result> <result name="error" type="velocity">/templates/extra/impresence2/im-config.vm</result> <result name="success" type="velocity">/templates/extra/impresence2/im-config.vm</result> </action>
Disabling the IM Presence Configuration
from the plugins configuration essentially is the same with condition number three in the above.
Resolution
Make sure that the plugin is not disabled and the configuration is set properly.
Make sure that the IM Presence Configuration
is also enabled.