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 schemaorg.xml.sax.SAXParseException; schema_reference.4: Failed to read schema document 'http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(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.xs.traversers.XSDHandler.reportSchemaErr(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument1(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newSchema(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(ConfigurationManager.java:1344) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(ConfigurationManager.java:1340) at java.security.AccessController.doPrivileged(Native Method) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLSchema(ConfigurationManager.java:1339) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(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.setupCurrentEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(Unknown Source) ... 17 moreThe application failed to initialize.java.lang.RuntimeException: There was an error loading the schema at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLSchema(ConfigurationManager.java:1364) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(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 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 |