Error with fresh install of openemm

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

Moderator: moderator

amankaur90
Posts: 1
Joined: Thu Jun 25, 2015 12:48 pm

Error with fresh install of openemm

Post by amankaur90 » Thu Jun 25, 2015 1:03 pm

Hi

we did a fresh install of openemm-2015 on ubuntu 14.04.4 LTS and follwed all the steps given in openemm-admin-install-guide.pdf(*).

whenever I try to start openemm using openemm.sh start ' command , it gives me following errors

Failed to setup database interface
Unable to determinate status for sendmail usages, assuming sendmail is enabled
Stopping obsolete sendmail processes: /home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
done.
Starting sendmails: listener /home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
mail queues /home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
ADMIN /home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
/home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
QUEUE /home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
/home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
MIDQUEUE /home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
SLOWQUEUE /home/openemm/bin/smctrl: 2: /home/openemm/bin/smctrl: Syntax error: end of file unexpected (expecting ")")
/home/openemm/bin/qctrl: 1: /home/openemm/bin/qctrl: Syntax error: "(" unexpected
/home/openemm/bin/qctrl: 1: /home/openemm/bin/qctrl: Syntax error: "(" unexpected
/home/openemm/bin/qctrl: 1: /home/openemm/bin/qctrl: Syntax error: "(" unexpected
done.



Also its preview is not showing up. I then followed http://sourceforge.net/projects/openemm ... /Bugfixes/ link which instructs to download source tarball and jar tar and create bin package after compiling it

Now when I try to execute the command "ant -f openemm_build.xml build" , It gives me following errors

[javac] /home/oe/src/OpenEMM-2015-src/src/java/org/agnitas/cms/utils/preview/TrustedHttpsHandler.java:43: warning: Handler is internal proprietary API and may be removed in a future release
[javac] public class TrustedHttpsHandler extends sun.net.www.protocol.https.Handler {
[javac] ^
[javac] /home/oe/src/OpenEMM-2015-src/src/java/org/agnitas/util/SqlPreparedStatementManager.java:39: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] this(baseStatement, null);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] /home/oe/src/OpenEMM-2015-src/src/java/org/agnitas/web/filter/GZipRequestFilter.java:148: error: GZipRequestFilter.GZIPServletOutputStream is not abstract and does not override abstract method setWriteListener(WriteListener) in ServletOutputStream
[javac] private class GZIPServletOutputStream extends ServletOutputStream{
[javac] ^
[javac] /home/oe/src/OpenEMM-2015-src/src/java/org/agnitas/web/filter/GZipRequestFilter.java:199: error: GZipRequestFilter.GZIPServletInputStream is not abstract and does not override abstract method setReadListener(ReadListener) in ServletInputStream
[javac] private class GZIPServletInputStream extends ServletInputStream{
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[javac] 2 warnings

BUILD FAILED
/tmp/OpenEMM-2015-src/openemm_build.xml:59: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1174)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:930)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 1 minute 6 seconds


we are using version java version "1.8.0_45" and tomcat 8.0.23.

please advise

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

Re: Error with fresh install of openemm

Post by maschoff » Sat Jun 27, 2015 7:59 am

if you want to compile OpenEMM 2015 with Tomcat 8, please consider this update:
https://sourceforge.net/projects/openem ... 5/Updates/
OpenEMM Maintainer

Post Reply