The big fat list of Jar Files needed when building from src

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

Moderator: moderator

Ryan Gardner
Posts: 1
Joined: Tue Sep 19, 2006 7:26 pm

The big fat list of Jar Files needed when building from src

Post by Ryan Gardner » Tue Sep 19, 2006 7:30 pm

I'm trying to build OpenEMM-5.0.2 from source... but my life is being made miserable by the lib directory - and this file:

"Please place these jar files here:

activation.jar
antlr-2.7.4.jar
asm-attrs.jar
asm.jar
bsh-1.3b2.jar
cglib-2.1.jar
commons-beanutils.jar
commons-collections-3.2.jar
commons-dbcp-1.2.1.jar
commons-digester-1.7.jar
commons-digester.jar
commons-discovery.jar
commons-email-1.0-rc5.jar
commons-fileupload.jar
commons-httpclient-2.0.2.jar
commons-lang.jar
commons-logging.jar
commons-pool-1.2.jar
commons-resources.jar
commons-validator.jar
crimson.jar
dom4j-1.6.jar
ehcache-1.1.jar
hibernate3.jar
jakarta-oro.jar
java-idna.jar
jaxrpc.jar
jcommon-1.0.0-rc1.jar
log4j-1.2.8.jar
mail.jar
mysql-connector-java-3.1.12-bin.jar
ojdbc14.jar
orai18n.jar
quartz-1.5.1.jar
spring.jar
struts.jar
velocity-1.4.jar
xalan.jar
xercesImpl.jar
xml-apis.jar"

Sure, I can scour the web and find all of those Jar files - but it's a big pain in the rear end... especially considering the fact that the version and origin of the jar file is unspecified. Even after I put the Hibernate jar files in there, it still has errors... etc.

Is there a way to get the jar dependencies in one easy-to-download file? Can someone email them to me at least?

Ryan

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

Post by ud » Wed Sep 20, 2006 8:05 am

Simple solution: Get the binary distribution, there are all JAR files included.

-- ud

olivier.r
Posts: 23
Joined: Tue Aug 29, 2006 8:33 am

Post by olivier.r » Fri Oct 27, 2006 2:53 pm

I tryed to complie OpenEMM in eclipe ... but when I wnat to import the project with the build.xml file ... I have errors related to the class path ...

Here is my build.xml :

jdk.execute=C:\jdk1.5.0_08
jdk.compile=C:\jdk1.5.0_08
jdk.instdir=C:\jdk1.5.0_08
resin.home=C:\resin-3.0.21
resin.path=C:\resin-3.0.21
appname=/OpenEMM
deploydir=C:\resin-3.0.21\webapps
resin.version=3.0.21

olivier.r
Posts: 23
Joined: Tue Aug 29, 2006 8:33 am

Post by olivier.r » Fri Oct 27, 2006 2:58 pm

I have modified my build.xml like this :

jdk.execute=C:\\jdk1.5.0_08
jdk.compile=C:\\jdk1.5.0_08
jdk.instdir=C:\\jdk1.5.0_08
resin.home=C:\\resin-3.0.21
resin.path=C:\\resin-3.0.21
appname=/OpenEMM
deploydir=C:\\resin-3.0.21\\webapps
resin.version=3.0.21


But I still get an error :

Problem setting the classpath of the project from the javac classpath :
Reference c:\resin-3.0.21 not found ...

Can you help me please ??

Thanks ;)

olivier.r
Posts: 23
Joined: Tue Aug 29, 2006 8:33 am

Post by olivier.r » Mon Oct 30, 2006 6:26 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)

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

Post by ud » Tue Oct 31, 2006 10:11 am

Look here http://www.openemm.org/forums/ftopic122.html for further discussion about location of Mailgun.ini.

-- ud

avenitsh
Posts: 3
Joined: Mon Jan 19, 2009 4:39 am

Resin path error

Post by avenitsh » Tue Jan 20, 2009 8:54 am

Have you been able to resolve the resin path error? When I try to build from it will always tell me the reference Resin would not be found, altough I clearly included the right path in the properties file

Post Reply