Frequently Asked Questions

Having trouble with XSM? maybe the answer is here

XSM says my site generated fine but there are no pages on my server
Gallery and HTML pages fail to upload images
I don't have a java servlet container or access to install one - what can I do?
Can XSM publish to remote servers?

XSM says my site generated fine but there are no pages on my server

Check your webserver permissions or the permissions of the user over FTP / SSH if you are using that.
90% of the time there is no need to look further.

Check the logs if you need a hint of where the permission problem lies

Gallery and HTML pages fail to upload images

Gallery and HTML pages use a thumbnailer to generate the smaller images. On UNIX systems it is possible for the application server to fail to find an XServer to draw on. If this is the case then put

export CATALINA_OPTS='-Djava.awt.headless=true'

in the tomcat startup scripts.
Note: that this only works for Tomcat, if you are using any other servlet container you will need to check their documentation.

I don't have a java servlet container or access to install one - what can I do?

Well, you cannot install XSM :(

BUT - you can use a rectang.com "XSM only" solution. Rectang.com sells XSM accounts with no hosting or anything, all you need is webspace with FTP or SSH support (all servers support one or the other) for uploading the generated site.

Check the Web Hosting page for more details

Can XSM publish to remote servers?

Yes, it can publish over SCP and FTP.

try adding the following configuration to a site's connection.xml

For scp (note that it uses keypairs for authentication - check your ssh documentation:
<xsmconnection type="ssh">
<ssh>
<username>user</username>
<host>hostname</host>
</ssh>
...
</xsmconnection>

and for ftp:
<xsmconnection type="ftp">
<ftp>
<username>user</username>
<password>pass</password>
<host>hostname</host>
</ftp>
...
</xsmconnection>