0 Replies Latest reply: Jul 2, 2011 3:09 PM by 872876 RSS

    Installing Java mobile

    872876
      I've installed everything stated on the Java mobile document to install the program so I can start using it but when I launched
      it, I got an error saying this

      A java.lang.reflect.InvocationTargetException exception has occurred.
           Click Show Details or see the messages.log file located in your C:\Users\Warstu\javame-sdk\toolbar\3.0\var\log folder.

      clicked details then said

      java.net.ConnectException: Connection refused: connect
           at java.net.PlainSocketImpl.socketConnect(Native Method)
           at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
           at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
           at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
           at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
           at java.net.Socket.connect(Socket.java:529)
           at java.net.Socket.connect(Socket.java:478)
           at java.net.Socket.<init>(Socket.java:375)
           at java.net.Socket.<init>(Socket.java:189)
           at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
           at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
           at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
      Caused: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
           java.net.ConnectException: Connection refused: connect
           at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
           at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
           at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
           at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
           at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
           at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
      Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
           java.net.ConnectException: Connection refused: connect]
           at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
           at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
           at javax.naming.InitialContext.lookup(InitialContext.java:392)
           at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1888)
           at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1858)
           at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
      Caused: java.io.IOException: Failed to retrieve RMIServer stub
           at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:340)
           at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
           at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
           at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
           at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.lookupMBean(Unknown Source)
           at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.findObject(Unknown Source)
           at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.openConnection(DevicemanagerHelper.java:53)
           at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:86)
           at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
           at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
           at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
           at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
           at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
           at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
           at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
           at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
           at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
           at org.netbeans.core.startup.Main.start(Main.java:312)
           at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
      [catch] at java.lang.Thread.run(Thread.java:662)

      could someone please help I'm just trying to learn to use the program.


      Thanks Stuart