• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

axis problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey people! Im having a problem with a java bean... JBoss app server is telling me that this bean must be serializable.. so, I implemented the Serializable interface and it didnt work out yet! =[
So, I would like to know if you guys could help me a little.. eheheheheh.. here is the problem...

10:53:41,031 ERROR [Message] java.io.IOException:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: No serializer found for class Util.Export in
registry org.apache.axis.encoding.TypeMappingDelegate@484c6b
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: No serializ
er found for class Util.Export in registry org.apache.axis.encoding.TypeMappingD
elegate@484c6b
at org.apache.axis.encoding.SerializationContext.serializeActual(Seriali
zationContext.java :1505)
at org.apache.axis.encoding.SerializationContext.serialize(Serialization
Context.java:978)
at org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali
zationContext.java:1053)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478
)
at org.apache.axis.message.MessageElement.output (MessageElement.java:120
8)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.Message.writeTo(Message.java :539)
at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.j
ava:902)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

Do you guys have some idea about it?

Thank you very very much! =]


Lucas
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make sure that you have activation.jar and mail.jar in your classpath.
 
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And remember that just putting "implements Serializable" on a class definition doesn't guarantee that it actually will be.
You have to make sure that every non-transient data member of the class is Serializable as well.
 
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic