Problem running a simple jmf player in jbuilder9

Hi everybody... I have a very strange problem, so pleeeease help :)
JBuilder9 compiles the code but when I run it, the following message appears:
"Unable to handle format: MJPG, 320x240, FrameRate=15.0, Length=33792 0 extra bytes"
Frame of application appears with all the players visual components, but when player.start() method is called, application freezes... :(
The same code when compiled and runned from command prompt (javac PlayerFrame.java, then java PlayerFrame) works perfectly....

ropeNS
I am having a similar problem. I am trying to playback MJPEG encoded .avi files and I am getting a the exact same error message.
If you figure the problem please let me know.
I will do the same.
Thanks,
beTheJava

Similar Messages

  • Problems running a simple RMI

    Hi there,
    I have had alot of problems running a small RMI program.
    It has now boiled down to a java.lang.NoClassDefFoundError
    when i try to use my policy file.
    The program complies, when i run javac *.java
    It also creates the stub, when i run rmic.
    I have trawled alot of forums and the closest answer i got was "add your classpath".
    As im a student of java, this does not really tell me much.
    The class/java files are in
    C:\Documents and Settings\MONDARIZ\workspace\RmiHello\server
    The policy file is also in the folder.
    I must add, that the program is from an example, so i would not think there is any coding errors.
    Also when i run it en eclipse, i get "Hello server failed: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)"
    So it seems something is running.

    The answer you found is correct. Java needs to know where to find the class files for execution.
    For starters, use the environment variable CLASSPATH. Set the value to:
    C:\Documents and Settings\MONDARIZ\workspace\RmiHello\server
    This way whatever you run (RMI Registry, Server, Client) has the proper class path. When you get everything running ok, then you can look into other methods of specifying where the class files are found.
    Eclipse, as well as command line Java starts, need to find the policy file. Set up this:
    -Djava.security.policy=C:\Documents and Settings\MONDARIZ\workspace\RmiHello\server\your_policy_file.xxx

  • Problem running a simple Hello World RMI Program

    I wrote a simple RMI application, consisting of a Server Interface, Server Implementation and a Client.
    Since the codes are really small, am pasting them here so that you could identify the problem if any, in the code.
    1. Server Interface......
    import java.rmi.* ;
    public interface HelloInterface extends java.rmi.Remote
         public void sayHello(String arg) throws RemoteException ;
    2. Server Implementation......
    import java.rmi.* ;
    import java.rmi.server.* ;
    public class HelloImpl extends UnicastRemoteObject implements HelloInterface
         public HelloImpl() throws RemoteException
              super() ;
         public void sayHello(String arg) throws RemoteException{
              try{
                   System.out.println("RMI Program : Hello "+arg) ;
              catch(Exception e){
                   e.printStackTrace() ;
                   //throw new java.rmi.UnexpectedException("undeclared checked exception", e);
         public static void main(String[] args) throws RemoteException
              try{
                   if( System.getSecurityManager() == null )
                        System.setSecurityManager( new RMISecurityManager() ) ;
                   HelloImpl impl = new HelloImpl() ;
                   Naming.bind("HelloService",impl) ;
                   System.out.println( "Service bound..." ) ;
              catch(Exception e){
                   e.printStackTrace() ;
                   //throw new java.rmi.UnexpectedException("undeclared checked exception", e);
    3. Client Code.
    import java.rmi.* ;
    import java.rmi.Naming.* ;
    class RMIClient
         public static void main(String[] args)
              try{
                   if(System.getSecurityManager()==null)
                        System.setSecurityManager( new RMISecurityManager() ) ;
                   HelloInterface helloInt = (HelloInterface) Naming.lookup("rmi://sand.cise.ufl.edu/HelloService") ;
                   helloInt.sayHello("Ranjit") ;
              catch(Exception e){
                   e.printStackTrace() ;
    I have double checked the classpaths and they all look fine..
    I have even unset the classpath from the shell which runs the rmiregistry..am still getting these errors..
    1. If i use the default java to run the application..this is the error that it spits..
    sand:24% java -Djava.security.policy=java.policy HelloImpl
    java.rmi.UnexpectedException: undeclared checked exception; nested exception is:
    java.lang.ClassNotFoundException: HelloImpl_Stub
    at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
    at java.rmi.Naming.bind(Naming.java:110)
    at HelloImpl.main(HelloImpl.java:28)
    Caused by: java.lang.ClassNotFoundException: HelloImpl_Stub
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
    ... 3 more
    2. Using java from some other location..the error looks different...but in both cases it just gives errors :((
    sand:25% /usr/java1.2/bin/java -Djava.security.policy=java.policy HelloImpl
    java.rmi.UnexpectedException: undeclared checked exception; nested exception is:
    java.lang.ClassNotFoundException: HelloImpl_Stub
    java.lang.ClassNotFoundException: HelloImpl_Stub
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Compiled Code)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:342)
    at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
    at java.rmi.Naming.bind(Naming.java:116)
    at HelloImpl.main(HelloImpl.java:28)
    I am embarking on a huge assignment but if am having problems getting started..
    Your help will be highly appreciated..
    thanx and regards
    Ranjit Iyer

    First of all you should be posting this Q in the RMI forum :)
    You are getting that error because your stub is not in your clients classpath (or u can say the compiler is not able to find it).
    Make sure that the file HelloImpl_Stub is in the client classpath/package.
    Regards
    Meka Toka

  • Problems running a simple program

    I just installed java on my home machine and I am new to Java. I typed in a simple HelloWorld program and saved it to my c:\temp. It compiled ok and created a .class file. When I run that file, I get the following error message:
    Exception in thread "Main" java.lang.NoClassDefFound error
    How can I correct this?
    Thank you,
    Rich

    Did you run with the command "java XXXX.class"?
    If so, you will get error message like you post.
    run like this:
    java XXXX
    (don't input ".class")

  • A simple media player problem

    Hi there,
    The following code is a simple media player applet. Now I try to change it to an application.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.lang.String;
    import java.net.URL;
    import java.net.MalformedURLException;
    import java.io.IOException;
    import java.util.Properties;
    import javax.media.*;
    public class SimplePlayerApplet extends Applet implements ControllerListener {
    // media Player
    Player player = null;
    // component in which video is playing
    Component visualComponent = null;
    // controls gain, position, start, stop
    Component controlComponent = null;
    // displays progress during download
    Component progressBar = null;
    boolean firstTime = true;
    long CachingSize = 0L;
    Panel panel = null;
    int controlPanelHeight = 0;
    int videoWidth = 0;
    int videoHeight = 0;
    * Read the applet file parameter and create the media
    * player.
    public void init() {
              //$ System.out.println("Applet.init() is called");
              setLayout(null);
              setBackground(Color.white);
              panel = new Panel();
              panel.setLayout( null );
              add(panel);
              panel.setBounds(0, 0, 320, 240);
              // input file name from html param
              String mediaFile = null;
              // URL for our media file
              MediaLocator mrl = null;
              URL url = null;
              // Get the media filename info.
              // The applet tag should contain the path to the
              // source media file, relative to the html page.
              if ((mediaFile = getParameter("FILE")) == null)
              Fatal("Invalid media file parameter");
              try {
              url = new URL(getDocumentBase(), mediaFile);
              mediaFile = url.toExternalForm();
              } catch (MalformedURLException mue) {
              try {
              // Create a media locator from the file name
              if ((mrl = new MediaLocator(mediaFile)) == null)
                   Fatal("Can't build URL for " + mediaFile);
              // Create an instance of a player for this media
              try {
                        player = Manager.createPlayer(mrl);
              } catch (NoPlayerException e) {
                        System.out.println(e);
                        Fatal("Could not create player for " + mrl);
              // Add ourselves as a listener for a player's events
              player.addControllerListener(this);
              } catch (MalformedURLException e) {
              Fatal("Invalid media file URL!");
              } catch (IOException e) {
              Fatal("IO exception creating player for " + mrl);
    * Start media file playback. This function is called the
    * first time that the Applet runs and every
    * time the user re-enters the page.
    public void start() {
         //$ System.out.println("Applet.start() is called");
    // Call start() to prefetch and start the player.
    if (player != null)
         player.start();
    * Stop media file playback and release resource before
    * leaving the page.
    public void stop() {
         //$ System.out.println("Applet.stop() is called");
    if (player != null) {
    player.stop();
    player.deallocate();
    public void destroy() {
         //$ System.out.println("Applet.destroy() is called");
              player.close();
    * This controllerUpdate function must be defined in order to
    * implement a ControllerListener interface. This
    * function will be called whenever there is a media event
    public synchronized void controllerUpdate(ControllerEvent event) {
         // If we're getting messages from a dead player,
         // just leave
         if (player == null)
         return;
         // When the player is Realized, get the visual
         // and control components and add them to the Applet
         if (event instanceof RealizeCompleteEvent) {
         if (progressBar != null) {
                   panel.remove(progressBar);
                   progressBar = null;
         int width = 320;
         int height = 0;
         if (controlComponent == null)
              if (( controlComponent =
              player.getControlPanelComponent()) != null) {
              controlPanelHeight = controlComponent.getPreferredSize().height;
              panel.add(controlComponent);
              height += controlPanelHeight;
         if (visualComponent == null)
              if (( visualComponent =
              player.getVisualComponent())!= null) {
              panel.add(visualComponent);
              Dimension videoSize = visualComponent.getPreferredSize();
              videoWidth = videoSize.width;
              videoHeight = videoSize.height;
              width = videoWidth;
              height += videoHeight;
              visualComponent.setBounds(0, 0, videoWidth, videoHeight);
         panel.setBounds(0, 0, width, height);
         if (controlComponent != null) {
                   controlComponent.setBounds(0, videoHeight,
                             width, controlPanelHeight);
                   controlComponent.invalidate();
         } else if (event instanceof CachingControlEvent) {
         if (player.getState() > Controller.Realizing)
                   return;
         // Put a progress bar up when downloading starts,
         // take it down when downloading ends.
         CachingControlEvent e = (CachingControlEvent) event;
         CachingControl cc = e.getCachingControl();
         // Add the bar if not already there ...
         if (progressBar == null) {
         if ((progressBar = cc.getControlComponent()) != null) {
              panel.add(progressBar);
              panel.setSize(progressBar.getPreferredSize());
              validate();
         } else if (event instanceof EndOfMediaEvent) {
         // We've reached the end of the media; rewind and
         // start over
         player.setMediaTime(new Time(0));
         player.start();
         } else if (event instanceof ControllerErrorEvent) {
         // Tell TypicalPlayerApplet.start() to call it a day
         player = null;
         Fatal(((ControllerErrorEvent)event).getMessage());
    } else if (event instanceof ControllerClosedEvent) {
         panel.removeAll();
    void Fatal (String s) {
         // Applications will make various choices about what
         // to do here. We print a message
              System.err.println("FATAL ERROR: " + s);
              throw new Error(s); // Invoke the uncaught exception
                   // handler System.exit() is another
                   // choice.
    The change I've made:
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.lang.String;
    import java.net.URL;
    import java.net.MalformedURLException;
    import java.io.IOException;
    import java.util.Properties;
    import javax.media.*;
    import javax.swing.*;
    public class MoviePlayer extends JFrame implements ControllerListener {
    // media Player
    Player player = null;
    // component in which video is playing
    Component visualComponent = null;
    // controls gain, position, start, stop
    Component controlComponent = null;
    // displays progress during download
    Component progressBar = null;
    boolean firstTime = true;
    long CachingSize = 0L;
    JPanel panel = null;
    int controlPanelHeight = 0;
    int videoWidth = 0;
    int videoHeight = 0;
    * Read the applet file parameter and create the media
    * player.
    public MoviePlayer() {
         FlowLayout layout = new FlowLayout();
              setTitle("Media Application");
              setDefaultLookAndFeelDecorated(true);
              Container mainWindow = getContentPane();
         //$ System.out.println("Applet.init() is called");
              setBackground(Color.white);
              panel = new JPanel();
              panel.setBounds(0, 0, 320, 240);
              mainWindow.add(panel);
              // input file name from html param
              String mediaFile = null;
              // URL for our media file
              MediaLocator mrl = null;
              URL url = null;
              // Get the media filename info.
              // The applet tag should contain the path to the
              // source media file, relative to the html page.
              mediaFile = "abc.avi";
              try {
              url = new URL(mediaFile);
              mediaFile = url.toExternalForm();
              } catch (MalformedURLException mue) {
              try {
              // Create a media locator from the file name
              if ((mrl = new MediaLocator(mediaFile)) == null)
                        Fatal("Can't build URL for " + mediaFile);
              // Create an instance of a player for this media
              try {
                        player = Manager.createPlayer(mrl);
              } catch (NoPlayerException e) {
                        System.out.println(e);
                        Fatal("Could not create player for " + mrl);
              // Add ourselves as a listener for a player's events
              player.addControllerListener(this);
              } catch (MalformedURLException e) {
              Fatal("Invalid media file URL!");
              } catch (IOException e) {
              Fatal("IO exception creating player for " + mrl);
    * Start media file playback. This function is called the
    * first time that the Applet runs and every
    * time the user re-enters the page.
    public void start() {
         //$ System.out.println("Applet.start() is called");
    // Call start() to prefetch and start the player.
    if (player != null)
         player.start();
    * Stop media file playback and release resource before
    * leaving the page.
    public void stop() {
         //$ System.out.println("Applet.stop() is called");
    if (player != null) {
    player.stop();
    player.deallocate();
    public void destroy() {
         //$ System.out.println("Applet.destroy() is called");
              player.close();
    * This controllerUpdate function must be defined in order to
    * implement a ControllerListener interface. This
    * function will be called whenever there is a media event
    public synchronized void controllerUpdate(ControllerEvent event) {
         // If we're getting messages from a dead player,
         // just leave
         if (player == null)
         return;
         // When the player is Realized, get the visual
         // and control components and add them to the Applet
         if (event instanceof RealizeCompleteEvent) {
         if (progressBar != null) {
                   panel.remove(progressBar);
                   progressBar = null;
         int width = 320;
         int height = 0;
         if (controlComponent == null)
              if (( controlComponent =
              player.getControlPanelComponent()) != null) {
              controlPanelHeight = controlComponent.getPreferredSize().height;
              panel.add(controlComponent);
              height += controlPanelHeight;
         if (visualComponent == null)
              if (( visualComponent =
              player.getVisualComponent())!= null) {
              panel.add(visualComponent);
              Dimension videoSize = visualComponent.getPreferredSize();
              videoWidth = videoSize.width;
              videoHeight = videoSize.height;
              width = videoWidth;
              height += videoHeight;
              visualComponent.setBounds(0, 0, videoWidth, videoHeight);
         panel.setBounds(0, 0, width, height);
         if (controlComponent != null) {
                   controlComponent.setBounds(0, videoHeight,
                             width, controlPanelHeight);
                   controlComponent.invalidate();
         } else if (event instanceof CachingControlEvent) {
         if (player.getState() > Controller.Realizing)
                   return;
         // Put a progress bar up when downloading starts,
         // take it down when downloading ends.
         CachingControlEvent e = (CachingControlEvent) event;
         CachingControl cc = e.getCachingControl();
         // Add the bar if not already there ...
         if (progressBar == null) {
         if ((progressBar = cc.getControlComponent()) != null) {
                   panel.add(progressBar);
                   panel.setSize(progressBar.getPreferredSize());
                   validate();
         } else if (event instanceof EndOfMediaEvent) {
         // We've reached the end of the media; rewind and
         // start over
         player.setMediaTime(new Time(0));
         player.start();
         } else if (event instanceof ControllerErrorEvent) {
         // Tell TypicalPlayerApplet.start() to call it a day
         player = null;
         Fatal(((ControllerErrorEvent)event).getMessage());
    } else if (event instanceof ControllerClosedEvent) {
         panel.removeAll();
    void Fatal (String s) {
         // Applications will make various choices about what
         // to do here. We print a message
              System.err.println("FATAL ERROR: " + s);
              throw new Error(s); // Invoke the uncaught exception
                   // handler System.exit() is another
                   // choice.
    public static void main(String[] args){
         MoviePlayer view = new MoviePlayer();
              view.setSize(600,250);
              view.setVisible(true);
              view.addWindowListener(new WindowAdapter () {
                   public void windowClosing (WindowEvent e) {
                        System.exit(0);
    It does compile, but when I run it, it prints the following error message:
    javax.media.NoPlayerException: Cannot find a Player for :abc.avi
    FATAL ERROR: Could not create player for abc.avi
    Exception in thread "main" java.lang.Error: Could not create player for abc.avi
    at MoviePlayer.Fatal(MoviePlayer.java:257)
    at MoviePlayer.<init>(MoviePlayer.java:123)
    at MoviePlayer.main(MoviePlayer.java:263)
    Press any key to continue...
    Any advice?
    Thank you

    Hi,
    That is due to the way MediaLocator excepts the filename to be formed. add the following line:
    // Get the media filename info.
    // The applet tag should contain the path to the
    // source media file, relative to the html page.
    mediaFile = "abc.avi";
    //HERE'S THE LINE YOU NEED TO ADD
    if ( mediaFile.indexOf( ":" ) < 3 ) mediaFile = "file:" + mediaFile;It formats the filename properly. Also make sure the abc.avi file is in the current directory.

  • Is anyone else having problems running Flash Player on Mountain Lion?

    After installing Flash Player on my MacBook Pro running Mountain Lion, my computer started crashing when I put it to sleep.  When I uninstalled Flash, I no longer had the problem.  Is anyone else having problems like this with Flash Player?  Is this an issue with Mountain Lion or Adobe?  Is there a fix for it, or am I just out of luck with the prospect of running Flash Player on my new Mac?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Problem running simple servlet on tomcat 4.0

    hi,
    i have setup tomcat4.0 on the server and i am trying to run a simple servlet but it is not working. here is what i have done:
    1. setting the CATALINA_HOME variable to the directory where tomcat is installed
    2. setting the classpath variable to servlet.jar
    3. i am putting the .class fille in tomcat-home-directory/webapps/ROOTS/WEB-INF/classes
    4. i am giving the url as http://localhost:8080/servlet/HelloServlet.class
    but error is given...could you please tell where could i have probably made a mistake
    regards
    preeti

    hi tnguyen1973
    now my servlets are running on the server provided they are kept under /examples/WEB-INF/classes. But now i have my own folder at the same level of examples called Lm which also has WEB-INF/classes. but if i put my servlets here it is giving exception.hope u got me. please, tell me where should i make necessary modifications to get the servlets run from my own folder instead of examples
    thank u

  • Problem in running a simple session bean in JOnAS

    Hi folks ,
    I just started to learn J2EE using Netbeans(5.5) and JOnAS (4.8.4 ) . I
    tried to run a simple session bean(stateless)
    invoked through client application. I successfully deployed in jonas using Netbeans (5.5) but i can't able to successfully run it.
    Output i got when i run client application :
    ==========================
    init:
    deps-jar:
    init:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    dist:
    compile:
    run:
    Feb 19, 2007 11:07:08 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:10 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:11 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:13 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:14 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:15 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:17 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:18 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:19 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:20 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:22 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
            ... 13 more
    Feb 19, 2007 11:07:23 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
            at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
            at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at SimpleSessionClient.Main.main(Main.java:34)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
            ... 12 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Nativ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    There is a ClassDefNotFound Exception, this means that a class used (probably by the corba marshalling stuff) cannot be located. You'll need to add these classes to the client's CLASSPATH.
    Usually a client-jar file can be created or is provided by the j2ee server. If you're using the sun-wapp-server then it is done this way:
    - deploy the beans to the server (asadmin deploy)
    - create the client-stubs (asadmin client-stubs)
    - add the created client-stubs to the clients class path.
    I don't remember the exact commands for asadmin. Plz check the help. (asadmin help)
    In JBOss youll have to add jboss-all.jar to the client's classpath. It depends on the j2ee server you use.

  • Problem in running a simple html program in netbeans 5.5.1

    Dear all
    when i am running a simple html program in netbeans 5.5.1, it is not showing the result. In url address is showing defferent. such as
    http://localhost 8084/... while i need http://mydocument and setting/...
    so i want to set the default address. from where shound i set it, so that in url address should come right.
    thanks
    From
    Rajeev Sarawat

    Hi cliff,
    Worked as per ur Suggestion , the .tld file had
    <!DOCTYPE taglib tag, I removed it, it is still not working , I m using tomcat 3.2
    I tried to run the simpletag example given with Tomcat it runs, but when I copied that example to my webapps/TagViews direcotry and corrected the package and made necessary changes in web.xml kept in
    WEB-INF direcotry , it gives the same error,
    Is there any requirement to make a war file for taglib to run or some thing like that, or is there any other requirement after making
    1) The .class file kept in install_dir/webapps/TagViews/WEB-INF/classes/Tagbeans
    2) The .tld file kept in
    install_dir/webapps/TagViews/WEB-INF/jsp/
    3) Made cahnges in web.xml kept in
    install_dir/webapps/TagViews/WEB-INF/
    4) Made the jsp file kept in
    install_dir/webapps/TagViews/jsp/
    After doing this I restarted the tomcat server and then tried http://localhost:8080/TagViews/jsp/myTag.jsp

  • Problems running Flash 11.7.700.224 on Fire Fox 22.0

    Problems running Flash 11.7.700.224 on Windows 8, browser Fire Fox 22.0. Plug-in crashing and/or not responsive messages; browser hanging and/or slow, especially when opening new windows; You Tube videos error messages; Flash not detected on Adobe Troubleshooting page, even though installed; Flash content loads but does not display in window (no frame, or black or white screen in frame). Thank you for any reply, hopefully simple -I'm not technically inclined.

    After using Flash player 11.8.800.94 for one day, it crashed.
    So, I uninstalled it using the uninstaller provided by adobe then
    disabled avast then
    reinstalled 11.8.800.94.
    Attempted to restart, but got this error message:
    The exception unknown software exception (0xe0434352) occurred in the application at location 0x74c02005.
    While writing it down, restart reverted to desktop.
    Successfully restarted and opened FF22.0 browser and
    went here: http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_the_Flash_ Player_version_installed_on_your_machine to check version.
    I could not see the Flash movie, the version checker said that Flash Player is not installed -- even though it shows Shockwave Flash 11.8.800.94 installed on the plugins list on Fire fox add-ons manager.
    Is there a difference between Flash Player 11.8.800.94 and the latest Flash Player plugin for Fire Fox, or are they the same thing?
    I have no idea how to fix this and not finding any clear answers on any of the other discussion question pages on this topic.
    Can anyone from Adobe please help?

  • HELP!Simple MIDI player based on Sequencer:how to set Volume?

    Hi,i'm Roberto,i'm student and i'm realizing a simple midi player in java (using java1.5 and javax.sound.midi package).....the program has a gui and it can just play midi files,and the player is a class based on a Sequencer object:so the method play() initializes a Sequence object from a file and this is given as parameter to the sequencer,so it runs with Sequencer.start();......
    my BIG problem is:"how can change the volume when playng if the player's class is created as above?","how can i realize a method setVolume(int volume)?"......please help me!!!!!

    Did the previous post fix the problem?
    At what point should the synthesizer and sequencer be opened?
    Can the volume be set at anytime during playback?
    I have a similar problem and i tried both of these solutions and they did not work for me.
    Heres my code:
        /** The midi sequencer */
        private Sequencer sequencer = null;
        /** The synthesizer (for volume control) */
        private Synthesizer synthesizer = null;
        /** The volume (as a percentage) */
        private double gain = 100.0d;
         * Default constructor.
         * @since 1.0
        public MidiPlayer() {
            try {
                 // get the system sequencer
                this.sequencer = MidiSystem.getSequencer();
                // get the system synthesizer
                this.synthesizer = MidiSystem.getSynthesizer();
                // open the sequencer
                this.sequencer.open();
                // open the synthesizer
                this.synthesizer.open();
                // link the sequencer to the synthesizer
                this.sequencer.getTransmitter().setReceiver(this.synthesizer.getReceiver());
                // set this class to list for meta events
                // (end of track event in particular)
                this.sequencer.addMetaEventListener(this);
            } catch (MidiUnavailableException ex) {
                // TODO error handling
                 ex.printStackTrace();
        public void play(Sequence sequence, boolean loop) {
            if (this.sequencer != null && sequence != null && this.sequencer.isOpen()) {
                try {
                     // give the sequencer the sequence
                     this.sequencer.setSequence(sequence);
                    // start the sequencer
                     this.sequencer.start();
                    //set the loop flag
                    this.loop = loop;
                } catch (InvalidMidiDataException e) {
                    e.printStackTrace();
                    // TODO error handling
         public void setGain(double gain) {
              this.gain = gain;
             // change the percent value to a respective gain value
            int value = (int) (127 * (double) (this.gain / 100.0));
             // modify the volume of the sequence
            MidiChannel[] channels = this.synthesizer.getChannels();
            for(int i = 0; i < channels.length; i++) {
                 channels.controlChange(7, value);
              MidiChannel[] channels = this.synthesizer.getChannels();
              for (int i = 0; i < channels.length; i++) {
                   channels[i].controlChange(7, (int) (127 * (this.gain / 100.0)));

  • Software error (outside VM) when calling JMF Player::close()

    First off, I apologize for cross posting this here and in the "General Java Programming" forum. I did not know there was a forum specific for JMF, until someone mentioned it to me.
    I have written the following test program:
    import java.io.File;
    import java.io.IOException;
    import javax.media.Time;
    import javax.media.Player;
    import javax.media.Manager;
    import javax.media.NoPlayerException;
    class MyMP3Player {
    public static void main(String [] args) {
    try {
    File mp3File = new File("test.mp3");
    Player aPlayer = Manager.createPlayer(mp3File.toURL());
    aPlayer.start(); // Starts asynchronous playback
    Thread.sleep(10*1000); // Allow playback to continue for 10
    aPlayer.stop(); // stops playback (well, it really PAUSES!!!)
    aPlayer.deallocate();
    aPlayer.close();
    catch (IOException e) {e.printStackTrace();}
    catch (NoPlayerException npe) {npe.printStackTrace();}
    catch (InterruptedException ie) {ie.printStackTrace();}
    The program runs fine for the first 2 times: I can hear the first 10 seconds of the test.mp3 file. Then, on the third run (and every other run after that), after it has played the file for the 10 seconds, the program gives me the error pasted below and exits. Does anyone know how to fix this? Am I doing something wrong in the program? Oh, and yes, I have tested it with other mp3 files and it still does the same thing.
    BTW, I am running WinXP, and JMF 2.1.1e . Also, I have noticed that JMStudio does not have this problem, does JMStudio not call Player::close() ever?
    ===== ERROR BEGINS HERE =====
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x73F91D04
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    at com.sun.media.amovie.ActiveMovie.dispose0(Native Method)
    at com.sun.media.amovie.ActiveMovie.dispose(ActiveMovie.java:329)
    at com.sun.media.amovie.AMController.doClose(AMController.java:632)
    - locked <029F77C8> (a java.lang.Integer)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
    at com.sun.media.content.video.mpeg.Handler.doClose(Handler.java:158)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at MyMP3Player.main(MyMP3Player.java:30)
    Dynamic libraries:
    0x00400000 - 0x00406000 C:\WINDOWS\system32\java.exe
    0x77F50000 - 0x77FF9000 C:\WINDOWS\System32\ntdll.dll
    0x77E60000 - 0x77F45000 C:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E5B000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77CC0000 - 0x77D35000 C:\WINDOWS\system32\RPCRT4.dll
    0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
    0x6D340000 - 0x6D46A000 C:\Program Files\Java\j2re1.4.1_02\bin\client\jv
    m.dll
    0x77D40000 - 0x77DCD000 C:\WINDOWS\system32\USER32.dll
    0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll
    0x76B40000 - 0x76B6C000 C:\WINDOWS\system32\WINMM.dll
    0x6D1E0000 - 0x6D1E7000 C:\Program Files\Java\j2re1.4.1_02\bin\hpi.dll
    0x6D310000 - 0x6D31E000 C:\Program Files\Java\j2re1.4.1_02\bin\verify.dl
    l
    0x6D220000 - 0x6D239000 C:\Program Files\Java\j2re1.4.1_02\bin\java.dll
    0x6D330000 - 0x6D33D000 C:\Program Files\Java\j2re1.4.1_02\bin\zip.dll
    0x10000000 - 0x10015000 C:\WINDOWS\system32\jmutil.dll
    0x0AFA0000 - 0x0AFAD000 C:\WINDOWS\system32\jmam.dll
    0x771B0000 - 0x772CA000 C:\WINDOWS\system32\ole32.dll
    0x5AD70000 - 0x5ADA4000 C:\WINDOWS\system32\uxtheme.dll
    0x76FD0000 - 0x77048000 C:\WINDOWS\system32\CLBCATQ.DLL
    0x77120000 - 0x771AB000 C:\WINDOWS\system32\OLEAUT32.dll
    0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
    0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
    0x72D20000 - 0x72D29000 C:\WINDOWS\system32\wdmaud.drv
    0x72D10000 - 0x72D18000 C:\WINDOWS\system32\msacm32.drv
    0x77BE0000 - 0x77BF4000 C:\WINDOWS\system32\MSACM32.dll
    0x77BD0000 - 0x77BD7000 C:\WINDOWS\system32\midimap.dll
    0x73F10000 - 0x73F65000 C:\WINDOWS\system32\DSOUND.DLL
    0x73EE0000 - 0x73EE4000 C:\WINDOWS\system32\KsUser.dll
    0x6D000000 - 0x6D105000 C:\Program Files\Java\j2re1.4.1_02\bin\awt.dll
    0x73000000 - 0x73023000 C:\WINDOWS\system32\WINSPOOL.DRV
    0x76390000 - 0x763AA000 C:\WINDOWS\system32\IMM32.dll
    0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll
    0x6D510000 - 0x6D58C000 C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
    Local Time = Wed May 28 09:46:23 2003
    Elapsed Time = 19
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
    # An error report file has been saved as hs_err_pid180.log.
    # Please refer to the file for further information.

    Actually, I just ran another test. My previous fix does work 100%, but it is not necessary to call the Player::close() from within the AWT/SWING event dispatching thread, but it IS a requirement for you to have an AWT/SWING event dispatching thread running somewhere in the background, otherwise the darn thing crashes...
    So, if you create some kind of GUI along with your app (thereby creating an AWT/SWING event dispatching thread), or just schedule some event using the SWING Timer class, the Player::close() can be called from any thread...
    Hobbieman

  • Problems with a simple stop watch program

    I would appreciate help sorting out a problem with a simple stop watch program. The problem is that it throws up inappropriate values. For example, the first time I ran it today it showed the best time at 19 seconds before the actual time had reached 2 seconds. I restarted the program and it ran correctly until about the thirtieth time I started it again when it was going okay until the display suddenly changed to something like '-50:31:30:50-'. I don't have screenshot because I had twenty thirteen year olds suddenly yelling at me that it was wrong. I clicked 'Stop' and then 'Start' again and it ran correctly.
    I have posted the whole code (minus the GUI section) because I want you to see that the program is very, very simple. I can't see where it could go wrong. I would appreciate any hints.
    public class StopWatch extends javax.swing.JFrame implements Runnable {
        int startTime, stopTime, totalTime, bestTime;
        private volatile Thread myThread = null;
        /** Creates new form StopWatch */
        public StopWatch() {
         startTime = 0;
         stopTime = 0;
         totalTime = 0;
         bestTime = 0;
         initComponents();
        public void run() {
         Thread thisThread = Thread.currentThread();
         while(myThread == thisThread) {
             try {
              Thread.sleep(100);
              getEnd();
             } catch (InterruptedException e) {}
        public void start() {
         if(myThread == null) {
             myThread = new Thread(this);
             myThread.start();
        public void getStart() {
         Calendar now = Calendar.getInstance();
         startTime = (now.get(Calendar.MINUTE) * 60) + now.get(Calendar.SECOND);
        public void getEnd() {
         Calendar now1 = Calendar.getInstance();
         stopTime = (now1.get(Calendar.MINUTE) * 60) + now1.get(Calendar.SECOND);
         totalTime = stopTime - startTime;
         setLabel();
         if(bestTime < totalTime) bestTime = totalTime;
        public void setLabel() {
         if((totalTime % 60) < 10) {
             jLabel1.setText(""+totalTime/60+ ":0"+(totalTime % 60));
         } else {
             jLabel1.setText(""+totalTime/60 + ":"+(totalTime % 60));
         if((bestTime % 60) < 10) {
             jLabel3.setText(""+bestTime/60+ ":0"+(bestTime % 60));
         } else {
             jLabel3.setText(""+bestTime/60 + ":"+(bestTime % 60));
        private void ButtonClicked(java.awt.event.ActionEvent evt) {                              
         JButton temp = (JButton) evt.getSource();
         if(temp.equals(jButton1)) {
             start();
             getStart();
         if(temp.equals(jButton2)) {
             getEnd();
             myThread = null;
         * @param args the command line arguments
        public static void main(String args[]) {
         java.awt.EventQueue.invokeLater(new Runnable() {
             public void run() {
              new StopWatch().setVisible(true);
        // Variables declaration - do not modify                    
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        private javax.swing.JPanel jPanel1;
        // End of variables declaration                  
    }

    Although I appreciate this information, it still doesn't actually solve the problem. I can't see an error in the logic (or the code). The fact that the formatting works most of the time suggests that the problem does not lie there. As well, I use the same basic code for other time related displays e.g. countdown timers where the user sets a maximum time and the computer stops when zero is reached. I haven't had an error is these programs.
    For me, it is such a simple program and the room for errors seem small. I am guessing that I have misunderstood something about dates, but I obviously don't know.
    Again, thank you for taking the time to look at the problem and post a reply.

  • Having problems installing the new flash player

    As the title say im having great problems installing the new flash player. I have downloaded it many times and tried installing each time, still nothing. Ive tried installing it offline with my computer totally disconnected from the internet, nothing. Each time i try and install it, it goes through 2 windows (one saying if i want to run it, and one asking for permission) and after they disappear, the icon also disappears strangely =S. I checked it on task manager and it is just sitting there doing nothing. Please help.
    Thanks
    Lee

    =O====== M/10.1.53.64 2010-06-17+21-49-19.163 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\FlashPlayerUpdate03.exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0003 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0004 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0005 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0006 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0007 [W] 00001036 Software\Opera Software/Plugin Path 2
    0008 [W] 00001036 Software\Opera Software/Plugin Path 2
    0009 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0010 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10h_Plugin.exe
    0011 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.1.53.64 2010-06-17+21-50-05.759 ======== 
    =O====== M/10.1.82.76 2010-08-13+10-34-40.438 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\257B.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10i_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.1.82.76 2010-08-13+10-35-11.883 ======== 
    =O====== M/10.1.85.3 2010-10-16+15-47-16.995 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\3B9.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10k_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.1.85.3 2010-10-16+15-47-30.251 ======== 
    =O====== M/10.1.102.64 2010-11-14+02-30-36.108 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\4D86.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [W] 00001015 C:\Windows\system32\Macromed\Flash\NPSWF32.dll 20
    0008 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0009 [W] 00001024 C:\Windows\system32\Macromed\Flash\NPSWF32.dll 183
    0010 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10l_Plugin.exe
    0011 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.1.102.64 2010-11-14+02-36-33.932 ======== 
    =O====== M/10.2.152.26 2011-02-15+11-56-41.755 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\E6CA.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10m_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.2.152.26 2011-02-15+11-56-55.244 ======== 
    =O====== M/10.2.152.32 2011-03-09+00-31-09.323 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\5DF8.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10n_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.2.152.32 2011-03-09+00-32-34.758 ======== 
    =O====== M/10.2.153.1 2011-03-23+10-18-20.750 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\8C1.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10o_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.2.153.1 2011-03-23+10-27-02.275 ======== 
    =O====== M/10.2.159.1 2011-05-06+00-10-44.522 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\6D57.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10p_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.2.159.1 2011-05-06+00-11-10.749 ======== 
    =O====== M/10.3.181.14 2011-05-20+14-12-45.598 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\A28C.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10q_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0010 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.181.14 2011-05-20+14-12-56.883 ======== 
    =O====== M/10.3.181.26 2011-06-26+13-24-40.335 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\543E.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [W] 00001015 C:\Windows\system32\Macromed\Flash\NPSWF32.dll 20
    0008 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0009 [E] 00001025 C:\Windows\system32\Macromed\Flash\NPSWF32.dll:32
    0010 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10t_Plugin.exe
    0011 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0012 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0013 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    =X====== M/10.3.181.26 2011-06-26+13-25-04.511 ======== 
    =O====== M/10.3.181.26 2011-07-11+13-49-21.374 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\986E.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10t_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0010 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0011 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    =X====== M/10.3.181.26 2011-07-11+13-52-12.911 ======== 
    =O====== M/10.3.181.26 2011-07-27+22-58-00.513 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\nsb8CC0.tmp\flash_setup.exe" -install
    0001 [W] 00001015 C:\Windows\system32\Macromed\Flash\Flash10c.ocx 5
    0002 [I] 00000018
    0003 [W] 00001015 C:\Windows\system32\Macromed\Flash\Flash10c.ocx 5
    0004 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash10t.ocx
    0005 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10t_ActiveX.exe
    0006 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil10t_ActiveX.dll
    0007 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0008 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    =X====== M/10.3.181.26 2011-07-27+22-58-34.948 ======== 
    =O====== M/10.3.183.5 2011-08-14+19-49-38.147 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\4952.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [W] 00001015 C:\Windows\system32\Macromed\Flash\NPSWF32.dll 20
    0008 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0009 [W] 00001024 C:\Windows\system32\Macromed\Flash\NPSWF32.dll 183
    0010 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe
    0011 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0012 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0013 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0014 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    =X====== M/10.3.183.5 2011-08-14+19-54-29.204 ======== 
    =O====== M/10.3.181.26 2011-09-09+16-26-49.604 ========
    0000 [I] 00000010 "C:\Windows\system32\Macromed\Flash\FlashUtil10t_ActiveX.exe" -maintain activex
    0001 [W] 00001015 C:\Windows\system32\Macromed\Flash\FlashUtil10t_ActiveX.exe 5
    0002 [I] 00000018
    0003 [W] 00001015 C:\Windows\system32\Macromed\Flash\FlashUtil10t_ActiveX.exe 5
    0004 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0005 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0006 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0007 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0008 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
    0009 [W] 00001021
    0010 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0011 [W] 00001015 C:\Windows\system32\Macromed\Flash\FlashUtil10t_ActiveX.exe 5
    0012 [I] 00000012
    =X====== M/10.3.181.26 2011-09-09+16-27-20.454 ======== 
    =O====== M/10.3.183.5 2011-09-09+16-27-32.045 ========
    0000 [I] 00000010 "C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe" -maintain plugin
    0001 [W] 00001015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe 5
    0002 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0003 [W] 00001037 Software\Macromedia\FlashPlayerPlugin/ 2
    0004 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0005 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0006 [W] 00001021
    0007 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0008 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0009 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0010 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0011 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0012 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0013 [W] 00001036 Software\Opera Software/Plugin Path 2
    0014 [W] 00001036 Software\Opera Software/Plugin Path 2
    0015 [W] 00001015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe 5
    0016 [I] 00000012
    =X====== M/10.3.183.5 2011-09-09+16-27-42.962 ======== 
    =O====== M/10.3.183.7 2011-09-09+18-06-02.141 ========
    0000 [I] 00000010 "C:\Users\Lee\AppData\Local\Temp\FP_PL_PFS_INSTALLER.exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0004 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0005 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0006 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0007 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0008 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0009 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0010 [W] 00001036 Software\Opera Software/Plugin Path 2
    0011 [W] 00001036 Software\Opera Software/Plugin Path 2
    0012 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0013 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10w_Plugin.exe
    0014 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0015 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0016 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.183.7 2011-09-09+18-06-27.151 ======== 
    =O====== M/10.2.153.1 2011-09-09+18-12-15.006 ========
    0000 [I] 00000010 "C:\Users\Lee\Desktop\install_flash_player.exe"
    0001 [E] 00001013
    =X====== M/10.2.153.1 2011-09-09+18-12-48.813 ======== 
    =O====== M/10.2.153.1 2011-09-09+18-13-13.779 ========
    0000 [I] 00000010 "C:\Users\Lee\Desktop\install_flash_player.exe"
    0001 [E] 00001013
    =X====== M/10.2.153.1 2011-09-09+18-13-17.902 ======== 
    =O====== M/10.2.153.1 2011-09-09+18-36-44.672 ========
    0000 [I] 00000010 "C:\Users\Lee\Desktop\install_flash_player.exe"
    0001 [E] 00001013
    =X====== M/10.2.153.1 2011-09-09+18-37-13.437 ======== 
    =O====== M/10.2.153.1 2011-09-09+18-51-32.321 ========
    0000 [I] 00000010 "C:\Users\Lee\Desktop\install_flash_player.exe"
    0001 [E] 00001013
    =X====== M/10.2.153.1 2011-09-09+18-51-39.885 ======== 
    =O====== M/10.2.153.1 2011-09-09+18-51-49.953 ========
    0000 [I] 00000010 "C:\Users\Lee\Desktop\install_flash_player.exe"
    0001 [E] 00001013
    =X====== M/10.2.153.1 2011-09-09+18-51-53.954 ======== 
    =O====== M/10.3.183.7 2011-09-09+18-57-45.499 ========
    0000 [I] 00000010 "C:\Users\Lee\Desktop\install_flash_player_10.exe"
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10w_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0010 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0011 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0012 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    =X====== M/10.3.183.7 2011-09-09+18-58-16.565 ========

  • Problems with a simple Midlet

    Hi , i'm trying to run a simple Midlet with a list, but appear the following errors:
    Error running executable C:\WTK22\bin\zayit
    java.net.SocketException: No buffer space available (maximum connections reached?): JVM_Bind
         at java.net.PlainSocketImpl.socketBind(Native Method)
         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
         at java.net.ServerSocket.bind(ServerSocket.java:319)
         at java.net.ServerSocket.<init>(ServerSocket.java:185)
         at java.net.ServerSocket.<init>(ServerSocket.java:97)
         at com.sun.kvem.Lime.runClient(Unknown Source)
         at com.sun.kvem.KVMBridge.runKVM(Unknown Source)
         at com.sun.kvem.KVMBridge.runKVM(Unknown Source)
         at com.sun.kvem.midp.MIDP$4.run(Unknown Source)
    the code of the Midlet is so simple and i don't know what happen.
    i hope that you can help me
    thanks

    the code is:
    package componentes;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class InterfazMid extends MIDlet implements CommandListener {
    private Display display;
    private List menu;
    private List lista;
    private TextBox cajaTexto;
    private Form form;
    private DateField campoFecha;
    private Gauge indicador;
    private TextField campoTexto;
    private Ticker ticker;
    private Alert aviso;
    private Image imagen;
    private Command atras;
    private Command menuPrincipal;
    private Command salir;
    String menuActual = null;
    public InterfazMid() {
    form = new Form( "Formulario" );
    indicador = new Gauge( "Indicador",false,50,20 );
    campoTexto = new TextField( "Campo de texto","abc",40,0 );
    ticker = new Ticker( "Componentes de la intefaz MIDP" );
    aviso = new Alert( "Aviso Sonoro" );
    imagen = Image.createImage( "/error.png" );
    } catch( Exception e ) {}
    atras = new Command( "Atr�s",Command.BACK,0 );
    menuPrincipal = new Command( "Men� Ppal",Command.SCREEN,1 );
    salir = new Command( "Salir",Command.STOP,2 );
    protected void startApp() {
    display = Display.getDisplay( this );
    menu = new List( "Interfaz MIDP",Choice.IMPLICIT );
    menu.append( "Caja de texto",null );
    menu.append( "Fecha",null );
    menu.append( "Lista",null );
    menu.append( "Aviso",null );
    menu.append( "Formulario",null );
    menu.addCommand( salir );
    menu.setCommandListener( this );
    menu.setTicker( ticker );
    mainMenu();
    protected void pauseApp() {}
    protected void destroyApp( boolean flag ) {}
    public void mainMenu() {
    menuActual = "Men� Ppal";
    display.setCurrent( menu );
    public void testTextBox() {
    cajaTexto = new TextBox( "Teclea algo:","",10,TextField.ANY );
    cajaTexto.setTicker( new Ticker("Probando TextBox") );
    cajaTexto.addCommand( atras );
    cajaTexto.setCommandListener( this );
    cajaTexto.setString( "ABC" );
    display.setCurrent( cajaTexto );
    menuActual = "texto";
    public void testList() {
    lista = new List( "Seleciona:",Choice.MULTIPLE );
    lista.setTicker( new Ticker("Probando List") );
    lista.addCommand( atras );
    lista.setCommandListener( this );
    lista.append( "Opci�n 1",null );
    lista.append( "Opci�n 2",null );
    lista.append( "Opci�n 3",null );
    lista.append( "Opci�n 4",null );
    display.setCurrent(lista);
    menuActual = "lista";
    public void testAlert() {
    aviso.setType( AlertType.ERROR );
    aviso.setImage( imagen );
    aviso.setString( " ** ERROR **" );
    display.setCurrent( aviso );
    public void testDate() {
    java.util.Date fecha = new java.util.Date();
    campoFecha = new DateField( "Hoy es: ",DateField.DATE );
    campoFecha.setDate( fecha );
    Form f = new Form( "Fecha" );
    f.append( campoFecha );
    f.addCommand( atras );
    f.setCommandListener( this );
    display.setCurrent( f );
    menuActual = "fecha";
    public void testForm() {
    form.append( campoTexto );
    form.append( indicador );
    form.addCommand( atras );
    form.setCommandListener( this );
    display.setCurrent( form );
    menuActual = "form";
    public void commandAction( Command c,Displayable d ) {
    String label = c.getLabel();
    if( label.equals("Salir") ) {
    destroyApp( true );
    notifyDestroyed();
    else if (label.equals("Atr�s")) {
    if( menuActual.equals( "lista" ) ||
    menuActual.equals( "texto" ) ||
    menuActual.equals( "fecha" ) ||
    menuActual.equals( "form" ) ) {
    mainMenu();
    else {
    List l = (List)display.getCurrent();
    switch( l.getSelectedIndex() ) {
    case 0:
    testTextBox();
    break;
    case 1:
    testDate();
    break;
    case 2:
    testList();
    break;
    case 3:
    testAlert();
    break;
    case 4:
    testForm();
    break;
    the code is so simple. i think that the problem is on the j2me wirless toolkit but i don't know.
    thank you
    bye

Maybe you are looking for