cancel
Showing results for 
Search instead for 
Did you mean: 

Login to activiti-explorer and activiti-probe problem

activitiuser
Champ in-the-making
Champ in-the-making
Hi,

after having installed demo I cannot login to activiti-explorer and activiti-probe with standard users that is kermit/kermit or gonzo/gonzo. I get the message: The system was unable to log you in.

Do I have to set something more to be able to login in?
Thank you in advance for any hint.

With regards,
activitiuser
22 REPLIES 22

chibsta
Champ in-the-making
Champ in-the-making
Okay so now I've tried creating another instance using Postgresql as the server this time around. Even with my Windows Firewall disabled the same issue is persisting. I can only view the http://localhost:8383/activiti-kickstart and http://localhost:8383/activiti-modeler. All the other resources with login pages throw the errors described above.

Regards,

Chibsta Smiley Sad

jbarrez
Star Contributor
Star Contributor
Which exception is that, because the only exception I see in this thread is a H2 error?

chibsta
Champ in-the-making
Champ in-the-making
I am getting the follwoing in the tomcat logs:

Mar 5, 2011 12:32:24 PM org.apache.commons.httpclient.HttpMethodDirector execute
WithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request:
Connection refused: connect
Mar 5, 2011 12:32:24 PM org.apache.commons.httpclient.HttpMethodDirector execute
WithRetry
INFO: Retrying request
Mar 5, 2011 12:32:25 PM org.apache.commons.httpclient.HttpMethodDirector execute
WithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request:
Connection refused: connect
Mar 5, 2011 12:32:25 PM org.apache.commons.httpclient.HttpMethodDirector execute
WithRetry
INFO: Retrying request
Mar 5, 2011 12:32:26 PM org.apache.commons.httpclient.HttpMethodDirector execute
WithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request:
Connection refused: connect
Mar 5, 2011 12:32:26 PM org.apache.commons.httpclient.HttpMethodDirector execute
WithRetry
INFO: Retrying request

In the browser the message is: "The system was unable to log you in."

Regards,

Chibsta

jbarrez
Star Contributor
Star Contributor
I see that you are running on another port than the default one. Did you change the port of the webapps (doesnt work automatically if you change ports)?

chibsta
Champ in-the-making
Champ in-the-making
Thanks jbarrez. That was it! As soon as I changed the port back to the default 8080, no more problems. how do I change the port for the apps?

Regards,

Chibsta

jbarrez
Star Contributor
Star Contributor
See http://forums.activiti.org/en/viewtopic.php?t=1041&p=4209#p4209

We'll add that to our userguide asap 🙂

kavi
Champ in-the-making
Champ in-the-making
Hi,

Even i am facing the same problem .
With h2 database it was working fine. But now i changed the database to mysql.
Then i can see the browsers opened for activiti-explorer, probe etc. But then i login with
usename:kermit and password:kermit it says "System cannot log in".

What am i missing.
Anyone got worked help me…!!!@@

Thanks,
kavi

akshayl
Champ in-the-making
Champ in-the-making
This is the error log from Tomcat:

org.apache.ibatis.exceptions.PersistenceException:
### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Polaczenie uszk
odzone: "session closed"
Connection is broken: "session closed" [90067-132]
### The error may exist in org/activiti/db/ibatis/variable.mapping.xml
### The error occurred while processing mapper_resultMap[byteArrayResultMap_post
gres]
### Cause: org.h2.jdbc.JdbcSQLException: Polaczenie uszkodzone: "session closed"

Connection is broken: "session closed" [90067-132]
        at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(Exception
Factory.java:8)
        at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessi
onFromDataSource(DefaultSqlSessionFactory.java:81)
        at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessi
on(DefaultSqlSessionFactory.java:40)
        at org.activiti.engine.impl.db.DbSqlSessionFactory.dbSchemaCheckVersion(
DbSqlSessionFactory.java:137)
        at org.activiti.engine.impl.ProcessEngineImpl.performSchemaOperationsCre
ate(ProcessEngineImpl.java:118)
        at org.activiti.engine.impl.ProcessEngineImpl$1.execute(ProcessEngineImp
l.java:85)
        at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(Comm
andExecutorImpl.java:22)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execut
e(CommandContextInterceptor.java:37)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterc
eptor.java:33)
        at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.j
ava:83)
        at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProc
essEngine(ProcessEngineConfigurationImpl.java:215)
        at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.
java:151)
        at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(Proce
ssEngines.java:124)
        at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:83)
        at org.activiti.engine.ProcessEngines.getProcessEngine(ProcessEngines.ja
va:181)
        at org.activiti.rest.util.ActivitiWebScript.getProcessEngine(ActivitiWeb
Script.java:115)
        at org.activiti.rest.util.ActivitiWebScript.getIdentityService(ActivitiW
ebScript.java:124)
        at org.activiti.rest.util.ActivitiWebScript.executeImpl(ActivitiWebScrip
t.java:73)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
e(DeclarativeWebScript.java:64)
        at org.springframework.extensions.webscripts.PresentationContainer.execu
