Java Error (LRUMap max size) on first screen

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

Moderator: moderator

obs
Posts: 8
Joined: Sat Aug 25, 2007 12:27 am

Java Error (LRUMap max size) on first screen

Post by obs » Sat Aug 25, 2007 12:47 am

I really want to have our marketing people use this rather than closed source, but the install isn't going well. I'm running on freebsd 6.2, resin3 , jdk15, 5.5.1 openEMM built from source, and instead of the openemm login page, i get the following.

Code: Select all

Ein Fehler ist aufgetreten
Ursache:	org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'GetArchiveMailing' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Unexpected failure during bean definition parsing; nested exception is java.lang.ExceptionInInitializerError: null
In resin3.log -

Code: Select all

log4j:WARN Please initialize the log4j system properly.
[22:32:00.677] Loading Spring root WebApplicationContext
[22:32:01.838] org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '
GetArchiveMailing' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Unexpected failure durin
g bean definition parsing; nested exception is java.lang.ExceptionInInitializerError: null
[22:32:01.838] java.lang.ExceptionInInitializerError
[22:32:01.838]  at java.lang.Class.forName0(Native Method)
[22:32:01.838]  at java.lang.Class.forName(Class.java:242)
.....
[22:32:01.838] Caused by: java.lang.IllegalArgumentException: LRUMap max size must be greater than 0
[22:32:01.838]  at org.apache.commons.collections.map.LRUMap.<init>(LRUMap.java:127)
[22:32:01.838]  at org.apache.commons.collections.map.LRUMap.<init>(LRUMap.java:110)
[22:32:01.838]  at org.apache.commons.collections.map.LRUMap.<init>(LRUMap.java:85)
[22:32:01.838]  at org.agnitas.util.TimeoutLRUMap.<init>(TimeoutLRUMap.java:57)
[22:32:01.838]  at org.agnitas.actions.ops.GetArchiveMailing.<clinit>(GetArchiveMailing.java:44)
I checked the jars, all the required ones are in $SRC_HOME/lib/.

obs
Posts: 8
Joined: Sat Aug 25, 2007 12:27 am

Post by obs » Mon Aug 27, 2007 6:49 pm

Wow, what an unholy **** to install.

Under FreeBSD, it requires some additional libraries and editing of the makefiles for the C src to compile correctly. I went with the binary install and replaced the C binaries (which require linux compat) with ones compiled to work on FreeBSD.

Post Reply