[
https://issues.apache.org/jira/browse/DAEMON-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562435#action_12562435
]
Francesco Dalan commented on DAEMON-96:
---------------------------------------
Hi,
I have the same error but the classpath have been trucated to 1023th character.
The truncation happens when I open the monitor (prunmgr.exe) and save any
modification on the java tab.
Looking into the source (prunmgr.c, __generalJvmSave routine), the variable
szB, used to store the classpath value from the input field, is 1024 byte
length.
I have changed the source using a new more longer variable and same to work. I
attach my modified prunmgr.c file with the modification (see the "start
DAEMON-96" and "end DAEMON-96" comments) to propose the fixing
> Classpath is being truncated
> ----------------------------
>
> Key: DAEMON-96
> URL: https://issues.apache.org/jira/browse/DAEMON-96
> Project: Commons Daemon
> Issue Type: Bug
> Environment: Windows
> Reporter: James Woodward
>
> [2007-03-26 10:33:38] [info] Starting service...
> [2007-03-26 10:33:38] [408 javajni.c] [debug] Jvm Option[0]
> -Djava.class.path=C:\Java\ftpserver-1.0-M1-incubator\common\classes;C:\Java\ftpserver-1.0-M1-incubator\common\lib\activation.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\backport-util-concurrent-2.2.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\commons-dbcp-1.2.1.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\commons-lang-2.3.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\commons-logging-1.1.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\commons-pool-1.3.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\dom4j-1.6.1.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\ejb3-persistence.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\ftplet-api-1.0-M1-incubator.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\ftpserver-admin-gui-1.0-M1-incubator.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\ftpserver-core-1.0-M1-incubator.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\hibernate-annotations.jar;C:\Java\ftpserver-1.0-M1-incubator\common\lib\hibernate-commons-annotations.jar;C
> [2007-03-26 10:33:38] [408 javajni.c] [debug] Jvm Option[1] vfprintf
> [2007-03-26 10:33:40] [494 javajni.c] [debug] argv[0] = start
> [2007-03-26 10:33:40] [494 javajni.c] [debug] argv[1] = -xml
> [2007-03-26 10:33:40] [494 javajni.c] [debug] argv[2] = ./res/conf/ftpd.xml
> [2007-03-26 10:33:41] [919 prunsrv.c] [debug] Java started
> org/apache/ftpserver/commandline/Daemon
> [2007-03-26 10:33:41] [info] Service started in 2162 ms.
> The class path is being truncated at the 1010th character.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.