Error while starting OpenEMM ... Mailgun.ini not found ...

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

Error while starting OpenEMM ... Mailgun.ini not found ...

Postby olivier.r » Mon Oct 30, 2006 6:28 pm

I have compile openemm manually an deploy it to resin 3 application server ... but when I try to start resin I have an error message ...

Can you help me please ....
it seems that the Mailgun.ini can't be found althought I have put it in :

WEB-INF\classes\
and
WEB-INF\lib\openemm\

Do you have any idea ? here is the error message when starting resin ...

Thanks.


Code: Select all
[18:15:31.265] Loading Spring root WebApplicationContext
[18:15:34.890] org.springframework.beans.factory.BeanCreationException: Error cr
eating bean with name 'Ruler' defined in ServletContext resource [/WEB-INF/cronC
ontext.xml]: Instantiation of bean failed; nested exception is org.springframewo
rk.beans.FatalBeanException: Could not instantiate class [org.agnitas.backend.Ru
lerImpl]; constructor threw exception; nested exception is org.agnitas.util.Conf
igException: Failed reading input file Mailgun.ini: java.io.FileNotFoundExceptio
n: Mailgun.ini (Le fichier spÚcifiÚ est introuvable)
[18:15:34.890] org.springframework.beans.FatalBeanException: Could not instantia
te class [org.agnitas.backend.RulerImpl]; constructor threw exception; nested ex
ception is org.agnitas.util.ConfigException: Failed reading input file Mailgun.i
ni: java.io.FileNotFoundException: Mailgun.ini (Le fichier spÚcifiÚ est introuva
ble)
[18:15:34.890] [ERROR] org.agnitas.util.ConfigException: Failed reading input fi
le Mailgun.ini: java.io.FileNotFoundException: Mailgun.ini (Le fichier spÚcifiÚ
est introuvable)
[18:15:34.890]  at org.agnitas.util.Config.<init>(Config.java:169)
[18:15:34.890]  at org.agnitas.backend.Data.<init>(Data.java:1021)
[18:15:34.890]  at org.agnitas.backend.RulerImpl.mkData(RulerImpl.java:95)
[18:15:34.890]  at org.agnitas.backend.RulerImpl.<init>(RulerImpl.java:106)
[18:15:34.890]  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[18:15:34.890]  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
onstructorAccessorImpl.java:39)
[18:15:34.890]  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:27)
[18:15:34.890]  at java.lang.reflect.Constructor.newInstance(Constructor.java:49
4)
[18:15:34.890]  at org.springframework.beans.BeanUtils.instantiateClass(BeanUtil
s.java:172)
[18:15:34.890]  at org.springframework.beans.BeanUtils.instantiateClass(BeanUtil
s.java:148)
[18:15:34.890]  at org.springframework.beans.factory.support.SimpleInstantiation
Strategy.instantiate(SimpleInstantiationStrategy.java:52)
[18:15:34.890]  at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:486)
[18:15:34.890]  at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:362)
[18:15:34.890]  at org.springframework.beans.factory.support.AbstractBeanFactory
.getBean(AbstractBeanFactory.java:233)
[18:15:34.890]  at org.springframework.beans.factory.support.AbstractBeanFactory
.getBean(AbstractBeanFactory.java:145)
[18:15:34.890]  at org.springframework.beans.factory.support.DefaultListableBean
Factory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
[18:15:34.890]  at org.springframework.context.support.AbstractApplicationContex
t.refresh(AbstractApplicationContext.java:313)
[18:15:34.890]  at org.springframework.web.context.support.AbstractRefreshableWe
bApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
[18:15:34.890]  at org.springframework.web.context.ContextLoader.createWebApplic
ationContext(ContextLoader.java:246)
[18:15:34.890]  at org.springframework.web.context.ContextLoader.initWebApplicat
ionContext(ContextLoader.java:184)
[18:15:34.890]  at org.springframework.web.context.ContextLoaderListener.context
Initialized(ContextLoaderListener.java:49)
[18:15:34.890]  at com.caucho.server.webapp.Application.start(Application.java:1
647)
[18:15:34.890]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:621)
[18:15:34.890]  at com.caucho.server.deploy.DeployController.restartImpl(DeployC
ontroller.java:584)
[18:15:34.890]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(
StartAutoRedeployAutoStrategy.java:176)
[18:15:34.890]  at com.caucho.server.deploy.DeployController.handleAlarm(DeployC
ontroller.java:742)
[18:15:34.890]  at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
[18:15:34.890]  at com.caucho.util.Alarm.run(Alarm.java:309)
[18:15:34.890]  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
[18:15:34.890]  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[18:15:34.890]  at java.lang.Thread.run(Thread.java:595)
[18:15:34.968] action: init
[18:15:35.609] javax.servlet.UnavailableException
[18:15:35.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.jav
a:368)
[18:15:35.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:69)
[18:15:35.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImp
l(ServletConfigImpl.java:646)
[18:15:35.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:587)
[18:15:35.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager
.java:154)
[18:15:35.609]  at com.caucho.server.webapp.Application.start(Application.java:1
654)
[18:15:35.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:621)
[18:15:35.609]  at com.caucho.server.deploy.DeployController.restartImpl(DeployC
ontroller.java:584)
[18:15:35.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(
StartAutoRedeployAutoStrategy.java:176)
[18:15:35.609]  at com.caucho.server.deploy.DeployController.handleAlarm(DeployC
ontroller.java:742)
[18:15:35.609]  at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
[18:15:35.609]  at com.caucho.util.Alarm.run(Alarm.java:309)
[18:15:35.609]  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
[18:15:35.609]  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[18:15:35.609]  at java.lang.Thread.run(Thread.java:595)
[18:15:35.625] javax.servlet.UnavailableException
[18:15:35.625]  at org.apache.struts.action.ActionServlet.init(ActionServlet.jav
a:368)
[18:15:35.625]  at javax.servlet.GenericServlet.init(GenericServlet.java:69)
[18:15:35.625]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImp
l(ServletConfigImpl.java:646)
[18:15:35.625]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:587)
[18:15:35.625]  at com.caucho.server.dispatch.ServletManager.init(ServletManager
.java:154)
[18:15:35.625]  at com.caucho.server.webapp.Application.start(Application.java:1
654)
[18:15:35.625]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:621)
[18:15:35.625]  at com.caucho.server.deploy.DeployController.restartImpl(DeployC
ontroller.java:584)
[18:15:35.625]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(
StartAutoRedeployAutoStrategy.java:176)
[18:15:35.625]  at com.caucho.server.deploy.DeployController.handleAlarm(DeployC
ontroller.java:742)
[18:15:35.625]  at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
[18:15:35.625]  at com.caucho.util.Alarm.run(Alarm.java:309)
[18:15:35.625]  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
[18:15:35.625]  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[18:15:35.625]  at java.lang.Thread.run(Thread.java:595)
[18:16:35.578] WebApp[http://localhost:8080/openemm_dbg] stopping
[18:16:35.578] Closing Spring root WebApplicationContext
[18:16:35.921] WebApp[http://localhost:8080/openemm_dbg] starting
log4j:WARN No appenders could be found for logger (org.springframework.web.conte
xt.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
[18:16:36.359] Loading Spring root WebApplicationContext
[18:16:39.328] org.springframework.beans.factory.BeanCreationException: Error cr
eating bean with name 'Ruler' defined in ServletContext resource [/WEB-INF/cronC
ontext.xml]: Instantiation of bean failed; nested exception is org.springframewo
rk.beans.FatalBeanException: Could not instantiate class [org.agnitas.backend.Ru
lerImpl]; constructor threw exception; nested exception is org.agnitas.util.Conf
igException: Failed reading input file Mailgun.ini: java.io.FileNotFoundExceptio
n: Mailgun.ini (Le fichier spÚcifiÚ est introuvable)
[18:16:39.328] org.springframework.beans.FatalBeanException: Could not instantia
te class [org.agnitas.backend.RulerImpl]; constructor threw exception; nested ex
ception is org.agnitas.util.ConfigException: Failed reading input file Mailgun.i
ni: java.io.FileNotFoundException: Mailgun.ini (Le fichier spÚcifiÚ est introuva
ble)
[18:16:39.328] [ERROR] org.agnitas.util.ConfigException: Failed reading input fi
le Mailgun.ini: java.io.FileNotFoundException: Mailgun.ini (Le fichier spÚcifiÚ
est introuvable)
[18:16:39.328]  at org.agnitas.util.Config.<init>(Config.java:169)
[18:16:39.328]  at org.agnitas.backend.Data.<init>(Data.java:1021)
[18:16:39.328]  at org.agnitas.backend.RulerImpl.mkData(RulerImpl.java:95)
[18:16:39.328]  at org.agnitas.backend.RulerImpl.<init>(RulerImpl.java:106)
[18:16:39.328]  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[18:16:39.328]  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
onstructorAccessorImpl.java:39)
[18:16:39.328]  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:27)
[18:16:39.328]  at java.lang.reflect.Constructor.newInstance(Constructor.java:49
4)
[18:16:39.328]  at org.springframework.beans.BeanUtils.instantiateClass(BeanUtil
s.java:172)
[18:16:39.328]  at org.springframework.beans.BeanUtils.instantiateClass(BeanUtil
s.java:148)
[18:16:39.328]  at org.springframework.beans.factory.support.SimpleInstantiation
Strategy.instantiate(SimpleInstantiationStrategy.java:52)
[18:16:39.328]  at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:486)
[18:16:39.328]  at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:362)
[18:16:39.328]  at org.springframework.beans.factory.support.AbstractBeanFactory
.getBean(AbstractBeanFactory.java:233)
[18:16:39.328]  at org.springframework.beans.factory.support.AbstractBeanFactory
.getBean(AbstractBeanFactory.java:145)
[18:16:39.328]  at org.springframework.beans.factory.support.DefaultListableBean
Factory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
[18:16:39.328]  at org.springframework.context.support.AbstractApplicationContex
t.refresh(AbstractApplicationContext.java:313)
[18:16:39.328]  at org.springframework.web.context.support.AbstractRefreshableWe
bApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
[18:16:39.328]  at org.springframework.web.context.ContextLoader.createWebApplic
ationContext(ContextLoader.java:246)
[18:16:39.328]  at org.springframework.web.context.ContextLoader.initWebApplicat
ionContext(ContextLoader.java:184)
[18:16:39.328]  at org.springframework.web.context.ContextLoaderListener.context
Initialized(ContextLoaderListener.java:49)
[18:16:39.328]  at com.caucho.server.webapp.Application.start(Application.java:1
647)
[18:16:39.328]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:621)
[18:16:39.328]  at com.caucho.server.deploy.DeployController.restartImpl(DeployC
ontroller.java:584)
[18:16:39.328]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(
StartAutoRedeployAutoStrategy.java:176)
[18:16:39.328]  at com.caucho.server.deploy.DeployController.handleAlarm(DeployC
ontroller.java:742)
[18:16:39.328]  at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
[18:16:39.328]  at com.caucho.util.Alarm.run(Alarm.java:309)
[18:16:39.328]  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
[18:16:39.328]  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[18:16:39.328]  at java.lang.Thread.run(Thread.java:595)
[18:16:39.375] action: init
[18:16:40.140] javax.servlet.UnavailableException
[18:16:40.140]  at org.apache.struts.action.ActionServlet.init(ActionServlet.jav
a:368)
[18:16:40.140]  at javax.servlet.GenericServlet.init(GenericServlet.java:69)
[18:16:40.140]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImp
l(ServletConfigImpl.java:646)
[18:16:40.140]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:587)
[18:16:40.140]  at com.caucho.server.dispatch.ServletManager.init(ServletManager
.java:154)
[18:16:40.140]  at com.caucho.server.webapp.Application.start(Application.java:1
654)
[18:16:40.140]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:621)
[18:16:40.140]  at com.caucho.server.deploy.DeployController.restartImpl(DeployC
ontroller.java:584)
[18:16:40.140]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(
StartAutoRedeployAutoStrategy.java:176)
[18:16:40.140]  at com.caucho.server.deploy.DeployController.handleAlarm(DeployC
ontroller.java:742)
[18:16:40.140]  at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
[18:16:40.140]  at com.caucho.util.Alarm.run(Alarm.java:309)
[18:16:40.140]  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
[18:16:40.140]  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[18:16:40.140]  at java.lang.Thread.run(Thread.java:595)
[18:16:40.140] javax.servlet.UnavailableException
[18:16:40.140]  at org.apache.struts.action.ActionServlet.init(ActionServlet.jav
a:368)
[18:16:40.140]  at javax.servlet.GenericServlet.init(GenericServlet.java:69)
[18:16:40.140]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImp
l(ServletConfigImpl.java:646)
[18:16:40.140]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:587)
[18:16:40.140]  at com.caucho.server.dispatch.ServletManager.init(ServletManager
.java:154)
[18:16:40.140]  at com.caucho.server.webapp.Application.start(Application.java:1
654)
[18:16:40.140]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:621)
[18:16:40.140]  at com.caucho.server.deploy.DeployController.restartImpl(DeployC
ontroller.java:584)
[18:16:40.140]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(
StartAutoRedeployAutoStrategy.java:176)
[18:16:40.140]  at com.caucho.server.deploy.DeployController.handleAlarm(DeployC
ontroller.java:742)
[18:16:40.140]  at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
[18:16:40.140]  at com.caucho.util.Alarm.run(Alarm.java:309)
[18:16:40.140]  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
[18:16:40.140]  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[18:16:40.140]  at java.lang.Thread.run(Thread.java:595)
olivier.r
 
