Home > Java > Atmosphere 1.0 – Chat example – JBoss 5.1.0

Atmosphere 1.0 – Chat example – JBoss 5.1.0

September 10, 2012 Leave a comment Go to comments

I’ve recently tested Atmosphere 1.0 Chat example with JBoss EAP 5.1.0 (Windows 7 – 64bit).

Here the changes I did in order to get it working:

web.xml – Removed <async-supported>true</async-supported> from servlet declaration

web.xml – Replaced existing web-app declaration with:
<web-app version=”2.5? xmlns=”http://java.sun.com/xml/ns/javaee”
xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd“&gt;

NB: in order to make sure an XSD URL (Example: http://java.sun.com/xml/ns/javaee/web-app_2_5.xs) is valid, simply try to open this URL using your preferred browser. If you have a 404 page, the XSD URL is invalid, otherwise, if the an XSD file is opened (or displayed for download in some browsers), so the XSD URL is good.

Copied jboss-native-2.0.9-windows-x64-ssl\bin\native to jboss-as\bin

<category name=”org.apache.catalina.core”>
<priority value=”DEBUG”/>



Removed the following files from war archive:
context.xml (2x)

Updated jboss-as\server\default\deployers\jbossweb.deployer\web.xml

Commented the following entries


<description>JSF standard tlds</description>

NB: Make sure you’ve downloaded the appropriate JBoss Native for your OS.
Activating org.apache.catalina.core log category will help you to identify the best suitable JBoss Native version.
Please take a look at the eventual errors during JBoss startup.

More info about Atmosphere 1.0

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: