You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Simon Clark <si...@zebraspot.com> on 2007/12/07 03:23:07 UTC
Still not compiling, please help...
Would someone out there in JamesLand mind trying to compile my
mailet, and let me know if it compiles on their machine. Then I can
try to duplicate their environment on my machine.
The file is at http://www.zebraspot.com/VTBList.java
I tried stripping it down to the bare minimum, just an empty mailet
with:
MimeMessage message = new MimeMessage(mail.getMessage());
in the service(). Still fails to compile. Ergo: not my code.
I tried wiping my server clean, reinstalling everything from original
sources. No change.
If I try to compile Redirect.java, it fails on trying to find
org.apache.avalon.framework.container.ContainerUtil, which does not
appear to be included in the Avalon 4.2.0 framework. Where can I get
this file?
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Still not compiling, please help...
Posted by Simon Clark <si...@zebraspot.com>.
okay, I have it compiling, but only through the use of the .jars in
the classpath. This seems to run contrary to what Norman said
earlier. This is my compile statement:
javac /com/zebraspot/mailets/VTBList.java -classpath /si/jars/
activation-1.1.jar:/si/jars/avalon-framework-api-4.3.jar:/si/jars/
avalon-framework-impl-4.3.jar:/si/jars/avalon-logkit-2.1.jar:/si/jars/
bcmail-jdk14-129-workaround.jar:/si/jars/bcmail-jdk14-129.jar:/si/
jars/commons-collections-2.1.1.jar:/si/jars/commons-dbcp-1.2.1.jar:/
si/jars/commons-pool-1.2.jar:/si/jars/concurrent-1.3.4.jar:/si/jars/
cornerstone-connection-api-2.1.jar:/si/jars/cornerstone-connection-
impl-2.1.jar:/si/jars/cornerstone-datasources-api-2.1.jar:/si/jars/
cornerstone-datasources-impl-2.1-patched.jar:/si/jars/cornerstone-
scheduler-api-2.1.jar:/si/jars/cornerstone-scheduler-impl-2.1.jar:/si/
jars/cornerstone-sockets-api-2.1.jar:/si/jars/cornerstone-sockets-
impl-2.1-patched.jar:/si/jars/cornerstone-store-api-2.1.jar:/si/jars/
cornerstone-store-impl-2.1.jar:/si/jars/cornerstone-threads-
api-2.1.jar:/si/jars/cornerstone-threads-impl-2.1.jar:/si/jars/
derby.jar:/si/jars/dnsjava-2.0.3.jar:/si/jars/excalibur-
datasource-2.1.jar:/si/jars/excalibur-pool-api-2.1.jar:/si/jars/
excalibur-pool-impl-2.1.jar:/si/jars/excalibur-thread-api-2.1.jar:/si/
jars/excalibur-thread-impl-2.1.jar:/si/jars/jakarta-oro-2.0.8.jar:/si/
jars/james-2.3.1.jar:/si/jars/mail-1.4.jar:/si/jars/mailet-2.3.jar:/
si/jars/mailet-api-2.3.jar:/si/src2 -J-Xms256m -J-Xmx256m
then jar it and drop it in the lib folder. I now have a mailet and
matcher doing everything I need them to.
Thanks for the help.
Simon
Re: Still not compiling, please help...
Posted by Simon Clark <si...@zebraspot.com>.
It is compiling now, using all the jars I could find in the -
classpath option. I can only think that the source file I pulled
together are different from what is actually compiled. I think the
discrepancy may be in the avalon source files.
Anyway, latest hurdle cleared. Now I have to figure out why it is
not delivering any mail.
Simon
On 6-Dec-07, at 9:23 PM, Simon Clark wrote:
> Would someone out there in JamesLand mind trying to compile my
> mailet, and let me know if it compiles on their machine. Then I
> can try to duplicate their environment on my machine.
>
> The file is at http://www.zebraspot.com/VTBList.java
>
> I tried stripping it down to the bare minimum, just an empty mailet
> with:
> MimeMessage message = new MimeMessage(mail.getMessage());
> in the service(). Still fails to compile. Ergo: not my code.
>
> I tried wiping my server clean, reinstalling everything from
> original sources. No change.
>
> If I try to compile Redirect.java, it fails on trying to find
> org.apache.avalon.framework.container.ContainerUtil, which does not
> appear to be included in the Avalon 4.2.0 framework. Where can I
> get this file?
>
> Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org