I'm facing a quite annoying problem making server Java processes to terminate, kicking out from this bit of code (condensed) :
_sesXslProc = new ArrayList<Transformer>();
TransformerFactory tFactory = TransformerFactory.newInstance();
for( String it : lesFichiers )
{
try
{
_sesXslProc.add( tFactory.newTransformer( new StreamSource( it ) ) ); // breaks there
}
catch( Exception ex )
{
...
}
}
This code is ran on a server by a cron, many processes like this can be ran at the same time (5 maxi), and the ex.getMessage shows that :
javax.xml.transform.TransformerConfigurationException: Chargement impossible de la classe translet 'cdt17totifv3'
EN : Unable to load Translet class 'cdt17totifv3'
Thus, I'm stuck with that and the manual launch of the processes is fine (generally, fails rarely).
Has anyone an idea of what can cause an XSL transform initialization to fail ?