You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Japie vd Linde (Jira)" <ji...@apache.org> on 2022/04/08 08:44:00 UTC

[jira] [Updated] (DAEMON-442) ProcRun classpath limitation of 1010 characters truncates the classpath string for many libraries on the classpath

     [ https://issues.apache.org/jira/browse/DAEMON-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Japie vd Linde updated DAEMON-442:
----------------------------------
    Summary: ProcRun classpath limitation of 1010 characters truncates the classpath string for many libraries on the classpath  (was: ProcRun classpath limitation to 1010 characters fails service to be operational when having lots of libraries)

> ProcRun classpath limitation of 1010 characters truncates the classpath string for many libraries on the classpath
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: DAEMON-442
>                 URL: https://issues.apache.org/jira/browse/DAEMON-442
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.2.3
>            Reporter: Japie vd Linde
>            Priority: Major
>         Attachments: Service-Service-Log.2022-04-06.log
>
>
> 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.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)