Vladimir, can you post a stack trace? Do you think there is a workaround other than pulling logging completely?
Kellogg, Richard wrote:
Please review the following info:
*Q: Can Axis be used from an application launched by **[Web Start]* <http://java.sun.com/products/javawebstart/>*?*
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/AxisWebStart
If might help as well.
Rick Kellogg
-----Original Message----- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *Sent:* Monday, August 18, 2003 1:24 PM *To:* [EMAIL PROTECTED] *Subject:* RE: AXIS Client in a web Applet
I would not expect this to work unless you use the Security API to request specific permissions outside the applet sandbox. I agree that this is a serious limitation.
-----Original Message----- *From:* Berman, Vladimir [mailto:[EMAIL PROTECTED] *Sent:* Monday, August 18, 2003 8:41 AM *To:* [EMAIL PROTECTED] *Subject:* AXIS Client in a web Applet
To Whom It May Concern:
I am developing an application that requires the use of a soap client in a web applet. I have decided to use axis clients, generated by WSDL2JAVA, for this purpose. When I run the applet, I get a security exception (see image) because the axis client tries to log, an operation that is illegal within an applet running in a web browser - this is a "sandbox" restriction. I have traced this problem to commons-logging and have tried to disable it by using a commons-logging.properties file with this line: org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog. Putting commons-logging.properties in the root of my applet jar did not solve the problem. Do you have any suggestions on how I can tackle this issue or do you think that it is not possible to run an axis soap client form an applet unless the underlying axis classes that call the logger are modified?
Thank you for your help. I look forward to hearing from you.
Best Regards,
Vladimir Berman
/Hewlett-Packard/
/NonStop Enterprise Division/
//
//
