Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-442

ProcRun classpath limitation of 1010 characters truncates the classpath string for many libraries on the classpath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.3
    • 1.3.1
    • Procrun
    • None
    • Important

    Description

      When installing a service and it has a long java class path, it truncates of the remainder of the class path which seems to have a 1010 character limit when specifying a big amount of jars.

       

      See here where the JVM option shows the classpath being truncated:

      [2022-04-06 16:31:57] [debug] ( javajni.c:817 ) [ 3228] JVM Option[2] -Djava.class.path=C:\\Postilion\\eSocket.POS\\java;C:\\Postilion\\eSocket.POS\\CXPI\\lib\\commons-configuration-1.10.jar;C:\\Postilion\\eSocket.POS\\CXPI\\lib\\commons-lang-2.6.jar;C:\\Postilion\\eSocket.POS\\CXPI\\lib\\commons-logging-1.2.jar;C:\\Postilion\\eSocket.POS\\bin\\bcpkix-jdk15.jar;C:\\Postilion\\eSocket.POS\\bin\\bcprov-jdk15.jar;C:\\Postilion\\eSocket.POS\\bin\\comm.jar;C:\\Postilion\\eSocket.POS\\bin\\esocket-tools-log4j.jar;C:\\Postilion\\eSocket.POS\\bin\\esocket-tools.jar;C:\\Postilion\\eSocket.POS\\bin\\hsqldb-2.3.4.jar;C:\\Postilion\\eSocket.POS\\bin\\log4j-api-2.13.3.jar;C:\\Postilion\\eSocket.POS\\bin\\log4j-core-2.13.3.jar;C:\\Postilion\\eSocket.POS\\bin\\mssql-jdbc-8.2.2.jre8.jar;C:\\Postilion\\eSocket.POS\\bin\\postespos-sdk.jar;C:\\Postilion\\eSocket.POS\\bin\\commons-daemon.jar;C:\\Postilion\\eSocket.POS\\bin\\endorsed\\xercesImpl.jar;C:\\Postilion\\eSocket.POS\\bin\\endorsed\\xml-apis.jar;C:\\Postilion\\eSocket.POS\\bin\\jai_codec.jar;C:\\Postilion\\eSocket.POS\\bin
      j

      See the service log attached.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            japie.vdlinde Japie vd Linde
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: