Failed to connect to jdbc and failed to preview data from xml files

Latest response

first I try to connect by jdbc but it always fail , my jboss DV server run on port 9999 and error appears "unable to establish a jdbc connection to server jdbc:teid:ping:@mm://localhost:9999" even after i create new applications user and pit it's credentials ., any help why?
second when I try to preview data got from xml file ,error appears
that "A datasource whith JNDI name fails to deploy" , any help plz?

Responses

I assume you are referring to Teiid Server configuration in Developer Studio, the Administration port is 9999 but the JDBC port is 31000, see the documentation - https://access.redhat.com/documentation/en-us/red_hat_jboss_data_virtualization/6.4/html/user_guide_volume_1_teiid_designer/setting_up_a_server