2009-09-21:
[11:53] <ryah> how do i get a hello world server going?[12:07] <ryah> more importantly how do i compile it?[12:08] <ryah> http://helma.org/download/installation/ <-- not working[12:17] <simono> hi what error do you get?[12:17] <simono> ant jar should do the job[12:17] <ryah> lots of errors[12:17] <ryah> [javac] symbol : class HttpServletRequest[12:17] <ryah> [javac] location: class helma.servlet.AbstractServletClient[12:17] <ryah> [javac] void sendForward(HttpServletResponse res, HttpServletRequest req,[12:17] <ryah> [javac] ^[12:17] <ryah> for example[12:17] <simono> you downloaded 1.6 and did ant jar?[12:18] <ryah> yes[12:18] <ryah> are there installation instructions somewhere?[12:18] <ryah> or do i need a certain package?[12:18] <simono> there is README.txt .. i'm checking why the wikilink is not working[12:19] <simono> java 1.4+ should be all you need[12:19] <ryah> where's the readme?[12:20] <ryah> cloth 1 ~/src/helma-1.6.3 > javacc | head -n1[12:20] <ryah> Java Compiler Compiler Version 4.1d1 (Parser Generator)[12:20] <ryah> tails.[12:20] <ryah> cloth 0 ~/src/helma-1.6.3 > java -version[12:20] <ryah> java version "1.6.0_0"[12:20] <simono> README is in helma-dir toplevel[12:21] <ryah> uh.. no i don't think os[12:22] <simono> if you downloaded 1.6 package from here http://dev.helma.org/download/[12:22] <simono> then ./start.sh should start up helma[12:22] <ryah> cloth 0 ~/src > md5sum helma-1.6.3-src.tar.gz[12:22] <ryah> ad8dea492dc1147ff17ec07cc74aead5 helma-1.6.3-src.tar.gz[12:22] <simono> src package okay[12:23] <ryah> ah okay[12:23] <simono> if src package build doesnt work, i can't help you. why not try the non-src and just do ./start.sh?[12:24] <ryah> yeah, the non-src package works[12:24] <ryah> thanks[12:24] <simono> ok[12:24] <ryah> how can i get a very simple server going that just returns "hello world" to every request?[12:30] <simono> hold on, there should be a simple app in the package *looking*[12:32] <simono> this should get you started[12:32] <simono> or look at welcome-app that is in the package and try dissecting that[12:32] <simono> http://helma.org/Documentation/Object-Relational%20Mapping%20Tutorial/[12:36] <simono> minimal helloworld app http://helma.pastebin.com/d5909eecf[12:36] <simono> beware didn't test code[12:37] <simono> fixed http://helma.pastebin.com/f1d786c9[12:39] <ryah> i keep getting Exception in thread "welcome-1" java.lang.IllegalStateException: Calling Context.exit without previous Context.enter[12:40] <ryah> oh wait[12:41] <ryah> i had app.properties instead of apps.properties[12:41] <ryah> yeah but now i'm getting "Exception in thread "helloworld-1" java.lang.IllegalStateException: Calling Context.exit without previous Context.enter[12:41] <ryah> hmm.. i must be doing something wrong[12:41] <simono> strange error, restart helma?[12:42] <simono> maybe this problem http://groups.google.com/group/helma/browse_thread/thread/0463622049ed684b[12:42] <simono> easy fix[12:43] <ryah> ah just remove the rhino.jar in the helma dir?[12:44] <simono> this problem is only with openjdk[12:44] <simono> if that's it, then remove the symlink here /usr/lib/jvm/java-6-openjdk/jre/lib[12:45] <simono> sun's jdk doesnt have that problem[12:45] <simono> *not* remove the rhino.jar in helma-dir :)[12:45] <ryah> okay! got it thanks :)[12:46] <ryah> oh wait. i'm getting 404 when i request /[12:46] <ryah> oh[12:46] <ryah> okay /helloworld[12:46] <ryah> !![12:46] <ryah> great[12:50] <simono> :)
In the channel now:
Logs by date: