I was wondering if any of you have encountered the following:

 

I try to use the NotifySender mailet and get the following error when it
tries to notify the postmaster:

 

#################################################################

######################## Begin Log ###############################

#################################################################

18/07/03 14:54:29 ERROR spoolmanager: An error occurred processing
Mail1058558068117-0 through unsubscribe

18/07/03 14:54:29 ERROR spoolmanager: Result was error

18/07/03 14:54:29 ERROR spoolmanager.error: Exception calling
NotifyPostmaster: Exception spooling message: Exception caught while storing
Message Container: javax.activation.UnsupportedDataTypeException: no object
DCH for MIME type multipart/mixed;
boundary="----=_Part_2_2850225.1058558069769";

  nested exception is:

        java.lang.RuntimeException: Exception caught while storing Message
Container: javax.activation.UnsupportedDataTypeException: no object DCH for
MIME type multipart/mixed; boundary="----=_Part_2_2850225.1058558069769"

javax.mail.MessagingException: Exception spooling message: Exception caught
while storing Message Container:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type
multipart/mixed; boundary="----=_Part_2_2850225.1058558069769";

  nested exception is:

        java.lang.RuntimeException: Exception caught while storing Message
Container: javax.activation.UnsupportedDataTypeException: no object DCH for
MIME type multipart/mixed; boundary="----=_Part_2_2850225.1058558069769"

        at org.apache.james.James.sendMail(James.java:505)

        at org.apache.james.James.sendMail(James.java:462)

        at org.apache.james.James.sendMail(James.java:444)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandler.java:92)

        at $Proxy9.sendMail(Unknown Source)

        at
org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster
.java:274)

        at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:413)

        at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
436)

        at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:366)

        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)

        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)

java.lang.RuntimeException: Exception caught while storing Message
Container: javax.activation.UnsupportedDataTypeException: no object DCH for
MIME type multipart/mixed; boundary="----=_Part_2_2850225.1058558069769"

        at
org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailReposit
ory.java:355)

        at org.apache.james.James.sendMail(James.java:499)

        at org.apache.james.James.sendMail(James.java:462)

        at org.apache.james.James.sendMail(James.java:444)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandler.java:92)

        at $Proxy9.sendMail(Unknown Source)

        at
org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster
.java:274)

        at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:413)

        at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
436)

        at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:366)

        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)

        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)

 

18/07/03 14:54:29 ERROR spoolmanager: Exception in processor <error>

javax.mail.MessagingException: Exception spooling message: Exception caught
while storing Message Container:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type
multipart/mixed; boundary="----=_Part_2_2850225.1058558069769";

  nested exception is:

        java.lang.RuntimeException: Exception caught while storing Message
Container: javax.activation.UnsupportedDataTypeException: no object DCH for
MIME type multipart/mixed; boundary="----=_Part_2_2850225.1058558069769"

        at org.apache.james.James.sendMail(James.java:505)

        at org.apache.james.James.sendMail(James.java:462)

        at org.apache.james.James.sendMail(James.java:444)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandler.java:92)

        at $Proxy9.sendMail(Unknown Source)

        at
org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster
.java:274)

        at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:413)

        at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
436)

        at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:366)

        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)

        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)

18/07/03 14:54:29 ERROR spoolmanager: An error occurred processing
Mail1058558068117-0 through error

18/07/03 14:54:29 ERROR spoolmanager: Result was ghost

 

#################################################################

########################## End Log ###############################

#################################################################

 

This was after trying to use my own mailet that had the same
UnsupportedDataTypeException, so I added my own content handler factory
which ended up causing an infinite loop error:

 

#################################################################

######################### Being Log ##############################

#################################################################

 

18/07/03 15:14:06 ERROR spoolmanager: Exception in JamesSpoolManager.run
DataContentHandlerFactory already defined

java.lang.Error: DataContentHandlerFactory already defined

        at
javax.activation.DataHandler.setDataContentHandlerFactory(DataHandler.java:6
28)

        at
com.quimbik.broadcaster.mailet.BroadcasterBounceHandler.sendConfirmationOfRe
moval(Unknown Source)

        at
com.quimbik.broadcaster.mailet.BroadcasterBounceHandler.unsubscribeUser(Unkn
own Source)

        at
com.quimbik.broadcaster.mailet.BroadcasterBounceHandler.service(Unknown
Source)

        at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:413)

        at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
436)

        at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:366)

        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)

        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)

18/07/03 15:14:07 ERROR spoolmanager: Exception in JamesSpoolManager.run
DataContentHandlerF

 

#################################################################

########################## End Log ###############################

#################################################################

 

 

I have tried replacing my activation.jar but that didn't work.

 

I do use the ant script to build my own james.sar file and deploy to RH7.2
box.

 

Any help would be greatly appreciated,

Eitan

 

Reply via email to