cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect to Activiti server

arunvkumar
Champ in-the-making
Champ in-the-making

Hi, I am new to Activiti. I had set-up the Tomcat server and when I opened the Activiti admin (http://localhost:8080/activiti-admin)  page, the tasks that I deployed are not showing in the Deployment section. I have used the credentials Username/Password as admin/admin. It shows the error, 'Unable to connect to Activiti server'. Can someone please help me with this problem?Server connection error

4 REPLIES 4

fegor
Star Collaborator
Star Collaborator

1. Examine your logs (catalina.out, ...)

2. Verify your environment (firewall, ...)

arunvkumar
Champ in-the-making
Champ in-the-making

I can't find any issue in the logs. This is the catalina log file,

Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/7.0.73
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Nov 7 2016 21:27:23 UTC
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 7.0.73.0
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 7
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 6.1
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:\Program Files\Java\jdk1.8.0_20\jre
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_20-b26
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C:\Program Files\TomCat\apache-tomcat-7.0.73
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C:\Program Files\TomCat\apache-tomcat-7.0.73
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.config.file=C:\Program Files\TomCat\apache-tomcat-7.0.73\conf\logging.properties
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=C:\Program Files\TomCat\apache-tomcat-7.0.73\endorsed
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=C:\Program Files\TomCat\apache-tomcat-7.0.73
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:\Program Files\TomCat\apache-tomcat-7.0.73
Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=C:\Program Files\TomCat\apache-tomcat-7.0.73\temp
Sep 27, 2017 7:29:37 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.
Sep 27, 2017 7:29:37 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Sep 27, 2017 7:29:38 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2j 26 Sep 2016)
Sep 27, 2017 7:29:38 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Sep 27, 2017 7:29:38 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Sep 27, 2017 7:29:38 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1379 ms
Sep 27, 2017 7:29:38 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 27, 2017 7:29:38 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.73
Sep 27, 2017 7:29:38 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-admin.war
Sep 27, 2017 7:29:39 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 7:29:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-admin.war has finished in 9,947 ms
Sep 27, 2017 7:29:48 PM org.apache.catalina.core.StandardContext setPath
WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
Sep 27, 2017 7:29:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-app.war
Sep 27, 2017 7:29:48 PM org.apache.catalina.startup.SetContextPropertiesRule begin
WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug' to '100' did not find a matching property.
Sep 27, 2017 7:29:48 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-app\WEB-INF\lib\juel-api-2.2.7.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Sep 27, 2017 7:29:49 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 7:30:03 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-app.war has finished in 15,116 ms
Sep 27, 2017 7:30:03 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-rest.war
Sep 27, 2017 7:30:03 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-rest\WEB-INF\lib\juel-api-2.2.7.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Sep 27, 2017 7:30:03 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 7:30:10 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-rest.war has finished in 6,550 ms
Sep 27, 2017 7:30:10 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\docs
Sep 27, 2017 7:30:10 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 7:30:10 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\docs has finished in 280 ms
Sep 27, 2017 7:30:10 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\examples
Sep 27, 2017 7:30:10 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\examples has finished in 426 ms
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\host-manager
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\host-manager has finished in 276 ms
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\manager
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\manager has finished in 240 ms
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\ROOT
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\ROOT has finished in 216 ms
Sep 27, 2017 7:30:11 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-8080"]
Sep 27, 2017 7:30:11 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 33165 ms

Please help!

fegor
Star Collaborator
Star Collaborator

Testing yout connection with REST and verify your endpoint configuration in 'Edit Activiti REST Endpoint', for example:

arunvkumar
Champ in-the-making
Champ in-the-making

Thank you so much . Changing the endpoint configuration solved the issue.