Antville Project

schedule: most read stories + referrer

Wir hatten Probleme mit den most read stories (alle Counter blieben 0) und den Referrers (es gab keine).

Unsere Lösung:
Antville 1.0 erwartet alle 30 Sekunden einen automatischen Aufruf seiner globalen Funktion scheduler() in der Datei global/objectFunctions.js durch den Helma-Server.

Das cron-Regime des Helma-Servers wurde jedoch offensichtlich von helma-1.2.4-pre1 zu helma-1.2.4 umgestellt, so dass die aufzurufende Funktion (maximal Minutenauflösung) in die antville/app.properties einzutragen ist:

cron.scheduler.function = scheduler
cron.scheduler.minute = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,
47,48,49,50,51,52,53,54,55,56,57,58,59

Danach Helma neustarten und im helma/log/antville_event.log das minütliche update von read-countern und referrer beobachtbar.

Thank you, for this great application!

link  
 

Antville Server

I try to set up an Antville Server on sql.idv.edu for educational purpose. This server will still working for Department of Data Processing in Social Sciences, Economics and Business at the University of Linz. This department offers a course named e-learning. In this course the students are deal with this Weblogger. Up to now I have had a lot of problems to set up the environment for Antville. I hope, that the problems now over.

link  
 

Little problem

Hey nerds,

i keep getting Error in application 'antville':

Error retrieving Node: java.sql.SQLException: Datasource is not defined: antville.

while trying to install antville. I got the newest mysql-connect.jar. Would be very kind if somebody could help me.

link  
 

How to install ANTCLICK with MySQL and Apache

Hi there - this is a beginners question.

I am very interested in setting up antville on my server for testing and maybe more by using the antclick installation. The antclick installation worked well - but I want to switch this to use it with MySQL and Helma embedded into Apache web server. Is there any detailed documentation for this. It is difficult for me to find out the things behind like where to store the infos for the MySQL database and what do I have to do then...

Thank you.

link  
 

another trick (rewriting urls with apache)

it's actually not a trick. i just figured out that you need to load and add the rewrite modul after the jk modul. maybe some of you will need this when they want nice urls for antville with apache.

link  
 

helma, apache and suse, easy

i figured out that it is easier to set up helma and apache on suse 8.4. then described here.

  1. follow item 2 und 3 from here
  2. edit /etc/httpd/modules/tomcat such that the last line reads
    Include:/[path/to]/jk/mod_jk.conf
  3. use yast to configure your server to use tomcat. (remark: of course, you don't use tomcat. this setting only puts this file into the apache config file.)

that's it. make sure you define the mountpoint for antville to the path /helma or whatever you define in mod_jk.conf.

Addition:

  1. If you want to use rewrite rules for nice url, move the line
    LoadModule rewrite_module /usr/lib/apache/mod_rewrite.so
    after
    Include /etc/httpd/suse_loadmodule.conf
    and the line
    AddModule mod_rewrite.c
    after
    Include /etc/httpd/suse_addmodule.conf
there is only one problem: for some reason the css and js cannot be found. looks like the css and js macro do not take the mountpoint into account.

link  
 

update to apache, helma, mod_jk

this how-to document is outdated. here is what i did (on mac os x).

  1. get precompiled mod_jk from here. the latest version is 1.2.2. make sure you download the one for your appache version and configuration
  2. points 1., 2., 3. and 4. as in said document. if necessary change the access rights for mod_jk.so
  3. additionally add a line AddModule mod_jk.c further down in the httpd.conf
  4. change to mountpoint for antville in apps.properties to match the one specified in mod_jk.conf. i.e. if you use tobi's setting then it is antville.mountpoint = /helma
  5. uncomment the line AJP13_PORT=8009 in your hop.sh. you may or may not want (un)comment the other ports
  6. restart apache. if you messed something up you will get an error
  7. start helma and try localhost with "/" at the end and you should see your antville main page

link  
 

The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 6374 Days
last updated: 1/4/11 10:22 AM
status
Youre not logged in ... Login
menu
December 2018
SunMonTueWedThuFriSat
1
2345678
9101112131415
16171819202122
23242526272829
3031
July
recent
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03 7:14 PM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher