I have written a stateless session bean that I am accessing via a soap rpc.
The ejb creates a TransformerFactory as below in the code included. When I
try to create the TransformerFactory with a call to newInstance(), I get the
error:
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
java.rmi.ServerError: Transaction rolled back; nested exception is:
javax.xml.transform.TransformerFactoryConfigurationError:
java.lang.ClassNotFoundException:
org.apache.xalan.processor.TransformerFactoryImpl
I have xalan.jar in %JBOSS_DIST%\jboss\lib\ext, which includes
org.apache.xalan.processor.TransformerFactoryImpl.class, but the rmi
implementation cannot find it. Does anyone have any ideas?
My ejb code is as follows...
XMLConverter convert = config.getMessageConfiguration(name);
StringWriter stringWriter = null;
DOMWriter domWriter = null;
TransformerFactory tFactory = null;
Transformer transformer = null;
if (convert != null) {
tFactory = TransformerFactory.newInstance();
try {
transformer = tFactory.newTransformer(convert.getRequestXSLStream());
} catch (TransformerConfigurationException tranConfigException) {
System.out.println(tranConfigException.toString());
return null;
} catch (Exception exception) {
System.out.println("Caught Exception: " + exception.toString());
}
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user