I am using JBOSS 5 for my latest project. I was stuck when oracle instance was required in project because both JBOSS and oracle instance run on port 8080.
So i decided to change JBOSS port to 8776. Here are the steps i followed.
My JBOSS is installed in D:\jboss5
Go to the D:\jboss5\server\default\deploy\jbossweb.sar folder
Open the server.xml file [...]



























































