jboss和oracle端口冲突

Both JBoss and Oracle RDBMS are using the port 8080. HTTP Server for JBoss, XDB listener for Oracle RDBMS.

So I thin you are hitting this issue, which error do you have when you start JBoss after Oracle? Something like:
"java.net.BindException: Address already in use: JVM_Bind:8080"

So you can either change the JBoss HTTP Port, it varies depending of the version of JBoss:
4.0: JBOSS_HOME/<config>/deploy/jbossweb-tomcat50.sar/server.xml
3.x: JBOSS_HOME/server/<config>/deploy/tomcat41-service.xml

or change the XDB Port:
connect to your DB using system user (SQL*PLUS) and execute the following command:
call dbms_xdb.cfg_update(updateXML(
dbms_xdb.cfg_get()
, '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
, 8081))
to change it from 8080 to 8081

Regards
Tugdual Grall

你可能感兴趣的:(jvm,oracle,sql,SQL Server,jboss)