Import https://github.com/seam2/jboss-seam/tree/Seam_2_3/examples/remoting/chatroom
1. Add the missing namespaces to the /chatroom-web/src/main/webapp/WEB-INF/components.xml:
<?xml version="1.0" encoding="UTF-8"?> <components xmlns="http://jboss.org/schema/seam/components" xmlns:cache="http://jboss.org/schema/seam/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://jboss.org/schema/seam/cache http://jboss.org/schema/seam/cache-2.3.xsd http://jboss.org/schema/seam/components http://jboss.org/schema/seam/components-2.3.xsd"> ...
2. Project Setting (for chatroom-ejb project) -> Seam Settings and set chatroom-web as a Main Seam project
3. Re-build chatroom-ejb and chatroom-web projects
Unknown context variable name: "topicPublisher" ChatRoomAction.java /chatroom-ejb/src/main/java/org/jboss/seam/example/remoting/chatroom line 26 Seam Problem