Unable to Login Bonita User Experience (BUE) - Bonita 5.10.1

Hi

Bonita Version: 5.10.1 with Tomcat Version 6.0.35/Subscription Pack
Java Version: 1.6.0_30
Operating System: Linux VS10053 2.6.32-431.11.2.el6.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux. CPU(s):4

Issue: Unable to Login into Bonita User Experience(BUE).

Screen Error: No error on screen, when i put user name(admin) and password(bpm) and click login. Request goes to server and return to login page without any error.
Error in Logs: Complete Stack Trace: Got following exception:

*
May 13, 2014 2:26:57 PM org.ow2.bonita.services.impl.DefaultCommandService execute
SEVERE: exception while executing command org.ow2.bonita.facade.APIInterceptor$APIInterceptorCommand@5205f8e0: License Error 27
May 13, 2014 2:26:57 PM org.bonitasoft.console.server.login.ConsoleLoginServletExt consoleLoginOnDomain
SEVERE: Auto authentication failed on domain: null
java.lang.RuntimeException
at org.bonitasoft.console.server.login.ConsoleLoginServlet.consoleLogin(ConsoleLoginServlet.java:216)
at org.bonitasoft.console.server.login.ConsoleLoginServletExt.consoleLoginOnDomain(ConsoleLoginServletExt.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
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.bonitasoft.console.security.server.filter.ThreadLocalFilter.doFilter(ThreadLocalFilter.java:38)
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:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.bonitasoft.console.security.SessionFixationValve.invoke(SessionFixationValve.java:77)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:701)
May 13, 2014 2:26:57 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method ‘public abstract org.bonitasoft.console.client.users.UserProfile org.bonitasoft.console.client.login.ConsoleLoginServiceExt.consoleLoginOnDomain(java.lang.String,java.lang.String,java.lang.String)’ threw an unexpected exception: java.lang.RuntimeException: Auto authentication failed on domain: null
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.bonitasoft.console.security.server.filter.ThreadLocalFilter.doFilter(ThreadLocalFilter.java:38)
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:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.bonitasoft.console.security.SessionFixationValve.invoke(SessionFixationValve.java:77)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.RuntimeException: Auto authentication failed on domain: null
at org.bonitasoft.console.server.login.ConsoleLoginServletExt.consoleLoginOnDomain(ConsoleLoginServletExt.java:204)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)

 24 more

*

I have seen same post before in this forum and tried its resolution, but does not work for me, following was its resolution:

  1. taskset -c 0,1 /opt/bonita/bin/startup.sh

The same setup which i am using on this machine is working fine on another Machine (having CPU of 24 Cores).
I have copied same set up and license from that machine to this 4 core machine and copied license to: /BOS-SP-5.10.1-Tomcat-6.0.35/bonita/server/licenses , only.
Tried to start it using taskset and without taskset but same issue while LOGIN.

How to resolve this issue? Is this licensing issue?

1 Like

I was facing the same problem when i installed bonita sp with tomcat bundle in linux server.

This seems to be problem of Bonita Subscriber pack license. Please follow the steps given in following link:

http://documentation.bonitasoft.com/5x/bos-56/system-administration/installation/licenses-subscription-pack-sp/obtain-and-install-license-0

This will definitely help you. All the best.

There is also a page on our documentation:
http://documentation.bonitasoft.com/bonita-bpm-subscription-pack-licenses

Thanks for your reply and the link.
I will try the same and get back to you, if i will have any issue
Hope it will get resolved.

Waooo
That, saves lot of my time.
Thank you, Sachin.

It was license issue only and it got resolved through steps given in that link.

Marking it as Resolved

Thank you for this Link too :slight_smile: