Sheila's Blog

Software Development

Sheila's Blog header image 5

Entries Tagged as 'jboss'

Using Chainsaw to tail your JBoss server log

April 7th, 2009 No Comments

Log4j is a logging library from Apache.  It consists of loggers (log events) and appenders (a destination for a log message).  There’s always a rootLogger defined, plus however many other loggers you require.  A logger can have several appenders attached to it which can format and write the message to the console or a file [...]

Tags:   · · ·

Alfresco Part Two – Deploying Alfresco on JBoss

March 18th, 2009 7 Comments

Steps for deploying Alfresco on a JBoss server.

Tags:   ·

Serving static external content in JBoss

March 10th, 2009 No Comments

To serve external static content in JBoss you need to add a Context element mapping the url eg. /application/test_data to the external folder as follows:
Edit /server/default/deploy/jbossweb-tomcat50.sar/server.xml and add a Context element just under the host tag.
<host name=”localhost”
autoDeploy=”false” deployOnStartup=”false” deployXML=”false”
configClass=”org.jboss.web.tomcat.security.config.JBossContextConfig”>

<Context path=”/app/test_data” appBase=”"
docBase=”C:/test_data”
debug=”99″ reloadable=”true”>
</Context>
Replace C:/test_data with the path to the folder on the server.
Redeploy the application to [...]

Tags: