a lot of exceptions

Hello,

We are getting a lot of this exceptions at the server log.

2014-09-05 07:43:58,305 SEVERE [org.bonitasoft.console.server.categories.CategoryServlet] (http-0.0.0.0-8080-16) 2014-09-05 07:43:58,305 ERROR [STDERR] (http-0.0.0.0-8080-16) org.bonitasoft.console.client.exceptions.ConsoleException 2014-09-05 07:43:58,305 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.bonitasoft.console.server.categories.CategoryDataStore.getVisibleCategories(CategoryDataStore.java:265) 2014-09-05 07:43:58,305 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.bonitasoft.console.server.categories.CategoryDataStore.getVisibleCategories(CategoryDataStore.java:296) 2014-09-05 07:43:58,305 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.bonitasoft.console.server.categories.CategoryServlet.getVisibleCategories(CategoryServlet.java:332) 2014-09-05 07:43:58,305 ERROR [STDERR] (http-0.0.0.0-8080-16) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-09-05 07:43:58,305 ERROR [STDERR] (http-0.0.0.0-8080-16) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2014-09-05 07:43:58,305 ERROR [STDERR] (http-0.0.0.0-8080-16) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at java.lang.reflect.Method.invoke(Method.java:597) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.bonitasoft.forms.server.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2014-09-05 07:43:58,373 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451) 2014-09-05 07:43:58,374 ERROR [STDERR] (http-0.0.0.0-8080-16) at java.lang.Thread.run(Thread.java:662) 2014-09-05 07:43:58,374 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/bonita]] (http-0.0.0.0-8080-16) Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.Set org.bonitasoft.console.client.categories.CategoryService.getVisibleCategories() throws org.bonitasoft.console.client.exceptions.SessionTimeOutException' threw an unexpected exception: java.lang.RuntimeException at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.bonitasoft.forms.server.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.RuntimeException at org.bonitasoft.console.server.categories.CategoryServlet.getVisibleCategories(CategoryServlet.java:339) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) ... 28 more 2014-09-05 07:43:58,481 SEVERE [org.ow2.bonita.services.impl.DefaultCommandService] (http-0.0.0.0-8080-21) exception while executing command org.ow2.bonita.facade.APIInterceptor$APIInterceptorCommand@2183f0bf: Unexpected Exception arrived in Bonita: null

We are using,

Bonita BPM: 5.10.1
Java: 1.6.0_45
OS: Red Hat Enterprise Linux Server release 6.4
Application Server: jboss-eap-5.1

Can you please help me solving this issue?

Thanks and regards,
Juan Brasca

We have change the login-config.xml file in order to use the ldap credentials, I wonder if this is related to the issue.

true com.sun.jndi.ldap.LdapCtxFactory ldap://AR-AD01:389 false false
		</login-module>

	</authentication>

</application-policy>
<application-policy name="BonitaStore">
	<authentication>
		<login-module code="org.ow2.bonita.identity.auth.BonitaRemoteLoginModule" flag="required"/>
		<login-module code="org.jboss.security.ClientLoginModule" flag="required">
			<module-option name="password-stacking">useFirstPass</module-option>
		</login-module>
	</authentication>
</application-policy>