Btw, if you had a look in the archives of the user mailing list, you could have found the answer to your problem yourself.
Have a look at http://www.junlu.com/list/70/377066.html and I am sure you will find a similar solution, as both WebLogic as well as WebShere tend to misbehave now and then .... ;-). Werner aminjava wrote: > I am using castor 1.3 and websphere 6.1 > > i am on jdk 1.5.0.16 and have my castor.properties > set to > > org.exolab.castor.xml.serializer.factory=org.exolab.castor.xml.XercesJDK5XMLSerializerFactory > > > the code seems to fail and raise the exception as mentioned in subject here > ... > > StringWriter writer = new StringWriter(); > marshaller.setWriter(writer); > > i am writing obj to xml string > > ANY ideas what is wrong .. > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

