Hi
i am using castor .i am able to insert object which hold array
that array hold objects of same type
I am using weblogic 6.2 .when i am using weblogic having castor in
classpath of weblogic
to insert the object which hold array of other object it work fine but
when i try to retrive that record
it is giving following error saying that the object which is inside the
array can instantiate.
the error is following org.xml.sax.SAXException: unable to instantiate
com.jobpartners.erm.txnlogging.AddDelCompensationData;
java.lang.ClassNotFoundException:
com.jobpartners.erm.txnlogging.AddDelCompensationData
If i remove the castor from the classpath of weblogic i can able to
retrive the record
but that time once again i try to insert record again it said give the
following error
lang.NoClassDefFoundError: org/exolab/castor/xml/ValidationException
java.lang.NoClassDefFoundError: org/exolab/castor/xml/ValidationException
at
com.jobpartners.erm.organisation.EmployeeManagerBean.addEmployeeCompensation(EmployeeManagerBean.java:1866)
at
com.jobpartners.erm.organisation.EmployeeManagerBean_btx31t_EOImpl.addEmployeeCompensation(EmployeeManagerBean_btx31t_EOImpl.java:1746)
at
com.jobpartners.erm.organisation.EmployeeManagerBean_btx31t_EOImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
But If i try to insert only one object and try to retrive with castor
in classpath of weblogic
i can able to insert as well as retrive the record with any problem .it
just happening when
it is Array containing objects.
If you have any idea how to slove this problem let me know
please
thanks
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
