Re: [Javaemailserver-user] Version 2.8.2 not starting up - authentication problem
Brought to you by:
edaugherty,
mfg8876
|
From: <jav...@li...> - 2014-06-24 19:58:50
|
Thanks, Andreas. I've gone ahead and installed 1.6.1, and it works great for what I need. I also discovered Thunderbird is a heck of a lot easier to configure unambiguously for multiple users than Pegasus, so playing around with new versions has not been a total loss. J Thanks for your labors. JES is a great piece of software. Rebeccah From: jav...@li... [mailto:jav...@li...] Sent: Tuesday, June 24, 2014 12:53 PM To: jav...@li... Subject: Re: [Javaemailserver-user] Version 2.8.2 not starting up - authentication problem Hello Rebeccah, I am currently updating JES to a new major version (no release date at this time, too much work at the office). There are a few issues with the 2.x branch that need addressing in such a way that a minor or maintenance version update won't cut it. I suggest at this time to stick to version 1.6.1 and when version 3.x comes around you could perhaps jump on board. I am terribly sorry for the inconvenience. I can only hope that with the new version, if and when you decide to check it out, your current effort will not have been a total waste. Regards, Andreas ________________________________ Date: Mon, 23 Jun 2014 19:53:50 -0400 To: jav...@li... From: jav...@li... Subject: [Javaemailserver-user] Version 2.8.2 not starting up - authentication problem Hi, I've been using JES 1.6.1 for some time, but now that I have a new laptop with Windows 7 and java 7, I decided to upgrade JES as well, to 2.8.2. I've translated my mail.conf settings into the corresponding mail.xml values and added my users in users.conf. I've fixed mail.bat to point to the correct JRE and the correct installation directory for JES. Now, when I run mail.bat, I get the following exception: 2014-06-23 16:33:49,817 - [main] ConfigurationManager - There was an error loading the schema org.xml.sax.SAXParseException; schema_reference.4: Failed to read schema document 'http://javaemailserver.sourceforge.ne t/schema/mail_2_8.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element o f the document is not <xsd:schema>. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPar seException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknow n Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unk nown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unk nown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportS chemaErr(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportS chemaError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSche maDocument1(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSche maDocument(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSc hema(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(Un known Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(U nknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(U nknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newS chema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(C onfigurationManager.java:1344) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(C onfigurationManager.java:1340) at java.security.AccessController.doPrivileged(Native Method) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLS chema(ConfigurationManager.java:1339) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Co nfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initial ize(ConfigurationManager.java:279) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://javaemailserver.sourceforge.net/ schema/mail_2_8.xsd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEnt ity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocV ersion(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.pars e(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.pars e(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(Un known Source) ... 17 more The application failed to initialize. java.lang.RuntimeException: There was an error loading the schema at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLS chema(ConfigurationManager.java:1364) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Co nfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initial ize(ConfigurationManager.java:279) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) C:\Program Files\jes 2.8.2\bin> It looks like JES is not able to get to the schema file on the Internet, probably because we have a proxy server here that we have to go through. I never had this problem with 1.6.1. I'm guessing my options are: 1. Go back to 1.6.1 (I'm just using it for testing an app that sends out e-mail notifications, anyway) 2. Find where the schema document location is specified and edit it to file://some_path_on_my_laptop/mail_2_8.xsd <file:///\\some_path_on_my_laptop\mail_2_8.xsd> and copy the schema file there. 3. Configure 2.8.2 to authenticate at our proxy server. Can anyone help me with either option 2 or option 3? I'm thinking the simplest thing is just to go back to 1.6.1. Thanks, Rebeccah ______________________________________________________________________ The contents of this message, together with any attachments, are intended only for the use of the person(s) to which they are addressed and may contain confidential and/or privileged information. Further, any medical information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, review, copy, disclose, or disseminate confidential medical information. If you are not the intended recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or copying of this message, or any attachment, is prohibited. ------------------------------------------------------------------------ ------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Javaemailserver-user mailing list Jav...@li... https://lists.sourceforge.net/lists/listinfo/javaemailserver-user ______________________________________________________________________ The contents of this message, together with any attachments, are intended only for the use of the person(s) to which they are addressed and may contain confidential and/or privileged information. Further, any medical information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, review, copy, disclose, or disseminate confidential medical information. If you are not the intended recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or copying of this message, or any attachment, is prohibited. |