[APPLET][Heritage] Problem with classes

Hi, I'm developping a simple JAVA Applet and I have a problem
I have a class called LUIweb which is the main class. Here is a part of it.
public class LUIweb extends JApplet implements Runnable {
public void run() {
DisplayMessage("JAVA rocks");
public void DisplayMessage(String message){
jtextArea.append(message);
middlePanel.removeAll();
middlePanel.add(textScrollPane, BorderLayout.CENTER);
middlePanel.validate();
middlePanel.repaint();
It displays the message "JAVA rocks" in my JTextArea. But when another class from the same package calls DisplayMessage, nothing is displayed in my JTextArea
public class Data_net extends LUIweb{
public void Test(){
DisplayMessage("NON");
Have you got any idea to fix that?
Thank you for you help

OK,
You are using a separate thread to update the gui. As swing is not multithread safe, this is not good. Anytime you want to change the gui, you must do it on the gui thread. This means without extra help, you should only change the gui from within a Listener, such as a MouseListener, KeyListener, etc, etc.
In your case, you are updating the not from the gui thread (not from a Listener), and so you must ask the gui thread to do the work for you when it has time.
This means you need to use SwingUtilities.invokeLater or SwingUtilities.invokeAndWait.
Since the sequencing is important to you in your code, you should probably use invokeAndWait, such as
public void run()
          SwingUtilities.invokeAndWait( new Runnable()
                 public void run() { DisplayMessage(Language.CONNECT_DB); }
          Data_net Donnee_net=new Data_net();          
          SwingUtilities.invokeAndWait( new Runnable()
                 public void run() { DisplayMessage("Connecting to "+Donnee_net.GetHost()+
                                                   " with user "+Donnee_net.GetUser()+"...\n");
          Donnee_net.Test();   

Similar Messages

  • Problem with Class and Classpath

    Hello ME Windows Users, now before you place a wry smile on your face, I have a problem with path and classpath. Stop it, I can see you smiling!
    By visiting the the last 10 pages of the forum and reading Sun installation notes, some tooldocs and by given some answers by some nice people, I have become an expert in turning off my computer, about 10 times/hr. I still am trying to make my first cup of java.
    With the ME computer,
    I'm unable to right click on the desktop and go to properties, advanced,
    I'm unable to go go start, run, sysedit,
    I'm unable to change the ms-dos window of autoexec.bat, it just shuts down.
    Now before you tell me, I should of bought a different computer, the only place I can find to modify the path and classpath is in the environment which is in system configuration under tools. Here I have placed numerous configurations, like
    C:\java>set path=%path%;c:\j2sdk1.4.2\bin
    C:\java>set classpath=%classpath%;.;
    ;java_dir\bin where ;java_bin is c:\j2sdk1.4.2
    .; java_dir\bin; %path% where ;java_bin is c:\j2sdk1.4.2 and the list goes on.
    But, I know you are still smiling, the % signs comes up in a dialog box, saying too many, and will not convert the text to the environment to be saved when I close down for the tenth time in the last hour.
    Can someone help me before I make a real cup of coffee and accidentally drop it on the ME box.
    Have a laugh on me Mik.

    C:\java>set path=%path%;c:\j2sdk1.4.2\binGood
    But it is no good because it has to many % and a dialog box appears, saying you have too many parameters.
    Are you saying I have to shutdown again to answer your ?
    From the HELP menu-
    To confirm startup commands line by line
    Click Start, and then click Shut down.
    Click Restart, click OK, and then press and hold the CTRL key until the Windows Startup Menu appears.
    Enter the number for Step-by-step confirmation, and then press ENTER.
    For each command you want to run, press Y.
    If the command runs successfully, you are prompted with the next command.
    If the command does not run successfully, you receive an error message.
    To skip a command, press N.
    Mik

  • Java Applet Panel problems with CardLayout

    Hi, I have a problem a I have been stucked for 2 days.
    I created 3 Panels to use with CardLayout. I would switch between those 3 panels depending on user interaction. I have some textfields and text areas on the 2nd and 3rd Panel. On the 1st panel, I would like to use g.drawstring to write some stuff on that panel, but the words would be blocked off if it goes to where the components are on the other panels.
    Thanks.

    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.font.*;
    public class CardTest extends Applet
        Panel panel;
        CardLayout cards;
        public void init()
        {   cards = new CardLayout();
            panel = new Panel(cards);
            panel.add("one", new GraphicPanel());
            panel.add("two", getPanel("panel two"));
            panel.add("three", getPanel("panel three"));
            setLayout(new BorderLayout());
            add(getNavPanel(), "North");
            add(panel);
        private Panel getNavPanel()
            final Button
                last = new Button("last"),
                next = new Button("next");
            ActionListener l = new ActionListener()
                public void actionPerformed(ActionEvent e)
                    Button button = (Button)e.getSource();
                    if(button == last)
                        cards.previous(panel);
                    if(button == next)
                        cards.next(panel);
            last.addActionListener(l);
            next.addActionListener(l);
            Panel panel = new Panel();
            panel.add(last);
            panel.add(next);
            return panel;
        private Panel getPanel(String s)
            Panel panel = new Panel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.weighty = 1.0;
            gbc.gridwidth = GridBagConstraints.REMAINDER;
            panel.add(new Button("button"), gbc);
            panel.add(new TextArea(s, 8, 16), gbc);
            return panel;
        public static void main(String[] args)
            Applet applet = new CardTest();
            Frame f = new Frame();
            f.addWindowListener(new WindowAdapter()
                public void windowClosing(WindowEvent e)
                    System.exit(0);
            f.add(applet);
            f.setSize(400,400);
            f.setLocation(200,200);
            applet.init();
            f.setVisible(true);
    class GraphicPanel extends Panel
        Font font;
        String text;
        final int PAD = 25;
        public GraphicPanel()
            font = new Font("lucida bright regular", Font.PLAIN, 22);
            text = "Hello World";
        public void paint(Graphics g)
            super.paint(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int w = getWidth();
            int h = getHeight();
            int dia = Math.min(w,h)/6;
            g2.setPaint(Color.blue);
            g2.drawLine(PAD, PAD, w - PAD, PAD);
            g2.drawLine(PAD, h - PAD, w - PAD, h - PAD);
            g2.setPaint(Color.green.darker());
            g2.drawOval(w/2 - dia/2, h*2/3, dia, dia);
            g2.setFont(font);
            FontRenderContext frc = g2.getFontRenderContext();
            float width = (float)font.getStringBounds(text, frc).getWidth();
            LineMetrics lm = font.getLineMetrics(text, frc);
            float x = (w - width)/2;
            float y = (h + lm.getHeight())/2 -lm.getDescent();
            g2.setPaint(Color.black);
            g2.drawString(text, x, y);
    }

  • 1st Applet, 1st Problem with getCodeBase

    I am getting a runtime error to do with not being able to find getCodeBase(source). Looking at the sun site, when they use this method, they do
    getCodeBase(), "Images/cat,gif" etcMine is slightly different though. My images are passed to a constructor like this
          public ImagePanel(String img)
              this(new ImageIcon(img).getImage());
          }And in my Applet class, I do this
    ImagePanel back = new ImagePanel(getCodeBase() + "Images/back.JPG");So i am using a + instead of a ,. I dont know if this would make a difference. From looking at the way I do this, is there any reason as to why it would not be able to find the image?
    cheers

    I think a problem i have is the way i am dealing with JPanels here for my Applet. So this is the beginning of a panel class
    public class ImagePanel extends JPanel {
           private Image background; //The background image
           private ArrayList<Rec> top;    //An array list of foreground images
           private ArrayList<Rec> bottom;
           private ArrayList<Rec> middle;
             private MovingImage copter;
           private ArrayList<MovingImage> smoke;
        //Constructs a new ImagePanel with the background image specified by the file path given
          public ImagePanel(URL img, String w)
              this(new ImageIcon( new URL( img, w ) ));
        //Constructs a new ImagePanel with the background image given
          public ImagePanel(Image img)
            background = img;
            Dimension size = new Dimension(img.getWidth(null), img.getHeight(null));
            setPreferredSize(size);
            setMinimumSize(size);
            setMaximumSize(size);
            setSize(size);
            top = new ArrayList<Rec>();
            middle = new ArrayList<Rec>();
            bottom = new ArrayList<Rec>();
            smoke = new ArrayList<MovingImage>();
          }The problem i get when i added in your suggestion is cannot find symbol constructor ImagePanel(javax.swing.ImageIcon) So i dont know if i should be adding a default constructor in or somthing or change the current one?

  • Applet load problem with Linux browsers

    My application uses jsp and applets and I am having a problem loading the applets
    under all Linux browsers. If you switch between the applets rapidly then without fail you will get yourself into a state where the applets do not load (you see the applet
    splash screen and that's it). When you are in this state you cannot load any future applets from this browser. You have to kill the browser and start it again to load the applet. I have tested this with Galeon 1.2.6, Mozilla 1.0.1, and Netscape 7.0 with versions 1.4.1_01, 1.4.0_01, and 1.3.1_05. Can anyone shed some light on this problem? A thread dump shows that there are many threads waiting on monitors that I am afraid will never get notified since I have clicked onto another applet. Thanks for any insight...
    Full thread dump Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode):
    "thread applet-com.storigen.ui.BaseApplet" prio=1 tid=0x0x84acdb0 nid=0x551a waiting for monitor entry [badff000..badff880]
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:63)
         - waiting to lock <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x44a16f30> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:375)
         - locked <0x44a16f30> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at com.storigen.util.ASPipeLine.getServletObject(ASPipeLine.java:73)
         at com.storigen.ui.BaseApplet.initContentPane(BaseApplet.java:253)
         at com.storigen.ui.BaseApplet.init(BaseApplet.java:127)
         at sun.applet.AppletPanel.run(AppletPanel.java:347)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-77" prio=1 tid=0x0x83db4b0 nid=0x5518 in Object.wait() [bb3ff000..bb3ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449de278> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1008)
         - locked <0x449de278> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1061)
         at sun.applet.AppletPanel.joinAppletThread(AppletPanel.java:155)
         at sun.applet.AppletPanel.sendEvent(AppletPanel.java:251)
         at sun.plugin.AppletViewer.onPrivateClose(AppletViewer.java:761)
         at sun.plugin.AppletViewer$1.run(AppletViewer.java:723)
         at java.lang.Thread.run(Thread.java:536)
    "thread applet-com.storigen.ui.BaseApplet" prio=1 tid=0x0x8110760 nid=0x5514 waiting for monitor entry [bb1ff000..bb1ff880]
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:63)
         - waiting to lock <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x449f5ce8> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:375)
         - locked <0x449f5ce8> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at com.storigen.util.ASPipeLine.getServletObject(ASPipeLine.java:73)
         at com.storigen.ui.BaseApplet.initContentPane(BaseApplet.java:253)
         at com.storigen.ui.BaseApplet.init(BaseApplet.java:127)
         at sun.applet.AppletPanel.run(AppletPanel.java:347)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-74" prio=1 tid=0x0x84986b8 nid=0x5509 in Object.wait() [bb7ff000..bb7ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449d7be0> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1008)
         - locked <0x449d7be0> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1061)
         at sun.applet.AppletPanel.joinAppletThread(AppletPanel.java:155)
         at sun.applet.AppletPanel.sendEvent(AppletPanel.java:251)
         at sun.plugin.AppletViewer.onPrivateClose(AppletViewer.java:761)
         at sun.plugin.AppletViewer$1.run(AppletViewer.java:723)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-73" prio=1 tid=0x0x84d5368 nid=0x54fa waiting for monitor entry [bb9fe000..bb9ff880]
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:63)
         - waiting to lock <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x449d77d8> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:375)
         - locked <0x449d77d8> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.plugin.PluginURLJarFileCallBack.retrieve(PluginURLJarFileCallBack.java:52)
         at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:152)
         at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
         at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:53)
         at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:103)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:78)
         at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:580)
         at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:541)
         at sun.misc.URLClassPath$3.run(URLClassPath.java:319)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:308)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:285)
         - locked <0x449d7960> (a sun.misc.URLClassPath)
         at sun.misc.URLClassPath.getResource(URLClassPath.java:155)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         - locked <0x449d79b0> (a sun.plugin.security.PluginClassLoader)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
         - locked <0x449d79b0> (a sun.plugin.security.PluginClassLoader)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1775)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
         at sun.applet.AppletPanel.run(AppletPanel.java:292)
         at java.lang.Thread.run(Thread.java:536)
    "thread applet-com.storigen.ui.BaseApplet" prio=1 tid=0x0x84d5570 nid=0x54f8 in Object.wait() [bb5ff000..bb5ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449d7720> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1008)
         - locked <0x449d7720> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1061)
         at sun.applet.AppletPanel.run(AppletPanel.java:327)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-71" prio=1 tid=0x0x810a320 nid=0x54f5 in Object.wait() [bbdff000..bbdff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449ccac8> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1008)
         - locked <0x449ccac8> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1061)
         at sun.applet.AppletPanel.joinAppletThread(AppletPanel.java:155)
         at sun.applet.AppletPanel.sendEvent(AppletPanel.java:251)
         at sun.plugin.AppletViewer.onPrivateClose(AppletViewer.java:761)
         at sun.plugin.AppletViewer$1.run(AppletViewer.java:723)
         at java.lang.Thread.run(Thread.java:536)
    "AWT-EventQueue-13" prio=1 tid=0x0x4cbe3560 nid=0x54f4 in Object.wait() [bcbff000..bcbff880]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:426)
         at java.awt.EventQueue.getNextEvent(EventQueue.java:333)
         - locked <0x449cefd0> (a java.awt.EventQueue)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    "TimerQueue" daemon prio=1 tid=0x0x810ad00 nid=0x54f3 in Object.wait() [bbbff000..bbbff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449cc950> (a javax.swing.TimerQueue)
         at javax.swing.TimerQueue.run(TimerQueue.java:231)
         - locked <0x449cc950> (a javax.swing.TimerQueue)
         at java.lang.Thread.run(Thread.java:536)
    "thread applet-com.storigen.ui.BaseApplet" prio=1 tid=0x0x841d4e8 nid=0x54f0 waiting for monitor entry [bc5ff000..bc5ff880]
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:63)
         - waiting to lock <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x449d7ce0> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:375)
         - locked <0x449d7ce0> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at com.storigen.util.ASPipeLine.getServletObject(ASPipeLine.java:73)
         at com.storigen.ui.BaseApplet.initContentPane(BaseApplet.java:253)
         at com.storigen.ui.BaseApplet.init(BaseApplet.java:127)
         at sun.applet.AppletPanel.run(AppletPanel.java:347)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-68" prio=1 tid=0x0x8113280 nid=0x54ed in Object.wait() [bd1ff000..bd1ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449b8bd0> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1008)
         - locked <0x449b8bd0> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1061)
         at sun.applet.AppletPanel.joinAppletThread(AppletPanel.java:155)
         at sun.applet.AppletPanel.sendEvent(AppletPanel.java:251)
         at sun.plugin.AppletViewer.onPrivateClose(AppletViewer.java:761)
         at sun.plugin.AppletViewer$1.run(AppletViewer.java:723)
         at java.lang.Thread.run(Thread.java:536)
    "thread applet-com.storigen.ui.BaseApplet" prio=1 tid=0x0x841b0c0 nid=0x54ea waiting for monitor entry [bcdff000..bcdff880]
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:63)
         - waiting to lock <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x449ccd38> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:528)
         - locked <0x449ccd38> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at com.storigen.util.ASPipeLine.getServletObject(ASPipeLine.java:66)
         at com.storigen.util.ASPipeLine.load(ASPipeLine.java:35)
         at com.storigen.ui.PipeLineTableModel.refresh(PipeLineTableModel.java:85)
         - locked <0x449cce30> (a com.storigen.ui.PipeLineTableModel)
         at com.storigen.ui.PipeLineTableModel.<init>(PipeLineTableModel.java:72)
         at com.storigen.ui.PipeLineTableModel.<init>(PipeLineTableModel.java:43)
         at com.storigen.su.ui.SoftwareVersionsPanel.layoutPanel(SoftwareVersionsPanel.java:84)
         at com.storigen.su.ui.SoftwareVersionsPanel.<init>(SoftwareVersionsPanel.java:65)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:306)
         at java.lang.Class.newInstance(Class.java:259)
         at com.storigen.ui.BaseApplet.initContentPane(BaseApplet.java:248)
         at com.storigen.ui.BaseApplet.init(BaseApplet.java:127)
         at sun.applet.AppletPanel.run(AppletPanel.java:347)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-65" prio=1 tid=0x0x80bdc10 nid=0x54e8 in Object.wait() [bd3ff000..bd3ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449adc28> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1008)
         - locked <0x449adc28> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1061)
         at sun.applet.AppletPanel.joinAppletThread(AppletPanel.java:155)
         at sun.applet.AppletPanel.sendEvent(AppletPanel.java:251)
         at sun.plugin.AppletViewer.onPrivateClose(AppletViewer.java:761)
         at sun.plugin.AppletViewer$1.run(AppletViewer.java:723)
         at java.lang.Thread.run(Thread.java:536)
    "AWT-EventQueue-11" prio=1 tid=0x0x84b5648 nid=0x54e7 in Object.wait() [bd7ff000..bd7ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4496d9e0> (a java.awt.EventQueue)
         at java.lang.Object.wait(Object.java:426)
         at java.awt.EventQueue.getNextEvent(EventQueue.java:333)
         - locked <0x4496d9e0> (a java.awt.EventQueue)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    "AWT-EventQueue-12" prio=1 tid=0x0x841f818 nid=0x54e6 in Object.wait() [bc9ff000..bc9ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449b0018> (a java.awt.EventQueue)
         at java.lang.Object.wait(Object.java:426)
         at java.awt.EventQueue.getNextEvent(EventQueue.java:333)
         - locked <0x449b0018> (a java.awt.EventQueue)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    "TimerQueue" daemon prio=1 tid=0x0x8494238 nid=0x54e5 in Object.wait() [bc1ff000..bc1ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x449ad670> (a javax.swing.TimerQueue)
         at javax.swing.TimerQueue.run(TimerQueue.java:231)
         - locked <0x449ad670> (a javax.swing.TimerQueue)
         at java.lang.Thread.run(Thread.java:536)
    "thread applet-com.storigen.ui.BaseApplet" prio=1 tid=0x0x80f12a0 nid=0x54e2 in Object.wait() [bbffe000..bbfff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x48555af8> (a java.lang.Class)
         at java.lang.Object.wait(Object.java:426)
         at sun.plugin.navig.motif.Worker.enterRequest(Worker.java:341)
         - locked <0x48555af8> (a java.lang.Class)
         at sun.plugin.navig.motif.Worker.findCookieForURL(Worker.java:249)
         - locked <0x48555af8> (a java.lang.Class)
         at sun.plugin.net.cookie.MNetscape6CookieHandler.getCookieInfo(MNetscape6CookieHandler.java:73)
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:82)
         - locked <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x449b29c8> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:528)
         - locked <0x449b29c8> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at com.storigen.util.ASPipeLine.getServletObject(ASPipeLine.java:66)
         at com.storigen.util.ASPipeLine.load(ASPipeLine.java:35)
         at com.storigen.ui.PipeLineTableModel.refresh(PipeLineTableModel.java:85)
         - locked <0x449b2ac0> (a com.storigen.ui.PipeLineTableModel)
         at com.storigen.ui.PipeLineTableModel.<init>(PipeLineTableModel.java:72)
         at com.storigen.ui.PipeLineTableModel.<init>(PipeLineTableModel.java:43)
         at com.storigen.su.ui.SoftwareVersionsPanel.layoutPanel(SoftwareVersionsPanel.java:84)
         at com.storigen.su.ui.SoftwareVersionsPanel.<init>(SoftwareVersionsPanel.java:65)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:306)
         at java.lang.Class.newInstance(Class.java:259)
         at com.storigen.ui.BaseApplet.initContentPane(BaseApplet.java:248)
         at com.storigen.ui.BaseApplet.init(BaseApplet.java:127)
         at sun.applet.AppletPanel.run(AppletPanel.java:347)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-62" daemon prio=1 tid=0x0x4ce50400 nid=0x54de waiting for monitor entry [bc7ff000..bc7ff880]
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:63)
         - waiting to lock <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x449b43e0> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:528)
         - locked <0x449b43e0> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at com.storigen.util.ASPipeLine.getServletObject(ASPipeLine.java:66)
         at com.storigen.util.ASPipeLine.load(ASPipeLine.java:35)
         at com.storigen.monitor.ui.DataUpdater.run(DataUpdater.java:94)
         at java.util.TimerThread.mainLoop(Timer.java:432)
         at java.util.TimerThread.run(Timer.java:382)
    "AWT-EventQueue-10" prio=1 tid=0x0x810d7d8 nid=0x54db in Object.wait() [bd5ff000..bd5ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x44939318> (a java.awt.EventQueue)
         at java.lang.Object.wait(Object.java:426)
         at java.awt.EventQueue.getNextEvent(EventQueue.java:333)
         - locked <0x44939318> (a java.awt.EventQueue)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    "Thread-56" daemon prio=1 tid=0x0x810af58 nid=0x54d1 waiting for monitor entry [bcfff000..bcfff880]
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:63)
         - waiting to lock <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x449dd9c0> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:528)
         - locked <0x449dd9c0> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at com.storigen.util.ASPipeLine.getServletObject(ASPipeLine.java:66)
         at com.storigen.util.ASPipeLine.load(ASPipeLine.java:35)
         at com.storigen.monitor.ui.DataUpdater.run(DataUpdater.java:94)
         at java.util.TimerThread.mainLoop(Timer.java:432)
         at java.util.TimerThread.run(Timer.java:382)
    "Thread-50" daemon prio=1 tid=0x0x4ce40458 nid=0x54c5 waiting for monitor entry [bc3ff000..bc3ff880]
         at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:63)
         - waiting to lock <0x486e0f58> (a java.lang.Class)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:322)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:165)
         - locked <0x449ddad8> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:528)
         - locked <0x449ddad8> (a sun.plugin.net.protocol.http.HttpURLConnection)
         at com.storigen.util.ASPipeLine.getServletObject(ASPipeLine.java:66)
         at com.storigen.util.ASPipeLine.load(ASPipeLine.java:35)
         at com.storigen.monitor.ui.DataUpdater.run(DataUpdater.java:94)
         at java.util.TimerThread.mainLoop(Timer.java:432)
         at java.util.TimerThread.run(Timer.java:382)
    "TimerQueue" daemon prio=1 tid=0x0x80b7598 nid=0x546a in Object.wait() [bdbff000..bdbff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4489aab0> (a javax.swing.TimerQueue)
         at javax.swing.TimerQueue.run(TimerQueue.java:231)
         - locked <0x4489aab0> (a javax.swing.TimerQueue)
         at java.lang.Thread.run(Thread.java:536)
    "AWT-EventQueue-0" prio=1 tid=0x0x84d6a88 nid=0x5458 waiting on condition [bd9ff000..bd9ff880]
         at sun.plugin.JavaRunTime.dumpAllStacks(Native Method)
         at sun.plugin.ConsoleWindow$1.actionPerformed(ConsoleWindow.java:149)
         at javax.swing.JComponent$ActionStandin.actionPerformed(JComponent.java:2863)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:253)
         at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:202)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2512)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2504)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Window.dispatchEventImpl(Window.java:1585)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    "Thread-3" daemon prio=1 tid=0x0x84d1e98 nid=0x5456 in Object.wait() [bddff000..bddff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4482ab60> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x4482ab60> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "Java2D Disposer" daemon prio=1 tid=0x0x84ca400 nid=0x5455 in Object.wait() [bdfff000..bdfff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4482abe0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x4482abe0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
         at sun.java2d.Disposer.run(Disposer.java:97)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-2" prio=1 tid=0x0x83bb9c0 nid=0x5454 runnable [be1ff000..be1ff880]
         at sun.plugin.navig.motif.AThread.handleRequest(Native Method)
         at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:35)
         at sun.plugin.navig.motif.AThread.run(AThread.java:27)
    "Thread-1" prio=1 tid=0x0x83f2ba8 nid=0x5451 waiting on condition [be3ff000..be3ff880]
         at java.lang.Thread.sleep(Native Method)
         at sun.plugin.navig.motif.Plugin$Watcher.run(Plugin.java:482)
    "Main Console Writer" prio=1 tid=0x0x81d12f8 nid=0x5450 in Object.wait() [be5ff000..be5ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x4480f8e0> (a java.util.LinkedList)
         at java.lang.Object.wait(Object.java:426)
         at sun.plugin.MainConsoleWriter.run(MainConsoleWriter.java:106)
         - locked <0x4480f8e0> (a java.util.LinkedList)
         at java.lang.Thread.run(Thread.java:536)
    "AWT-Motif" daemon prio=1 tid=0x0x81cfda8 nid=0x544f runnable [be7ff000..be7ff880]
         at sun.awt.motif.MToolkit.run(Native Method)
         at java.lang.Thread.run(Thread.java:536)
    "AWT-Shutdown" prio=1 tid=0x0x81a6fd0 nid=0x544e in Object.wait() [be9ff000..be9ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x447d84c0> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:426)
         at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
         - locked <0x447d84c0> (a java.lang.Object)
         at java.lang.Thread.run(Thread.java:536)
    "Signal Dispatcher" daemon prio=1 tid=0x0x808b330 nid=0x544c runnable [0..0]
    "Finalizer" daemon prio=1 tid=0x0x8087f90 nid=0x5449 in Object.wait() [bf3ff000..bf3ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x447aff98> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x447aff98> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=1 tid=0x0x8086478 nid=0x5448 in Object.wait() [bf5ff000..bf5ff880]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x447b0000> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Object.java:426)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113)
         - locked <0x447b0000> (a java.lang.ref.Reference$Lock)
    "main" prio=1 tid=0x0x804e5f8 nid=0x5445 runnable [bfff6000..bfff69f8]
         at java.io.FileInputStream.read(Native Method)
         at java.io.DataInputStream.readInt(DataInputStream.java:392)
         at sun.plugin.navig.motif.Plugin.doit(Plugin.java:191)
         at sun.plugin.navig.motif.Plugin.start(Plugin.java:103)
    "VM Thread" prio=1 tid=0x0x8083238 nid=0x5447 runnable
    "VM Periodic Task Thread" prio=1 tid=0x0x808e6d8 nid=0x544a waiting on condition
    "Suspend Checker Thread" prio=1 tid=0x0x808f3b8 nid=0x544b runnable
    Done.

    I believe I have run into this issue, or a related one, when performing requests quickly. The workaround posted above does not seem to fix my situation, and I an unable to find the bug post for this problem. Does anyone have any further information regarding this issue, or able to recognize the problem using the following thread dump?
    Thanks!
    Dump thread stack ...
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode,
    sharing):
    "TimerQueue" daemon prio=1 tid=0x098b4bf8 nid=0x62f7 in Object.wait()
    [0x091fd000..0x091fd1b0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x88c55c40> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:233)
    - locked <0x88c55c40> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:595)
    "ConsoleWriterThread" daemon prio=1 tid=0x098c6c70 nid=0x62f6 in
    Object.wait() [0x06dac000..0x06dace30]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x89176fe8> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:474)
    at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run
    (ConsoleTraceListener.java:72)
    - locked <0x89176fe8> (a java.lang.Object)
    "Thread-29" prio=1 tid=0x09997c18 nid=0x62f2 waiting for monitor entry
    [0x089f5000..0x089f5eb0]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e077b0> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.storage.h.a(SourceFile:58)
    at com.tms.tscp.webmon.panel.storage.b.n(SourceFile:85)
    at com.tms.tscp.webmon.panel.storage.b.b(SourceFile:67)
    at com.tms.swing.k.run(SourceFile:63)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-25" prio=1 tid=0x099a6508 nid=0x62ee waiting for monitor entry
    [0x07a5c000..0x07a5d0b0]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e07940> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.raid.b.c(SourceFile:198)
    at com.tms.tscp.webmon.panel.raid.c.n(SourceFile:36)
    at com.tms.swing.k.run(SourceFile:60)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-20" prio=1 tid=0x098c3530 nid=0x62e8 waiting for monitor entry
    [0x05a7f000..0x05a7ff30]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e07ae8> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.storage.h.a(SourceFile:58)
    at com.tms.tscp.communication.storage.a.a(SourceFile:19)
    at com.tms.tscp.communication.polling.c.run(SourceFile:96)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-19" prio=1 tid=0x097f3c30 nid=0x62e7 waiting for monitor entry
    [0x031e9000..0x031e9fb0]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e07c78> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.storage.h.a(SourceFile:58)
    at com.tms.tscp.communication.storage.a.a(SourceFile:19)
    at com.tms.tscp.communication.polling.c.run(SourceFile:96)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-17" prio=1 tid=0x096f1398 nid=0x62e5 waiting for monitor entry
    [0x055df000..0x055e00b0]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e07e08> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.log.b.a(SourceFile:33)
    at com.tms.tscp.communication.polling.c.run(SourceFile:96)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-16" prio=1 tid=0x097e2f78 nid=0x62e4 waiting on condition
    [0x03169000..0x03169130]
    at java.lang.Thread.sleep(Native Method)
    at com.tms.tscp.communication.stats.d.run(SourceFile:49)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-15" prio=1 tid=0x09819490 nid=0x62e1 waiting for monitor entry
    [0x06837000..0x06837eb0]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e07f98> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.storage.j.a(SourceFile:22)
    at com.tms.tscp.communication.polling.c.run(SourceFile:96)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-14" prio=1 tid=0x096d9820 nid=0x62df in Object.wait()
    [0x03a0b000..0x03a0bfb0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x8cd02dd8> (a java.lang.Class)
    at java.lang.Object.wait(Object.java:474)
    at sun.plugin.navig.motif.Worker.enterRequest(Worker.java:329)
    - locked <0x8cd02dd8> (a java.lang.Class)
    at sun.plugin.navig.motif.Worker.findCookieForURL(Worker.java:236)
    - locked <0x8cd02dd8> (a java.lang.Class)
    at sun.plugin.net.cookie.MNetscape6CookieHandler.getCookieInfo
    (MNetscape6CookieHandler.java:74)
    at com.sun.deploy.net.cookie.DeployCookieManager.getCookieInfo
    (DeployCookieManager.java:83)
    - locked <0x8cd4fd70> (a java.lang.Class)
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - locked <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e08190> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.environmental.b.a(SourceFile:71)
    at com.tms.tscp.communication.polling.c.run(SourceFile:96)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-13" prio=1 tid=0x0963ebb0 nid=0x62dd waiting for monitor entry
    [0x06b6c000..0x06b6d0b0]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e08478> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.storage.i.a(SourceFile:23)
    at com.tms.tscp.communication.polling.c.run(SourceFile:96)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-12" prio=1 tid=0x0963e7f8 nid=0x62dc waiting for monitor entry
    [0x052d5000..0x052d6130]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e08608> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.raid.c.a(SourceFile:37)
    at com.tms.tscp.communication.polling.c.run(SourceFile:96)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-11" prio=1 tid=0x0963e470 nid=0x62db waiting for monitor entry
    [0x05c92000..0x05c931b0]
    at com.sun.deploy.net.cookie.DeployCookieSelector.get
    (DeployCookieSelector.java:70)
    - waiting to lock <0x8916fbb0> (a
    com.sun.deploy.net.cookie.DeployCookieSelector)
    at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies
    (HttpURLConnection.java:440)
    at sun.net.www.protocol.http.HttpURLConnection.writeRequests
    (HttpURLConnection.java:406)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:934)
    - locked <0x89e08798> (a sun.net.www.protocol.http.HttpURLConnection)
    at java.net.URLConnection.getContent(URLConnection.java:682)
    at com.tms.tscp.soap.a.a(SourceFile:146)
    at com.tms.tscp.communication.raid.d.a(SourceFile:40)
    at com.tms.tscp.communication.polling.c.run(SourceFile:96)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-EventQueue-2" prio=1 tid=0x09981b00 nid=0x62d4 in Object.wait()
    [0x077c6000..0x077c7130]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:474)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
    - locked <0x89186108> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy
    (EventDispatchThread.java:189)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy
    (EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents
    (EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents
    (EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    "Thread-7" prio=1 tid=0x09979e90 nid=0x62d3 waiting on condition
    [0x08621000..0x086211b0]
    at java.lang.Thread.sleep(Native Method)
    at com.tms.tscp.webmon.systree.j.run(SourceFile:461)
    at java.lang.Thread.run(Thread.java:595)
    "TimerQueue" daemon prio=1 tid=0x098f96e8 nid=0x62ce in Object.wait()
    [0x08491000..0x08492030]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x8964ea58> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:233)
    - locked <0x8964ea58> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-EventQueue-1" prio=1 tid=0x09929930 nid=0x62ca waiting on condition
    [0x057ff000..0x057ffe30]
    at sun.plugin.JavaRunTime.dumpAllStacks(Native Method)
    at sun.plugin.util.PluginConsoleController.dumpAllStacks
    (PluginConsoleController.java:107)
    at com.sun.deploy.util.ConsoleWindow$1.actionPerformed
    (ConsoleWindow.java:119)
    at javax.swing.JComponent$ActionStandin.actionPerformed
    (JComponent.java:3227)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
    at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:255)
    at javax.swing.KeyboardManager.fireKeyboardAction
    (KeyboardManager.java:204)
    at javax.swing.JComponent.processKeyBindingsForAllComponents
    (JComponent.java:2840)
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2832)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
    at java.awt.Component.processEvent(Component.java:5265)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.KeyboardFocusManager.redispatchEvent
    (KeyboardFocusManager.java:1810)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent
    (DefaultKeyboardFocusManager.java:672)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent
    (DefaultKeyboardFocusManager.java:920)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions
    (DefaultKeyboardFocusManager.java:798)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent
    (DefaultKeyboardFocusManager.java:636)
    at java.awt.Component.dispatchEventImpl(Component.java:3841)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy
    (EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy
    (EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents
    (EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents
    (EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    "thread applet-com.tms.tscp.webmon.main.WebmonApplet.class" prio=1
    tid=0x09828d40 nid=0x62c4 in Object.wait() [0x07d80000..0x07d81130]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x8918a880> (a sun.plugin.AppletViewer)
    at java.lang.Object.wait(Object.java:474)
    at sun.applet.AppletPanel.getNextEvent(AppletPanel.java:282)
    - locked <0x8918a880> (a sun.plugin.AppletViewer)
    at sun.applet.AppletPanel.run(AppletPanel.java:332)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-EventQueue-0" prio=1 tid=0x096bddb0 nid=0x62c1 in Object.wait()
    [0x0706e000..0x0706eeb0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x891497a8> (a java.awt.EventQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
    - locked <0x891497a8> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy
    (EventDispatchThread.java:189)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy
    (EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents
    (EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents
    (EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    "AWT-Shutdown" prio=1 tid=0x096bcad0 nid=0x62c0 in Object.wait()
    [0x02f9b000..0x02f9bf30]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x89130670> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:474)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x89130670> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:595)
    "Thread-2" prio=1 tid=0x096b3978 nid=0x62bf runnable
    [0x03de6000..0x03de6fb0]
    at sun.plugin.navig.motif.AThread.handleRequest(Native Method)
    at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:35)
    at sun.plugin.navig.motif.AThread.run(AThread.java:27)
    "Thread-1" prio=1 tid=0x096956c0 nid=0x62bc waiting on condition
    [0x02f1a000..0x02f1b030]
    at java.lang.Thread.sleep(Native Method)
    at sun.plugin.navig.motif.Plugin$Watcher.run(Plugin.java:485)
    "traceMsgQueueThread" daemon prio=1 tid=0x0968d7c0 nid=0x62ba in
    Object.wait() [0x030cb000..0x030cc130]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x8914d110> (a java.util.ArrayList)
    at java.lang.Object.wait(Object.java:474)
    at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Trace.java:74)
    - locked <0x8914d110> (a java.util.ArrayList)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-XAWT" daemon prio=1 tid=0x09679420 nid=0x62b9 runnable
    [0x08176000..0x081761b0]
    at sun.awt.X11.XToolkit.waitForEvents(Native Method)
    at sun.awt.X11.XToolkit.run(XToolkit.java:463)
    at sun.awt.X11.XToolkit.run(XToolkit.java:438)
    at java.lang.Thread.run(Thread.java:595)
    "Java2D Disposer" daemon prio=1 tid=0x09668180 nid=0x62b8 in Object.wait
    () [0x0577b000..0x0577be30]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x89115db0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x89115db0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:107)
    at java.lang.Thread.run(Thread.java:595)
    "Low Memory Detector" daemon prio=1 tid=0x095b4118 nid=0x62b6 runnable
    [0x00000000..0x00000000]
    "CompilerThread0" daemon prio=1 tid=0x095b2bb8 nid=0x62b5 waiting on
    condition [0x00000000..0x02e18998]
    "Signal Dispatcher" daemon prio=1 tid=0x095b1ca0 nid=0x62b4 runnable
    [0x00000000..0x00000000]
    "Finalizer" daemon prio=1 tid=0x095ac028 nid=0x62b3 in Object.wait()
    [0x04baf000..0x04bb00b0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x89115f58> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x89115f58> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=1 tid=0x095aa1a8 nid=0x62b2 in
    Object.wait() [0x00aa0000..0x00aa0130]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x89115fd8> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:474)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x89115fd8> (a java.lang.ref.Reference$Lock)
    "main" prio=1 tid=0x09566cd8 nid=0x62b0 runnable
    [0xbff6b000..0xbff6c0a8]
    at java.io.FileInputStream.read(Native Method)
    at java.io.DataInputStream.readInt(DataInputStream.java:353)
    at sun.plugin.navig.motif.Plugin.doit(Plugin.java:173)
    at sun.plugin.navig.motif.Plugin.start(Plugin.java:104)
    "VM Thread" prio=1 tid=0x095a7648 nid=0x62b1 runnable
    "VM Periodic Task Thread" prio=1 tid=0x095b55b8 nid=0x62b7 waiting on
    condition
    Done.

  • Problems with classes referencing each other...

    I've got a problem....i have a program with two classes, and each class needs access to methods stored in the other class.
    I've tried to create a reference (Classname name=new Classname();), but upon execution, i get a Exception in thread "main" java.lang.StackOverflowError, and a long list of locations, all pointing to the references i created at the top of each class.
    What's wrong, and how do I fix this?

    You have infinite recursion. A method or constructor is calling itself, or is calling another method or constructor that eventually ends up calling the first one.
    If you can't find it, post code. Use [code] and [/code] tags, which you can get with the code button, to make the code readable.

  • A stange problem with class Random

    I am doing with a simple test of class random as follow:
    public class Test{
      private static rand=new Random();
      public static void main(String args[]){
          int i=rand.nextInt(10);
          System.out.println(i);
    }When I compile the program using javac,error occurs.It says
    Wrong number of arguments in method
    private int i=rand.nextInt(10)
    ^
    If I remove the arg "10" ,it works fine.So I have to rewrite it as below:
      private int i=rand.nextInt(10) % 10;I am puzzled now.Why can't I use the int nextInt(int n) method of class Random?

    Thanks for your advice.
    I have tried as what you have said ,and the codes seem like these:
    import java.util.*;
    public class test {
         private static Random rand = new Random();
         public static void main(String args[]){
              int i=rand.nextInt(10);
              System.out.println(i);
    }and the file name is test.java of course.
    But it cause the same error.
    And when I compile the same code on another machine ,it wors fine!
    (all the two machines are installed with win2k server and j2sdk1.4.1_01).
    Why there exists problems and difference?
    Did I have to set something else of the system?

  • Applet loading problem with Weblogic 10.3

    Hello,
    we are trying to run a java applet (compiiled with JDK1.6.0.14) with the latest weblogic (11g or 10.3) and we get the following error:
    The applet works with Safari and the old version firefox. But IE and the latest firefox return the following error:
    java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file FirstApplet
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file FirstApplet
    I appreciate any help and suggestions in advance.
    Best,

    I found the answer to this. The documentation is not clear enough, LD_LIBRARY_PATH MUST be set and MUST have a pointer to the directory where the SSL .so modules are. I wrote up a blog article explaining the configuration and detailed this issue.
    http://blogs.oracle.com/irm/2010/06/quick_guide_to_oracle_irm_11g_1.html

  • Problems with class CL_GUI_FRONTEND_SERVICES

    Hi.
    I already searched for a solution in the forum, but haven't found anything yet.
    I use the method to check if a directory exists and the one to list the files. The user can specify the directory on the Appl.-Server via SELECTION-SCREEN. First the code:
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST
      EXPORTING
        DIRECTORY            = l_unixpath
      RECEIVING
        RESULT               = l_count_unixdir
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2
        WRONG_PARAMETER      = 3
        NOT_SUPPORTED_BY_GUI = 4
        others               = 5.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES
      EXPORTING
        DIRECTORY            = l_unixpath
      CHANGING
        file_table           = l_itab_unixdir
        count                = helpvar
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2
        WRONG_PARAMETER      = 3
        NOT_SUPPORTED_BY_GUI = 4
        others               = 5.
    IF l_count_unixdir = 'X'.
      WRITE: / 'Directory Exists'.
      READ TABLE l_itab_unixdir INDEX 1 INTO l_unixdir.
      WRITE:/ helpvar.
      WRITE:/ l_unixdir.
      WRITE
    ELSE.
      WRITE:/ 'Directory not found'.
    ENDIF.
    Now my problem:
    l_unixpath is '/', the result is: Directory exists, but helpvar is 0, l_itab_unixdir is empty;
    l_unixpath is '/usr/sap/', the result is: Directory not found <b>(but the directory exists!)</b>;
    l_unixpath is 'c:/', the result is: Directory exists, helpvar is 47, l_unixdir is "Documents and Settings".
    Why it's working with the Windows-Path but not with Unix? Thanks for your answers.

    Becose that class is for presentation server. You can't use it with application server.
    Try FM F4_DXFILENAME_TOPRECURSION, may be helps.
    Regards.

  • Problem with Class.getResource()

    I am trying to load a jar file dynamicaly like,
    ClassLoader prevClassLoader = Thread.currentThread().getContextClassLoader();
    URLClassLoader m_ClassLoader = new URLClassLoader(new URL[] {new URL(sV1JarPath)}, prevClassLoader);
    But after doing this if I try to load a resource from the "prevClassLoader " like,
    MyClass.class.getResource("path"); where MyClass is loaded by prevClassLoader, it is not working. It fails to load the resource.
    Can anyone help me correct this issue?
    Thanks
    Unni

    try "/path".I am giving it like
    MyClass.class.getResource("images/" + name); where there is an images packages in side the package where MyClass resides.
    But here the problem is as MyClass is in the prevClassLoader and it is not able to find it when we call Class.getResource()

  • Problems with class MdmDimension

    Hello, I've created some dimensions and cubes using cwm2 packages, in Oracle 9i.
    Now I'm trying to use these objects in a j2ee aplication using olap api. My problem is: when I try to display the properties (display_name, plural_description, description, ...) of my dimensions (using MdmDimension class), the result is not the same of the same properties using ALL_OLAP2_DIMENSIONS view.
    For example, the PR01 dimension has the next descriptions (using ALL_OLAP2_DIMENSIONS view):
    plural_name: 'Prueba01 plural'
    display_name: 'Prueba01 display'
    short_description: "Prueba01 short'
    description: 'Prueba01 description'.
    And now, using the methods on MdmDimension class, I've got the next results:
    getPluralDescription() --> 'Prueba01 plural' OK
    getShortDescription() --> 'Prueba01 display' ????
    getShortPluralDescription() --> 'Prueba01 plural' OK
    getDescription() --> 'Prueba 01 short' ????
    I need to display the description ('Prueba01 valen'), but I haven't found the way.
    What is failing ? My database version is 9.2.0.6, and I'm using MdmDimension from package oracle.express.mdm. Thanks a lot by your help.

    Hi Edmund,
    I'm having the same problem in the same upgrade scenario. Did you find a solution for this big issue?
    Thanks.
    Patricio.

  • Problems with Classes

    Hi everyone.
    I am using a scroller class from kirupa, however i am having
    a small problem. Everything works fine if i place it all on the
    main time line. however when i want to package all the mc's used
    for the scroller into a mc of it own the scroller will not update
    for the new content. I am losing some hair trying to tackle this
    one on my own and would love it if someone could help.
    Here are the files:
    EDITED: i have just added both the version of the scroller in
    a container...and one that is not. The one that is not work
    perfectly, the one that is in the container has the flaw that when
    the new content is loaded in the scroll bar does not hide or change
    height, it keeps the property of the initial mc loaded.
    Hope that makes sense.
    Zipped
    Files
    Thanks for all for taking time for this.
    Very much appreciated,
    Martha Stewart

    Think it works (almost) properly now. This is the code for
    the buttons (change the mc to attach...)
    on(release){
    Scroller.contentMain.unloadMovie;
    Scroller.contentMain.attachMovie("historytxt","newcontent",1)
    // Line of importance
    setTimeout(Scroller.myscrollbar, "setScrollProps", 50);
    Scroller.myscrollbar.backToTop();
    Make one correction in the class:
    public function backToTop():Void
    dragger._y = top;
    content._y = 0; // instead of 'top'
    updateContentPos();
    Now that last correction disables the easing effect when
    clicking on a new topic, but there's something wrong in the class
    and the 'new' values are not correct. I'll try to figure it
    out.

  • Event Dispatch Problem With Classes

    I have a custom Timer class that pops up an inactivity alert
    after 3 minutes. The user can then choose 'yes' if they are still
    editing a record or 'no' if they are done. If they do not respond
    within 2 minutes of the alert it assumes 'no'.
    A 'yes' refreshes the timer and closes the alert.
    A 'no' kicks them out of the edit state in the component that
    the timer is called from.
    The logic of the timer is working fine but it doesn't seem to
    be sending the event to the component that called it so clicking
    'no' (or remaining inactive) does nothing. I feel like I'm missing
    something really simple or just misunderstanding the
    eventDispatcher function. Advice please??
    Code From LockTimer class:
    public class LockTimer extends Sprite
    private var threeMinuteTimer:Timer;
    private var twoMinuteTimer:Timer;
    public function LockTimer()
    // creates a new threeMinute Timer
    threeMinuteTimer = new Timer(1000, 180);
    twoMinuteTimer = new Timer(1000, 120);
    // designates listeners for the interval and completion
    events
    threeMinuteTimer.addEventListener(TimerEvent.TIMER, onTick);
    threeMinuteTimer.addEventListener(TimerEvent.TIMER_COMPLETE,
    onTimerComplete);
    twoMinuteTimer.addEventListener(TimerEvent.TIMER, onTick);
    twoMinuteTimer.addEventListener(TimerEvent.TIMER_COMPLETE,
    onTimerCompleteB);
    // starts the timer ticking
    threeMinuteTimer.start();
    public function refresh():void{
    restart(threeMinuteTimer);
    twoMinuteTimer.reset();
    private function onTick(evt:TimerEvent):void{}
    private function onTimerComplete(evt:TimerEvent):void{
    //trace("first timer");
    Alert.show('You have been inactive for several minutes. Are
    you still editing this record?', 'Inactivity Alert',
    Alert.YES|Alert.NO, null, alertListener,null, Alert.YES);
    twoMinuteTimer.start();
    private function onTimerCompleteB(evt:TimerEvent):void{
    //trace('second timer');
    //Alert.show('TIME UP', 'Inactivity Alert', Alert.OK);
    dispatchEvent(new Event("timeUp",true));
    private function restart(tim:Timer):void{
    tim.reset();
    tim.start();
    private function alertListener(eventObj:CloseEvent):void{
    // Check to see if the YES button was pressed.
    if (eventObj.detail==Alert.YES) {
    refresh();
    }else{
    //exit edit mode
    //Alert.show('TIME UP', 'Inactivity Alert', Alert.OK);
    dispatchEvent(new Event("timeUp",true));
    Code From Component:
    private var theTimer:LockTimer;
    private function initializeHandler(event:Event):void{
    addEventListener("timeUp",timeUpHandler);
    private function timeUpHandler(event:Event):void{
    Alert.show('TIME UP', 'Inactivity Alert', Alert.OK);
    //editDone();
    }

    so here is what i had to do to make this work:
    1. I had to attach the listener to theTimer rather than the
    component
    2. I had to initiate the LockTimer constructor outside of the
    function
    3. I had to call the handler initialization function from the
    component MXML
    below is the revised code (with excess cut out)
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HDividedBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="780" height="515" liveDragging="true"
    creationComplete="initializeHandler()">
    <mx:Script>
    <![CDATA[
    import mx.controls.Text;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
    import classes.LockTimer;
    public static const millisecondsPerMinute:int = 1000 * 60;
    public static const millisecondsPerHour:int = 1000 * 60 *
    60;
    public static const millisecondsPerDay:int = 1000 * 60 * 60
    * 24;
    //IMPORTANT!!!////////////////
    private var theTimer:LockTimer=new LockTimer();
    private function initializeHandler():void{
    theTimer.addEventListener("timeUp",timeUpHandler);
    private function timeUpHandler(event:Event):void{
    editDone();
    private function refreshLock(theLock:int):void{
    var theTime:Date=new Date();
    if(theLock==1){
    theTimer.refresh();
    theTime.setTime(theTime.getTime() +
    (millisecondsPerMinute*5));
    }else if(theLock==0){
    theTime.setTime(theTime.getTime());
    }else{
    return;
    form1.request.firmlockedTime=String(theTime.valueOf());
    form1.request.firmisLocked=String(theLock);
    private function editIt():void{
    //see if it's being edited
    if(checkLock()){
    //if its being edited send a message
    Alert.show('This record is currently being edited by another
    user. Please try again later.', 'Record Locked',
    mx.controls.Alert.OK);
    }else{
    theTimer.startMe();
    refreshLock(1);
    form1.send();
    currentState="AdminEdit";
    private function editDone():void{
    refreshLock(0);
    form1.send();
    currentState="Admin";
    ]]>
    </mx:Script>
    </mx:HDividedBox>

  • Problem with classes generated with .classgen

    When I run the sample app from the "Using XML in Oracle Database Applications, Part 2" that generates classes, the syntax is:
    java SampleMain -root MYMAIN myfile.dtd
    All the elements in myfile.dtd get a class built for them, but they also reference MYMAIN as a class. That is, things like:
    public MYMAIN getDocument()
    return (MYMAIN)super.getCGDocument();
    I would have expected that classgen would have made a class called MYMAIN, but it did not. I'm very confused. Please help.
    Thanks,
    -Peter
    null

    Check if you have MYMAIN in your
    DTD file:
    <!ELEMENT MYMAIN ......

  • Problem with class font

    I have been execute a tool, but she didn�t work properly.
    The message erro is unknown option "-class"font "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*"

    Hello dmytro,
    see the heading (translated from my German ID) >>> input method options, check this box and use the integrated input for non-Latin text. This ensures that languages such as Cyrillic, etc that are not based on the Latin alphabet, can be used in InDesign anyway. And note: The operating system of your computer must support this language systems. Otherwise it does not work.
    Another possibilty would be that you use WORD (or similar) to build your text and put it (copy and paste) into your ID.
    On the other hand you could use fonts like Myriad Pro oder Minion Pro and integrate them into your WIN or MAC, so that ID can find them.
    Adobe can provide you Russian fonts too, please have a look at
    http://blog.typekit.com/2013/06/04/coming-to-your-desktop-futura-pt-adonis-from-paratype/
    http://blog.typekit.com/2014/07/09/source-sans-v2/
    Hans-Günter

Maybe you are looking for