I think that I overstated my case in the warn.log, please ignore it. I had tried to substitute the old web.xml to see if that alone would serve up resources from the resources/spank directory. When I put back the web.xml, I just get 2008.02.12 14:36:57 Error parsing user request. http://127.0.0.1. I am still stuck though, trying to use http bind.
So I got openfire debugging in eclipse! I come to HttpBindServlet in doPost. I trace into the parsing of my request and I see “could not determine namespace bound to attribute prefix xmpp (position: START_DOCUMENT seen …26c093’ ver=‘1.6’ xmpp:xmlns=‘urn:xmpp:xbosh’ xmpp:version=‘1.0’/>… @1:211)” is the cause of my problem. It would have been nice if the e.cause.detailMessage had of been in the log. It appears that my request body is being formed incorrectly. I was using jsjac-1.2.2 in rhino to create my request. If I ever get this to work, I am going to add a client to my source tree, and submit it. This http-bind stuff seems to be a little tricky to get going.
I finally got my http-bind to do the Romeo and Juliet example from the specs. Turns out that I needed a fix that BenV submitted for policy-violations on non-polling connections.
I found that I could test my javascript code using rhino and John
Resig’s env.js. I attached, to that other thread, the fixes that I made to env.js as well
as a slightly fixed crypt.js from jsjac and my own javascript code for my
HttpClientConnection.js and a test script BOSH.js that does the Romeo
and Juliet scene from the specifications. Hopefully this is as helpful