Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4892

WebService ignores java.rmi.server.codebase system property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-4.2.0.GA, JBossAS-4.2.1.GA, JBossAS-4.2.2.GA
    • None
    • None

      server/src/main/org/jboss/web/WebService.java

      The trailing semicolon of if statement is a bug.

      String codebase = getCodebase(); // This returns system property value
      if (codebase == null); // HERE

      { codebase = "http://" + getHost() + ":" + getPort() + "/"; System.setProperty("java.rmi.server.codebase", codebase); }

      log.info("Using RMI server codebase: " + codebase);

              dandread1@redhat.com Dimitrios Andreadis
              rhn-support-tkimura Takayoshi Kimura
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: