Quantcast
Channel: VMware Communities : Popular Discussions - VMware Server Archives
Viewing all articles
Browse latest Browse all 69891

Problem connecting to the database thats on virtual machine

$
0
0

Hi,

I have Win XP Pro edition on my virtual machine and for some reasons the default bridging doesn't work[/u] So [u]I have chosen NAT[/u][/b] (with VMNet8) Its working properly with NAT

 

With IPCONFIG on my physical machine[/b], i get:

 

Windows IP Configuration

 

Ethernet Adapter VMWare Network Adapter VMnet8[/u]:(this is the n/w adapter that i use to get connected with my physical machine)

connection-specific DNS suffix:

IP Address: 192.168.126.1[/b]

Subnet mask: 255.255.255.0

Default Gateway:

 

Ethernet Adapter VMWare Network Adapter VMnet1:

connection-specific DNS suffix:

IP Address: 192.168.5.1

Subnet mask: 255.255.255.0

Default Gateway:

 

Ethernet Adapter Local Area Connection 2:

Media State: Media disconnected

 

Ethernet Adapter Wireless Network Connection 2:

connection-specific DNS suffix: domain_not_set.invalid

IP Address: 192.168.1.72

Subnet mask: 255.255.255.0

Default Gateway: 192.168.1.1

\----


when i check for the IP Addresses[/b] of the virtual machine[/b](Win XP Pro) thats installed on VMWare Server, i get

 

Windows IP Configuration

 

Ethernet Adapter Local Area Connection:

connection-specific DNS suffix: localdomain

IP Address: 192.168.126.128[/b]

Subnet mask: 255.255.255.0

Default Gateway:192.168.126.2

\----


 

I do suppose (as i'm not an expert,so pardon me) that the VMWare Server is also acting as a proxy.

 

The problem[/b] for me here is that my Oracle 10g XE database is installed on the Guest OS (win XP Pro) on the VMWare Server and I want to connect to this database through IBM Rational Software Architect

 

The arguments that are passed to this IDE are:

New Connections: conn1

Database Manager: Oracle 10g

JDBC Driver: Oracle JDBC Driver

Database Name: GPS_NODE

Server Host Name: 192.168.126.128[/b]

Server connection port: 1521

Name of JDBC Driver class: oracle.jdbc.OracleDriver

Location of JDBC Driver class: C:\Oracle\jdbc\ojdbc14.jar

connection URL: jdbc:oracle:thin@192.168.126.128:1521:GPS_NODE

use OS user id: false

user_id: GPS_USER

schema filter conditions: SCHEMA NOT LIKE SYS%

routine languages: sql,java,c,other

 

I can say with assurance that there is no issue "with the JDBC drivers"[/b] as the IDE picks up

 

now the error that's being flashed is:

connection to GPS_NODE failed. IWAS0126E Problems encountered while trying to establish connection conn1. Reason: IOException: The Network Adapter could not establish the connection[/b]

 

I suspect that there is some configuration issue with the network adapters and the proxy settings of VMWare but can't figure out How to rectify that

pls help

regards

 

NB: I have tried both the IP Addresses 192.168.126.1 and 192.168.126.128 and nothing seems to be working.[/b]


Viewing all articles
Browse latest Browse all 69891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>