Start JBoss AS 7.1+
Fix the slf4j module, by editing ${JBOSS_HOME}/modules/org/jboss/logging/main/module.xml and add those two to the dependencies:
<module name="org.apache.log4j"/> <module name="org.slf4j"/>
This might be fixed by JBoss one day, but still for JBoss AS 7.1-Final does not work properly
Build the project with
mvn clean install
And put target/jozi-aws-demo-1-SNAPSHOT.war in '${JBOSS_HOME}/standalone/deployments
Run the server with
./standalone.sh -Dlocal --server-config=standalone-full.xml
Deploy JMS queue with
add-jms-queue --name=JoziJUGQueue --entries=queues/MessageQueue
This will use JPA/JMS services.
Fill in aws.properties and sqs.conf in the resources folder (use .sample files)
Create an empty messages domain in SDB.
Run the server with
./standalone.sh
Go to http://localhost:8080/jozi-aws-demo-1-SNAPSHOT/home/index