Danny,
yes I got it up and running by placing it in the ~installdir/lib folder. But, even
better, I appended the library in the -Djava.ext.dirs=%PHOENIX_HOME% variable of the
run script. That way I don't need to duplicate the jars and I can keep the
installations clean.
Mark
Danny Angus
<danny@though To: James Users List
<[EMAIL PROTECTED]>
t.co.uk> cc:
Subject: RE: Invoking my own classes from
Mailet
2002-04-10 Header: Internal Use Only
20:43
Please
respond to
James Users
List
Ok,
just a guess here.. the classloader can't find TibrvException except you're
not seeing a CNF exception...
have you tried putting it in ~installdir/lib instead of apps/james/lib?
Actually I have no idea whats going on, so treat my advice accordingly :-)
d.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 10 April 2002 15:54
> To: [EMAIL PROTECTED]
> Subject: Invoking my own classes from Mailet
>
>
> Hello!
>
> I have successfully managed to receive an e-mail and extract its
> attachment.
>
> Now I use TIBCO/RendezVous messaging software to send out a
> broadcast message on the Network to other RendezVous clients that
> this file is available for download.
>
> The necessary .jar file is placed in:
>
> C:\James\apps\james\lib
>
> and I have a private method in my Mailet that does the work of
> sending the Message out:
>
> private String sendToRv(File file) throws TibrvException{
> //Create RV Message
> log("Preparing RV message");
> System.out.println("**Preparing to send RV message**");
>
> TibrvMsg msg = new TibrvMsg();
> msg.setSendSubject(getInitParameter("bitsubject"));
>
> The problem is that I get into the sendToRv() method including
> the ***Preparing to send RV message*** system-out. Then nothing,
> no exception nothing in the logs. What is going on here?
>
> Any hints highly appreciated.
>
> Mark
>
>
>
>
> -------------------------------------------------------------- --
> Visit our Internet site at http://www.reuters.com
>
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be
> the views of Reuters Ltd.
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
------------------------------------------------------------- ---
Visit our Internet site at http://www.reuters.com
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Reuters Ltd.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>