STARTcloud / hcl_domino_standalone_provisioner

This spins up a Standalone Domino Instance, with additional HCL services like Traveler, NomadWeb, etc
Apache License 2.0
1 stars 0 forks source link

Domino 14 -- domino_java_tools -- package lotus.domino does not exist #7

Open MarkProminic opened 6 months ago

MarkProminic commented 6 months ago

Preparing for Domino 14, I am getting the following error in the current Ansible role: domino_java_roles

https://github.com/STARTcloud/hcl_roles/tree/main/roles/domino_java_tools

TASK [startcloud.hcl_roles.domino_java_tools : Building utility jars and deploying] ***
failed: [4020--demo.startcloud.com] (item=source /local/notesjava/.sdkman/bin/sdkman-init.sh && gradle clean jarIndividual --stacktrace) => changed=true 
  ansible_loop_var: item
  cmd: source /local/notesjava/.sdkman/bin/sdkman-init.sh && gradle clean jarIndividual --stacktrace
  delta: '0:00:08.530767'
  end: '2024-05-27 06:25:39.657621'
  item: source /local/notesjava/.sdkman/bin/sdkman-init.sh && gradle clean jarIndividual --stacktrace
  msg: non-zero return code
  rc: 1
  start: '2024-05-27 06:25:31.126854'
  stderr: |-
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:5: error: package lotus.domino does not exist
    import lotus.domino.ACL;
                       ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:6: error: package lotus.domino does not exist
    import lotus.domino.Database;
                       ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:7: error: package lotus.domino does not exist
    import lotus.domino.DbDirectory;
                       ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:8: error: package lotus.domino does not exist
    import lotus.domino.NotesException;
                       ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:9: error: package lotus.domino does not exist
    import lotus.domino.NotesFactory;
                       ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:10: error: package lotus.domino does not exist
    import lotus.domino.NotesThread;
                       ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:11: error: package lotus.domino does not exist
    import lotus.domino.Session;
                       ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:75: error: cannot find symbol
        public static void checkServer(Session session, String serverName) throws NotesException, Exception {
                                       ^
      symbol:   class Session
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:75: error: cannot find symbol
        public static void checkServer(Session session, String serverName) throws NotesException, Exception {
                                                                                  ^
      symbol:   class NotesException
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:107: error: cannot find symbol
        public static void checkACLAccess(Database database, String testUser) {
                                          ^
      symbol:   class Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckNotesUser.java:3: error: package lotus.domino does not exist
    import lotus.domino.*;
    ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:5: error: package lotus.domino does not exist
    import lotus.domino.*;
    ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:63: error: cannot find symbol
        public static void createLocalNamesDatabase(Session session) throws NotesException, Exception {
                                                    ^
      symbol:   class Session
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:63: error: cannot find symbol
        public static void createLocalNamesDatabase(Session session) throws NotesException, Exception {
                                                                            ^
      symbol:   class NotesException
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:3: error: package lotus.domino does not exist
    import lotus.domino.*;
    ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:216: error: cannot find symbol
            public static String crossCertify(Session session, String targetID, String server, String certID, String certPassword)  throws Exception {
                                              ^
      symbol:   class Session
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:280: error: cannot find symbol
            public static String getLastCrossCertifiedUser(Session session, String server) {
                                                           ^
      symbol:   class Session
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:382: error: cannot find symbol
            public static void addUserToAuthorizedGroup(Session session, String username, String server, String userPassword) throws NotesException, Exception {
                                                        ^
      symbol:   class Session
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:382: error: cannot find symbol
            public static void addUserToAuthorizedGroup(Session session, String username, String server, String userPassword) throws NotesException, Exception {
                                                                                                                                     ^
      symbol:   class NotesException
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:472: error: cannot find symbol
            public static void addUserAsServerAdmin(Session session, String username, String server) throws NotesException, Exception {
                                                    ^
      symbol:   class Session
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:472: error: cannot find symbol
            public static void addUserAsServerAdmin(Session session, String username, String server) throws NotesException, Exception {
                                                                                                            ^
      symbol:   class NotesException
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:555: error: cannot find symbol
            protected static boolean updateServerSecurityField(Document serverDoc, String itemName, String userName) throws NotesException {
                                                               ^
      symbol:   class Document
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:555: error: cannot find symbol
            protected static boolean updateServerSecurityField(Document serverDoc, String itemName, String userName) throws NotesException {
                                                                                                                            ^
      symbol:   class NotesException
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:590: error: cannot find symbol
            protected static boolean updateNamesACL(Database database, String userName) throws NotesException, Exception {
                                                    ^
      symbol:   class Database
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:590: error: cannot find symbol
            protected static boolean updateNamesACL(Database database, String userName) throws NotesException, Exception {
                                                                                               ^
      symbol:   class NotesException
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:649: error: cannot find symbol
            private static boolean updateACLFromConfig(ACL acl, JSONObject config, String userName) {
                                                       ^
      symbol:   class ACL
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:32: error: cannot find symbol
                NotesThread.sinitThread();
                ^
      symbol:   variable NotesThread
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:34: error: cannot find symbol
                Session session = NotesFactory.createSession();
                ^
      symbol:   class Session
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:34: error: cannot find symbol
                Session session = NotesFactory.createSession();
                                  ^
      symbol:   variable NotesFactory
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:45: error: cannot find symbol
                Database database = session.getDatabase(serverName, databaseName, false);
                ^
      symbol:   class Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:70: error: cannot find symbol
                NotesThread.stermThread();
                ^
      symbol:   variable NotesThread
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:76: error: cannot find symbol
            DbDirectory directory = null;
            ^
      symbol:   class DbDirectory
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:77: error: cannot find symbol
            Database database = null;
            ^
      symbol:   class Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:87: error: cannot find symbol
                    database = directory.getFirstDatabase(DbDirectory.DATABASE);
                                                          ^
      symbol:   variable DbDirectory
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:98: error: cannot find symbol
            catch (NotesException ex) {
                   ^
      symbol:   class NotesException
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:113: error: cannot find symbol
                    case(ACL.LEVEL_NOACCESS) :
                         ^
      symbol:   variable ACL
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:113: error: illegal start of type
                    case(ACL.LEVEL_NOACCESS) :
                        ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:116: error: cannot find symbol
                    case(ACL.LEVEL_DEPOSITOR) :
                         ^
      symbol:   variable ACL
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:116: error: illegal start of type
                    case(ACL.LEVEL_DEPOSITOR) :
                        ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:119: error: cannot find symbol
                    case(ACL.LEVEL_READER) :
                         ^
      symbol:   variable ACL
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:119: error: illegal start of type
                    case(ACL.LEVEL_READER) :
                        ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:122: error: cannot find symbol
                    case(ACL.LEVEL_AUTHOR) :
                         ^
      symbol:   variable ACL
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:122: error: illegal start of type
                    case(ACL.LEVEL_AUTHOR) :
                        ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:125: error: cannot find symbol
                    case(ACL.LEVEL_EDITOR) :
                         ^
      symbol:   variable ACL
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:125: error: illegal start of type
                    case(ACL.LEVEL_EDITOR) :
                        ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:128: error: cannot find symbol
                    case(ACL.LEVEL_DESIGNER) :
                         ^
      symbol:   variable ACL
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:128: error: illegal start of type
                    case(ACL.LEVEL_DESIGNER) :
                        ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:131: error: cannot find symbol
                    case(ACL.LEVEL_MANAGER) :
                         ^
      symbol:   variable ACL
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:131: error: illegal start of type
                    case(ACL.LEVEL_MANAGER) :
                        ^
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:143: error: cannot find symbol
                if ((accPriv & Database.DBACL_CREATE_DOCS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:145: error: cannot find symbol
                if ((accPriv & Database.DBACL_DELETE_DOCS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:147: error: cannot find symbol
                if ((accPriv & Database.DBACL_CREATE_PRIV_AGENTS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:149: error: cannot find symbol
                if ((accPriv & Database.DBACL_CREATE_PRIV_FOLDERS_VIEWS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:151: error: cannot find symbol
                if ((accPriv & Database.DBACL_CREATE_SHARED_FOLDERS_VIEWS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:153: error: cannot find symbol
                if ((accPriv & Database.DBACL_CREATE_SCRIPT_AGENTS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:155: error: cannot find symbol
                if ((accPriv & Database.DBACL_READ_PUBLIC_DOCS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:157: error: cannot find symbol
                if ((accPriv & Database.DBACL_WRITE_PUBLIC_DOCS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckDatabase.java:159: error: cannot find symbol
                if ((accPriv & Database.DBACL_REPLICATE_COPY_DOCS) > 0)
                               ^
      symbol:   variable Database
      location: class CheckDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckNotesUser.java:44: error: cannot find symbol
                NotesThread.sinitThread();
                ^
      symbol:   variable NotesThread
      location: class CheckNotesUser
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckNotesUser.java:59: error: cannot find symbol
                Session session = NotesFactory.createSession(null, args, null, null);
                ^
      symbol:   class Session
      location: class CheckNotesUser
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckNotesUser.java:59: error: cannot find symbol
                Session session = NotesFactory.createSession(null, args, null, null);
                                  ^
      symbol:   variable NotesFactory
      location: class CheckNotesUser
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckNotesUser.java:69: error: cannot find symbol
                Name userNameObject = session.getUserNameObject();
                ^
      symbol:   class Name
      location: class CheckNotesUser
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckNotesUser.java:84: error: cannot find symbol
                    Database database = session.getDatabase("", databaseName, false);
                    ^
      symbol:   class Database
      location: class CheckNotesUser
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckNotesUser.java:85: error: cannot find symbol
                    Document document = null;
                    ^
      symbol:   class Document
      location: class CheckNotesUser
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CheckNotesUser.java:121: error: cannot find symbol
                NotesThread.stermThread();
                ^
      symbol:   variable NotesThread
      location: class CheckNotesUser
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:13: error: cannot find symbol
            Session session = null;
            ^
      symbol:   class Session
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:24: error: cannot find symbol
                NotesThread.sinitThread();
                ^
      symbol:   variable NotesThread
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:30: error: cannot find symbol
                    session = NotesFactory.createSession();
                              ^
      symbol:   variable NotesFactory
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:34: error: cannot find symbol
                    session = NotesFactory.createSession((String)null, (String)null, password);
                              ^
      symbol:   variable NotesFactory
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:54: error: cannot find symbol
                catch(NotesException ex) {
                      ^
      symbol:   class NotesException
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:57: error: cannot find symbol
                NotesThread.stermThread();
                ^
      symbol:   variable NotesThread
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:64: error: cannot find symbol
            Database template = null;
            ^
      symbol:   class Database
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CreateNamesDatabase.java:65: error: cannot find symbol
            Database localNames = null;
            ^
      symbol:   class Database
      location: class CreateNamesDatabase
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:47: error: cannot find symbol
                    Session session = null;
                    ^
      symbol:   class Session
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:85: error: cannot find symbol
                            NotesThread.sinitThread();
                            ^
      symbol:   variable NotesThread
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:98: error: cannot find symbol
                            session = NotesFactory.createSession(sessionServer, args, sessionUser, userPassword);
                                      ^
      symbol:   variable NotesFactory
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:135: error: cannot find symbol
                                            NotesThread.stermThread();
                                            ^
      symbol:   variable NotesThread
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:219: error: cannot find symbol
                    Registration reg = null;
                    ^
      symbol:   class Registration
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:220: error: cannot find symbol
                    DateTime dt = null;
                    ^
      symbol:   class DateTime
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:264: error: cannot find symbol
                            catch (NotesException ex) {
                                   ^
      symbol:   class NotesException
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:281: error: cannot find symbol
                    Database namesDatabase = null;
                    ^
      symbol:   class Database
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:282: error: cannot find symbol
                    View certView = null;
                    ^
      symbol:   class View
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:283: error: cannot find symbol
                    ViewEntryCollection entries = null;
                    ^
      symbol:   class ViewEntryCollection
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:304: error: cannot find symbol
                            ViewEntry curEntry = entries.getFirstEntry();
                            ^
      symbol:   class ViewEntry
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:308: error: cannot find symbol
                                    Document curDoc = null;
                                    ^
      symbol:   class Document
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:309: error: cannot find symbol
                                    DateTime dateTime = null;
                                    ^
      symbol:   class DateTime
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:335: error: cannot find symbol
                                            ViewEntry prevEntry = curEntry;
                                            ^
      symbol:   class ViewEntry
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:368: error: cannot find symbol
                            catch (NotesException ex) {
                                   ^
      symbol:   class NotesException
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:384: error: cannot find symbol
                    Database namesDatabase = null;
                    ^
      symbol:   class Database
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:385: error: cannot find symbol
                    View groupView = null;
                    ^
      symbol:   class View
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:386: error: cannot find symbol
                    Document groupDoc = null;
                    ^
      symbol:   class Document
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:433: error: cannot find symbol
                            View refreshView = null;
                            ^
      symbol:   class View
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:474: error: cannot find symbol
                    Database namesDatabase = null;
                    ^
      symbol:   class Database
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:475: error: cannot find symbol
                    View serverView = null;
                    ^
      symbol:   class View
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:476: error: cannot find symbol
                    Document serverDoc = null;
                    ^
      symbol:   class Document
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:477: error: cannot find symbol
                    Name nameObj = null;
                    ^
      symbol:   class Name
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:591: error: cannot find symbol
                    ACL acl = null;
                    ^
      symbol:   class ACL
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:654: error: cannot find symbol
                            ACLEntry entry = acl.getEntry(userName);
                            ^
      symbol:   class ACLEntry
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:659: error: cannot find symbol
                                    entry = acl.createACLEntry(userName, ACL.LEVEL_NOACCESS);
                                                                         ^
      symbol:   variable ACL
      location: class CrossCertifyNotesID
    /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java:667: error: cannot find symbol
                                    int level = ACL.LEVEL_NOACCESS;
                                                ^
      symbol:   variable ACL
      location: class CrossCertifyNotesID
    Note: /vagrant/installers/domino-java-helpers/src/main/java/net/prominic/domino/vagrant/CrossCertifyNotesID.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    100 errors

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':compileJava'.
    > Compilation failed; see the compiler error output for details.

    * Try:
    Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    * Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'.
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:151)
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:148)
            at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:191)
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:141)
            at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionStateTaskExecuter.execute(ResolveBeforeExecutionStateTaskExecuter.java:75)
            at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
            at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)
            at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67)
            at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46)
            at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94)
            at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
            at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95)
            at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
            at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
            at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
            at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:73)
            at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
            at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:49)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
            at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
            at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:49)
            at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
            at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
            at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
            at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
            at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
            at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
            at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
            at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
            at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
            at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
            at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
            at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
            at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
    Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
            at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:52)
            at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:36)
            at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:100)
            at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52)
            at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
            at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51)
            at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37)
            at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:39)
            at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory$2.execute(IncrementalCompilerFactory.java:110)
            at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory$2.execute(IncrementalCompilerFactory.java:106)
            at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:60)
            at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:44)
            at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:59)
            at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:51)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
            at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
            at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:51)
            at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:154)
            at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:122)
            at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103)
            at org.gradle.api.internal.project.taskfactory.IncrementalTaskInputsTaskAction.doExecute(IncrementalTaskInputsTaskAction.java:46)
            at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:41)
            at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
            at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$5.run(ExecuteActionsTaskExecuter.java:404)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
            at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
            at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:393)
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:376)
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$200(ExecuteActionsTaskExecuter.java:80)
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:213)
            at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:32)
            at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:32)
            at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
            at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:58)
            at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:35)
            at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
            at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:33)
            at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:39)
            at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
            at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
            at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:35)
            at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
            at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:45)
            at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:31)
            at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:201)
            at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:70)
            at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:45)
            at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
            at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:43)
            at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:32)
            at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
            at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
            at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:96)
            at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:89)
            at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
            at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
            at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:77)
            at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
            at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
            at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
            at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:90)
            at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:48)
            at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
            at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:120)
            ... 35 more

    * Get more help at https://help.gradle.org

    BUILD FAILED in 7s
  stderr_lines: <omitted>
  stdout: |2-

    Welcome to Gradle 5.4.1!

    Here are the highlights of this release:
     - Run builds with JDK12
     - New API for Incremental Tasks
     - Updates to native projects, including Swift 5 support

    For more details see https://docs.gradle.org/5.4.1/release-notes.html

    Starting a Gradle Daemon (subsequent builds will be faster)

    > Configure project :
    Updated PATH: /local/notesjava/.sdkman/candidates/maven/current/bin:/local/notesjava/.sdkman/candidates/java/current/bin:/local/notesjava/.sdkman/candidates/gradle/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;/opt/hcl/domino/notes/latest/linux
    Creating task: 'jarCheckDatabase'
    Using existing task: 'jarCheckNotesUser'
    Creating task: 'jarCreateNamesDatabase'
    Creating task: 'jarCrossCertifyNotesID'

    > Task :clean UP-TO-DATE

    > Task :compileJava FAILED
    2 actionable tasks: 1 executed, 1 up-to-date
  stdout_lines: <omitted>
