6 Replies Latest reply on Jul 24, 2003 1:50 AM by gorges

    How to make JBoss work with Oracle9i?

    gorges

      I'm using jboss-3.0.7_jakarta-tomcat-4.1.24 and Oracle9.2,but they both use port 8080,when I started Oracle first,JBoss failed to boot, How to solve this problem?
      Thanks!

        • 1. Re: How to make JBoss work with Oracle9i?
          gorges

          In the above,I have successfully deployed a CMP in JBoss.

          • 2. Re: How to make JBoss work with Oracle9i?
            padmal

            you can change 8080 port in jboss.Edit jbossservice.xml
            <jboss_folder>/server/default/deploy/jbossweb-sar/meta-inf/jbossservice.xml

            Or you can stop oracle service that using port 8080. ( i think oracle xml server is runnig on port 8080)

            • 3. Re: How to make JBoss work with Oracle9i?
              gorges

              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?

              • 4. Re: How to make JBoss work with Oracle9i?
                gorges

                I found my configuration doesn't work,JBoss is still using 8080

                • 5. Re: How to make JBoss work with Oracle9i?
                  frito

                  Look into your deploy directory.

                  JBoss 3.2.1 with Jetty:
                  jbossweb-jetty.sar/META-INF/jboss-service.xm
                  Configure the HTML Listener to use another port.

                  JBoss 3.2.1 with Tomcat:
                  jbossweb-tomcat.sar/META-INF/jboss-service.xm
                  Configure the HTTP Connector to use another port.

                  Greetings,
                  Frito

                  • 6. Re: How to make JBoss work with Oracle9i?
                    gorges

                    Thanks very much for your help,very appreciated!