ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schölver, Andreas" <Andreas.Schoel...@ebootis.de>
Subject RE: Can we use XML RPC Client within an Applet
Date Tue, 17 May 2005 11:26:12 GMT
Is the server the applet tries to connect to the same one it (the applet)
originated from ?
 
Andreas

-----Original Message-----
From: sumeet.s@netsol.co.in [mailto:sumeet.s@netsol.co.in] 
Sent: Sunday, May 15, 2005 7:33 AM
To: xmlrpc-user@ws.apache.org
Subject: Can we use XML RPC Client within an Applet



Hi all, 
   I am using XML RPC Version 1.2 b1 and it is giving such an error when I
access xml rpc requests from an applet.  It works fine until I have been
running as a standalone client, but when I wrap it up as an applet it gives
the following error message. Could anyone tell me what am I doing wrong.  

java.security.AccessControlException: access denied
(java.util.PropertyPermission org.apache.xmlrpc.TypeFactory 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 org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:200) 
            at
org.apache.xmlrpc.XmlRpcClient$Worker.<init>(XmlRpcClient.java:325) 
            at
org.apache.xmlrpc.XmlRpcClient.getWorker(XmlRpcClient.java:234) 
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:160)

            at MyApplet$20.actionPerformed(MyApplet.java:2236) 
            at javax.swing.AbstractButton.fireActionPerformed(Unknown
Source) 
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source) 
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source) 
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source) 
            at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) 
            at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) 
            at java.awt.Component.processMouseEvent(Unknown Source) 
            at javax.swing.JComponent.processMouseEvent(Unknown Source) 
            at java.awt.Component.processEvent(Unknown Source) 
            at java.awt.Container.processEvent(Unknown Source) 
            at java.awt.Component.dispatchEventImpl(Unknown Source) 
            at java.awt.Container.dispatchEventImpl(Unknown Source) 
            at java.awt.Component.dispatchEvent(Unknown Source) 
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source) 
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown
Source) 
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) 
            at java.awt.Container.dispatchEventImpl(Unknown Source) 
            at java.awt.Component.dispatchEvent(Unknown Source) 
            at java.awt.EventQueue.dispatchEvent(Unknown Source) 
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source) 
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) 
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
            at java.awt.EventDispatchThread.run(Unknown Source) 

Thanks, 
Sumeet 


Mime
View raw message