DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37674>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37674

           Summary: Windows EXE fails to pass spaces in JVMTI -javaagent
                    option
           Product: Tomcat 5
           Version: Unknown
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:Packaging
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I am trying to configure the Tomcat 5.5.12 Windows EXE to pass a -javaagent 
argument properly. I have found that if the file path for the Javaagent jar has 
spaces then the system won't start correctly. However, if I copy the javaagent 
jar to a location with no spaces in the file path then everything works.

E.g., this Java Option configuration line works:
-javaagent:C:\aspectjweaver.jar

This fails:
-javaagent:C:\Program Files\Apache Software Foundation\Tomcat 5.5
\shared\lib\glassbox\aspectjweaver.jar

With the following output 
[2005-11-28 16:01:31] [409  javajni.c] [error] CreateJavaVM Failed
[2005-11-28 16:01:31] [930  prunsrv.c] [error] Failed initializing java 
C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\b
ootstrap.jar
[2005-11-28 16:01:31] [1179 prunsrv.c] [error] ServiceStart returned 2

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to