[jboss-user] [Installation, Configuration & DEPLOYMENT] - How do you configure JMSAppender in jboss-log4j.xml
do-not-reply at jboss.com
Fri Oct 31 01:52:21 EDT 2008
I am trying to get the JMSAppender in jboss-log4j.xml in JBoss 4.2.3 GA.
I modify the root jboss-log4j.xml and enable JMSAppender as follows:
I add my category as:
When I start the jboss app server, I see the following error:
22:36:50,733 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
log4j error: Error while activating options for appender named [JMS].
javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
Looks like the topic is not ready yet(Which I create on the appserver using a service.xml in deploy/jms directory.
How do I get past this error?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185896#4185896
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185896
More information about the jboss-user