hi,
i have a java program which gets data from the database and sends a
mail to existing users. This program is a part of the jar file that am placing
in SAR-INF/lib folder. Currently am invoking this program by a shell script
whick invokes the program through its main method. I cannot create a mailet as
it will take only a mail message as argument.
if i use pheonix.sh script, can you tell me where exactly do i have to add the
command to run the java program
right now am running it through the shell script which has the command "java
-jar octopus.jar"
now i have to include the command in phoenix.sh, can you tell me where to
include it.
[EMAIL PROTECTED] wrote:
> Hi,
> I have a java program which should be invoked everytime i
> start the James server.
What program? What are you trying to do?
1) you can change the phoenix.sh script and add any command (either java or
not) in the head
2) you can create a phoenix application, create the *.sar file and put it in
the "apps" folder.
3) you can create a mailet and put your code in the initialization method of
the mailet.
These are commons scenario. You should tell us more if you want to know
what's the best for you.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
...life is what we make it, always has been, always will be.
Good Day
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com