ari-ban / test1

0 stars 0 forks source link

ObjectBuilder.setProperties fails for overloaded setter methods #32

Open arinban opened 16 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 6 years ago

@arinban Commented

arinban commented 6 years ago

@arinban Commented @arinban Commented

arinban commented 6 years ago

@arinban Commented @arinban Commented @arinban Commented

arinban commented 16 years ago

@arinban Commented @arinban Commented @arinban Commented @glassfishrobot Commented Reported by wwoodward

arinban commented 16 years ago

@arinban Commented @arinban Commented @arinban Commented @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

@arinban Commented @arinban Commented @arinban Commented @glassfishrobot Commented Was assigned to binod

arinban commented 7 years ago

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