I have a sample java program which connects with standalone Exchange 2007 server and perform all the operations. when I check the same code with clustered environment, I am getting 'login time out' error. In clustered environment, I am able to make a connection with Exchange 2007 server using HttpClient utility. When I retrieve inbox folder from connection object, it returns 'Login timeout error'.
The code lines are given below,
InboxFolder inboxFolder = connection.getInboxFolder(
rs() , TimeZone.getDefault());
Here, we prepare same OWA URL which we can access from Web but not from our sample program which is using HttpClient and XMLRequest for Exchange Server 2007.
OWA URL is - https://host:port/owa
Path for finding the Inbox folder is - https://host:port/exchange/exchangeuser
Note: We have NLB clustered environment for Exchange 2007 server.