Active Sync Error

Forum to discuss the Scalix ActiveSync product

Moderators: ScalixSupport, admin

the2nd
Posts: 20
Joined: Wed Aug 23, 2006 3:38 pm

Active Sync Error

Postby the2nd » Fri Jun 26, 2009 4:08 am

Hi,

i am testing AS with Scalix Eval for one of my Customers. It works great with an older Windows Mobile version (OS 3.15.0.0) but with a newer version (OS 5.2.21041) it does not work. We get the following Error in /var/opt/scalix/so/tomcat/logs/scalix-wireless.log:

2009-06-25 00:22:36,733 ERROR [PlatformClient.getPushNotifications:713] CLIENT - returned response from the notification count could not be parsed
org.jdom.input.JDOMParseException: Error on line 1: The element type "HR" must be terminated by the matching end-tag "</HR>".
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:504)
at com.scalix.wireless.utils.XmlUtils.parseXml(XmlUtils.java:82)
at com.scalix.wireless.api.entity.PlatformResponse.<init>(PlatformResponse.java:48)
at com.scalix.wireless.api.entity.NotificationList.<init>(NotificationList.java:40)
at com.scalix.wireless.api.service.PlatformClient.getPushNotifications(PlatformClient.java:708)
at com.scalix.wireless.controller.push.PushNotificationConnection.run(PushNotificationConnection.java:166)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: The element type "HR" must be terminated by the matching end-tag "</HR>".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
... 6 more
Caused by: org.xml.sax.SAXParseException: The element type "HR" must be terminated by the matching end-tag "</HR>".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
at com.scalix.wireless.utils.XmlUtils.parseXml(XmlUtils.java:82)
at com.scalix.wireless.api.entity.PlatformResponse.<init>(PlatformResponse.java:48)
at com.scalix.wireless.api.entity.NotificationList.<init>(NotificationList.java:40)
at com.scalix.wireless.api.service.PlatformClient.getPushNotifications(PlatformClient.java:708)
at com.scalix.wireless.controller.push.PushNotificationConnection.run(PushNotificationConnection.java:166)
at java.lang.Thread.run(Unknown Source)
2009-06-25 00:22:36,734 ERROR [PushNotificationConnection.run:191] PING - deviceId: E68CCA632CDF2E92D2653AD93A1B94B1, user: demo1 notification message proce
ssing failed
org.apache.commons.httpclient.HttpException: Error on line 1: The element type "HR" must be terminated by the matching end-tag "</HR>".
at com.scalix.wireless.api.service.PlatformClient.getPushNotifications(PlatformClient.java:714)
at com.scalix.wireless.controller.push.PushNotificationConnection.run(PushNotificationConnection.java:166)
at java.lang.Thread.run(Unknown Source)
2009-06-25 00:22:36,735 INFO [WirelessResponseImpl.emitHeader:145] SERVLET - deviceId: E68CCA632CDF2E92D2653AD93A1B94B1, user: demo1 - post response was em
pty, no result need be returned: org.apache.catalina.connector.ResponseFacade@64fca0
2009-06-25 00:22:46,309 INFO [AbstractApplicationContext.doClose:816] Closing org.springframework.web.context.support.XmlWebApplicationContext@6e3e28: disp
lay name [WebApplicationContext for namespace 'wireless-servlet']; startup date [Sat Jun 20 13:11:17 CEST 2009]; parent: org.springframework.web.context.sup
port.XmlWebApplicationContext@b44eb4
2009-06-25 00:22:46,309 INFO [DefaultSingletonBeanRegistry.destroySingletons:396] Destroying singletons in org.springframework.beans.factory.support.Defaul
tListableBeanFactory@16c2c0: defining beans [wirelessHandlerMapping,wireless,checkAuthInterceptor,messageSource]; parent: org.springframework.beans.factory.
support.DefaultListableBeanFactory@1bca1c3
2009-06-25 00:22:46,312 INFO [AbstractApplicationContext.doClose:816] Closing org.springframework.web.context.support.XmlWebApplicationContext@b44eb4: disp
lay name [Root WebApplicationContext]; startup date [Sat Jun 20 13:11:17 CEST 2009]; root of context hierarchy
2009-06-25 00:22:46,313 INFO [DefaultSingletonBeanRegistry.destroySingletons:396] Destroying singletons in org.springframework.beans.factory.support.Defaul
tListableBeanFactory@1bca1c3: defining beans [wireless,httpRequestHandler,foldersync,gethierarchy,sync,getitemestimate,sendmail,smartreply,smartforward,ping
,foldercreate,folderdelete,folderupdate,getattachment,itemoperations,meetingresponse,moveitems,provision,resolverecipients,search,settings,validatecert]; root of factory hierarchy

any help is appreciated.

thanks
heiko

the2nd
Posts: 20
Joined: Wed Aug 23, 2006 3:38 pm

Re: Active Sync Error

Postby the2nd » Wed Jul 01, 2009 4:52 am

Today i tried to sync with an Nokia E75 and got the following error:

WARN [WirelessServlet.doPost:120] SERVLET - deviceId: IMEIxxxxxxxxxxxxxxxxxxxx, user: demo - Uncaught and unhandled exception was report
ed by the server:
C00002 command not supported
Message:Command is not supported in Beta 1

Stacktrace:
[Ljava.lang.StackTraceElement;@1d48043
at com.scalix.wireless.controller.command.SettingsCommand.execute(SettingsCommand.java:17)
at com.scalix.wireless.handlers.WirelessRequestImpl.execute(WirelessRequestImpl.java:166)
at com.scalix.wireless.HttpRequestHandler.handleRequest(HttpRequestHandler.java:140)
at com.scalix.wireless.WirelessServlet.doPost(WirelessServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:156)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)

Can anyone help?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: Active Sync Error

Postby florian » Wed Jul 01, 2009 12:08 pm

Certain very new versions of Nokia's Mail For Exchange tool misbehave in such a way that they simply use commands that Microsoft's ActiveSync specification tags as "optional" and assumes they are present.

Scalix ActiveSync 1.0.0 currently does not implement all such commands. In our testing, basic functionality with Nokia software worked fine, while some test cases failed. Due to the number of different versions of MfE, also dependent on the device, we could not document which devices and versions work with what level of functionality. Yours seems to be one that doesn't work correctly.

We are working on implementing additional optional ActiveSync features as we speak, so this will be resolved in a future release of Scalix ActiveSync. We'll very likely release a 1.0.1 patch release in an August-type timeframe, however please note that the schedule depends on the type and amount of feedback we get from commercial support as this is our primary concern.

You may want to report this through Scalix Technical Support as well.

Florian
Florian von Kurnatowski, Die Harder!

the2nd
Posts: 20
Joined: Wed Aug 23, 2006 3:38 pm

Re: Active Sync Error

Postby the2nd » Thu Jul 02, 2009 8:41 am

thanks for the feedback. so we have to wait for the patch release to get this nokia phone to run with Scalix AS.

but what about the other problem with the mentioned windows mobile version? WM 5 is a supported platform according to this site: http://www.scalix.com/enterprise/technology/mobileclients_activesync.php

does anyone know how to debug and/or fix this problem.

thanks

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: Active Sync Error

Postby florian » Thu Jul 02, 2009 8:48 am

I will assume that you have installed the required Feature Pack?

Then this may be a yet unknown data specific issue. For further investigation, please open a ticket with scalix technical support. They will probably need an export of the affected message(s) to analyze this.

Florian
Florian von Kurnatowski, Die Harder!

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Re: Active Sync Error

Postby rudi » Fri Jul 03, 2009 8:16 am

Hi, have the same error with the iPhone. Is it necessary to have exactly the touch software 2.0 or can I also use a higher version?

2009-07-03 14:06:58,061 INFO [WirelessResponseImpl.emitHeader:145] SERVLET - deviceId: Appl86843HALY7K, user: hannes - post response was empty
, no result need be returned: org.apache.catalina.connector.ResponseFacade@15ee470d
2009-07-03 14:11:04,932 FATAL [WirelessServlet.doPost:128] SERVLET - deviceId: Appl86843HALY7K, user: hannes - Uncaught and unhandled exception
was reported by the server:
java.lang.NullPointerException
at com.scalix.message.formatter.CalendarFormatter.appendVEvent(CalendarFormatter.java:385)
at com.scalix.message.formatter.CalendarFormatter.formatMessage(CalendarFormatter.java:309)
at com.scalix.wireless.controller.command.SyncCommand.outputCalendarMessage(SyncCommand.java:514)
at com.scalix.wireless.controller.command.SyncCommand.createWirelessOutputFormat(SyncCommand.java:313)
at com.scalix.wireless.controller.command.SyncCommand.doSync(SyncCommand.java:218)
at com.scalix.wireless.controller.command.SyncCommand.execute(SyncCommand.java:148)
at com.scalix.wireless.handlers.WirelessRequestImpl.execute(WirelessRequestImpl.java:166)
at com.scalix.wireless.HttpRequestHandler.handleRequest(HttpRequestHandler.java:140)
at com.scalix.wireless.WirelessServlet.doPost(WirelessServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:156)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)

the2nd
Posts: 20
Joined: Wed Aug 23, 2006 3:38 pm

Re: Active Sync Error

Postby the2nd » Fri Jul 03, 2009 1:19 pm

florian wrote:I will assume that you have installed the required Feature Pack?

Then this may be a yet unknown data specific issue. For further investigation, please open a ticket with scalix technical support. They will probably need an export of the affected message(s) to analyze this.

Florian


i am testing with the scalix eval version and installed this two files:

scalix-11.4.4-GA-enterprise-redhat-intel.bin
scalix-activesync-1.0.0-GA-enterprise-linux-intel.bin

is there an additional package to install?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: Active Sync Error

Postby florian » Fri Jul 03, 2009 1:32 pm

Windows Mobile 5 devices, as per our Release Notes, will need a so-called Messaging and Security Feature Pack (MSFP) installed on your device. This is available from your device vendor and has nothing to do with the software to be installed on the Scalix or ActiveSync server.

The iPhone error posted looks like some corrupted data item that cannot be successfully synced or some data-specific issue in the current version of the ActiveSync software. Please contact Scalix Technical Support as we may have to analyze the affected calendar item.

Tx,
Florian.
Florian von Kurnatowski, Die Harder!

the2nd
Posts: 20
Joined: Wed Aug 23, 2006 3:38 pm

Re: Active Sync Error

Postby the2nd » Fri Jul 03, 2009 2:06 pm

sorry. the phone is the T-Mobile MDA Compact V. its the same as the HTC Touch Diamond 2 and comes with WM 6.1. i was confused about the OS Release it shows while booting. i don't have access to the customers phone yet. but i'll try to get some more info next week.

is there a way to debug whether a contact or something on the phone is causing this problem?

thanks
heiko

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: Active Sync Error

Postby florian » Fri Jul 03, 2009 2:11 pm

There certainly is, but it's not trivial. Keep in mind, this is a new product and while we have done extensive testing before the release (too long for some... :-)), there is a good probability that, especially as behaviors can be data-dependent, we'll have to look into some issues together with our dev team. you can play around with log4j.properties settings for the webmail and platform modules, but it may go deeper than that.

This simply cannot be managed through the forum as test data will need to be exchanged and we may need to ask permission to access a customer server remotely. Therefore, this can only be run through support unless you find a narrow, targetted, reproducible scenario, in which case you best log a bug. Just transforming this forum report into a bug won't help because it won't yield anything that is reproducible for us w/o the data.

Therefore, my recommendation stands that if this is something that concerns you, you'll have to open a support ticket.

Florian.
Florian von Kurnatowski, Die Harder!

anybody
Posts: 52
Joined: Thu Apr 09, 2009 7:28 am
Location: Munich, Germany
Contact:

Re: Active Sync Error

Postby anybody » Fri Oct 16, 2009 6:58 am

Florian wrote:Certain very new versions of Nokia's Mail For Exchange tool misbehave in such a way that they simply use commands that Microsoft's ActiveSync specification tags as "optional" and assumes they are present.

We are working on implementing additional optional ActiveSync features as we speak, so this will be resolved in a future release of Scalix ActiveSync. We'll very likely release a 1.0.1 patch release in an August-type timeframe


Have these incompatibilities with new MfE versions been fixed in v1.0.1 ?
I've spent the last 2 hours trying to get a Nokia E51 to work with Scalix 11.4.5 + ActiveSync 1.0.1, but when I try to start the syncronisation in the Mail for Exchange application, I get an error: "System Error: Try again later" while it tries to sync mail.

I have the impression that it never got as far as syncing calendar and contacts, and always aborts while syncing mail.
Some mail is visible in the phone's Inbox now, but only a small part of what should be. Sometimes after sync attempts new mail shows up, but not always.
Sending mail seems to work fine though. But that's not really the important part :-(

I'm using Mail for Exchange version 2.09(158) on a Nokia E51 which - according to the Nokia Software Updater - has the latest firmware installed.

scalix-activesync.log:

Code: Select all

2009-10-16 12:44:52,299  WARN [WirelessServlet.doPost:119] SERVLET - deviceId: IMEI359330028680153, user: myusername - Uncaught and unhandled exception was repor
ted by the server:
S00000 internal server error
 Message:Input request could not be processed

 Stacktrace:
[Ljava.lang.StackTraceElement;@67dfbbaf
        at com.scalix.wireless.controller.command.SyncCommand.execute(SyncCommand.java:158)
        at com.scalix.wireless.handlers.WirelessRequestImpl.execute(WirelessRequestImpl.java:176)
        at com.scalix.wireless.HttpRequestHandler.handleRequest(HttpRequestHandler.java:138)
        at com.scalix.wireless.WirelessServlet.doPost(WirelessServlet.java:113)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:156)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.jdom.input.JDOMParseException: Error on line 1: The element type "HR" must be terminated by the matching end-tag "</HR>".
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:504)
        at com.scalix.wireless.utils.XmlUtils.parseXml(XmlUtils.java:82)
        at com.scalix.wireless.api.entity.PlatformResponse.<init>(PlatformResponse.java:48)
        at com.scalix.wireless.api.entity.MessageListSequence.<init>(MessageListSequence.java:96)
        at com.scalix.wireless.api.service.PlatformClient.getMessageChanges(PlatformClient.java:655)
        at com.scalix.wireless.controller.command.SyncCommand.doSync(SyncCommand.java:199)
        at com.scalix.wireless.controller.command.SyncCommand.execute(SyncCommand.java:155)
        ... 33 more
Caused by: org.xml.sax.SAXParseException: The element type "HR" must be terminated by the matching end-tag "</HR>".
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
        ... 39 more


and:

Code: Select all

2009-10-16 12:04:07,775  WARN [WirelessServlet.doPost:119] SERVLET - deviceId: IMEI359330028680153, user: myusername - Uncaught and unhandled exception was repor
ted by the server:
C00002 command not supported
 Message:Command is not supported

 Stacktrace:
[Ljava.lang.StackTraceElement;@2330b432
        at com.scalix.wireless.controller.command.SettingsCommand.execute(SettingsCommand.java:17)
        at com.scalix.wireless.handlers.WirelessRequestImpl.execute(WirelessRequestImpl.java:176)
        at com.scalix.wireless.HttpRequestHandler.handleRequest(HttpRequestHandler.java:138)
        at com.scalix.wireless.WirelessServlet.doPost(WirelessServlet.java:113)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:156)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Unknown Source)
Last edited by anybody on Fri Oct 16, 2009 7:01 am, edited 1 time in total.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: Active Sync Error

Postby florian » Fri Oct 16, 2009 7:01 am

AS 1.0.1 has a number of fixes relevant for Nokia devices. I cannot confirm whether or not this specific issue is covered because device types, software and also carrier branding for devices have some influence here.

General advise would be to upgrade to 1.0.1 and Scalix 11.4.5 - the list of issues fixed is documented in the release notes -, retest, and if issues remain, log a support case with us at http://www.scalix.com/support, assuming that you are a commercial customer with a support entitlement. We cannot test all possible software combinations in internal testing.
Florian von Kurnatowski, Die Harder!

anybody
Posts: 52
Joined: Thu Apr 09, 2009 7:28 am
Location: Munich, Germany
Contact:

Re: Active Sync Error

Postby anybody » Fri Oct 16, 2009 7:13 am

General advise would be to upgrade to 1.0.1 and Scalix 11.4.5


As stated in my post I'm already using the latest Scalix+Activesync versions, so upgrading is not really an option :(

if issues remain, log a support case with us at http://www.scalix.com/support, assuming that you are a commercial customer with a support entitlement.


I am a commercial customer and I have 20 support points. However, due to the extremely high cost involved in getting additional support points I cannot justify spending them on a miserable Nokia phone that probably cost less than 10 support points. Because one day I will really be in need of support and then I won't have any support left because I've spent my support points to get the support to say "Sorry, doesn't work, just wait for AS 1.0.2, you now have 0 support points left" :(

billb3
Scalix Star
Scalix Star
Posts: 464
Joined: Mon May 26, 2008 8:56 pm
Location: Kingston, NY
Contact:

Re: Active Sync Error

Postby billb3 » Fri Oct 16, 2009 9:35 am

anybody wrote:...because I've spent my support points to get the support to say "Sorry, doesn't work, just wait for AS 1.0.2, you now have 0 support points left" :(

If they determine it is a bug, I don't believe they will charge you support points....

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: Active Sync Error

Postby florian » Fri Oct 16, 2009 10:54 am

that's correct - you'll need a positive support point balance to open a support case but if it is determined to be caused by a product issues, the points will be credited back to your account.

otherwise, the only thing you can do if you have a FULLY REPRODUCIBLE (meaning: from creation of a new, empty user account) scenario, front to end, is to log a bug at bugzilla.scalix.com, which we'll try to reproduce based on your instructions, and if we can, see to fix at some point (with no SLA and fixed time commitments, however).

Florian
Florian von Kurnatowski, Die Harder!


Return to “Scalix ActiveSync”



Who is online

Users browsing this forum: No registered users and 1 guest