Re: browsing java sites

2003-04-04 Thread Kent E.
does it mean...

browsing thru a linux is not allowed while browsing thru a windows2000 can
view the page
which i stated below?

note: both pc are on the same network passing thru proxy server

- Original Message -
From: "Joseph Shraibman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 2:23 PM
Subject: Re: browsing java sites


> Applets have security constraints.  For instance they can only connect to
the server they
> came from.
>
> kent_mdk wrote:
> > hi to all
> >
> > still confused.  as browsing to this site
> > http://www.anfyteam.com/anj/anfybutton/anbutton.html
> > i got this error messages...
> >
> > //==
> > Java VM version: 1.4.1_01
> > Java VM vendor:  Sun Microsystems Inc.
> > java.security.AccessControlException: access denied
> > (java.net.SocketPermission www.anfyteam.com resolve)
> > at
> >
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:270)
> > at
java.security.AccessController.checkPermission(AccessController.java:401)
> > at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
> > at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042)
> > at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:461)
> > at sun.awt.SunToolkit.getImage(SunToolkit.java:504)
> > at anfybutton.b(anfybutton.java)
> > at anfybutton.a(anfybutton.java)
> > at anfybutton.c(anfybutton.java)
> > at anfybutton.a(anfybutton.java)
> > at anfybutton.c(anfybutton.java)
> > at anfybutton.init(anfybutton.java)
> > at
org.kde.kjas.server.KJASAppletStub.initApplet(KJASAppletStub.java:145)
> > at org.kde.kjas.server.KJASAppletStub$1.run(KJASAppletStub.java:98)
> > at java.lang.Thread.run(Thread.java:536)
> > //===
> >
> > but if I will make my own applet with a JLabe and a JButton on it, it
will
> > normally show up... so it means that i successfully installed java in
it..
> >
> > but why do i have these error messages.. do i have to set another
> > configuration file in linux?
> >
> > thanks in advance...
> > kent
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
> --
> Joseph Shraibman
> [EMAIL PROTECTED]
> Increase signal to noise ratio.  http://xis.xtenit.com
>
>



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: browsing java sites

2003-04-04 Thread Joseph Shraibman
Kent E. wrote:
does it mean...

browsing thru a linux is not allowed while browsing thru a windows2000 can
view the page
which i stated below?
Maybe the windows jvm has broken security, letting it work when it shouldn't.  I really 
have no idea.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: browsing java sites

2003-04-04 Thread Glenn Holmer
kent_mdk wrote:
hi to all

still confused.  as browsing to this site
http://www.anfyteam.com/anj/anfybutton/anbutton.html
i got this error messages...
//==
Java VM version: 1.4.1_01
Java VM vendor:  Sun Microsystems Inc.
java.security.AccessControlException: access denied 
Works for me.

Java(TM) Plug-in Blackdown-1.4.1-01

   File name: javaplugin_oji.so
   Blackdown Java-Linux Java(TM) Plug-in1.4.1
Linux 2.4.20 (SuSE 8.2)

--
 ==
  Glenn Holmer (Linux registered user #16682)
 --
  If you make a small change to a program, it can result in an
  enormous change in what the program does. If nature worked
  that way, the universe would crash all the time.
 --
 -Jaron Lanier
 ==
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: browsing java sites

2003-04-04 Thread Nathan Meyers
On Fri, Apr 04, 2003 at 07:10:31AM -0500, Nathan Meyers wrote:
> On Fri, Apr 04, 2003 at 03:25:10AM -0500, Joseph Shraibman wrote:
> > Kent E. wrote:
> > >does it mean...
> > >
> > >browsing thru a linux is not allowed while browsing thru a windows2000 can
> > >view the page
> > >which i stated below?
> > >
> > Maybe the windows jvm has broken security, letting it work when it 
> > shouldn't.  I really have no idea.

D'oh! I have a fresh suspicion about this problem... it could occur in
a proxied client environment in which the Java plug-in is failing to
use the proxy.

Kent, try the following:

- Run the plug-in control panel (bin/ControlPanel in the JDK
  installation).

- Select the "Proxies" tab and check the "Use Browser Settings"
  box, then click the "Apply" button, then close the control panel.

- Shut down all browser instances to make sure the Java plug-in is
  stopped; then try again.

If the "Use Browser Settings" box was already checked, well... never mind!

Nathan Meyers
[EMAIL PROTECTED]



> I visited the site - had no trouble with the page, and find Kent's
> problems mysterious. The traceback he posted suggested a sandbox
> permissions problem (trying to resolve an address other than the server's)
> that I didn't encounter when I browsed the site from Mozilla on Linux -
> either directly or through a squid proxy server.
> 
> I wonder if there's something strange about the proxy setup behind his
> firewall... something creating the appearance that the applet is served
> up from some location other than www.anfyteam.com.
> 
> Nathan Meyers
> [EMAIL PROTECTED]

-- 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: browsing java sites

2003-04-04 Thread Nathan Meyers
On Fri, Apr 04, 2003 at 03:25:10AM -0500, Joseph Shraibman wrote:
> Kent E. wrote:
> >does it mean...
> >
> >browsing thru a linux is not allowed while browsing thru a windows2000 can
> >view the page
> >which i stated below?
> >
> Maybe the windows jvm has broken security, letting it work when it 
> shouldn't.  I really have no idea.

I visited the site - had no trouble with the page, and find Kent's
problems mysterious. The traceback he posted suggested a sandbox
permissions problem (trying to resolve an address other than the server's)
that I didn't encounter when I browsed the site from Mozilla on Linux -
either directly or through a squid proxy server.

I wonder if there's something strange about the proxy setup behind his
firewall... something creating the appearance that the applet is served
up from some location other than www.anfyteam.com.

Nathan Meyers
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]