teScript(PresentationContainer.java:69)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:333)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:189)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.se
rvice(WebScriptServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.h2.jdbc.JdbcSQLException: Polaczenie uszkodzone: "session closed"

Connection is broken: "session closed" [90067-132]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
        at org.h2.message.DbException.get(DbException.java:167)
        at org.h2.message.DbException.get(DbException.java:144)
        at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
        at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
        at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.jav
a:219)
        at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
        at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
        at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
        at org.h2.Driver.connect(Driver.java:58)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnectio
n(UnpooledDataSource.java:64)
        at org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection(Po
oledDataSource.java:349)
        at org.apache.ibatis.datasource.pooled.PooledDataSource.getConnection(Po
oledDataSource.java:55)
        at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessi
onFromDataSource(DefaultSqlSessionFactory.java:72)
        … 34 more
java.lang.NullPointerException
        at org.json.JSONTokener.more(JSONTokener.java:98)
        at org.json.JSONTokener.next(JSONTokener.java:108)
        at org.json.JSONTokener.nextClean(JSONTokener.java:162)
        at org.json.JSONObject.<init>(JSONObject.java:178)
        at org.json.JSONObject.<init>(JSONObject.java:326)
        at org.activiti.surf.ActivitiRESTAuthenticator.authenticate(ActivitiREST
Authenticator.java:96)
        at org.springframework.extensions.webscripts.connector.AuthenticatingCon
nector.handshake(AuthenticatingConnector.java:403)
        at org.activiti.surf.ActivitiUserFactory.authenticate(ActivitiUserFactor
y.java:137)
        at org.springframework.extensions.surf.mvc.LoginController.handleRequest
Internal(LoginController.java:67)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:771)
        at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:716)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:647)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ
let.java:563)
        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(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:302)
        at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(Normal
RewrittenUrl.java:195)
        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.j
ava:159)
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:14
1)
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewri
ter.java:90)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewrit
eFilter.java:417)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:662)
00:00:58,343  ERROR [extensions.webscripts.AbstractRuntime] Exception from execu
teScript - redirecting to status template error: 11100000 Wrapped Exception (wit
h status template): null
org.springframework.extensions.webscripts.WebScriptException: 11100000 Wrapped E
xception (with status template): null
        at org.springframework.extensions.webscripts.AbstractWebScript.createSta
tusException(AbstractWebScript.java:742)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
e(DeclarativeWebScript.java:167)
        at org.springframework.extensions.webscripts.PresentationContainer.execu
teScript(PresentationContainer.java:69)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:333)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:189)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.se
rvice(WebScriptServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
        at org.activiti.rest.util.ActivitiWebScript.getIdentityService(ActivitiW
ebScript.java:124)
        at org.activiti.rest.util.ActivitiWebScript.executeImpl(ActivitiWebScrip
t.java:80)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
e(DeclarativeWebScript.java:64)
        … 17 more






if anyone is getting "H2 : session closed" exception while running : "http://activiti.org/userguide/index.html#10minutetutorial"

then first start your H2 database and try again.
"D:\Program Files\activiti-5.9\setup>ant h2.start"

This solved my problem.

Thanks.

minalghorpade
Champ in-the-making
Champ in-the-making
Hi
  I am new to activiti .  I have downloaded activiti 5.12.1. I follow steps given in userguide. When I use Explorer with h2 db it works fine.
but I am using mysql database. So i made changes in db.properties file. After this I am not able to login in explorer. I am not getting where I'm going wrong. I read above post but didnt get clear idea .
please help.

tomcat log is as follows


SEVERE: Servlet.service() for servlet [Vaadin Application Servlet] in context with path [/activiti-explorer] threw exception [com.vaadin.event.ListenerMethod$MethodException: Invocation of method onLogin in org.activiti.explorer.ui.login.LoginPage$ActivitiLoginListener failed.] with root cause
java.lang.NullPointerException
at org.activiti.explorer.ui.login.DefaultLoginHandler.authenticate(DefaultLoginHandler.java:40)
at org.activiti.explorer.ui.login.DefaultLoginHandler.authenticate(DefaultLoginHandler.java:34)
at org.activiti.explorer.ui.login.LoginPage$ActivitiLoginListener.onLogin(LoginPage.java:98)
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:601)
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
at com.vaadin.ui.LoginForm$2.handleParameters(LoginForm.java:103)
at com.vaadin.ui.Window.handleParameters(Window.java:515)
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:528)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

jbarrez
Star Contributor
Star Contributor
Does your ACT_ID_USER table contains users? Did you remove the DemoDataGenerator from the explorer config?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.