Hopbot log for 2008-06-14 - Helma IRC channel: #helma on irc.freenode.net

2008-06-14:

[15:55] <Helma2> hey guys - anyone alive around here?
[15:57] <jkridner> hi
[15:58] <jkridner> looks like I'm not the only one to discover the pjirc interface.
[15:58] <jkridner> I'm planning to integrate something similar into my helma-based site.
[15:58] <Helma2> :) tried changing my nick with /nick - but no worky
[15:59] <Jonathan1233> ah now it works
[15:59] <jkridner> hmmm. that disa...
[15:59] <jkridner> ah ha!
[15:59] <Jonathan1233> I just launched a new site made with helma last week: http://www.metropolism.com
[16:07] <Jonathan1233> ahh I had a question to ask, but as always, by formulating it I solved it myself : )
[16:55] <Helma8> hi
[16:57] <Jonathan1233> hey there
[16:59] <Helma8> hi jonathan, i have a question about installing antville on helma, can you maybe help me?
[16:59] <Jonathan1233> sorry - never installed antville..
[16:59] <Helma8> okay...
[16:59] <Helma8> nevermind, thx
[17:00] <Helma8> but you are helma user right?
[17:01] <Jonathan1233> yes I am - if you have any specific questions, just shoot - and I'll see if I can help you
[17:03] <Helma8> okay, i?m running helma on mac osx leopard with mod_jk through apache
[17:03] <Helma8> but since a few days apache won?t start anymore with the mod_jk module loaded
[17:03] <Jonathan1233> did you update to leopard recently?
[17:04] <Jonathan1233> I mean, did it stop working when you upgraded?
[17:04] <Helma8> no it was leopard out of the box
[17:04] <Jonathan1233> did you check the apache logs?
[17:04] <Helma8> yes i?ll paste them, just a sec
[17:06] <Helma8> Invalid command 'AddModule', perhaps misspelled or defined
[17:06] <Helma8> by a module not included in the server configuration
[17:07] <Jonathan1233> hmmmm
[17:07] <Helma8> it points on the httpd.conf
[17:07] <Jonathan1233> just checking my httpd.conf
[17:07] <Helma8> thx
[17:08] <Jonathan1233> hmm I'm using LoadModule: LoadModule jk_module libexec/apache2/mod_jk.so
[17:08] <Helma8> okay and I?m using LoadModule jk_module libexec/mod_jk.so
[17:09] <Helma8> is your mod_jk in the modules folder?
[17:09] <Helma8> or in the libexec?
[17:09] <Helma8> but the funny thing is, helma is running when i?m starting it
[17:09] <Helma8> without apache
[17:10] <Helma8> or is it supposed to be like that
[17:10] <Jonathan1233> yeah mod_jk is only the bridge between apache and helma
[17:10] <Helma8> ah okay, so it?s actually okay
[17:10] <Helma8> just with the minus that apache isn?t working anymore
[17:10] <Jonathan1233> try http://localhost:8080/
[17:10] <Helma8> yes it?s running anyway
[17:11] <Helma8> so that?s alright
[17:11] <Jonathan1233> and AddModule is nowhere in your httpd.conf?
[17:11] <Helma8> seeing the welcome screen of helma, but antville doesnt want to work
[17:11] <Helma8> yeah it is inside already
[17:12] <Helma8> AddModule mod_jk.c
[17:12] <Helma8> workers.properties is alright too
[17:12] <Helma8> everything fine thx
[17:13] <Jonathan1233> okay
[17:13] <Helma8> but the thing i don?t understand is the installation of antville
[17:13] <Helma8> got helma 1.6.2 and antville 1.1.1
[17:13] <Jonathan1233> I've never tried antville.. isn't it just an app within helma?
[17:13] <Helma8> and all i get is "Error in application antville"
[17:13] <Helma8> Action not found
[17:13] <Jonathan1233> does it say which action?
[17:13] <Helma8> no just like that "Action not found"
[17:14] <Helma8> so it seems something is missing
[17:14] <Helma8> but the application appears in localhost:8080/manage
[17:14] <Helma8> don?t understand it
[17:15] <Jonathan1233> aha - that means antville isn't running
[17:15] <Jonathan1233> check apps.properties
[17:15] <Helma8> i first thought i have to add repositories for antville
[17:15] <Jonathan1233> is antville defined in there?
[17:15] <Helma8> yeah
[17:15] <Helma8> i defined it there
[17:15] <Helma8> also added a mountpoint and so on
[17:16] <Helma8> can?t understand
[17:16] <Jonathan1233> hmmm
[17:18] <Helma8> but one thing is a bit confusing
[17:19] <Helma8> how does helma know that it has to start in the antville/code/ directory?
[17:19] <Helma8> if no repositories have to be added
[17:19] <Jonathan1233> I just quickly downloaded antville
[17:19] <Jonathan1233> in the apps.properties file it has the following:
[17:19] <Jonathan1233> ## mount antville at root
[17:19] <Jonathan1233> wops - pasting doesn't work
[17:20] <Jonathan1233> ## mount antville at root
[17:20] <Jonathan1233> antville
[17:20] <Jonathan1233> antville.mountpoint = /
[17:20] <Jonathan1233> antville.appdir = apps/antville/code
[17:20] <Jonathan1233> so its finding the code through .appdir
[17:22] <Jonathan1233> the full apps.properties: http://helma.pastebin.com/f2931c537
[17:24] <Helma8> hmm
[17:24] <Helma8> i tried all that already =(
[17:25] <Helma8> now it says Error in application antville
[17:26] <Jonathan1233> check the logs to see what the error is?
[17:26] <Jonathan1233> btw AddModule was removed from Apache 2.0 - taking it out from your httpd.conf might solve your problems
[17:27] <Helma8> ah okay i?ll try it right now
[17:27] <Jonathan1233> LoadModule jk_module libexec/apache2/mod_jk.so
[17:27] <Jonathan1233> should be all you need
[17:29] <Helma8> is your mod_jk.so file in the libexec dir or in the modules dir of apache?
[17:30] <Jonathan1233> its in libexec/apache2/mod_jk.so
[17:30] <Jonathan1233> afaik - let me double check
[17:30] <Helma8> and is it named mod_jk.so or mod_jk-1.2.25-httpd-2.2.4.so
[17:30] <Jonathan1233> named mod_jk.so
[17:30] <Helma8> ok
[17:32] <Helma8> hmm
[17:32] <Helma8> if i delete the AddModule string it says "error in etc/hosts"
[17:32] <Helma8> lol
[17:33] <Jonathan1233> haha - well then it solved one error, and revealed another
[17:34] <Jonathan1233> open it and see whats there
[17:34] <Helma8> i don?t have any etc/hosts
[17:34] <Helma8> hmmm
[17:34] <Jonathan1233> you don't? strange
[17:35] <Jonathan1233> are you sure?
[17:35] <Helma8> no... sure
[17:36] <Jonathan1233> hrm.. well you ought to : )
[17:37] <Helma8> yeah hehe
[17:37] <Helma8> but that?s actually not the great problem
[17:37] <Helma8> as long as helma is running right now
[17:37] <Jonathan1233> true
[17:37] <Jonathan1233> did you check the logs to see what the error in antsville is?
[17:38] <Helma8> ah good idea
[17:38] <Helma8> ill do right now
[17:38] <Jonathan1233> in the log dir in your helma folder
[17:39] <Jonathan1233> probably something like helma.antville.event.log
[17:40] <Helma8> [ERROR] null: helma.scripting.ScriptingException:
[17:40] <Helma8> Wrapped java.lang.RuntimeException: Error retrieving Node (/Applications/xampp/helma-1.6.2/apps/antville/code/Root/objectFunctions.js#171)
[17:41] <Helma8> ions.js#171)
[17:41] <Jonathan1233> use http://helma.pastebin.com/
[17:41] <Jonathan1233> Error retrieving Node usually is a mysql error
[17:42] <Helma8> okay
[17:43] <Helma8> http://helma.pastebin.com/d7d79561e
[17:43] <Helma8> you are right
[17:45] <Jonathan1233> okay check the db.properties file in the code directory
[17:46] <Helma8> antville.url = jdbc:mysql://localhost/antville
[17:46] <Helma8> and more lines for user and password
[17:46] <Jonathan1233> sure that the user and pass are working?
[17:47] <Helma8> yeah both standard: antville and antville
[17:47] <Helma8> i already imported the antville sql tables and so on
[17:47] <Jonathan1233> what does it say under antville.driver?
[17:47] <Helma8> in mysql database
[17:47] <Helma8> antville.driver = org.gjt.mm.mysql.Driver
[17:47] <Helma8> and mysql is started
[17:48] <Jonathan1233> try upgrading your mysql connector
[17:48] <Helma8> the jdbc
[17:48] <Helma8> ?
[17:49] <Jonathan1233> in helma/lib/ext/
[17:49] <Helma8> yeah
[17:49] <Jonathan1233> I have mysql-connector-java-5.1.5-bin.jar
[17:49] <Helma8> okay. just a moment
[17:50] <Jonathan1233> I seem to remember having the same problem, and upgrading the mysql connector solving it
[17:51] <Helma8> okay, i will restart helma
[17:51] <Jonathan1233> did you update the mysql-connector?
[17:51] <Helma8> yes
[17:51] <Helma8> downloaded it
[17:51] <Jonathan1233> ok cool
[17:51] <Helma8> and inserted it
[17:52] <Helma8> and it loaded
[17:52] <Helma8> Adding to classpath: /Applications/xampp/helma-1.6.2/lib/ext/mysql-connector-java-5.1.6-bin.jar
[17:52] <Helma8> sorry pasted 2 times
[17:52] <Jonathan1233> okay - still recieving the same error?
[17:52] <Helma8> yes =(
[17:53] <Jonathan1233> gahhhhh
[17:53] <Jonathan1233> ahhh I think I might know whats going wrong
[17:53] <Helma8> is this the right url?
[17:53] <Helma8> antville.url = jdbc:mysql://localhost/antville
[17:53] <Helma8> i read something about:
[17:53] <Jonathan1233> well localhost is defined in the hosts file
[17:53] <Jonathan1233> which you're missing
[17:54] <Helma8> Antville comes with two templates for db.properties, one for MySQL
[17:54] <Jonathan1233> let me make a copy of my hosts file for you
[17:55] <Jonathan1233> https://dl.getdropbox.com/u/31703/hosts
[17:56] <Jonathan1233> weird that you're missing it though
[17:56] <Jonathan1233> (the file)
[17:58] <Helma8> okay
[17:59] <Helma8> so ill put it in etc/hosts
[17:59] <Helma8> thank you for the file
[17:59] <Jonathan1233> yep
[17:59] <Jonathan1233> not sure if you need to give the file special permissions..
[17:59] <Jonathan1233> throw it in and see what happens : )
[18:00] <Helma8> okay
[18:00] <Jonathan1233> when I get info on it:
[18:00] <Jonathan1233> admin can read & write
[18:01] <Jonathan1233> wheel can read only
[18:01] <Jonathan1233> and 'everyone' can read only
[18:01] <Helma8> are you on mac actually?
[18:01] <Jonathan1233> yeah leopard too
[18:01] <Helma8> ah okay cool
[18:03] <Helma8> so apache should start with no errors now right
[18:04] <Helma8> but still the same, i dont get it anymore
[18:04] <Helma8> i try to kill all processes
[18:04] <Helma8> in activity monitor
[18:04] <Jonathan1233> you might need to reboot/logout
[18:05] <Helma8> okay
[18:06] <Helma8> jonathan i openend a private chat

 

 

In the channel now:

Logs by date: