> > I've followed the steps on getting-started, and I had to skip unit
> > tests on both xmpp4j and soashable. Each failed with a single Null
> > pointer error.
>
> Can you include the failure traces? I believe 'mvn -e -X test' will give the
> details.
for xmpp4j I ran the -e -X test, and I see the problem:
Fri May 09 00:58:53 PDT 2008: StandaloneTest: launching c:/program
files/Mozilla Firefox/firefox.exe
java.io.IOException: java.io.IOException: c:/program files/Mozilla
Firefox/firefox.exe: not found
I'm on Ubuntu Hardy Heron, so the hard-coded firefox path is failing.
Doing the same for soashable: (and got the same results)
Fri May 09 01:00:43 PDT 2008: StandaloneTest: launching c:/program
files/Mozilla Firefox/firefox.exe
java.io.IOException: java.io.IOException: c:/program files/Mozilla
Firefox/firefox.exe: not found
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> > So after watching tons of maven download messages, I have a working
> > soashable on my machine, but I have no idea what to do next.
>
> Were there any rough spots aside from the test failures, or details you
> think would have been helpful to include? I definitely want to make it as
> easy as possible for people not familiar with Maven.
I wouldn't mind if there was a paragraph or two that helped me
understand why
maven at all? Javascript is supposed to not need a build. Now that I
went through
the process, I see that Maven downloads lots of dependancies and puts
it into
my ~/.m2/repository/ path . It seems most of them have to do with the
server
setup that you have to demonstrate soashable.
As someone who may end up having to get comfortable with the whole
process
it seems very 'black box' or magical. The good news is that it works
though!
So now, if I modify soashable.js, am I going to have to use maven to
'rebuild'
anything? I couldn't say for certain, because I don't understand what
the build
really does.
> I think it's configured to
soashable.com:5222 in Soashable.js. Not ideal,
> but it is what it is ;].
Cool, I try pointing that to my server.
> In its current state I think it can be run off any web server, but there is
> some stuff that won't work like the TokBox API (A/V Chat) because it is
> powered by a Servlet. The lowest recommendation for upgradability I can make
> is any Servlet container, including Jetty.
Ok. I don't anticipate wanting A/V chat for a long time, and part of
me wants
to see if I can port the servlet to Python... eventually.
> The current approach is really limited by the fact that it ties up threads
> if you're connecting straight to the Servlet port, and Threads + Apache
> processes if you're connecting through mod_jk.
I've run into that before... I remember something about 80 being the
magic
max number of sockets (or open files of any type) in the past.
> I recommend the non-mod_jk approach simply because static content is such a
> small part of this app that the added complexity and overhead isn't worth
> the small potential performance gain; Jetty is also very fast.
Jetty does rock. I used it to create something like Google maps
once...
> One thing that I have been investigating for a while is the use of Jive
> Software's Connection Manager servlet . I've been posting my findings in the
> issuehttp://
code.google.com/p/soashable/issues/detail?id=48. This uses
> Jetty Continuations which claims ability to hold a mammoth amount of
> long-running connections using very few resources.
I've heard that a project called Comet is supposed to address this
too.
> If you have time to spare, I'd love if you could continue on the line of
> exploration I've started in this issue.
Will do.
> > I've got OpenFire's bridge installed, but not configured. I want to
> > set it up to bridge to at least AIM initially... are there any
> > configuration details that soashable needs?
>
> There's nothing special, but I believe like the hard-coding of
soashable.com,
>
aim.soashable.com is hard coded into Soashable.js and maybe a few other
> places as well. The same issue applies where I'd like to strip all of that
> out into a properties file.
Would I point that to openfire's 5222 port? What is the openfire
equivalent of
aim.soashable.com?
Thanks again!