Hi,
   yes i have used mailets in addition to java code. I  built my application 
and created a jar  file  and placed it in JAMES_HOME/apps/james/SAR-INF/lib 
directory.It did work fine, now i when i I  built my application and created a 
WAR  file  and placed it in JAMES_HOME/apps/james/SAR-INF/lib directory and if 
i start the James server, am getting the following error 
"nested exception is:
java.lang.ClassNotFoundException: Requested mailet not found: AckDelRejService. 
looked in [, com.scb.octopus.mailets., org.apache.james.transport.mailets.]"
 
eventhough i specify the path clearly as 
<mailetpackage>com.scb.octopus.mailets</mailetpackage> 
 
, the mailets are located in WEB-INF/Classes/com/scb/octopus/mailets and it is 
not able to identify it. If i mention the path as 
 
<mailetpackage>WEB-INF.Classes.com.scb.octopus.mailets</mailetpackage> that 
wuold mean am trying to chnage the package name . I teven tried it and now its 
saying it cannot find the mailet in 
WEB-INF/Classes/com/scb/octopus/mailets. Its just that i need to deploy my 
applciation as WAR file in Apache James. Any help would be most appreciated.
 
 
 Thanks in advance
 Rajesh


"Seib, Broc" <[EMAIL PROTECTED]> wrote:
> Hi,
> I built my application as a JAR file and placed it in 
> James. When i start James server it is running fine, when i 
> build my application as a WAR file and run James Server, it 
> says it cannot load the mailets as it cannot identify the 
> mailets location although i have specified it correctly in 
> config.xml. Can WAR file be deployed in James. Can somebody 
> please help?
> 
> Thanks in advance
> Rajesh

I presume you are writing a mailet. You should be creating a simple jar
file containing your classes. I've placed my mailet jar files in the
JAMES_HOME/apps/james/SAR-INF/lib directory.

-broc

---------------------------------------------------------------------
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!?
 Yahoo! Small Business - Try our new resources site! 

Reply via email to