Re: when javax.net

=?iso-8859-1?Q?Andr=E9_Baldini?= (abaldini@dcsoft.de)
Thu, 12 Aug 1999 13:16:35 +0200

From: =?iso-8859-1?Q?Andr=E9_Baldini?= <abaldini@dcsoft.de>
To: "'java-security@java.sun.com'" <java-security@java.sun.com>
Date: Thu, 12 Aug 1999 13:16:35 +0200

hi,
we have a problem with your "applet_servlet" -example,
brought with the JavaWebServer2.0.
The JavaWebServer2.0 and the PhoneApplet is running on a local machine.
When we try to add, remove or save an address the following messages =
appear
int the IE 4.0 :

getHost() praktikant getPort() 8080
newURL: http://praktikant:8080/servlet/phone?name=3DAndre
getHost() praktikant getPort() 8080
newURL: http://praktikant:8080/servlet/phone
buttonAction() called
name: Andre
number: x1231209

buttonAction() url: http://praktikant:8080/servlet/phone

com.ms.security.SecurityExceptionEx[ServletMessage.sendMessage]: cannot
access "praktikant":8080
at com/ms/security/permissions/NetIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.chkex
at com/ms/security/StandardSecurityManager.checkConnect
at com/ms/net/wininet/WininetURLConnection.connect
at com/ms/net/wininet/http/HttpURLConnection.getOutputStream
at ServletMessage.sendMessage
at ServletMessage.sendMessage
at PhoneApplet.buttonAction
at PhoneApplet.action
at java/awt/Component.handleEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.dispatchEventImpl
at java/awt/Component.dispatchEvent
at com/ms/awt/WUIPeer.handleEvent
at com/ms/awt/WButtonPeer.handleEvent
at java/awt/Component.postEvent
at com/ms/ui/AwtUIHost.postEvent
at com/ms/awt/WUIPeer.postEvent
at com/ms/ui/UIRoot.postEvent
at com/ms/ui/UIComponent.postEvent
at com/ms/ui/UIStateContainer.postEvent
at com/ms/ui/UIButton.=A4
at com/ms/ui/UIButton.mouseClicked
at com/ms/ui/UIComponent.handleEvent
at com/ms/ui/UIComponent.postEvent
at com/ms/ui/UIStateContainer.postEvent
at com/ms/ui/UIComponent.postEvent
at com/ms/ui/UIStateComponent.postEvent
at com/ms/ui/UIRoot.=C4
at com/ms/ui/UIRoot.forwardEvent
at com/ms/ui/AwtUIHost.postEvent
at com/ms/awt/WUIPeer.postEvent
at com/ms/ui/AwtUIHost.processEvent
at java/awt/Component.dispatchEventImpl
at java/awt/Container.dispatchEventImpl
at java/awt/Component.dispatchEvent
at java/awt/EventDispatchThread.run
Exception occurred during event dispatching:
com.ms.security.SecurityExceptionEx[ServletMessage.sendMessage]: cannot
access "praktikant":8080
at com/ms/security/permissions/NetIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.chkex
at com/ms/security/StandardSecurityManager.checkConnect
at com/ms/net/wininet/WininetURLConnection.connect
at com/ms/net/wininet/http/HttpURLConnection.getOutputStream
at ServletMessage.sendMessage
at ServletMessage.sendMessage
at PhoneApplet.buttonAction
at PhoneApplet.action
at java/awt/Component.handleEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.postEvent
at java/awt/Component.dispatchEventImpl
at java/awt/Component.dispatchEvent
at com/ms/awt/WUIPeer.handleEvent
at com/ms/awt/WButtonPeer.handleEvent
at java/awt/Component.postEvent
at com/ms/ui/AwtUIHost.postEvent
at com/ms/awt/WUIPeer.postEvent
at com/ms/ui/UIRoot.postEvent
at com/ms/ui/UIComponent.postEvent
at com/ms/ui/UIStateContainer.postEvent
at com/ms/ui/UIButton.=A4
at com/ms/ui/UIButton.mouseClicked
at com/ms/ui/UIComponent.handleEvent
at com/ms/ui/UIComponent.postEvent
at com/ms/ui/UIStateContainer.postEvent
at com/ms/ui/UIComponent.postEvent
at com/ms/ui/UIStateComponent.postEvent
at com/ms/ui/UIRoot.=C4
at com/ms/ui/UIRoot.forwardEvent
at com/ms/ui/AwtUIHost.postEvent
at com/ms/awt/WUIPeer.postEvent
at com/ms/ui/AwtUIHost.processEvent
at java/awt/Component.dispatchEventImpl
at java/awt/Container.dispatchEventImpl
at java/awt/Component.dispatchEvent
at java/awt/EventDispatchThread.run

it would help me a lot, if you coult help me with this problem

-------------------------------------------
Thankfully Andr=E9 Baldini
-------------------------------------------