This is a problem I found with Xerces 1.4.1 We fixed it by modifying the 
source and recompiling, but if you use Xerces 1.4.4 the problem should 
disappear.

Mark

At 10:10 AM 5/9/02 -0700, you wrote:
>I will think on your problem, Hubert. I also have a problem of SOAP applet.
>Where to get similar examples, applet specific, any other materials... Im my
>case the applet tries to access through Xerces to some system properties
>that is forbidden. Should we sign the applet? Is the applet appropriate
>solution at all? Do people use JavaWebStart instead?
>=============================
>
>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.jav
>a:322)
>         at
>org.apache.soap.util.xml.XMLParserUtils.refreshDocumentBuilderFactory(XMLPar
>serUtils.java:112)
>         at
>org.apache.soap.util.xml.XMLParserUtils.<clinit>(XMLParserUtils.java:79)
>         at org.apache.soap.rpc.Call.<init>(Call.java:87)
>         at org.apache.soap.rpc.Call.<init>(Call.java:99)
>         at org.apache.soap.rpc.Call.<init>(Call.java:93)
>         at
>com.mymailloop.prototype.client.SwingApplet.getPersons(D:/projects/mailloop/
>src/com/mymailloop/prototype/client/SwingApplet.java:54)
>         at
>com.mymailloop.prototype.client.SwingApplet.init(D:/projects/mailloop/src/co
>m/mymailloop/prototype/client/SwingApplet.java:34)
>         at sun.applet.AppletPanel.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)
>====================================================================
>
>
>
>-----Original Message-----
>From: Hubert Yoshizaki [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 09, 2002 9:42 AM
>To: [EMAIL PROTECTED]
>Subject: Applet deployment problem
>
>
>Hi, just starting out with SOAP so here's the situation.
>On a Win2K machine trying to run an SOAP applet client that talks to a SOAP
>server on linux.
>I am having problems with the client.
>My CLASSPATH is empty.
>I get a java.lang.NoClassDefFoundError: org/apache/soap/rpc/RPCMessage
>when running with appletviewer. Which means I can't find the soap.jar. Fine.
>in the html file I add the line
>archive = "soap.jar"
>now I get a
>java.lang.NoClassDefFoundError: org/w3c/dom/Node
>which means I can't find the right xml parser?
>I downloaded both Xerces 1.4.4 and 2.0.1
>If I use the 1.4.4 (xerces.jar) and add that to the archive line by doing a
>archive = "soap.jar", "xerces.jar"
>I still get the java.lang.NoClassDefFoundError: org/w3c/dom/Node error.
>if I rearrange the archive line to read archive = "xerces.jar", "soap.jar"
>I get the following error
>java.lang.NoClassDefFoundError: org/apache/soap/rpc/RPCMessage
>Any idea how to fix this problem?
>By the way, the soap.jar is for apache soap 2.2
>any help would be greatly appreciated.
>Hubert
>btw, i realize that I would probably also need to add mail.jar and
>activation.jar but I'm not sure in which order I need to do this in.
>Also, is there a way to 'not' use that archive line? The jar files are
>fairly large for use with an applet.


Reply via email to