OpenEMM-Application is NOT running

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

mister
Posts: 5
Joined: Sun Jun 09, 2019 6:31 pm

OpenEMM-Application is NOT running

Post by mister » Mon Jun 10, 2019 4:59 pm

I finally got OpenEMM to start but still am unable to launch it from my URL (Server Not Found). I've updated it to the latest package and can't find any errors. Please help.

= OpenEMM Installer v2.0 =
==========================
Host: markfeldmaninsurance.xyz
Runtime Version: 19.04.081
OpenEMM Version: 19.04.000.315
System-Url: openemm.markfeldmaninsurance.xyz
Backend Version: V19.04.000.222


Here is the status screen info:

Current menu: Show OpenEMM status

OpenEMM status:
OS version: CentOS Linux release 7.6.1810 (Core)
Python version: 2.7.5 (default, Apr 9 2019, 14:30:50) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
Postfix Version: 2.10.1
DB client version: /bin/mysql Ver 15.1 Distrib 10.2.8-MariaDB, for Linux (x86_64) using EditLine wrapper
Database Connection: OK
Database version: MariaDB 10.2.8-MariaDB
OpenEMM database structure exists (Version 19.01.550)
Currently running database threads ratio (Current: 1, Maximum: 5): 0.2
Database table emm_db_errorlog_tbl: OK
Jobqueue status: OK
No DKIM keys
Java version: 1.8.0_212 (OpenJDK)
Java JCE Unlimited-Key-Strength: OK
Tomcat version: 9.0.16.0
Wkhtml version: wkhtmltopdf 0.13.0-alpha-7b36694
OpenEMM-Application is running (Tomcat ProcessID: 13431, started at: 18:53 1:21)

moechsner
Posts: 10
Joined: Wed Apr 17, 2013 12:15 am

Re: OpenEMM-Application is NOT running

Post by moechsner » Mon Jun 10, 2019 7:53 pm

hy, the OpenEMM Server is started?

have you open the ports and forwarded in the firewall from 80 to 8080?
firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --zone=public --add-forward-port=port=80:proto=tcp:toport=8080 --permanent

A tip from me, set up the routing only on a standalone server

When you have opened the Port 8080 than you can test with

URL:8080

mister
Posts: 5
Joined: Sun Jun 09, 2019 6:31 pm

Re: OpenEMM-Application is NOT running

Post by mister » Tue Jun 11, 2019 12:32 am

Thanks Moechner,

Both were already opened and I still can't get in. I've tried several browsers and still get "server not fund". I've tried with Https and HTTP same result.

[root@markfeldmaninsurance ~]# firewall-cmd --zone=public --add-port=8080/tcp -- permanent
Warning: ALREADY_ENABLED: 8080:tcp
success
[root@markfeldmaninsurance ~]# firewall-cmd --zone=public --add-forward-port=por t=80:proto=tcp:toport=8080 --permanent
Warning: ALREADY_ENABLED: 80:tcp:8080:
success

maschoff
Site Admin
Posts: 2204
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: OpenEMM-Application is NOT running

Post by maschoff » Tue Jun 11, 2019 4:59 pm

When you restart OpenEMM, check the log file catalina.out of Tomcat in /home/openemm/logs for error messages.

If Tomcat fails to start OpenEMM properly, you can not access the login page.
OpenEMM Maintainer

mister
Posts: 5
Joined: Sun Jun 09, 2019 6:31 pm

Re: OpenEMM-Application is NOT running

Post by mister » Tue Jun 11, 2019 8:55 pm

I am pretty new to this and do not know what I am looking for. Here is the emm.log - let me know if you have any idea what is wrong? Thanks for your help.

