hi there !
i want to XML-Serialize some Objects to a String save this string in a 
DataBase and vize-versa
i use the JSX package !
when i try to serialize and deserialize localy it works fine, but when i
try this on the Jboss i allway's get the following Error:


[INFO,Default] 3
[INFO,Default] 
forName("at.felder.FERPS.EJB.SYSTEM.FerpsDataDomain.String.Artike
lNr") didn't find the class. Please report this problem. Wrapped: 
at.felder.FERP
S.EJB.SYSTEM.FerpsDataDomain.String.ArtikelNr


here is the sourceCode i tried localy and on the JBOSS

//beginn-------------------------------------------------
try {
     java.io.StringWriter oos = new java.io.StringWriter();
     JSX.ObjOut jo = new JSX.ObjOut(oos, false);
     jo.writeObject(new ArtikelNr("01-0-001"));
     oos.flush();
     String xmlField = new String(oos.getBuffer());
     java.io.StringReader sr = new java.io.StringReader(xmlField);
     JSX.ObjIn ji = new JSX.ObjIn(sr);
     Object o = null;
     System.out.println("3");
     o = ji.readObject();
}catch (Exception e){System.out.println(e.getMessage());}
System.out.println(o.getClass().getName());
//end-------------------------------------------------



_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to