tracker issue : CF-3318478

select a category, or use search below
(searches all categories and all time range)
Title:

CF 10 "CFEXCHANGECONNECTION" issue

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): / Bruno Clicque and Michel Leman (Simarpreet Singh Bhatia)

Created: 08/27/2012

Components: CFExchange

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: 10.0.1 /

Priority/Frequency: Major / Most users will encounter

Locale/System: ALL / Win XP All

Vote Count: 0

Problem:

Issue while trying to connect to Exchange server using "CFEXCHANGECONNECTION" in CF10.
**** Accessing the OWA form directly from the browser works/connects fine and able to login inside.

Environment:

Exchange 2010 SP1 with IIS 7.5 And Coldfusion10.

Method:

<cfexchangeConnection
action = "open"
username = "ceps_secure\michtest"
password = 
server = "webmail.ceps.lu"
protocol = "https"
connection = "conn1"
serverVersion="2010"/> 

Result:
 Not able to connect to the Exchange server.

Error:

Access to the Exchange server is denied.

at cfexchangeTest2ecfm1873722504.runPage(C:/ColdFusion10/cfusion/wwwroot/exchangeTest.cfm:8) 
coldfusion.exchange.webservice.EWSException: Access to exchange Server Denied.
        at coldfusion.exchange.webservice.EWSConnection.login(EWSConnection.java:1773)
        at coldfusion.tagext.net.exchange.ExchangeTag.createConnection(ExchangeTag.java:499)
        at coldfusion.tagext.net.exchange.ExchangeConnectionTag.doEndTag(ExchangeConnectionTag.java:70)
        at cfexchangeTest2ecfm1873722504.runPage(C:\ColdFusion10\cfusion\wwwroot\exchangeTest.cfm:8)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444)
        at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
        at coldfusion.filter.IpFilter.invoke(IpFilter.java:64)
        at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:443)
        at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
        at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
        at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
        at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
        at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
        at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
        at coldfusion.CfmServlet.service(CfmServlet.java:204)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)


Expected:

Should connect successfully to the Exchange server, via cfexchangeconnection.

Workaround:

NA

Steps Tried: {but no Success}

1. Tried with Basic authentication {Enabled at exchange server level}. {as Form Based is not required for CF10} 
2. Imported the certificate in CF10 successfully. Ran the code and couldn’t connect to the OWA.
3. No proxy is used.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3318478

External Customer Info:
External Company: CEPS
External Customer Name: Bruno Clicque and Michel Leman
External Customer Email: clicque@ceps.lu and michel.leman@ceps.lu

Attachments:

Comments:

unable to reproduce the issue. tested with CF10 update13 / Exchange 2010 / IIS7.5 Closing this as the issue is not reproducible. test code (below) ran without any error to output the contact info. <cfexchangeConnection action = "open" username = "xxxxxx" password = "xxxxxx" server = "exchg server 2010 ip" protocol = "https" port = "443" connection = "conn1" serverVersion="2010"/> <cfset contact=structNew()> <cfset contact.firstName="someusername"> <cfexchangecontact action="create" contact=#contact# connection="conn1"> <cfset sleep(4000)> <cfexchangeContact name="query1" action=get connection=conn1> <cfoutput>Number of records returned: #query1.RecordCount#<br></cfoutput> <cfoutput>FirstName: #query1.FirstName#</cfoutput> <cfexchangeconnection action="close" connection="conn1">
Comment by Piyush K.
18287 | March 10, 2014 04:28:54 AM GMT