4 Replies Latest reply on Aug 10, 2011 3:02 AM by krranitha

    Address already in use-java.net.BindException

    krranitha

      Hi all,

      While starting the jboss application server , I am getting the error "Port 8083 already in use". But it is not being used by any other services. I have attached the error log. Please help me in solving this. Any help would be appreciated.

        • 1. Re: Address already in use-java.net.BindException
          iabughosh

          change your port to something else ex : 8088, sometimes windwos servieces aquire these ports.

          • 2. Re: Address already in use-java.net.BindException
            krranitha

            Hi,

            Thanks for the quick reply...But i dont know where to change the port address..No where the address is mentioned. When I look for the ports used(using netstat -ao in command prompt), it says that the port 8083 is LISTENING.

            • 3. Re: Address already in use-java.net.BindException
              iabughosh

              open this file :

              ${JBoss_Path}\server\${server}\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml

               

              search for service (jboss:service=WebService),

              change

              <property name="port">8083</property>

              to for ex:

              <property name="port">8088</property>

               

              regards.

              • 4. Re: Address already in use-java.net.BindException
                krranitha

                Hi,

                Thanks. Now when i start my jboss app server from eclipse it is showing some error like

                 

                'Deployment "AttachmentStore" error due to java.lang.IllegalArguementException.Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]'

                 

                Since this is a known error, i tried using the solution as described in https://issues.jboss.org/browse/JBAS-6981.

                 

                But i don't have that bean

                <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
                <constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>

                in profile.xml.

                 

                Without that how can i add java.io.file.?

                 

                When starting the server from command prompt, the previous error 'address already in use' is coming. but while starting from eclipse, i am getting this error.

                 

                Any suggestions please.