2019-06-10 18:22:24,823: ERROR [main] com.agnitas.util.ResetJobQueueContextListener - Resetting 1 hanging jobs on startup formerly started by current host (markfeldmaninsurance.xyz)
2019-06-10 18:22:24,856: FATAL [main] org.agnitas.emm.extension.listener.ExtensionSystemInitializationContextListener - Error initializing extension system
java.net.MalformedURLException: Invalid host: [to be defined]
at java.net.URL.<init>(URL.java:627)
at java.net.URL.<init>(URL.java:490)
at java.net.URL.<init>(URL.java:439)
at com.agnitas.emm.extension.listener.ComExtensionSystemInitializationContextListener.extractDomain(ComExtensionSystemInitializationContextListener.java:43)
at com.agnitas.emm.extension.listener.ComExtensionSystemInitializationContextListener.setBuilderProperties(ComExtensionSystemInitializationContextListener.java:37)
at org.agnitas.emm.extension.listener.ExtensionSystemInitializationContextListener.createExtensionSystem(ExtensionSystemInitializationContextListener.java:70)
at org.agnitas.emm.extension.listener.ExtensionSystemInitializationContextListener.contextInitialized(ExtensionSystemInitializationContextListener.java:56)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:638)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: java.lang.IllegalArgumentException: Invalid host: [to be defined]
at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:195)
at java.net.URL.<init>(URL.java:622)
... 36 more
2019-06-10 18:22:29,368: WARN [main] com.agnitas.emm.core.report.generator.factory.TableGeneratorFactory - TableGenerator [CSV_GENERATOR] already registered and will be ignored
2019-06-10 18:22:29,375: WARN [main] com.agnitas.emm.core.report.generator.factory.TableGeneratorFactory - TableGenerator [TXT_GENERATOR] already registered and will be ignored
2019-06-10 18:54:21,409: FATAL [main] org.agnitas.emm.extension.listener.ExtensionSystemInitializationContextListener - Error initializing extension system
java.net.MalformedURLException: Invalid host: [to be defined]
at java.net.URL.<init>(URL.java:627)
at java.net.URL.<init>(URL.java:490)
at java.net.URL.<init>(URL.java:439)
at com.agnitas.emm.extension.listener.ComExtensionSystemInitializationContextListener.extractDomain(ComExtensionSystemInitializationContextListener.java:43)
at com.agnitas.emm.extension.listener.ComExtensionSystemInitializationContextListener.setBuilderProperties(ComExtensionSystemInitializationContextListener.java:37)
at org.agnitas.emm.extension.listener.ExtensionSystemInitializationContextListener.createExtensionSystem(ExtensionSystemInitializationContextListener.java:70)
at org.agnitas.emm.extension.listener.ExtensionSystemInitializationContextListener.contextInitialized(ExtensionSystemInitializationContextListener.java:56)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:638)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: java.lang.IllegalArgumentException: Invalid host: [to be defined]
at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:195)
at java.net.URL.<init>(URL.java:622)
... 36 more
2019-06-10 18:54:25,678: WARN [main] com.agnitas.emm.core.report.generator.factory.TableGeneratorFactory - TableGenerator [CSV_GENERATOR] already registered and will be ignored
2019-06-10 18:54:25,685: WARN [main] com.agnitas.emm.core.report.generator.factory.TableGeneratorFactory - TableGenerator [TXT_GENERATOR] already registered and will be ignored

maschoff
Site Admin
Posts: 2204
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: OpenEMM-Application is NOT running

Post by maschoff » Tue Jun 11, 2019 9:00 pm

To me it looks like you did not execute all jobs described in the OpenEMM wiki in chapter "5 Configuration", section "OpenEMMInstaller", because the log shows that some configuration values like "system.url" are missing.
OpenEMM Maintainer

mister
Posts: 5
Joined: Sun Jun 09, 2019 6:31 pm

Re: OpenEMM-Application is NOT running

Post by mister » Mon Jun 17, 2019 3:29 pm

I still can't get it to work and am about to give up. Let me know if there is anything else I can do to get this to work. I appreciate your help.

Here is the most recent portion of the catalina.out log:


17-Jun-2019 17:00:50.068 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
17-Jun-2019 17:00:50.072 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
17-Jun-2019 17:00:50.080 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
17-Jun-2019 17:00:50.089 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
17-Jun-2019 17:00:54.067 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
17-Jun-2019 17:00:54.075 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
17-Jun-2019 17:00:54.084 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
17-Jun-2019 17:00:54.086 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
17-Jun-2019 17:01:02.330 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
17-Jun-2019 17:01:02.973 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
17-Jun-2019 17:01:03.050 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
17-Jun-2019 17:01:03.068 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2,372] milliseconds
17-Jun-2019 17:01:03.187 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
17-Jun-2019 17:01:03.187 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat]
17-Jun-2019 17:01:14.765 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars 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.
2019-06-17 17:02:08,191: WARN [main] com.agnitas.emm.core.report.generator.factory.TableGeneratorFactory - TableGenerator [CSV_GENERATOR] already registered and will be ignored
2019-06-17 17:02:08,201: WARN [main] com.agnitas.emm.core.report.generator.factory.TableGeneratorFactory - TableGenerator [TXT_GENERATOR] already registered and will be ignored
17-Jun-2019 17:02:12.176 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars 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.
17-Jun-2019 17:03:01.995 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars 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.
17-Jun-2019 17:03:08.952 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
17-Jun-2019 17:03:08.952 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/birt] startup failed due to previous errors
17-Jun-2019 17:03:09.034 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
17-Jun-2019 17:03:09.068 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
17-Jun-2019 17:03:09.090 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [126,021] milliseconds
17-Jun-2019 17:08:54.094 INFO [http-nio-8080-exec-1] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:414)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:294)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

maschoff
Site Admin
Posts: 2204
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: OpenEMM-Application is NOT running

Post by maschoff » Tue Jun 18, 2019 7:05 am

The causing error message is still there:

Code: Select all

17-Jun-2019 17:03:08.952 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
Could it be that you have modified Tomcat's configuration or you try to run a 2nd app with Tomcat in parallel to OpenEMM?
OpenEMM Maintainer

mister
Posts: 5
Joined: Sun Jun 09, 2019 6:31 pm

Re: OpenEMM-Application is NOT running

Post by mister » Tue Jun 18, 2019 5:08 pm

I appreciate your help - I am not a programmer and do not know how to figure this out. Can you tell me how to determine that?

Post Reply