Hi,

We've managed to get Castor working on SUN1 appserver 7

check the following:

1. which servicepack do you use, some issues with classloaders on sp1 and 
sp2, we currently use sp3

2. which Java version do you use. JDK 1.4 has some packages built in, but 
are not the latest releases. To be sure to use the version you want, we 
moved to the "endorsed" function. This is an explicit call for your 
classloader to load this first...

ex. -Djava.endorsed.dirs=C:/Sun/AppServer7/jdk/endorsed
Put the version of Xerces you want to use in this path...

3. Check your Castor version. We are using an bit old version (0.9.21), 
i'm not sure if this is an issue.


Good luck.

Robin



> 
> Hi
> 
> Does anyone use Castor with SUN ONE 7 Application Server?
> I tried to setup Castor & Xerces in an EJB project.  Castor
> seems to have problems with finding The Xerces code, an remote exception
> is thrown with only this message:
> 
> org/apache/xml/serialize/XMLSerializer
> 
> I imported Xerces.jar in the ear project and reference it in 
> MANIFEST.MF in the EJB jar.  When loading a mapping:
> 
>   mapping.loadMapping(source);
> 
> I get the error message.
> 
> Can onyone help?
> 
> Thx
> 
> Walter Vandeweyer
> 
> 
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev
> 




-- 
_____________________________________________________________________
Zon Gratis ADSL. De voordelen van gratis internet met de snelheid van
ADSL. Zonder abonnementskosten en zonder vast contract. Je betaalt
alleen voor de tijd online. Nu zonder aansluitkosten en met gratis
modem. Bestel snel op zonnet.nl.



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

Reply via email to