Again, as reported by Stuart Thomson, this is not an Apache SOAP bug.  It is
a "feature" of Xerces.  The following appears in DocumentBuilderFactory.java
in the Xerces source for both 1.2.3 and 1.4.1, so I assume it is also in all
versions in between

>>>>
    /** Temp debug code - this will be removed after we test everything
     */
    private static final boolean debug=
 System.getProperty( "jaxp.debug" ) != null;
<<<<

Apparently, not everything has been tested ;-).

I do not know whether you would have a similar issue running Crimson.  The
Crimson source does not include the source for jaxp.jar.  I believe it
simply borrows Sun's jaxp.jar in binary form.  In any case, your two most
obvious choices are to try Crimson or remove the above code from the Xerces
source and build your own jar.

As for socket permission, I recommend you post it to the mail list.  I do
not use applets, so I am very unfamiliar with the associated security
issues.  Others have used applet clients and may be able to help you.

Scott

----- Original Message -----
From: "Sajit Kumar (RBIN/DCA-IAG)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 10:44 PM
Subject: RE: Problem


> Hi Scott,
>
> The jaxp.debug property permission is a bug in SOAP 2.2........what
> about the socket permission that i have to set.........is there anyway i
can
> bypass that...........please send me some suggestions..........thanks in
> advance...
>
> With Regards
> Sajit
>
> > -----Original Message-----
> > From: Scott Nichol [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 04, 2001 7:44 PM
> > To: Sajit Kumar (RBIN/DCA-IAG)
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Problem
> >
> > The other response on the mailing list was correct.  This is a new error
> > arising from Apache SOAP 2.2 support of JAXP.  I do not know whether the
> > error is unique to a particular XML processor's implementation of JAXP,
or
> > whether all JAXP processors have this problem.  The best I can do is
> > suggest
> > you try both Xerces and Crimson as processors on the client.
> >
> > Scott
> >
> > ----- Original Message -----
> > From: "Sajit Kumar (RBIN/DCA-IAG)" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, July 04, 2001 1:36 AM
> > Subject: RE: Problem
> >
> >
> > > Hi Scott,
> > >
> > > I downloaded the Soap 2.2 but still i had to set 2 permissions
> > > explicitly in the java.policy file. One was for network permission
other
> > was
> > > jaxp.debug property permission. After setting this 2 permissions
things
> > are
> > > working fine. Is there anyway to bypass these permission settings.
> > Please
> > > give me some suggestions. Any suggestions would be of great help.
Thanks
> > in
> > > advance.
> > >
> > > With Regards
> > > Sajit
> > >
> > >
> > > > -----Original Message-----
> > > > From: Scott Nichol [SMTP:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, July 03, 2001 9:25 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: Problem
> > > >
> > > > This was a problem that has been fixed Apache SOAP 2.2.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Sajit Kumar (RBIN/DCA-IAG)" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Tuesday, July 03, 2001 10:18 AM
> > > > Subject: Problem
> > > >
> > > >
> > > > > Hi All,
> > > > >
> > > > > I am facing a problem. When i try to construct a Call object in an
> > > > > applet it gives me the following error and the applet resides in a
> > > > > webserver.
> > > > > Error----------------------------
> > > > > Inside cometmgr applet constructor
> > > > > Inside cometDbServer.constructor
> > > > > Inside Clientdb->constructor
> > > > > java.lang.ExceptionInInitializerError:
> > > > java.security.AccessControlException:
> > > > > access denied (java.util.PropertyPermission jaxp.debug read)
> > > > > at java.security.AccessControlContext.checkPermission(Unknown
> > Source)
> > > > > at java.security.AccessController.checkPermission(Unknown Source)
> > > > > at java.lang.SecurityManager.checkPermission(Unknown Source)
> > > > > at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
> > > > > at java.lang.System.getProperty(Unknown Source)
> > > > > at
> > > > >
> > > >
> >
javax.xml.parsers.DocumentBuilderFactory.<clinit>(DocumentBuilderFactory.j
> > > > av
> > > > > a:321)
> > > > > at
org.apache.soap.util.xml.XMLParserUtils.getXMLDocBuilder(Unknown
> > > > Source)
> > > > > at org.apache.soap.rpc.Call.<init>(Unknown Source)
> > > > > at org.apache.soap.rpc.Call.<init>(Unknown Source)
> > > > > at org.apache.soap.rpc.Call.<init>(Unknown Source)
> > > > > at ClientDB.<init>(ClientDB.java:27)
> > > > > at CometdbServer.<init>(CometdbServer.java:12)
> > > > > at CometMgrApplet.<init>(CometMgrApplet.java:57)
> > > > > at java.lang.Class.newInstance0(Native Method)
> > > > > at java.lang.Class.newInstance(Unknown Source)
> > > > > at sun.applet.AppletPanel.createApplet(Unknown Source)
> > > > > at sun.plugin.AppletViewer.createApplet(Unknown Source)
> > > > > at sun.applet.AppletPanel.runLoader(Unknown Source)
> > > > > at sun.applet.AppletPanel.run(Unknown Source)
> > > > > at java.lang.Thread.run(Unknown Source)
> > > > >
> > > > > Can anyone tell me why i am getting this security exception when i
> > am
> > > > trying
> > > > > to construct the Call object even before i call invoke. Please
help
> > me
> > > > out.
> > > > > I need a solution fast. Any suggestions will do. Thanks in
advance.
> > > > >
> > > > > With Regards
> > > > > Sajit
> > > > >

Reply via email to