内蒙古java团队

j2se,j2ee开发组
posts - 139, comments - 212, trackbacks - 0, articles - 65
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

错误片段:
java.lang.Exception: Port 8083 already in use.

        at org.jboss.web.WebServer.start(WebServer.java:221)

        at org.jboss.web.WebService.startService(WebService.java:325)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)

        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)

需要更改:\jboss5\server\default\conf\bootstrap\bindings.xm下的8083改为没有占用端口即可,下面改为8883

 <bean class="org.jboss.services.binding.ServiceBindingMetadata">
               <property name="serviceName">jboss:service=WebService</property>
               <property name="port">8883</property>
            </bean>


只有注册用户登录后才能发表评论。


网站导航: