Regards,<br />Roshani
Regards,<br />Roshani
Regards,<br />Roshani
Originally posted by Mark Spritzler:
Unfortunately, I do not use Eclipse, or try to avoid is as much as possible.
Mark
Praveen Munagapaty wrote:
..\jboss-6.0.0.M2\jboss-6.0.0.20100216-M2\server\default\deploy\bindings-jboss-beans.xml
Praveen Munagapaty wrote:
Do <server-name> stand for jbossweb-standalone as I find only tht folder other than all, default, minimum, standard. If so the changes in that xml didn't turn out.
gourav chouhan wrote:hi
To change port number from 8080 to something else.you need to change the port number from server.xml file. Now location of server.xml file is C:\jboss-5.0.0.GA\server\default\deploy\jbossweb.sar if Jboss is installed in c drive. Then remove jboss from netbeans and again add to netbeans...Now it will show the changed port.
Peter Johnson wrote:
gourav chouhan wrote:hi
To change port number from 8080 to something else.you need to change the port number from server.xml file. Now location of server.xml file is C:\jboss-5.0.0.GA\server\default\deploy\jbossweb.sar if Jboss is installed in c drive. Then remove jboss from netbeans and again add to netbeans...Now it will show the changed port.
Gourav, two points:
a) Changing the port number in server.xml is not the right thing to do (see my earlier post)
b) You provide a location in JBoss AS 5. You are aware that this current discussion is about JBoss AS 6, right?
gourav chouhan wrote:
but if it is not the right way then can you please give me correct way
praneel shah wrote:use 8090 port no
Peter Johnson wrote:Do not change the server.xml file - thep roper way to change the ports used by JBoss AS 5.0.x (or 5.1.x) is to edit the server/xxx/conf/bootstrap/bindings.xml file. (Based on the log entries you posted, I suspect that you edited the wrong server.xml file.)
To change the ports that Eclipse uses to monitor JBoss AS (for example, to tell when it has started, and to shut it down), modify the jboss5.serverdef file.
Both files must agree as to the ports used or else Eclipse cannot determine if the app server has started, and will be unable to stop the app server.
Kalyan Kamepalli wrote:
I use JBOSS 4.0.3SP1 and I changed server.xml to new port and it worked fine. from your posts, I can see that
that's not the rite way to do it. As you said, I tried to find serverdef. But, I couldn't find it. What would be the reason
for that ? Is there a serverdef file in 4.0.3SP1 ??
BTW, I do not use any IDEs. I start server from run command.
I don't have any issues with AS working with that change in server.xml. But, I want to know the proper way to do it.
Jaikiran Pai wrote:
Kalyan Kamepalli wrote:
I use JBOSS 4.0.3SP1 and I changed server.xml to new port and it worked fine. from your posts, I can see that
that's not the rite way to do it. As you said, I tried to find serverdef. But, I couldn't find it. What would be the reason
for that ? Is there a serverdef file in 4.0.3SP1 ??
BTW, I do not use any IDEs. I start server from run command.
The serverdef file is for IDEs (as already mentioned by Peter in his reply). Since you don't use IDEs, you don't have to worry about that file.
I don't have any issues with AS working with that change in server.xml. But, I want to know the proper way to do it.
The right way to do this, is to use the Service binding manager. For 4.x see this documentation.
P.S: Please do not use font colours while posting.
Peter Johnson wrote:"Wander Soares", please see your private messages for an important administrative matter.
Did you try searching for the string "8080" and changing it to "8082"?
Don't get me started about those stupid light bulbs. |