I took an existing application that uses AJAX push and updated my icefaces jars to user 1.7.1, previously I used 1.7.0 jars.
On deployment to jboss-4.2.3.GA I get the exception:
com.icesoft.net.messaging.MessageServiceException:
javax.naming.NameNotFoundException:
icefacesContextEventTopic not bound
What steps are needed to go from 1.7.0 to 1.7.1?
Another post referenced creating the topics:
http://www.icefaces.org/JForum/posts/list/9140.page
Full Exception follows:
Code:
17:19:08,171 INFO [JMSAdapter] Server Info: JBossWeb/2.0.1.GA
17:19:08,171 INFO [JMSAdapter] Messaging Properties: jboss_ha.properties, jboss.properties
17:19:08,218 INFO [JMSAdapter] Trying JMS Environment:
java.naming.provider.url = localhost:1100
java.naming.factory.initial = org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs = org.jboss.naming:org.jnp.interfaces
17:19:14,359 ERROR [JMSAdapter] Failed JMS Environment: Could not obtain connection to any of these urls: localhost:1100 and discovery failed with error: javax.
naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
17:19:14,359 INFO [JMSAdapter] Trying JMS Environment:
java.naming.provider.url = localhost:1099
java.naming.factory.initial = org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs = org.jboss.naming:org.jnp.interfaces
17:19:14,421 WARN [MainServlet] Did not start Ajax Push JMS services:
com.icesoft.net.messaging.MessageServiceException: javax.naming.NameNotFoundException: icefacesContextEventTopic not bound
at com.icesoft.net.messaging.jms.JMSAdapter.subscribe(JMSAdapter.java:378)
at com.icesoft.net.messaging.MessageServiceClient.subscribe(MessageServiceClient.java:791)
at com.icesoft.net.messaging.MessageServiceClient.subscribe(MessageServiceClient.java:759)
at com.icesoft.faces.webapp.http.servlet.MainServlet.setUpMessageServiceClient(MainServlet.java:121)
at com.icesoft.faces.webapp.http.servlet.MainServlet.init(MainServlet.java:66)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)