AnantLabs / google-enterprise-connector-sharepoint

Automatically exported from code.google.com/p/google-enterprise-connector-sharepoint
0 stars 0 forks source link

If the connector is not running under the right JDK, it should log an error and stop making progress #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Connector Manager can be run under JDK 1.4 and 1.5, but sharepoint
connector only runs under 1.4. If 1.5 is used, it kinda works (the state
file doesn't get created) and Amit found that a non-obvious error is logged
in stderr logs:
--
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found

      at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)

--

When connector starts, it should find out which JDK it is running under and
if it is an unsupported version, it should log an error in the normal log
file (not stderr) and should stop making any progress, so it is easy to
spot the error.

Original issue reported on code.google.com by mobe...@gmail.com on 19 Feb 2008 at 7:20

GoogleCodeExporter commented 9 years ago
Let's make this check part of the installer. The JDK version check should be per
connector, and the versions should be a range. For example: 1.4.2 - 5. 

Original comment by jeffreyl...@gmail.com on 20 Feb 2008 at 4:06

GoogleCodeExporter commented 9 years ago

Original comment by mwarti...@gmail.com on 21 Feb 2008 at 3:37

GoogleCodeExporter commented 9 years ago

Original comment by mwarti...@gmail.com on 28 Feb 2008 at 4:41