You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Frank Fitch <Fr...@oracle.com> on 2010/05/06 20:40:16 UTC
emailgenerator.properties
Hi Folks,
Anyone out there using emailgenerator?
I get a very strange error:
$ ./emailgenerator
', exitingopen property file '
$
Truss helps some:
15488/1: open64("^M", O_RDONLY) Err#2 ENOENT
15488/1: open("/usr/dt/lib/nls/msg/C/SUNW_OST_OSLIB.cat", O_RDONLY) Err#2 ENOENT
15488/1: open("/usr/lib/locale/C/LC_MESSAGES/SUNW_OST_OSLIB.mo", O_RDONLY) Err#2 ENOENT
15488/1: write(1, 0xFFBFC658, 41) = 41
15488/1: U n a b l e t o o p e n p r o p e r t y f i l e '\r '
15488/1: , e x i t i n g
15488/1: write(1, "\n", 1) = 1
It would appear that it thinks the properties file is a control char ("^M"). That would
explain the jumbled output :)
from the docs, it would appear that there two args for org.mahlen.hula.apps.EmailGenerator
"EmailGenerator(boolean vocal, java.lang.String propFileName)"
I tried telling it to be vocal and specifying the props file manually, with no difference.
$ ./emailgenerator 1 ./emailgenerator.properties
', exitingopen property file '
$
truss shows results identical to using no args.
Where does the script/class expect the props file to be?
Thanks,
-Frank