Probably a ClassLoader problem.

Castor most likely can't find the necessary classes it needs to
unmarshal.

I recommend obtaining the ClassLoader from your SilverStream environment
and using the "setLoader" method for both Marshaller and Unmarshaller.
This will ensure Castor can find all the classes that are found in the
CLASSPATH configuration of SilverStream.

Thanks,

--Keith

[EMAIL PROTECTED] wrote:
> 
> hi,
> 
> I am using castor to bind my java objects with XML. Which works remarkably
> well when i run the program independently in a Virtual Machine or JBuilder
> !
> But, once i try to deploy the same module in silverstream, Certain objects
> are not bound with the XML elements, as a result of which i have a
> NullPointerException.
> 
> Could somebody help me out to resolve this problem ? I have Castor*.jar,
> xerces.jar uploaded in silverstream !
> 
> Thanks in advance ,
> Eswar Subramanyam.
> 
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential.
> If you receive this message in error, please delete it and
> immediately notify the sender. Any use not in accord with
> its purpose, any dissemination or disclosure, either whole
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message.
> BNP PARIBAS (and its subsidiaries) shall (will) not
> therefore be liable for the message if modified.
> 
>                 ---------------------------------------------
> 
> Ce message et toutes les pieces jointes (ci-apres le
> "message") sont etablis a l'intention exclusive de ses
> destinataires et sont confidentiels. Si vous recevez ce
> message par erreur, merci de le detruire et d'en avertir
> immediatement l'expediteur. Toute utilisation de ce
> message non conforme a sa destination, toute diffusion
> ou toute publication, totale ou partielle, est interdite, sauf
> autorisation expresse. L'internet ne permettant pas
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce
> message, dans l'hypothese ou il aurait ete modifie.
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to