more wiki embedding



Hi,

I got a bit farther on the wiki embedding.  The workaround for the
xmlhttprequest same-site policy issue was to use mod_jk to make the
yarrr tomcat accessible at localhost:80/yarrr instead of port 8080.

You can "yum install mod_jk", copy
the /usr/share/doc/mod_jk-1.2.6/mod_jk.conf.sample to /etc/httpd/conf.d,
and add a line:

JkMount /yarrr/* ajp13

Then copy /usr/share/doc/mod_jk-1.2.6/workers.conf.sample to
e.g. /etc/httpd, and edit these variables appropriately:
workers.tomcat_home=/opt/tomcat/jakarta-tomcat-5.5.7/
workers.java_home=/usr/java/jdk1.5.0_01/

Anyways, I'm a bit stuck now; I'm getting a NullPointerException in the
getPollURL call; this appears to be because the Person context isn't
setup inside YarrrServlet.  My guess is this is because the cookies
aren't being passed along?  Or maybe the connector requests happen in
another thread?  Not sure.


PNG image



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]