[jboss-jira] [JBoss JIRA] Closed: (JBAS-5240) log $JAVA_OPTS in boot.log, by setting the 'jboss.java.opts' environment variable at start-up

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Tue Mar 25 10:52:40 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5240?page=all ]

Dimitris Andreadis closed JBAS-5240.
------------------------------------

    Fix Version/s:     (was: JBossAS-5.0.0.CR1)
       Resolution: Won't Fix
         Assignee: Dimitris Andreadis  (was: Galder Zamarreno)

Galder, I've reverted the related changes. The problem is when doing the following:

.bat
-Djboss.java.opts="%JAVA_OPTS%"
.sh
-Djboss.java.opts="$JAVA_OPTS"

We have a problem when JAVA_OPTS includes quotes, e.g. JAVA_OPTS=-Dsome.property="xy and z"

I don't know an easy way to escape this in the .bat/.sh scripts, so I'm closing this JIRA as won't fix.

If you find a better solution that works on all platforms, please re-open.


> log $JAVA_OPTS in boot.log, by setting the 'jboss.java.opts' environment variable at start-up
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBAS-5240
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5240
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Other
>    Affects Versions: JBossAS-5.0.0.Beta4, JBossAS-4.2.2.GA
>            Reporter: Galder Zamarreno
>         Assigned To: Dimitris Andreadis
>            Priority: Critical
>
> To help remote support, AS should by default log command line options 
> within boot.log as explained in " Logging command line options in boot.log" 
> section in http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossBootLogging
> Thoughts?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list