Hello Raul, thanks for your answer, I tried it out by exchanging the Init-class in my xmlsec.jar (Version 1.1.0) with the Init class I found on the site below. http://cvs.apache.org/viewcvs.cgi/xml-security/src/org/apache/xml/security/Init.java But the Compiler reports an error on the line JCEMapper.init(jcemapperElem, cx); The method init(Element) in the type JCEMapper is not applicable for the arguments (Element, CachedXPathAPI) when I delete the cx argument the the code will be ok. but on loading my Application I get the error: java.lang.NoSuchFieldException: m_functions executing the code java.lang.reflect.Field mFunctions = FunctionTable.class.getField( "m_functions"); which is to be expected because the field is still private. regards Bernd Raul Benito <[EMAIL PROTECTED] An: [EMAIL PROTECTED] om> Kopie: Thema: Re: Antwort: Init() Problem 17.08.2004 10:04 Bitte antworten an security-dev Telefon: [EMAIL PROTECTED] wrote: > > >The problem occurs since Java JDK 1.4.2_05. >I have the same problem in my environment upgrading from WebSphere 5.1.0 to >5.1.1., where the FunctionTable class is part of the xml.jar. >The Declaration of field m_function in class functionTable has changed from >public to private. This causes the error when class Init tries to access >the field with > for(int i = 0; i < FunctionTable.m_functions.length; i++) > { > FuncLoader funcloader = FunctionTable.m_functions[i]; > .... >The question is how to solve the problem, e.g. by adding a get-Method for >the field m_functions in the functionTable class. > > > > > > "Dylan Spence" > <[EMAIL PROTECTED] An: [EMAIL PROTECTED] > ail.com> Kopie: > Thema: Init() Problem > 16.08.2004 22:30 > Bitte antworten > an security-dev > Telefon: > > > > > > > >Getting the exception below. Any ideas on why this is occuring? > >java.lang.IllegalAccessError: tried to access field >org.apache.xpath.compiler.FunctionTable.m_functions from class >org.apache.xml.security.Init > at org.apache.xml.security.Init.init(Unknown Source) > at >testproject.TestWaspSecurityHandler.<clinit>(TestWaspSecurityHandler.java:217) > > at testproject.TestServiceClient.main(TestServiceClient.java:56) > >_________________________________________________________________ >On the road to retirement? Check out MSN Life Events for advice on how to >get there! http://lifeevents.msn.com/category.aspx?cid=Retirement > > > > > You can use CVS HEAD it fix this problem, and gives some speed improvments. Regards,
