You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by engineering <en...@energycontrolsystems.com> on 2005/03/21 22:28:52 UTC

Re: setURI hangs on Linux console [was Re: org/mozilla/javascript/optimizer Batik hangs?]

On Fri, 2004-10-29 at 14:41, Stan Dickerson wrote:

> I'm postponing fixing this but here is a summary:
> 
> Batik 1.5.1
> JSVGCanvas in Java applet
> setURI(url.toString()) called from init() is OK in all cases
> 
> setURI(url.toString()) called from UserAgent openLink() is:
>         OK from Windows I.E. or Firefox with "http:" URL
>         OK on Linux console if a "file:" URL is used to load the applet
>         HANGS on Linux console if an "http:" URL is used to load the
>                 applet (Mozilla or Firefox, Java 1.4.2 or Java 1.5.0)
> 

Today I noticed that when this problem occurs, the last entry in
/var/log/httpd/access_log is "...GET
/java/org/mozilla/javascript/optimizer/InvokerImpl.class..." so I tried
js.jar WITH the optimizer directory (not stripped as discussed in a
thread last fall).  I got a security exception as expected but setURI()
succeeded. The drawing also displayed completely with Java 1.5 (another
problem I've had).
 
-- 
Stan Dickerson
Product Development Engineer
Energy Control Systems
2940 Cole Court
Norcross, GA 30071

1-800-648-0970
770-448-0651
770-446-1319 fax


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: setURI hangs on Linux console [was Re: org/mozilla/javascript/optimizer Batik hangs?]

Posted by engineering <en...@energycontrolsystems.com>.
This seems to be fixed by a patch for RhinoInterpreter.java discussed
today on batik-dev@xmlgraphics.apache.org (subject: Re: DO NOT REPLY
[Bug 34168]  New:  -    applet gets AccessControlException if has
ecmascript and js.jar has optimizer directory).


On Mon, 2005-03-21 at 16:28, engineering wrote:
> On Fri, 2004-10-29 at 14:41, Stan Dickerson wrote:
> 
> > I'm postponing fixing this but here is a summary:
> > 
> > Batik 1.5.1
> > JSVGCanvas in Java applet
> > setURI(url.toString()) called from init() is OK in all cases
> > 
> > setURI(url.toString()) called from UserAgent openLink() is:
> >         OK from Windows I.E. or Firefox with "http:" URL
> >         OK on Linux console if a "file:" URL is used to load the applet
> >         HANGS on Linux console if an "http:" URL is used to load the
> >                 applet (Mozilla or Firefox, Java 1.4.2 or Java 1.5.0)
> > 
> 
> Today I noticed that when this problem occurs, the last entry in
> /var/log/httpd/access_log is "...GET
> /java/org/mozilla/javascript/optimizer/InvokerImpl.class..." so I tried
> js.jar WITH the optimizer directory (not stripped as discussed in a
> thread last fall).  I got a security exception as expected but setURI()
> succeeded. The drawing also displayed completely with Java 1.5 (another
> problem I've had).
>  
-- 
Stan Dickerson
Product Development Engineer
Energy Control Systems
2940 Cole Court
Norcross, GA 30071

1-800-648-0970
770-448-0651
770-446-1319 fax


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org