-
1. Re: Address already in use-java.net.BindException
iabughosh Aug 9, 2011 7:09 AM (in response to krranitha)change your port to something else ex : 8088, sometimes windwos servieces aquire these ports.
-
2. Re: Address already in use-java.net.BindException
krranitha Aug 9, 2011 7:13 AM (in response to iabughosh)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 Aug 9, 2011 7:28 AM (in response to krranitha)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 Aug 10, 2011 3:02 AM (in response to 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.