I put the jar in build/lib with the james.sar and build it.
I then put the james.sar in james-2.1/apps.

This is the phoenix log I got last evening after I build the .sar,
Any suggestions,

INFO    2003-02-17 17:53:23.850 [Phoenix ] (): Logger started
WARN    2003-02-17 17:53:24.144 [Phoenix ] (): Phoenix was not started
by the daemon thus it will not be possible to restart the JVM via the
Management interface.
INFO    2003-02-17 17:53:27.672 [Phoenix.] (): Installing Sar located at
file:/home/public/Downloads/James/james-2.1/apps/james.sar.
WARN    2003-02-17 17:53:29.352 [Phoenix.] (): The file
SAR-INF/lib/mm.mysql.LICENCE can not be extracted from the Sar
"file:/home/public/Downloads/James/james-2.1/apps/james.sar" into
directory
/home/public/Downloads/James/james-2.1/apps/james/SAR-INF/lib/mm.mysql.LICENCE because 
there is a file in the way.
WARN    2003-02-17 17:53:29.373 [Phoenix.] (): The file
conf/sqlResources.xml can not be extracted from the Sar
"file:/home/public/Downloads/James/james-2.1/apps/james.sar" into
directory
/home/public/Downloads/James/james-2.1/apps/james/conf/sqlResources.xml
because there is a file in the way.
WARN    2003-02-17 17:53:29.385 [Phoenix.] (): The file
SAR-INF/config.xml can not be extracted from the Sar
"file:/home/public/Downloads/James/james-2.1/apps/james.sar" into
directory
/home/public/Downloads/James/james-2.1/apps/james/SAR-INF/config.xml
because there is a file in the way.
WARN    2003-02-17 17:53:29.396 [Phoenix.] (): The file
SAR-INF/assembly.xml can not be extracted from the Sar
"file:/home/public/Downloads/James/james-2.1/apps/james.sar" into
directory
/home/public/Downloads/James/james-2.1/apps/james/SAR-INF/assembly.xml
because there is a file in the way.
WARN    2003-02-17 17:53:29.410 [Phoenix.] (): The file
SAR-INF/environment.xml can not be extracted from the Sar
"file:/home/public/Downloads/James/james-2.1/apps/james.sar" into
directory
/home/public/Downloads/James/james-2.1/apps/james/SAR-INF/environment.xml because 
there is a file in the way.
INFO    2003-02-17 17:53:29.913 [Phoenix.] (): No policy specified in
server.xml, giving full permissions to ServerApplication.
INFO    2003-02-17 17:53:32.662 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are valid.
INFO    2003-02-17 17:53:32.664 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are unique.
INFO    2003-02-17 17:53:32.665 [Phoenix.] (): Verifying that the
specified Dependencies are valid according to BlockInfo.
INFO    2003-02-17 17:53:32.666 [Phoenix.] (): Verifying that the
dependencies of Blocks are valid with respect to other Blocks.
INFO    2003-02-17 17:53:32.668 [Phoenix.] (): Verifying that there are
no circular dependencies between Blocks.
INFO    2003-02-17 17:53:32.678 [Phoenix.] (): Verifying that the
specified Blocks have valid types.
INFO    2003-02-17 17:53:32.863 [Phoenix.] (): Verifying that the
specified BlockListeners have valid types.
INFO    2003-02-17 17:53:33.637 [Phoenix.] (): 17 Blocks to process for
phase "startup". Order of processing = [dnsserver, objectstorage,
database-connections, mailstore, users-store, thread-manager,
connections, sockets, scheduler, James, spoolmanager, remotemanager,
pop3server, smtpserver, nntp-repository, nntpserver, fetchpop].
INFO    2003-02-17 18:31:56.974 [Phoenix.] (): 17 Blocks to process for
phase "shutdown". Order of processing = [spoolmanager, remotemanager,
pop3server, smtpserver, fetchpop, James, dnsserver, nntpserver,
nntp-repository, mailstore, users-store, objectstorage, connections,
sockets, scheduler, database-connections, thread-manager].
WARN    2003-02-17 18:31:59.217 [Phoenix.] (): Error deleting Work
Directory
"/home/public/Downloads/James/james-2.1/work/james-1045526007711".
(Reason: Directory
/home/public/Downloads/James/james-2.1/work/james-1045526007711/SAR-INF/lib unable to 
be deleted.)
java.io.IOException: Directory
/home/public/Downloads/James/james-2.1/work/james-1045526007711/SAR-INF/lib unable to 
be deleted.
        at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:767)
        at
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
        at
org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
        at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
        at
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
        at
org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
        at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
INFO    2003-02-17 18:31:59.530 [Phoenix ] (): Shutting down because
there are not any applications running.

Thanks,
Disha

On Mon, 2003-02-17 at 18:46, Noel J. Bergman wrote:
> > I am running into this wierd problem where james seems
> > to ignore any reference to foreign classes in the mailet.
> 
> Where are you putting the jar containing these extra classes?
> 
> > Nor does it throw any error or exception, it just gets stuck at the
> > method call and does not complain.
> 
> Did you check phoenix's logs?  Unfortunately, there is code in various parts
> of Avalon that discards exceptions, but I wouldn't expect it to discard that
> one.
> 
>       --- Noel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Disha <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to