Now, when I bring up this jboss server, not neccessarily will the myhost.mydomain.com be listening on port 1099. There are times where it could be down. However, if this myhost.mydomain.com is down, then my jboss server will fail to deploy correctly reporting a " javax.naming.CommunicationException: Failed to connect to server myhost.mydomain.com:1099[Root exception is java.net.ConnectException: Connection refused]]
How can I make it so that when my jboss server is starting up, and when it comes accross the JMS entry above in the jboss-log4j, it ignores it until that server myhost.mydomain.com:1099 is up? Any ideas?
I appreciate your response. I definitely want to look further into your suggestion. I am just afraid I have never explored writing custom appenders in jboss. Can you provide me with an example or some kind of link where I can look further into this?