StatusBar is my code but I have since disabled StatusBar and timers with the same result.
I noticed that upon clicking on a link, ParsedURLData is being called once with "Index.svg" (the 1st drawing), again with "AHU_Index.svg" (the link's drawing) and again with "Index.svg." I added a printStackTrace() at the beginning of ParsedURLData and got the following: java.lang.Exception at org.apache.batik.util.ParsedURLData.<init>(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.constructParsedURLData(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.<init>(Unknown Source) at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.<init>(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgent.openLink(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$25.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(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) ParsedURLData url:http://192.0.0.118/svg/Index.svgz contentType:text/plain; charset=ISO-8859-1 java.lang.Exception at org.apache.batik.util.ParsedURLData.<init>(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.constructParsedURLData(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.parseURL(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.<init>(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgent.openLink(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$25.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(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) ParsedURLData url:http://192.0.0.118/svg/AHU_Index.svgz contentType:text/plain; charset=ISO-8859-1 java.lang.Exception at org.apache.batik.util.ParsedURLData.<init>(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.constructParsedURLData(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.<init>(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgent.openLink(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$25.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(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) ParsedURLData url:http://192.0.0.118/svg/Index.svgz contentType:text/plain; charset=ISO-8859-1 contentType:text/plain; charset=ISO-8859-1 @ setURI contentType:text/plain; charset=ISO-8859-1 java.lang.Exception at org.apache.batik.util.ParsedURLData.<init>(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.constructParsedURLData(Unknown Source) at org.apache.batik.util.ParsedURLDefaultProtocolHandler.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.<init>(Unknown Source) at org.apache.batik.util.ParsedURL.parseURL(Unknown Source) at org.apache.batik.util.ParsedURL.<init>(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent.loadSVGDocument(Unknown Source) at org.apache.batik.swing.JSVGCanvas.setURI(Unknown Source) at ems.SysDisplay.setURI(SysDisplay.java:2818) at ems.SysDisplay$SDUserAgent.openLink(SysDisplay.java:3752) at org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgent.openLink(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent$25.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(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) "Index.svg" is loaded from init() as follows: userAgent = new SDUserAgent(); // my code (extends UserAgentAdapter implements SVGUserAgent) svgCanvas = new SVGCanvas(userAgent, true, false); ...ALWAYS_DYNAMIC...add listeners... url = drawingNameToURL(name); // my code (name == "Index.svg") svgCanvas.setURI(url.toString()); "AHU_Index.svg" is loaded from my UserAgent openLink(). Could there be a problem with my UserAgent? Thanks On Mon, 2004-10-11 at 06:22, Thomas DeWeese wrote: > Hi Stan, > > Any idea who 'ems_funcs.StatusBar' is? I assume it is > your code. It is a little interesting because they both > seem to be tied up waiting on the 'cookie' info. > > Are you doing anything with the cookie subsystem? > > Stan Dickerson wrote: > > > I got the same result with both files (Index.svg & AHU_Index.svg) > > uncompressed or compressed. > > > > openStreamInternal() hangs at contentType = urlC.getContentType() until > > I close the applet window when it continues normally (I get the rest of > > the print statements in the Java console). > > > > I see getContentType() in Thread-79 below - it's waiting on <0x48b65078> > > which was locked by the same thread? > > > > I'll see if I can find a deadlock with JProbe. > > > > Thanks > > > > > > On Fri, 2004-10-08 at 12:29, Thomas DeWeese wrote: > > > >>Hi Stan, > >> > >> Well, I'm pretty much out of ideas. It looks to me like > >>it's a problem with the server. You said you had tried > >>'svgz' - does that mean that you replaced the index file > >>with a gzipped version? It seems like that is the most > >>logical problem source (Batik asks for gzip if you have > >>it and since the first is gzip it works but the second > >>locks up the server). > >> > >> Does the the call hang or does it throw an exception? > >> > >>Stan Dickerson wrote: > >> > >> > >>>Thanks for the reply. I tried the uncrippled js.jar again and got a > >>>security exception. I'm using JRE 1.4.2_04 and Batik 1.5.1. > >>> > >>>I was using "file:///var/www/html/index.html" in the Linux console > >>>browser without hanging - now I'm using "http://192.0.0.118/" (my Linux > >>>machine's IP) and getting the hanging problem locally. It's stopping in > >>>ParsedURLData.openStreamInternal(String, Iterator, Iterator) at > >>>contentType = urlC.getContentType(). If hard coded to "text/plain; > >>>charset=ISO-8859-1", it stops at getContentEncoding() - if hard coded to > >>>null, stops at getInputStream(). > >>> > >>>Here's a valid load: > >>>********************************************** > >>>loadDocument:http://192.0.0.118/svg/Index.svgz ... > >>>>> > >>>>>Any ideas? > >>>>> > >>>>>Thanks, > >>>>> > >>>>>Stan Dickerson > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]