Posts: 23
Joined: Tue Aug 29, 2006 8:33 am

Postby ud » Tue Oct 31, 2006 10:08 am

Be sure that Mailgun.ini is in a directory which is part of your CLASPATH enviroment. You may have to set it by hand before starting the application.

-- ud
ud
 
Posts: 141
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany

Postby olivier.r » Wed Nov 01, 2006 4:17 pm

But I also try to put Mailgun.ini in the OpenEMM classes directory ...but it's not working ... how can I manually declare the path to Mailgun.ini ?
Thanks for your answer
olivier.r
 
Posts: 23
Joined: Tue Aug 29, 2006 8:33 am

Postby sfantul » Thu Nov 02, 2006 1:15 pm

Mailgun.ini is loaded in Config class(utils package) constructor, u can change there or see why inserting its path in the classpath doesnt load it
sfantul
 
Posts: 40
Joined: Tue Aug 15, 2006 9:34 am

Re: Error while starting OpenEMM ... Mailgun.ini not found

Postby dhoom3 » Thu Oct 30, 2014 10:07 am

how can I manually declare the path to Mailgun.ini ?
Enjoy the real success with Braindumps.com exam and cisco ccna online training programs
dhoom3
 
Posts: 1
Joined: Thu Oct 30, 2014 9:57 am

Re: Error while starting OpenEMM ... Mailgun.ini not found

Postby maschoff » Sun Nov 02, 2014 9:17 pm

There is no file Mailgun.ini in OpenEMM. You can change the properties of the Mailgun configuration in file emm.properties.
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2142
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany


Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests

cron