This is driving me nuts. Any suggestions or guidance is appreciated.
I have the following config:
Linux
Java 1.5.0_13 and 1.6.0.03
Jetty 6.1.6 and 6.1.7
MySql 5.0.44
xwiki-enterprise-web-1.2-rc-3.war
xwiki-enterprise-wiki-1.2-rc-3.xar
Firefox 2.0.0.11
I can verify that Jetty runs properly by deploying a couple other
webapps to it. I can verify that the xwiki war is good. I can verify
that my MySQL works.
In fact I can follow the installation instructions for Tomcat+MySQL
(Tomcat v6) and everything works fine.
However, when I run the same installation procedure in Jetty I see the
app come up, but I can't keep my user cookies (superadmin activated) to
do anything useful. There is no logout in upper right and I have no
ability to edit the wiki via the upper left menu (I can only show). I
do not have permissions to do many actions and after uploading the web
wiki xar I have no Admin rights, no ability to see that I'm logged in,
etc...
I've tried this on two separate Linux machines with every combination
available with same results.
The logs show....:
241 [main] INFO org.mortbay.log - jetty-6.1.7
389 [main] WARN org.mortbay.log - Unknown realm: Test JAAS Realm
2407 [main] INFO /xwiki - Loading plexus context properties from:
'/WEB-INF/plexus.properties'
2410 [main] INFO /xwiki - Initializing Plexus.
2410 [main] INFO /xwiki - resource =
file:/home/slynn/tools/jetty-6.1.7/webapps/xwiki/WEB-INF/plexus.xml
2677 [main] INFO /xwiki - Plexus initialized.
3472 [main] INFO org.mortbay.log - Opened
/home/slynn/tools/jetty-6.1.7/logs/2008_01_10.request.log
3508 [main] INFO org.mortbay.log - Started
SelectChannelConnector@0.0.0.0:8080
10258 [btpool0-7] WARN org.apache.struts.util.RequestUtils - No
FormBeanConfig found under 'view'
10502 [btpool0-7] INFO com.xpn.xwiki.cache.impl.OSCacheService -
Initializing OSCacheService
...etc...
on jetty startup and then a ton of the struts FormBeanConfig WARNINGS
below for view and skin:
18421 [btpool0-7] INFO com.xpn.xwiki.store.DBCPConnectionProvider -
active: 0 (max: 50) idle: 1(max: 5)
18516 [btpool0-6] WARN org.apache.struts.util.RequestUtils - No
FormBeanConfig found under 'skin'
18520 [btpool0-6] WARN org.apache.struts.util.RequestUtils - No
FormBeanConfig found under 'skin'
18520 [btpool0-7] WARN org.apache.struts.util.RequestUtils - No
FormBeanConfig found under 'skin'
18525 [btpool0-6] WARN org.apache.struts.util.RequestUtils - No
FormBeanConfig found under 'skin'
18525 [btpool0-7] WARN org.apache.struts.util.RequestUtils - No
FormBeanConfig found under 'skin'
18526 [btpool0-7] INFO com.xpn.xwiki.web.SkinAction - Skin file
'/skins/albatross/table.css' does not exist
I see no other WARNING's in the logs except the struts form bean
configs. I also imagine that the skin file errors are caused by struts
misconfigurations as well.
Hope I've provided enough information - the log file is very long. I
believe Jetty 6 doesn't like the struts configuration, but am out of
ideas about how to go further.
Thanks,
Sean