Dear Sir/Madam
I am using Xalan-Java version 2.2.D10, on a Linux platform (Mandrake8.0)
with jdk1.3. However when I try
to deploy the servlet as a web component (i.e. WAR) in a J2EE
application, below error occurs:
SystemId Unknown; Line 1; Column -1; Error: access denied
(java.lang.RuntimePermission modifyThreadGroup)
Below are the code that generates this error
//streams[] = InputStream XXX TvL
TransformerFactory tFactory =
TransformerFactory.newInstance();
Source xmlSource = new StreamSource(streams[0]);
Source xslSource = new StreamSource(streams[1]);
Transformer transformer = tFactory.newTransformer(xslSource);
//This line generates the above error.
transformer.transform(xmlSource, new StreamResult(out));
Do you know what could be causing this to fail?
Any help would be greatly appreciated.
Regards,
Thomas
Ps
I am guessing that xalan tries to write to a file which the j2ee server
doesn't allow. Could this be the problem?
--
Thomas van Lindholm
Software Developer
elata
Alder Hills Park
16 Alder Hills
Poole
Dorset �BH12 4AR
Web: www.elata.com
Tel: +44 (0)1202 714409
Fax: +44 (0)1202 714429
Registered in England, number 4052279
This e-mail is intended solely for the above mentioned recipient(s) and
it may contain confidential information. �If you have received this
e-mail in error, please notify us immediately and delete the e-mail from
your system. �Copying, distribution or other use of the information
contained in this e-mail is strictly prohibited. �Nothing in this e-mail
amounts to a contractual commitment, or is otherwise legally binding on
elata unless confirmed by an authorised representative independently of
this e-mail.