[jboss-jira] [JBoss JIRA] Commented: (JBAS-4892) WebService ignores java.rmi.server.codebase system property
Dimitris Andreadis (JIRA)
jira-events at lists.jboss.org
Mon Nov 19 16:06:18 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-4892?page=comments#action_12388312 ]
Dimitris Andreadis commented on JBAS-4892:
------------------------------------------
Why this is a bug? There is no trailing slash only when you refer to a spefic jar, and we dont.
Quoting from:
http://java.sun.com/j2se/1.4.2/docs/guide/rmi/codebase.html
If the URL specified as the value of the codebase property is a directory, it must end in a trailing "/"
> WebService ignores java.rmi.server.codebase system property
> -----------------------------------------------------------
>
> Key: JBAS-4892
> URL: http://jira.jboss.com/jira/browse/JBAS-4892
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-4.2.2.GA
> Reporter: Takayoshi Kimura
> Fix For: JBossAS-4.2.3.GA
>
>
> 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);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list