In the above,I have successfully deployed a CMP in JBoss.
you can change 8080 port in jboss.Edit jbossservice.xml
Or you can stop oracle service that using port 8080. ( i think oracle xml server is runnig on port 8080)
Thank you very much for your help.
But I can't find <jboss_folder>/server/default/deploy/jbossweb-sar/meta-inf/jbossservice.xml.
Instead,I found jboss-service.xml in the folder jboss-3.0.7_jakarta-tomcat-4.1.24\server\default\deploy\http-invoker.sar\META-INF and changed all the 8080 to 8000.
I changed the file jboss-3.0.7_jakarta-tomcat-4.1.24\tomcat-4.1.x\conf\server.xml to change the port to 8000.
When I started jboss again,the port conflict problem did not occur and jboss booted smoothly.But when I opened the jsp file in the browser to test it,a pop up window came out asking me to input username and password for local XDB.
How to avoid this problem?
I found my configuration doesn't work,JBoss is still using 8080
Look into your deploy directory.
JBoss 3.2.1 with Jetty:
Configure the HTML Listener to use another port.
JBoss 3.2.1 with Tomcat:
Configure the HTTP Connector to use another port.
Thanks very much for your help,very appreciated!