cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR : The system was unable to log you in.

skougiou
Champ in-the-making
Champ in-the-making
Good morning,

I know that this topic has been addressed before but I couldn't find a straight or clear answer. Getting to the point, the problem is that after installing the demo I can't log in to any of the tools. The users are already in the database. I am using java jdk1.6.0_21 , Ant 1.8.1  and tomcat 6.0.29 on winXP sp3 application version is activiti 5.0 . When using the kermit/kermit credentials I receive the message "The system was unable to log you in." I have checked that there is no other server running localy on port 8080. In the tomcat console appear two error messages
1.
12:36:23,237  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 11160000 Wr
apped Exception (with status template): null
….stack trace…

2.
16 ─ίΆ 2010 12:36:23 ΉΉ org.springframework.extensions.webscripts.connector.AuthenticatingConnector handshake
SEVERE: An exception occurred while attempting authentication handshake for endpoint: http://localhost:8080/activiti-rest/service
org.springframework.extensions.surf.exception.AuthenticationException: 11160000 Wrapped Exception (with status template): null

I have tried to uninstall and re-install several times. I have checked the env variables of JAVA_HOME and ANT_HOME. The tomcat is on port 8080 and as I see the applications are all loaded and deployed normally.

I am appending the log file as I have no more ideas Smiley Sad
Thank you for your time.
13 REPLIES 13

ceefour
Champ in-the-making
Champ in-the-making
right, there is another error:
Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode; ;The error ist similar to explorer, probe and cycle
When i try open activiti-kickstart there will be an error starting the application
exception

javax.servlet.ServletException: java.lang.NullPointerException
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.handleServiceException(AbstractApplicationServlet.java:966)
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:523)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.NullPointerException
org.activiti.kickstart.service.KickstartServiceImpl.<init>(KickstartServiceImpl.java:59)
org.activiti.kickstart.service.ServiceLocator.getAdhocWorkflowService(ServiceLocator.java:33)
org.activiti.kickstart.ui.panel.KickstartWorkflowPanel.init(KickstartWorkflowPanel.java:78)
org.activiti.kickstart.ui.panel.KickstartWorkflowPanel.<init>(KickstartWorkflowPanel.java:68)
org.activiti.kickstart.ui.panel.KickstartWorkflowPanel.<init>(KickstartWorkflowPanel.java:72)
org.activiti.kickstart.KickStartApplication.initDefaultWorkArea(KickStartApplication.java:83)
org.activiti.kickstart.KickStartApplication.init(KickStartApplication.java:47)
com.vaadin.Application.start(Application.java:549)
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.startApplication(AbstractApplicationServlet.java:1146)
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:459)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Is this the same cause?

Got the exact same error as above using Activiti 5.5.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Afaik, there are no tables created during the demo setup. If you want to use another database, you need to create the tables yourself. From what i know the ddl's are provided (somewhere)' but I'm not sure

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Hmmm seems I'm wrong… From the docs:

- Start the H2 database. Again, this is only done if using h2 as the database. If you're using a different database it is assumed that it is already up and running.
- Create the Activiti tables in the database

Or the docs are wrong 🙂

wongkey
Champ in-the-making
Champ in-the-making
the same, Smiley Sad