- W3 Total Cache / WP Super cache (for caching)
- All in one SEO Pack (for SEO optimization)
- Google XML Sitemaps (for SEO optimization)
- SI CAPTCHA Anti-Spam (for spam)
- SyntaxHighlighter Evolve (for syntax highlighint)
Do NOT install PlayOnLinux from the Ubuntu Software Center!
First, install/update some required libraries:
sudo apt-get install debhelper libpq-dev libwxgtk2.8-dev libxml2-dev
Then, update the repo:
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_natty.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
Finally, install PlayOnLinux:
sudo apt-get install playonlinux
1. Use JBoss AS 7, (the one with EVERYTHING), not the Web profile version. The Web profile version doesn’t support Web Services.
2. Open standalone.xml and add the following:
<extension module="org.jboss.as.webservices"/>
and the following:
<subsystem xmlns="urn:jboss:domain:webservices:1.0" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:jaxwsconfig="urn:jboss:jbossws-jaxws-config:4.0"> <wsdl-host> localhost </wsdl-host> <modify-wsdl-address> true </modify-wsdl-address> <endpoint-config> <jaxwsconfig:config-name> Standard-Endpoint-Config </jaxwsconfig:config-name> </endpoint-config> <endpoint-config> <jaxwsconfig:config-name> Recording-Endpoint-Config </jaxwsconfig:config-name> <jaxwsconfig:pre-handler-chains> <javaee:handler-chain> <javaee:protocol-bindings> ##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM </javaee:protocol-bindings> <javaee:handler> <javaee:handler-name> RecordingHandler </javaee:handler-name> <javaee:handler-class> org.jboss.ws.common.invocation.RecordingServerHandler </javaee:handler-class> </javaee:handler> </javaee:handler-chain> </jaxwsconfig:pre-handler-chains> </endpoint-config> </subsystem>
Some links, as reference:
Set the following in JBOSS_AS_7_HOME/standalone/configuration/standalone.xml<interfaces> <interface name="management"> <inet-address value="127.0.0.1"/> </interface> <interface name="public"> <any-address/> </interface> </interfaces>
http://community.jboss.org/thread/169073
https://issues.jboss.org/browse/RF-10978
Edit: they fixed it in version 4.1.0-SNAPSHOT
(from http://javaserverfaces.java.net/nonav/docs/2.0/pdldocs/facelets/f/metadata.html)
In the template.xhtml:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en"> <body> <f:view> <ui:insert name="metadata"/> <div id="container"> <ui:insert name="content"/> </div> </f:view> </body> </html>
In the page:
<ui:composition template="template.xhtml"> <ui:define name="metadata"> <f:metadata> <f:viewParam name="id"/> </f:metadata> </ui:define> <ui:define name="content"> <h1>The big news stories of the day</h1> </ui:define> </ui:composition>
Edd the following to web.xml:
<context-param> <param-name>org.richfaces.enableControlSkinning</param-name> <param-value>false</param-value> </context-param>