JoelProminic commented 6 months ago

For this error, it looks like Notes.jar was not found. We need to locate it under the Domino installation, and add it to the classpath when compiling the JARs. The current code is here: https://github.com/STARTcloud/hcl_domino_standalone_provisioner/blob/15ae138037f8e2c3e29c5d6256e8e48eb7b1d16b/hcl_domino_standalone_provisioner/installers/domino-java-helpers/build.gradle#L17-L29

JoelProminic commented 6 months ago

This command should work to locate the JAR:

startcloud@test-1201:~$ find /opt/hcl/domino/notes/latest/linux/ -name "Notes.jar"
/opt/hcl/domino/notes/latest/linux/jvm/lib/ext/Notes.jar

From there, we could add a condition for this line to use the new path on Domino 14.0. However, note that build.gradle is not a J2 template currenlty.

I was envisioning adding a condition to check this in build.gradle, similar to this for Notes Client 14.0: https://github.com/Moonshine-IDE/DominoAPILocalExample/blob/2c5023ba8d14f3e778b9a48183bcd65b29fc0fe7/build.gradle#L35-L40

MarkProminic commented 5 months ago

I have updated this, and it appears to run, but as me and @JoelProminic found out during our testing of the Domino 14 and Nomad, it doesn't appear to actually update the user acls.

https://github.com/STARTcloud/hcl_domino_standalone_provisioner/blob/12b0b0c086173e5e87187d7c7b97f24aac60c417/hcl_domino_standalone_provisioner/installers/domino-java-helpers/build.gradle#L23-L30

JoelProminic commented 5 months ago

Right, we saw that the agent ran and made updates to:

However, when we checked names.nsf, we did not see these changes. We looked for an extra copy of names.nsf, but did not find anything obvious.

The current plan is to revert to Domino 12.0.2 and confirm that the roles are still working properly there.