提示端口忙:
15:37:05,703 INFO  [ChannelSocket] Port busy 8009 java.net.BindException: Addres
s already in use: JVM_Bind

解决方案 »

  1.   

    1.你的自动启动是指什么呢?如果但是JBoss的话,可能需要在计划任务中写了。
    2.启动显示的是你的JBoss的deploy信息,包括你的test.war。但是你的8009端口似乎有问题,关闭所有可能占用端口的东西。
      

  2.   

    jbooss服务用的不是8080端口吗?和8009有什么关系呢?
      

  3.   

    找到conf文件下的jboss-service.xml,把里面的端口改一下就好了,改一个你现在没有在用的端口好比如7009,试一下看看...
      

  4.   

    <mbean code="org.jboss.web.WebService"
          name="jboss:service=WebService">
          <attribute name="Port">8083</attribute>
          <!-- Should resources and non-EJB classes be downloadable -->
          <attribute name="DownloadServerClasses">true</attribute>
          <attribute name="Host">${jboss.bind.address}</attribute>
          <attribute name="BindAddress">${jboss.bind.address}</attribute>
       </mbean>   <!-- ==================================================================== -->
       <!-- JNDI                                                                 -->
       <!-- ==================================================================== -->   <mbean code="org.jboss.naming.NamingService"
          name="jboss:service=Naming"
          xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
          <!-- The call by value mode. true if all lookups are unmarshalled using
          the caller's TCL, false if in VM lookups return the value by reference.
          -->
          <attribute name="CallByValue">false</attribute>
          <!-- The listening port for the bootstrap JNP service. Set this to -1
            to run the NamingService without the JNP invoker listening port.
          -->
          <attribute name="Port">1099</attribute>
          <!-- The bootstrap JNP server bind address. This also sets the default
          RMI service bind address. Empty == all addresses
           -->
          <attribute name="BindAddress">${jboss.bind.address}</attribute>
          <!-- The port of the RMI naming service, 0 == anonymous -->
          <attribute name="RmiPort">1098</attribute>
          <!-- The RMI service bind address. Empty == all addresses
           -->
          <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
          <!-- The thread pool service used to control the bootstrap lookups -->
          <depends optional-attribute-name="LookupPool"
             proxy-type="attribute">jboss.system:service=ThreadPool</depends>
       </mbean>可以上没有8009端口呀,TOMCAT用的是80。