[
https://issues.jboss.org/browse/TEIID-3334?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-3334:
-------------------------------------
I have not seen any examples before; may be they MongoDB changed in the latest version of
their JAVA driver and trying to define a protocol for their client communications.
[~ichanjasper] What is version of the Java driver and MongoDB you are using. I may need
to update to those versions and test.
MongoDB: invalid ip address and port number
--------------------------------------------
Key: TEIID-3334
URL:
https://issues.jboss.org/browse/TEIID-3334
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.9.1
Environment: MongoDB with Teiid 8.9.1
Reporter: Ivan Chan
Assignee: Steven Hawkins
I got invalid IP address/ port number error when I have ":" in IP address.
Caused by: java.lang.NumberFormatException: For input string:
"jasper@ds041671.mongolab.com:41671"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.valueOf(Integer.java:582)
at
org.teiid.resource.adapter.mongodb.MongoDBManagedConnectionFactory.getServers(MongoDBManagedConnectionFactory.java:129
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)