0 Replies Latest reply on Sep 12, 2007 4:42 AM by LeQuoc Thai

    Need some helps !!!

    LeQuoc Thai Novice

      Hi all!
      I were posted my problem but not solved! I read article:
      http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jSocketServer

      I were configured JBoss Server inside conf/jboss-service.xml.
      So, on the client side, I not need add log4j.xml and I can edit file log4j.xml inside conf/log4j.xml ?

      <appender name="MY_SOCKET" class="org.apache.log4j.net.SocketAppender">
       <!--<param name="Port" value="18770"/>.-->
       <param name="Port" value="15000"/>
       <param name="RemoteHost" value="mymachine"/>
       <param name="ReconnectionDelay" value="30000"/>
       <param name="Threshold" value="INFO"/>
      </appender>


      But when I restart JBoss server, I received some errors:
      log4j:ERROR Could not connect to remote log4j server at [pc6.duongtadi.com]. We
      will try again later.
      java.net.ConnectException: Connection refused: connect


      Please guid to me.