As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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?
1. Examine your logs (catalina.out, ...)
2. Verify your environment (firewall, ...)
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 logINFO: Server version: Apache Tomcat/7.0.73Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Server built: Nov 7 2016 21:27:23 UTCSep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Server number: 7.0.73.0Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: OS Name: Windows 7Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: OS Version: 6.1Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Architecture: amd64Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Java Home: C:\Program Files\Java\jdk1.8.0_20\jreSep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: JVM Version: 1.8.0_20-b26Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: JVM Vendor: Oracle CorporationSep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: CATALINA_BASE: C:\Program Files\TomCat\apache-tomcat-7.0.73Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: CATALINA_HOME: C:\Program Files\TomCat\apache-tomcat-7.0.73Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Command line argument: -Djava.util.logging.config.file=C:\Program Files\TomCat\apache-tomcat-7.0.73\conf\logging.propertiesSep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManagerSep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Command line argument: -Djava.endorsed.dirs=C:\Program Files\TomCat\apache-tomcat-7.0.73\endorsedSep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Command line argument: -Dcatalina.base=C:\Program Files\TomCat\apache-tomcat-7.0.73Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Command line argument: -Dcatalina.home=C:\Program Files\TomCat\apache-tomcat-7.0.73Sep 27, 2017 7:29:37 PM org.apache.catalina.startup.VersionLoggerListener logINFO: Command line argument: -Djava.io.tmpdir=C:\Program Files\TomCat\apache-tomcat-7.0.73\tempSep 27, 2017 7:29:37 PM org.apache.catalina.core.AprLifecycleListener lifecycleEventINFO: 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 lifecycleEventINFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].Sep 27, 2017 7:29:38 PM org.apache.catalina.core.AprLifecycleListener initializeSSLINFO: OpenSSL successfully initialized (OpenSSL 1.0.2j 26 Sep 2016)Sep 27, 2017 7:29:38 PM org.apache.coyote.AbstractProtocol initINFO: Initializing ProtocolHandler ["http-apr-8080"]Sep 27, 2017 7:29:38 PM org.apache.coyote.AbstractProtocol initINFO: Initializing ProtocolHandler ["ajp-apr-8009"]Sep 27, 2017 7:29:38 PM org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 1379 msSep 27, 2017 7:29:38 PM org.apache.catalina.core.StandardService startInternalINFO: Starting service CatalinaSep 27, 2017 7:29:38 PM org.apache.catalina.core.StandardEngine startInternalINFO: Starting Servlet Engine: Apache Tomcat/7.0.73Sep 27, 2017 7:29:38 PM org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-admin.warSep 27, 2017 7:29:39 PM org.apache.catalina.startup.TldConfig executeINFO: 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 deployWARINFO: Deployment of web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-admin.war has finished in 9,947 msSep 27, 2017 7:29:48 PM org.apache.catalina.core.StandardContext setPathWARNING: 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 deployWARINFO: Deploying web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-app.warSep 27, 2017 7:29:48 PM org.apache.catalina.startup.SetContextPropertiesRule beginWARNING: [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 validateJarFileINFO: 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.classSep 27, 2017 7:29:49 PM org.apache.catalina.startup.TldConfig executeINFO: 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 deployWARINFO: Deployment of web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-app.war has finished in 15,116 msSep 27, 2017 7:30:03 PM org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-rest.warSep 27, 2017 7:30:03 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFileINFO: 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.classSep 27, 2017 7:30:03 PM org.apache.catalina.startup.TldConfig executeINFO: 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 deployWARINFO: Deployment of web application archive C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\activiti-rest.war has finished in 6,550 msSep 27, 2017 7:30:10 PM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\docsSep 27, 2017 7:30:10 PM org.apache.catalina.startup.TldConfig executeINFO: 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 deployDirectoryINFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\docs has finished in 280 msSep 27, 2017 7:30:10 PM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\examplesSep 27, 2017 7:30:10 PM org.apache.catalina.startup.TldConfig executeINFO: 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 deployDirectoryINFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\examples has finished in 426 msSep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\host-managerSep 27, 2017 7:30:11 PM org.apache.catalina.startup.TldConfig executeINFO: 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 deployDirectoryINFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\host-manager has finished in 276 msSep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\managerSep 27, 2017 7:30:11 PM org.apache.catalina.startup.TldConfig executeINFO: 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 deployDirectoryINFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\manager has finished in 240 msSep 27, 2017 7:30:11 PM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\ROOTSep 27, 2017 7:30:11 PM org.apache.catalina.startup.TldConfig executeINFO: 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 deployDirectoryINFO: Deployment of web application directory C:\Program Files\TomCat\apache-tomcat-7.0.73\webapps\ROOT has finished in 216 msSep 27, 2017 7:30:11 PM org.apache.coyote.AbstractProtocol startINFO: Starting ProtocolHandler ["http-apr-8080"]Sep 27, 2017 7:30:11 PM org.apache.coyote.AbstractProtocol startINFO: Starting ProtocolHandler ["ajp-apr-8009"]Sep 27, 2017 7:30:11 PM org.apache.catalina.startup.Catalina startINFO: Server startup in 33165 ms
Please help!
Testing yout connection with REST and verify your endpoint configuration in 'Edit Activiti REST Endpoint', for example:
Thank you so much . Changing the endpoint configuration solved the issue.