|
From: <sc...@za...> - 2003-03-13 22:48:31
|
Hi team. My situation is looks like this: I implemented MessageListener as a Servlet. Both, MSH and client are instal= led on same web server (Tomcat 4.0.4). When the mesage for my listener arri= ves I get following error:=20 java.lang.Error: DataContentHandlerFactory already defined at javax.activation.DataHandler.setDataContentHandlerFactory(DataHandler.ja= va:628) at com.sun.xml.messaging.saaj.soap.AttachmentPartImpl.<clinit>(AttachmentPa= rtImpl.java:35) at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:124) at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Message= FactoryImpl.java:32) at hk.hku.cecid.phoenix.message.handler.Request$Monitor.run(Unknown Source)= =2E I assume that on one web server only one DataContentHandlerFactory can be d= efined. Is there any way to get around this problem??? If I just simply copy-paste the client web app to another server it works w= ithout any mistakes, but would really like to have both (MSH and client) on= same server. Thank's in advance Simon |