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

eldiegos
Champ in-the-making
Champ in-the-making
I don't know why but i have just solved this problem just inserting this lines in the database.

insert into ACT_GE_PROPERTY

values ('schema.version', '5.0', 1);



insert into ACT_GE_PROPERTY

values ('next.dbid', '1', 1);

Maybe it is an instalation problem.

skougiou
Champ in-the-making
Champ in-the-making
Goodmorning,

Unfortunately my installation has already inserted these 2 lines. What I see different is the value of the first line
name_                value_          rev_
'next.dbid'            110              2
'schema.version'   5.0               1

skougiou
Champ in-the-making
Champ in-the-making
any suggestions? I am still searching and nothing comes up. I don't think that anyone in here considers that " re-installing fixxed the problem! "  is a worthy answer.

thanks

glucaricciardi
Champ in-the-making
Champ in-the-making
My was oracle driver in tomcat installation.
I hope is  useful.

fqtyfz
Champ in-the-making
Champ in-the-making
so bad!!!

the same to you!

sweinzie
Champ in-the-making
Champ in-the-making
I've got the same problem.
The installation with demo.start was successful
but when i try to log in the following message appears in the browser: "The system was unable to log you in."
This is what the logfile says:
ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 01150000 Wrapped Exception (with status template): null
SEVERE: An exception occurred while attempting authentication handshake for endpoint: http://localhost:8080/activiti-rest/service
org.springframework.extensions.surf.exception.AuthenticationException: 01150000 Wrapped Exception (with status template): null

I am using:
activiti 5.2
with java6
on linux ubuntu10.10
(on linux oracle 5.5 i ve got the same error)

Can somebody help me ?
Thanks

frederikherema1
Star Contributor
Star Contributor
sweinzie,

You should look a bit higher in your tomcat-log to see if there were exceptions prior to you trying to log in to explorer/probe etc.

sweinzie
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?

sweinzie
Champ in-the-making
Champ in-the-making
ok, it s me again.
sounds funny but after reboot
and starting h2 with the ant script and afterwards starting tomcat with the ant script it works.