On 12 August 2010 22:39, Ranjith Kumar <[email protected]> wrote:
> Hi,
>  I have to do in order to make Unicorn work is to add a unicorn.home
> parameter to JVM parameters, pointing to the unicorn root directory.
> example: -Dunicorn.home=/var/lib/tomcat6/webapps/unicorn/
> I tried to execute this but i got this error,
> go...@netpad:~$ -Dunicorn.home=/var/lib/tomcat6/webapps/unicorn/
> bash: -Dunicorn.home=/var/lib/tomcat6/webapps/unicorn/: No such file or
> directory
> go...@netpad:~$
>
>
> Can anyone tell me how to add this parameter
> I use tomcat server.
>

Export those values as values for the environmental variable
$CATALINA_OPTS in your bash_profile and source it. Then it will work.
These paramters are supposed to be passed to JVM not to bash. Bash
does not understand them.

HTH
Ashwin K.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to