Hi Richard,

I am out of the office now, so I can't send you the code. However, here is 
what you do:

Unpack all the Apache SOAP source code onto your computer. You can use the 
stack dump from your plugin console to find the org.apache.xxxx class which 
is blowing up or use the search in your IDE to look for the 
System.getSystemProperties().getProperty("jaxb.debug")  (I am not 100% sure 
of the syntax here) call in the code. Then, you can change a line which 
looks like this:

debug=System.getSystemProperties().getProperty("jaxb.debug");

to

debug=false;

Then, compile up the APACHE soap code, and jar it, and refer to the new jar 
instead of soap.jar in your html file. All should then work.

Of course, this is a hack which you will need to repeat when you update 
your soap code, but you should not need to do it that often.

Perhaps one of the real SOAP developers could put a try{}catch block around 
that line, and set debug to false when there is a security exception.

If you have any trouble with this, let me know tomorrow and I will send the 
actual offending .java file.

Tks,

M.


At 10:17 AM 30/01/02 +1100, you wrote:

>Mark,
>
> >Let me know if you need
> >more details.
>
>Thank you sooo much! Yes, this is EXACTLY what I need! The error I have is
>pertaining to...
>
>java.lang.ExceptionInInitializerError:
>java.security.AccessControlException: access denied
>(java.util.PropertyPermission jaxp.debug read)
>
>...and I imagine it is possible (if only 'unofficially') to modify the
>source to avoid this. Could you elaborate on how you 'always set it to
>false without checking'?
>
>Thanks again,
>
>Richard.
>
>P.S. Casey: I am using JRE 1.3.1_02
<snip>

Reply via email to