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

Mark Thomas resolved DAEMON-442.
--------------------------------
    Fix Version/s: 1.3.1
       Resolution: Fixed

The size limit on the message component of the log entry has been increased 
from 1024 characters to 4096.

> 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: Minor
>             Fix For: 1.3.1
>
>         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.7#820007)

Reply via email to