Here is the tomcat startup (catalina) log right after starting openemm and before loading the GUI.
-bash-4.1$ cat logs/tomcat/catalina.2015-05-31.log
31-May-2015 17:09:11.707 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.
31-May-2015 17:09:11.752 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'allowLinking' to 'true' did not find a matching property.
31-May-2015 17:09:11.754 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
31-May-2015 17:09:11.904 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
31-May-2015 17:09:11.922 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
31-May-2015 17:09:11.931 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
31-May-2015 17:09:11.934 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
31-May-2015 17:09:11.935 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 650 ms
31-May-2015 17:09:11.958 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
31-May-2015 17:09:11.959 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.22
31-May-2015 17:09:16.171 INFO [openemm-startStop-1] 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.
31-May-2015 17:09:16.180 INFO [openemm-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
31-May-2015 17:09:16.258 INFO [openemm-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
31-May-2015 17:09:20.764 SEVERE [openemm-startStop-1] org.apache.catalina.session.StandardManager.doLoad standardManager.loading.ioe
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.util.LinkedHashMap$LinkedKeyIterator
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1355)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at org.apache.catalina.session.StandardSession.doReadObject(StandardSession.java:1634)
at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1099)
at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:261)
at org.apache.catalina.session.StandardManager.load(StandardManager.java:180)
at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:460)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.NotSerializableException: java.util.LinkedHashMap$LinkedKeyIterator
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
at org.apache.catalina.session.StandardSession.doWriteObject(StandardSession.java:1710)
at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1116)
at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:401)
at org.apache.catalina.session.StandardManager.unload(StandardManager.java:320)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:487)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5386)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1425)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1414)
... 4 more
31-May-2015 17:09:20.765 SEVERE [openemm-startStop-1] org.apache.catalina.session.StandardManager.startInternal Exception loading sessions from persistent storage
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.util.LinkedHashMap$LinkedKeyIterator
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1355)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at org.apache.catalina.session.StandardSession.doReadObject(StandardSession.java:1634)
at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1099)
at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:261)
at org.apache.catalina.session.StandardManager.load(StandardManager.java:180)
at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:460)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.NotSerializableException: java.util.LinkedHashMap$LinkedKeyIterator
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
at org.apache.catalina.session.StandardSession.doWriteObject(StandardSession.java:1710)
at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1116)
at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:401)
at org.apache.catalina.session.StandardManager.unload(StandardManager.java:320)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:487)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5386)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1425)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1414)
... 4 more
31-May-2015 17:09:24.050 INFO [openemm-startStop-1] 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.
31-May-2015 17:09:24.057 INFO [openemm-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
31-May-2015 17:09:24.118 INFO [openemm-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
31-May-2015 17:09:27.567 INFO [openemm-startStop-1] 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.
31-May-2015 17:09:27.577 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
31-May-2015 17:09:27.585 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
31-May-2015 17:09:27.586 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 15650 ms
hisaltesse
Posts: 10
Joined: Sat May 30, 2015 3:03 am
Please describe the OpenEMM bug you encountered.
persistent session issue
When I open a mailing preview I get this error:
Error occurred.
An unexpected error occurred. Please contact our support team.
And the logs show this error :
31-May-2015 17:09:20.765 SEVERE [openemm-startStop-1] org.apache.catalina.session.StandardManager.startInternal Exception loading sessions from persistent storage
Do you use 32 bit or 64 bit Linux?
64-bit Centos 6
(also tried ubuntu and Centos 7 and was not even able to load the web interface).
This software is simply a nightmare to install and a gamble to get it to work.
Last edit: His Al 2015-06-09
Looks like C file xmlback (which creates the preview) needs some libs which do not exist on your system. You may check for the required libs with
ldd xmlback
The comment returns:
ldd: ./xmlback: No such file or directory
Last edit: His Al 2015-06-09
How do I install xmlback?
I followed the installation guide and installed the required packaged:
yum install ld-linux.so.2 sqlite glibc.i686 libxml2.i686 zlib.i686
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.centos.webair.com
* extras: mirrors.advancedhosters.com
* updates: centos.mirror.nac.net
Package glibc-2.12-1.149.el6_6.9.i686 already installed and latest version
Package sqlite-3.6.20-1.el6.x86_64 already installed and latest version
Package glibc-2.12-1.149.el6_6.9.i686 already installed and latest version
Package libxml2-2.7.6-17.el6_6.1.i686 already installed and latest version
Package zlib-1.2.3-29.el6.i686 already installed and latest version
Nothing to do
File xmlback is part of the OpenEMM installation. If you do not have this file, your installation is incomplete.
You are not making much sense. I followed your installation guide and it led to this. I showed you the return of my yum command showing that I have installed the required additional packages for 64 bits.
Clearly you haven't tested your code much. Why can't you just try to reproduce it by firing a fresh Centos 6 64-bit virtual machine and install following your own installation guide ? Then try to open a mailing preview and see the issue.
You could then record your screen and post a video of your installation process if it is successful so everyone can follow something that actually works. But I bet you will have the same issue.
Either your installation guide is missing something or your software is buggy and no one is going anything about it. This was release quite a long time ago. I am surprised you are not doing enough to address this issue.
Last edit: His Al 2015-06-10
Instead of wasting everyones time your reaction to an issue like this should be to try to reproduce and record a video of your installation process and launching the mailing preview. If all is good then your instructions would serve as a guide and solution to the problem. If you have the same issue then you should do something about it instead of just throwing ideas that lead no where and don't resolve anything.
I politely disagree with your assessment. Apparently you did not do an installation according to the Install & Admin Guide. Otherwise, you would have found file xmlback on your server. We know of thousands of users of OpenEMM who managed to get OpenEMM running.
What part of the installation guide was missed?