incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Fitch <>
Date Thu, 06 May 2010 18:40:16 GMT
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/", O_RDONLY) Err#2 ENOENT
15488/1: open("/usr/lib/locale/C/LC_MESSAGES/", 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 ./
', exitingopen property file '

truss shows results identical to using no args.

Where does the script/class expect the props file to be?


View raw message