• Post Reply Bookmark Topic Watch Topic
  • New Topic

no object DCH for MIME type text/plain; charset=us-ascii  RSS feed

 
khasim dudekula
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I am trying to send mail from a stateless sessiion bean using jboss
the following errror is shown can any one help it plz
20:38:06,718 INFO [STDOUT] 354 Enter mail, end with <CRLF>.<CRLF>
20:38:06,718 INFO [STDOUT] javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii
20:38:06,718 INFO [STDOUT] at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:841)
20:38:06,718 INFO [STDOUT] at javax.activation.DataHandler.writeTo(DataHandler.java:295)
20:38:06,718 INFO [STDOUT] at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1248)
20:38:06,718 INFO [STDOUT] at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1673)
20:38:06,718 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:555)
20:38:06,718 INFO [STDOUT] at javax.mail.Transport.send0(Transport.java:169)
20:38:06,718 INFO [STDOUT] at javax.mail.Transport.send(Transport.java:98)
20:38:06,718 INFO [STDOUT] at com.mobiapps.seakey.emailclient.outgoing.alert.AlertForAlarmBean.alertSending(AlertForAlarmBean.java:84)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:38:06,718 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:38:06,718 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
20:38:06,718 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
20:38:06,718 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
20:38:06,718 INFO [STDOUT] at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:854)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:38:06,718 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:38:06,718 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
20:38:06,718 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)
20:38:06,718 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:38:06,718 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:38:06,718 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
20:38:06,718 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
20:38:06,718 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.java:148)
20:38:06,718 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
20:38:06,718 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
20:38:06,718 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
20:38:06,718 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
20:38:06,718 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
20:38:06,718 INFO [STDOUT] javax.mail.MessagingException: IOException while sending message
20:38:06,718 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:595)
20:38:06,718 INFO [STDOUT] at javax.mail.Transport.send0(Transport.java:169)
20:38:06,718 INFO [STDOUT] at javax.mail.Transport.send(Transport.java:98)
20:38:06,718 INFO [STDOUT] at com.mobiapps.seakey.emailclient.outgoing.alert.AlertForAlarmBean.alertSending(AlertForAlarmBean.java:84)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:38:06,718 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:38:06,718 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
20:38:06,718 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
20:38:06,718 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
20:38:06,718 INFO [STDOUT] at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
20:38:06,718 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:854)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:38:06,718 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:38:06,718 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
20:38:06,718 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
20:38:06,718 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)
20:38:06,718 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:38:06,718 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:38:06,718 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:38:06,718 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
20:38:06,718 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
20:38:06,718 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.java:148)
20:38:06,718 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
20:38:06,718 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
20:38:06,718 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
20:38:06,718 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
20:38:06,718 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
20:38:06,718 INFO [STDOUT] Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii
20:38:06,718 INFO [STDOUT] at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:841)
20:38:06,718 INFO [STDOUT] at javax.activation.DataHandler.writeTo(DataHandler.java:295)
20:38:06,718 INFO [STDOUT] at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1248)
20:38:06,718 INFO [STDOUT] at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1673)
20:38:06,718 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:555)
20:38:06,718 INFO [STDOUT] ... 43 more
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!