Re: [Freeswitch-users] Question on using java_mod

2008-11-10 Thread I Ki
Ah, so I should not compile the PhoneTest.java to PhoneTest.class only but jar-file instead? This is what I did: - verified my classpath in the java.conf.xml: - my PhoneTest.class is located in /usr/local/freeswitch/script - directory, same as where freeswitch.jar is located - I created Ph

Re: [Freeswitch-users] Question on using java_mod

2008-11-10 Thread damjan
No, not the path to *freeswitch.jar*, use the path to *your* JAR containing the class. Bye Damjan > > Thanks Klaus, > > Tried that as well, if I use a full path for PhoneTest then I get same > error as earlier. > > If I call only PhoneTest without any path > (/usr/local/freeswitch/scripts/freeswi

Re: [Freeswitch-users] Question on using java_mod

2008-11-10 Thread Klaus Teller
tum: Mon, 10 Nov 2008 21:16:37 +0800 > Von: I Ki <[EMAIL PROTECTED]> > An: freeswitch-users@lists.freeswitch.org > Betreff: Re: [Freeswitch-users] Question on using java_mod > > Thanks Klaus, > > Tried that as well, if I use a full path for PhoneTest then I get same

Re: [Freeswitch-users] Question on using java_mod

2008-11-10 Thread I Ki
Thanks Klaus, Tried that as well, if I use a full path for PhoneTest then I get same error as earlier. If I call only PhoneTest without any path (/usr/local/freeswitch/scripts/freeswitch.jar PhoneTest arg1 arg2..) then I get: Exception in thread "Thread-2" java.lang.ClassNotFoundException:

Re: [Freeswitch-users] Question on using java_mod

2008-11-09 Thread Klaus Teller
h.org > Betreff: [Freeswitch-users] Question on using java_mod > > Hey, > > I've been testing the usage of mod_java and reading Freeswitch > documentation but been having some problems which I think might even be > something very > simple which I've missed. Hope

[Freeswitch-users] Question on using java_mod

2008-11-09 Thread I Ki
Hey, I've been testing the usage of mod_java and reading Freeswitch documentation but been having some problems which I think might even be something very simple which I've missed. Hope some could give a hint.. mod_java installation has gone through successfully and mod_java.so is compiled an