Skip to content

RmiServiceExporter displays incorrect binding information when using RmiRegistryFactoryBean [SPR-2336] #7025

@spring-projects-issues

Description

@spring-projects-issues

Peter Bridge opened SPR-2336 and commented

RmiServiceExporter displays incorrect binding information when using RmiRegistryFactoryBean

source file: RmiServiceExporter.java
method: afterPropertiesSet()

If a factory has been used to specify the registry, then the local property for port is not needed. However the logger.info uses the local port number rather than the port defined in the registry variable. ie. my registry was running on port 4242 but spring was claiming to have bound the service at 1099 (our JBoss RMI port). Took a while to find this was the problem so watch out :)

Cheers
Peter


Affects: 1.2.8, 2.0 RC2

Backported to: 1.2.9

1 votes, 1 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions