When the sipXecs server is installed on a system with a non-us locale, let's pick Germany for example, the xml in message digests gets created with something like
<messagedescriptor> <id>[email protected]</id> <from>"Yellow-throated Warbler" <sip:[email protected]></from> <durationsecs>4</durationsecs> <timestamp>Di, 15-Jun-2010 03:45:07 PM MESZ</timestamp> <subject>Voice Message 00000006</subject> <priority>normal</priority> </messagedescriptor> Now when user 2103 logs into their user portal, they get an internal error, with a stack trace looking something like [ +/- ] Exception: Cannot parse date Di, 15-Jun-2010 03:45:07 PM MESZ ---- Debugging information ---- class : org.sipfoundry.sipxconfig.vm.Voicemail$MessageDescriptor required-type : java.util.Date path : /messagedescriptor/timestamp ------------------------------- com.thoughtworks.xstream.converters.ConversionException shortMessage: Cannot parse date Di, 15-Jun-2010 03:45:07 PM MESZ Stack Trace: * ---- Debugging information ---- * class : org.sipfoundry.sipxconfig.vm.Voicemail$MessageDescriptor * required-type : java.util.Date * path : /messagedescriptor/timestamp * ------------------------------- * com.thoughtworks.xstream.converters.basic.DateConverter.fromString(DateConverter.java:97) * com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:41) * com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:49) * com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) * com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) * com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) * com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246) * com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218) * com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162) * com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) * com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) * com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) * com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) * com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) * com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) * com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923) * com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909) * com.thoughtworks.xstream.XStream.fromXML(XStream.java:861) * org.sipfoundry.sipxconfig.vm.Voicemail.readMessageDescriptor(Unknown Source) * org.sipfoundry.sipxconfig.vm.Voicemail.readMessageDescriptor(Unknown Source) * org.sipfoundry.sipxconfig.vm.Voicemail.getDescriptor(Unknown Source) * org.sipfoundry.sipxconfig.vm.Voicemail.getSubject(Unknown Source) I tried setting the browser language to US and german and it didn't help (not that it should). Essentially, the sipXivr is saving dates in a format that is tied to the language of the installation and I think should pick a format that is language agnostic. Leave the locale to sipXconfig's rendering layer. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
