[jboss-jira] [JBoss JIRA] Commented: (JBAS-4948) errors in bin/run.sh on OSX

Alphonse Bendt (JIRA) jira-events at lists.jboss.org
Thu Feb 14 09:16:29 EST 2008


    [ http://jira.jboss.com/jira/browse/JBAS-4948?page=comments#action_12399430 ] 
            
Alphonse Bendt commented on JBAS-4948:
--------------------------------------

the patch didn't work for me (OSX 10.5.2, JBoss 4.2.2.GA). so i changed two lines:

       // cosmetics 
	ulimit -n $MAX_FD 2&> /dev/null
        
       // the following command didn't seem to work correctly
       	MAX_FD=`sysctl kern.maxfilesperproc | awk '{ print $2 }'`




> errors in bin/run.sh on OSX
> ---------------------------
>
>                 Key: JBAS-4948
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4948
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossAS-4.2.2.GA
>         Environment: osx 10.5
>            Reporter: Jon Stevens
>            Priority: Minor
>         Attachments: patch.txt
>
>
> I see this when I run run.sh:
> ./bin/run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument
> run.sh: Could not set maximum file descriptor limit: unlimited
> Doesn't seem to affect the rest of the script.

-- 
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