Install JDK 6 on Windows 2008 64-bit
Install JBoss AS 6 Final (http://sourceforge.net/projects/jboss/files/JBoss/JBoss-6.0.0.Final)
Compile JRuby application into war with Jruby-1.6.0-RC3
Deploy it to JBoss(copy it to JBOSS_INSTALL_DIR/server/default/deploy)
Start JBOss.
It will throw the following exception:
DEPLOYMENTS IN ERROR:
Deployment "vfs:///C:/abin/jboss-6.0.0.Final/server/default/deploy/scrapple.war" is in error due to the following reason(s): java.lang.reflect.MalformedParameterizedTypeException
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]