Problem sending mailings after manual compilation
Posted: Thu Oct 01, 2009 12:26 pm
Hi all
I've finally managed to compile OpenEMM from source and got it to work. Everything appears to work fine but I don't seem to be able to send any mailings. The web interface tells me that my mailing has been successfully sent to all recipients but the messages never arrive in any of the accounts specified in the mailing list (I've checked the spam folders, too).
Everything works fine if I install the binary distribution on the same system, which means that I can rule out a misconfiguration of sendmail.
The mailings make it to OpenEMM's mail queue but seem to be stuck there.
The only error in ~openemm/var/log/core_stderr.log appears to be referring to a configuration glitch with log4j (something which I've been able to rectify since):
BTW: The OpenEMM source distribution seems to be incomplete as I had to copy several files from the binary distribution to the corresponding directories to get it to work after the build process. Most notably the emm.properties file and a bunch of jars (the latter having been noted elsewhere in this support forum already).
As we are greatly interested in using OpenEMM any help will be appreciated.
Thanks in advance!
joran
I've finally managed to compile OpenEMM from source and got it to work. Everything appears to work fine but I don't seem to be able to send any mailings. The web interface tells me that my mailing has been successfully sent to all recipients but the messages never arrive in any of the accounts specified in the mailing list (I've checked the spam folders, too).
Everything works fine if I install the binary distribution on the same system, which means that I can rule out a misconfiguration of sendmail.
The mailings make it to OpenEMM's mail queue but seem to be stuck there.
Code: Select all
root@zimbra:/home/openemm/var/spool/QUEUE# ls -lah
total 80K
drwxr-xr-x 2 openemm openemm 4.0K 2009-10-01 10:27 .
drwxr-xr-x 11 openemm openemm 4.0K 2009-09-18 14:57 ..
-rw-r--r-- 1 openemm openemm 671 2009-09-28 11:45 df00000E00000000007
-rw-r--r-- 1 openemm openemm 495 2009-09-28 11:55 df00000F00000000003
-rw-r--r-- 1 openemm openemm 671 2009-09-28 11:55 df00000F00000000007
-rw-r--r-- 1 openemm openemm 495 2009-09-28 12:25 df00001000000000003
-rw-r--r-- 1 openemm openemm 671 2009-09-28 12:25 df00001000000000007
-rw-r--r-- 1 openemm openemm 495 2009-09-30 12:03 df00001100000000003
-rw-r--r-- 1 openemm openemm 671 2009-09-30 12:03 df00001100000000007
-rw-r--r-- 1 openemm openemm 495 2009-10-01 10:27 df00001200000000003
-rw-r--r-- 1 openemm openemm 671 2009-10-01 10:27 df00001200000000007
-rw-r--r-- 1 openemm openemm 549 2009-09-28 11:45 qf00000E00000000007
-rw-r--r-- 1 openemm openemm 562 2009-09-28 11:55 qf00000F00000000003
-rw-r--r-- 1 openemm openemm 549 2009-09-28 11:55 qf00000F00000000007
-rw-r--r-- 1 openemm openemm 562 2009-09-28 12:25 qf00001000000000003
-rw-r--r-- 1 openemm openemm 549 2009-09-28 12:25 qf00001000000000007
-rw-r--r-- 1 openemm openemm 562 2009-09-30 12:03 qf00001100000000003
-rw-r--r-- 1 openemm openemm 549 2009-09-30 12:03 qf00001100000000007
-rw-r--r-- 1 openemm openemm 562 2009-10-01 10:27 qf00001200000000003
-rw-r--r-- 1 openemm openemm 549 2009-10-01 10:27 qf00001200000000007
Code: Select all
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /home/nse/log/axis_core.log (No such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:524)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:408)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
at org.apache.log4j.Logger.getLogger(Logger.java:85)
at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.springframework.web.context.ContextLoader.<init>(ContextLoader.java:145)
at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:57)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at com.caucho.server.webapp.Application.start(Application.java:1597)
at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509)
at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:158)
at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:652)
at com.caucho.server.host.Host.start(Host.java:385)
at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509)
at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:158)
at com.caucho.server.host.HostContainer.start(HostContainer.java:501)
at com.caucho.server.resin.ServletServer.start(ServletServer.java:977)
at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56)
at com.caucho.server.deploy.DeployController.start(DeployController.java:517)
at com.caucho.server.resin.ResinServer.start(ResinServer.java:485)
at com.caucho.server.resin.Resin.init(Resin.java)
at com.caucho.server.resin.Resin.main(Resin.java:624)
Clearing mailing
As we are greatly interested in using OpenEMM any help will be appreciated.
Thanks in advance!
joran