Looks like I busted something after moving to use the
Jakarta Commons Email
library. I'll add in the relevant code to handle setting
the mail host. I
wasn't doing this if an SMTP username and password weren't
provided.
Tracking as <h
ttp://jira.blojsom.com/jira/browse/BLOJSOM-118>
On 2/8/06 5:49 PM, "blojsom mac.com"
<blojsom mac.com> wrote:
> I fixed the problem on a Mac OSX Server.
> You have to edit the following file (see below):
> /System/Library
root/LaunchDaemons/com.apple.blojsom.plist
> Then when the service will be restarted (either by a
reboot or with
> launchctl), the comments will be sent by email to the
blog owner.
>
> Thanks for your help.
> Best regards,
> Francois
>
>
> <?xml version="1.0"
encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD
PLIST 1.0//EN"
> "http:/
/www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>Label</key>
> <string>com.apple.blojsom</string>
> <key>OnDemand</key>
> <false/>
> <key>Program</key>
>
<string>/Library/Java/Home/bin/java</string>
> <key>ProgramArguments</key>
> <array>
> <string>java</string>
> HERE =====>
<string>-Dmail.host=localhost</string>
>
>
<string>-Djava.endorsed.dirs=/Library/Tomcat/common/en
dorsed</string>
> <string>-classpath</string>
>
>
<string>/Library/Java/Home/lib/tools.jar:/Library/Tomc
at/bin/bootstrap.jar</st
> ring>
>
<string>-Dcatalina.base=/Library/Tomcat/blojsom_root&l
t;/string>
>
<string>-Dcatalina.home=/Library/Tomcat</string>
>
>
<string>-Djava.io.tmpdir=/Library/Tomcat/blojsom_root/
temp</string>
>
<string>org.apache.catalina.startup.Bootstrap</stri
ng>
> <string>start</string>
> </array>
> <key>ServiceIPC</key>
> <false/>
> <key>UserName</key>
> <string>appserver</string>
> </dict>
> </plist>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you
grep through log files
> for problems? Stop! Download the new AJAX search
engine that makes
> searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
--
David Czarnecki
http://www.blojsom.com/b
log/ | http://blojsom.sf.net
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
for problems? Stop! Download the new AJAX search engine
that makes
searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|