ari-ban / glassfish-genericjmsra

0 stars 0 forks source link

ObjectBuilder.setProperties fails for overloaded setter methods #32

Closed arinban closed 6 years ago

arinban commented 16 years ago

Tibco EMS TibjmsConnectionFactory overloads the setter methods for ServerURL: setSSLIdentity(String) and setSSLIdentity(byte[]). ObjectBuilder.setProperties finds the byte[] version first then tries to set a string parameter which cuases an IllegalArgumentException.

My environment: Spring, Jencks, Tibco EMS, Java 5.

My config:

Environment

Operating System: All Platform: All

Affected Versions

[current]

arinban commented 6 years ago
arinban commented 16 years ago

@glassfishrobot Commented Reported by wwoodward

arinban commented 16 years ago

@glassfishrobot Commented binod said: The workaround is to extend the TibJmsConnectionFactory and use a method in the subclass with a different name.

public void setSSLIdentityStr(String s)

{ super.setSSLIdenity(s); }

Reduced the priority as there is a workaround.

arinban commented 16 years ago

@glassfishrobot Commented Was assigned to binod

arinban commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GENERICJMSRA-32

arinban commented 6 years ago

Closing this as this issue is migrated to https://github.com/ari-ban/test1/issues/32