[jira] [Commented] (CONNECTORS-1646) Notification Connector JDK > 11
[ https://issues.apache.org/jira/browse/CONNECTORS-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17145994#comment-17145994 ] Uwe Wolfinger commented on CONNECTORS-1646: --- unfortunately this will not work. i tried putting the jars in connector-common-lib, lib-proprietary,... but with no success. only when you put them on the classpath, the email connector will work > Notification Connector JDK > 11 > --- > > Key: CONNECTORS-1646 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1646 > Project: ManifoldCF > Issue Type: Bug > Components: Email connector >Affects Versions: ManifoldCF 2.16 >Reporter: Uwe Wolfinger >Assignee: Karl Wright >Priority: Major > > When running MCF with a JDK >=11 there is a problem with the Email > notification connector. Whenever it tries to send a mail, following error is > tossed: > FATAL 2020-06-25T14:58:43,097 (Job reset thread) - Error tossed: > javax/activation/DataSource > java.lang.NoClassDefFoundError: javax/activation/DataSource > at > org.apache.manifoldcf.crawler.notifications.email.EmailSession.send(EmailSession.java:95) > ~[?:?] > at > org.apache.manifoldcf.crawler.notifications.email.EmailConnector$SendThread.run(EmailConnector.java:963) > ~[?:?] > Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) > ~[?:?] > at > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) > ~[?:?] > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?] > ... 2 more > > this is because the activation jars are no longer part of the jdk: > [https://docs.oracle.com/en/java/javase/11/migrate/index.html#JSMIG-GUID-561005C1-12BB-455C-AD41-00455CAD23A6] > verified solution is to put > javax.activation-1.2.0.jar > and > javax.activation-api-1.2.0.jar > in the lib directory and add them to cp in jetty-options.env... and > options.env... > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (CONNECTORS-1646) Notification Connector JDK > 11
[ https://issues.apache.org/jira/browse/CONNECTORS-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17144988#comment-17144988 ] Karl Wright commented on CONNECTORS-1646: - Hi, Please verify that if you put these jars into the connector-common-lib folder instead (and make no changes to the *.env files) that this still works for you. > Notification Connector JDK > 11 > --- > > Key: CONNECTORS-1646 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1646 > Project: ManifoldCF > Issue Type: Bug > Components: Email connector >Affects Versions: ManifoldCF 2.16 >Reporter: Uwe Wolfinger >Assignee: Karl Wright >Priority: Major > > When running MCF with a JDK >=11 there is a problem with the Email > notification connector. Whenever it tries to send a mail, following error is > tossed: > FATAL 2020-06-25T14:58:43,097 (Job reset thread) - Error tossed: > javax/activation/DataSource > java.lang.NoClassDefFoundError: javax/activation/DataSource > at > org.apache.manifoldcf.crawler.notifications.email.EmailSession.send(EmailSession.java:95) > ~[?:?] > at > org.apache.manifoldcf.crawler.notifications.email.EmailConnector$SendThread.run(EmailConnector.java:963) > ~[?:?] > Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) > ~[?:?] > at > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) > ~[?:?] > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?] > ... 2 more > > this is because the activation jars are no longer part of the jdk: > [https://docs.oracle.com/en/java/javase/11/migrate/index.html#JSMIG-GUID-561005C1-12BB-455C-AD41-00455CAD23A6] > verified solution is to put > javax.activation-1.2.0.jar > and > javax.activation-api-1.2.0.jar > in the lib directory and add them to cp in jetty-options.env... and > options.env... > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (CONNECTORS-1646) Notification Connector JDK > 11
[ https://issues.apache.org/jira/browse/CONNECTORS-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright reassigned CONNECTORS-1646: --- Assignee: Karl Wright > Notification Connector JDK > 11 > --- > > Key: CONNECTORS-1646 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1646 > Project: ManifoldCF > Issue Type: Bug > Components: Email connector >Affects Versions: ManifoldCF 2.16 >Reporter: Uwe Wolfinger >Assignee: Karl Wright >Priority: Major > > When running MCF with a JDK >=11 there is a problem with the Email > notification connector. Whenever it tries to send a mail, following error is > tossed: > FATAL 2020-06-25T14:58:43,097 (Job reset thread) - Error tossed: > javax/activation/DataSource > java.lang.NoClassDefFoundError: javax/activation/DataSource > at > org.apache.manifoldcf.crawler.notifications.email.EmailSession.send(EmailSession.java:95) > ~[?:?] > at > org.apache.manifoldcf.crawler.notifications.email.EmailConnector$SendThread.run(EmailConnector.java:963) > ~[?:?] > Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) > ~[?:?] > at > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) > ~[?:?] > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?] > ... 2 more > > this is because the activation jars are no longer part of the jdk: > [https://docs.oracle.com/en/java/javase/11/migrate/index.html#JSMIG-GUID-561005C1-12BB-455C-AD41-00455CAD23A6] > verified solution is to put > javax.activation-1.2.0.jar > and > javax.activation-api-1.2.0.jar > in the lib directory and add them to cp in jetty-options.env... and > options.env... > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (CONNECTORS-1646) Notification Connector JDK > 11
Uwe Wolfinger created CONNECTORS-1646: - Summary: Notification Connector JDK > 11 Key: CONNECTORS-1646 URL: https://issues.apache.org/jira/browse/CONNECTORS-1646 Project: ManifoldCF Issue Type: Bug Components: Email connector Affects Versions: ManifoldCF 2.16 Reporter: Uwe Wolfinger When running MCF with a JDK >=11 there is a problem with the Email notification connector. Whenever it tries to send a mail, following error is tossed: FATAL 2020-06-25T14:58:43,097 (Job reset thread) - Error tossed: javax/activation/DataSource java.lang.NoClassDefFoundError: javax/activation/DataSource at org.apache.manifoldcf.crawler.notifications.email.EmailSession.send(EmailSession.java:95) ~[?:?] at org.apache.manifoldcf.crawler.notifications.email.EmailConnector$SendThread.run(EmailConnector.java:963) ~[?:?] Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) ~[?:?] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[?:?] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?] ... 2 more this is because the activation jars are no longer part of the jdk: [https://docs.oracle.com/en/java/javase/11/migrate/index.html#JSMIG-GUID-561005C1-12BB-455C-AD41-00455CAD23A6] verified solution is to put javax.activation-1.2.0.jar and javax.activation-api-1.2.0.jar in the lib directory and add them to cp in jetty-options.env... and options.env... -- This message was sent by Atlassian Jira (v8.3.4#803005)