Starting Java

Hi!
I wrote a Programm in 2 Subdirectories:
one (dir)
two (dir)
I call the first Programm: java one.WhereTheMainClassIs.
Works perfect. Now I Use classes from the two dir. Works fine.
But now i want to start the Programm from an other Directory, for example i am in the dir /test/ and the one and two dir is in /prog/
How can I start the Programm from a various directory?
Thx for your Help

Make sure that the dir containing your two directories in your classpath.
You can either modify the environment variable CLASSPATH or set it manually when starting java -
java -classpath pathofdirectory one.programone

Similar Messages

  • Error when starting Java(TM) ME Platform SDK 3.0

    hey guys, I get this error when starting Java(TM) ME Platform SDK 3.0. When I installed it it installed 'successfully' and then I double clicked the file on the desktop (I'm using Windows Vista 32bit Home premium) and it gave me the following error when saying 'Starting Modules':-------------------------------------------------------------------------------
    Log Session: Sunday, February 13, 2011 1:52:25 PM GMT
    System Info:   Product Version         = Java(TM) ME Platform SDK 3.0
      Operating System        = Windows Vista version 6.0 running on x86
      Java; VM; Vendor        = 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09; Sun Microsystems Inc.
      Runtime                 = Java(TM) SE Runtime Environment 1.6.0_23-b05
      Java Home               = C:\Program Files\Java\jdk1.6.0_23\jre
      System Locale; Encoding = en_GB (cdctoolbar); Cp1252
      Home Directory          = C:\Users\Molten Ice
      Current Directory       = C:\Program Files\Java\Java_ME_platform_SDK_3.0\bin
      User Directory          = C:\Users\Molten Ice\javame-sdk\toolbar\3.0
      Installation            = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\javamesdk1
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\ide10
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\java2
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\mobility8
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\profiler2
                                C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9
      Boot & Ext. Classpath   = C:\Program Files\Java\jdk1.6.0_23\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_23\jre\classes;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunpkcs11.jar
      Application Classpath   = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\boot.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-modules.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_23\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_23\lib\tools.jar
      Startup Classpath       = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\core\core.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\core\org-openide-filesystems.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\javamesdk1\core\locale\core_cdctoolbar.jar
    WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/Program%20Files/Java/Java_ME_platform_SDK_3.0/toolbar/javamesdk1/modules/org-netbeans-modules-javame-common.jar!/org/netbeans/modules/javame/common/resources/layer.xml
    WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/Program%20Files/Java/Java_ME_platform_SDK_3.0/toolbar/javamesdk1/modules/org-netbeans-modules-e2e.jar!/org/netbeans/modules/e2e/layer.xml
    WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-javame-netmon-data-NetMonDataResolver.xml], but some are: [org-netbeans-modules-java-mime-resolver.xml, org-apache-tools-ant-module-mime-resolver.xml, org-netbeans-modules-editor-settings-storage-mime-resolver.xml, org-netbeans-modules-url-mime-resolver.xml, org-netbeans-modules-pdf-mime-resolver.xml, org-netbeans-modules-jar-mime-resolver.xml, org-netbeans-modules-editor-codetemplates-mime-resolver.xml]
    WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-javame-netmon-data-NetMonDataResolver.xml], but some are: [org-netbeans-modules-java-mime-resolver.xml, org-apache-tools-ant-module-mime-resolver.xml, org-netbeans-modules-editor-settings-storage-mime-resolver.xml, org-netbeans-modules-url-mime-resolver.xml, org-netbeans-modules-pdf-mime-resolver.xml, org-netbeans-modules-jar-mime-resolver.xml, org-netbeans-modules-editor-codetemplates-mime-resolver.xml]
    [      0]   INFO - ootstrap.PropertyEditorManager - Registering custom property editors
    [    117]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
    [    217]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
    [    317]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...
    [    417]   INFO - bootstrap.ObjectGraphProcessor - Calculated order
    [    523]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
    [    627]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
    [    732]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
    [    832]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
    [    932]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
    [   1032]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   2166]   WARN - mpl.ObjectServerConnectionImpl - Remote object server is not running at service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   2268]   INFO - l.process.GenericProcessRunner - Starting process: C:\Program Files\Java\Java_ME_platform_SDK_3.0/bin/device-manager.exe
    [   3384]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   5476]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   7576]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [   9677]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  11777]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  13877]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  15977]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  18077]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  20177]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  22277]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  23379]  ERROR - un.jme.toolkit.bootstrap.Batch - Problem calling start() on DeviceManagerConnection
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
         at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
         at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)
         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)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect]
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         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)
         ... 24 more
    Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; 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:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
         ... 27 more
    Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; 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)
         ... 32 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         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)
         ... 37 more
    SEVERE [org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper]: Cannot connect to device manager
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         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: 127.0.0.1; 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: 127.0.0.1; 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:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         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:338)
         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)
    Caused: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
         at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
         at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48)
    [catch] at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)
         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)
         at java.lang.Thread.run(Thread.java:662)
    [  23598]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
    [  23698]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
    [  23798]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...
    [  23898]   INFO - bootstrap.ObjectGraphProcessor - Calculated order
    [  23998]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
    [  24098]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
    [  24198]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
    [  24298]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
    [  24398]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
    [  24498]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started
    [  24600]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
    [  24700]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
    [  24800]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...
    [  24900]   INFO - bootstrap.ObjectGraphProcessor - Calculated order
    [  25000]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
    [  25100]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
    [  25202]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
    [  25302]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
    [  25402]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
    [  25502]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started
    [  25602]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  26699]   WARN - mpl.ObjectServerConnectionImpl - Remote object server is not running at service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  26799]   INFO - l.process.GenericProcessRunner - Starting process: C:\Program Files\Java\Java_ME_platform_SDK_3.0/bin/device-manager.exe
    [  27914]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  30005]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  32106]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  34206]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  36306]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  38406]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  40506]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  42607]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  44706]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    [  46806]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
    SEVERE [org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper]: Cannot connect to device manager
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         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: 127.0.0.1; 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: 127.0.0.1; 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:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         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:338)
         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)
    [catch] 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)
         at java.lang.Thread.run(Thread.java:662)
    [  48018]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
    [  48118]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
    [  48218]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...
    [  48318]   INFO - bootstrap.ObjectGraphProcessor - Calculated order
    [  48418]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
    [  48518]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
    [  48618]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
    [  48718]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
    [  48818]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
    [  48918]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started
    [  49018]   INFO - bootstrap.ObjectGraphPI did install Nokia's SDK with NetBeans and this works perfectly.
    I went through with everything recommended here: http://blogs.sun.com/javamesdk/entry/first_aid_when_emulator_doesn
    But nothing worked.
    Any help appreciated!
    Thanks.

    Note: This thread was originally posted in the [Sun Java Wireless Toolkit|http://forums.sun.com/forum.jspa?forumID=82] forum, but moved to this forum for closer topic alignment.

  • Unable to start java engine: dispatcher status is "yellow" in windows2003

    Hi Gurus,
    we have installed ECC6 in windows 2003.
    we are getting an error while starting java engine, dispatcher node is in yellow colour with a message
    "J2EE status info unavailable"
    and dev_disp says "<<
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      04
    sid        ECC
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    146
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        3688
    Wed Apr 22 18:22:22 2009
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (04 3688) [dpxxdisp.c   1243]
         shared lib "dw_xml.dll" version 146 successfully loaded
         shared lib "dw_xtc.dll" version 146 successfully loaded
         shared lib "dw_stl.dll" version 146 successfully loaded
         shared lib "dw_gui.dll" version 146 successfully loaded
         shared lib "dw_mdm.dll" version 146 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3904
    Wed Apr 22 18:22:25 2009
    WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0000.qqq.nxst) took 3 seconds
    Wed Apr 22 18:22:29 2009
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >ECC6_ECC_04                             <
    DpShMCreate: sizeof(wp_adm)          18672     (1436)
    DpShMCreate: sizeof(tm_adm)          4270848     (21248)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 09310040, size: 4930904)
    DpShMCreate: allocated sys_adm at 09310040
    DpShMCreate: allocated wp_adm at 09312090
    DpShMCreate: allocated tm_adm_list at 09316980
    DpShMCreate: allocated tm_adm at 093169B0
    DpShMCreate: allocated wp_ca_adm at 097294B0
    DpShMCreate: allocated appc_ca_adm at 0972F270
    DpShMCreate: allocated comm_adm at 097311B0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 097B2070
    DpShMCreate: allocated gw_adm at 097B20B0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 097B20E0
    DpShMCreate: allocated wall_adm at 097B20E8
    Wed Apr 22 18:22:30 2009
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 511 blocks reserved for free list.
    ES initialized.
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 5052
      argv[0] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[1] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[2] = pf=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=65000
      argv[5] = -DSAPSYSTEM=04
      argv[6] = -DSAPSYSTEMNAME=ECC
      argv[7] = -DSAPMYNAME=ECC6_ECC_04
      argv[8] = -DSAPPROFILE=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1633]
    ***LOG Q0K=> DpMsAttach, mscon ( ECC6) [dpxxdisp.c   11822]
    DpStartStopMsg: send start message (myname is >ECC6_ECC_04                             <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 146
    Release check o.K.
    DpJ2eeLogin: j2ee state = CONNECTED
    Wed Apr 22 18:22:31 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 4 / sock 480
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2089) [nixxi.cpp    4424]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=5052)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    Wed Apr 22 18:23:10 2009
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 4104
      argv[0] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[1] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[2] = pf=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=64999
      argv[5] = -DSAPSYSTEM=04
      argv[6] = -DSAPSYSTEMNAME=ECC
      argv[7] = -DSAPMYNAME=ECC6_ECC_04
      argv[8] = -DSAPPROFILE=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    DpJ2eeLogin: j2ee state = CONNECTED
    Wed Apr 22 18:23:11 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 7 / sock 416
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2166) [nixxi.cpp    4424]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=4104)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    >>
    Kindly, help.
    Thanks & Regards,
    Devender V

    Hi Community,
    I have to warm this topic again.
    I'm facing the same problem like devender. I followed the posted advices, whithout any change. I also checked note 741289 - no change. I restarted the j2ee engine out of TA SMICM where I also checked the application server's state (j2ee Server Operational = FALSE) - no effect.
    In SAPMMC I restarted the instance without any effect. The disp+work.EXE still has a yellow state, says "Running, Message Server connection ok, Dialog Queue time: 0.00 sec, J2EE status info unavailabe.
    I think the developer trace says the same like devenders:
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1668]
    ***LOG Q0K=> DpMsAttach, mscon ( chopin) [dpxxdisp.c   12364]
    DpStartStopMsg: send start message (myname is >chopin_EI3_00                           <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 175
    Release check o.K.
    Fri Nov 12 11:34:00 2010
    DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN
    I followed ravi raj's instructions, so that is the part of the  content of dev_jontrol:
    [Thr 6844] *** WARNING => JsfOpenShm: ShmCreate (69, 295952, CREATE) failed(rc = 4 SHM segment already exists) [jsfxxshm.c   715]
    [Thr 6844] *** ERROR => JsfOpenShm: Shm version mismatch (shm "JSF-ADM-CORRUPT", code "JSF-ADM-015") [jsfxxshm.c   761]
    [Thr 6844] *** ERROR => Can't create shared memory segment 69 (rc = 8) [jcntrxx.c    1749]
    [Thr 6844] *** ERROR => Can't initialize JControl Administration [jcntrxx.c    273]
    [Thr 6844] JControlCloseProgram: started (exitcode = -1)
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(SESSION) failed (rc = 6 invalid argument) [jsfxxshm.c   1243]
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(ALIAS) failed (rc = 6 invalid argument) [jsfxxshm.c   1250]
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(SERVICE) failed (rc = 6 invalid argument) [jsfxxshm.c   1257]
    [Thr 6844] JControlCloseProgram: good bye... (exitcode = -1)
    Can someone please translate it for me, or give me an tipp what to do?
    Thanks in advance,
    -ty-
    Edited by: Tan Yildiz on Nov 12, 2010 1:38 PM
    In the servers process-list (Task Manager) there is no entry for jlaunch (related to [Java Startup und Control Framework|http://help.sap.com/saphelp_NW70/helpdata/de/4f/7ead42c893b211e10000000a155106/content.htm] )
    Edited by: Tan Yildiz on Nov 12, 2010 2:18 PM
    There's the solution manager running on the same server. In his instance everything's fine.
    After changing some instance parameters i'm getting some errors:
    1. Parameter Name: jstartup/instance_properties
       General standardvalue: $(jstartup/j2ee_properties)$(FILE_SEP)$(jstartup/sdm_propert
       Specified standardvalue: D:\usr\sap\EI3\D00\j2ee\cluster\instance.properties;D:\usr\s
    2. Parameter Name: exe/j2ee
        General standardvalue: (Default)
        Specified standardvalue. D:\usr\sap\EI3\SYS\exe\run\jcontrol.EXE
    Ok, I think I got it. The specified standardvalues the system is selecting are wrong.....but how can I influence the systems selection?
    Edited by: Tan Yildiz on Nov 12, 2010 2:29 PM
    Edited by: Tan Yildiz on Nov 12, 2010 2:42 PM

  • Error in "Start java Engine" phase during installation of Java AS

    Hi All,
    I am trying to install Java on Red Hat Server 5 with Maxdb as database and the installation is unable to pass the stage "Start java Engine" i have tried repeating the installation again also but getting stuck at the same place.
    I tried starting the same from Command line but is unable to start the Server and DB is up and running.
    Earlier on the same host i tried installing NW 7 ABAP stack and i was successful in that.
    Any help is welcome.
    Regards,
    Sharib

    Hi Anil
    dev_server0 log file is pasted..
    Can u please check this:
    trc file: "/usr/sap/EP1/JC01/work/dev_server0", trc level: 1, release: "701"
    [Thr 1146849600] Thu Jun 24 16:14:45 2010
    [Thr 1146849600] ***LOG S98=> STISearchConv, no conv (80346248) [r3cpic_mt.c  6123]
    [Thr 1146849600]
    [Thr 1146849600] *  LOCATION    CPIC (TCP/IP) on local host with Unicode
    [Thr 1146849600] *  ERROR       no conversation found with id 80346248
    [Thr 1146849600] *
    TIME        Thu Jun 24 16:14:45 2010
    [Thr 1146849600] *  RELEASE     701
    [Thr 1146849600] *  COMPONENT   CPIC (TCP/IP) with Unicode
    [Thr 1146849600] *  VERSION     3
    [Thr 1146849600] *  RC          473
    [Thr 1146849600] *  MODULE      r3cpic_mt.c
    [Thr 1146849600] *  LINE        6124
    [Thr 1146849600] *  COUNTER     2
    [Thr 1146849600]
    [Thr 1146849600]
    [Thr 1146849600] *  LOCATION    CPIC (TCP/IP) on local host with Unicode
    [Thr 1146849600] *  ERROR       illegal parameter value ( function=SAP_CMTIMEOUT2 /
                 parameter=conversation_ID / value=80346248 )
    [Thr 1146849600] *
    TIME        Thu Jun 24 16:14:45 2010
    [Thr 1146849600] *  RELEASE     701
    [Thr 1146849600] *  COMPONENT   CPIC (TCP/IP) with Unicode
    [Thr 1146849600] *  VERSION     3
    [Thr 1146849600] *  RC          769
    [Thr 1146849600] *  MODULE      r3cpic_mt.c
    [Thr 1146849600] *  LINE        7340
    [Thr 1146849600] *  COUNTER     3
    [Thr 1146849600] *
    [Thr 1146849600]
    </verbosegc>
    [Thr 1146849600] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 1146849600]
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 1146849600] SigISetIgnoreAction : SIG_IGN for signal 17
    [Thr 1146849600] JLaunchCloseProgram: good bye (exitcode = -11113)

  • Long time to start Java Web Client (Analyzer 6.2.1)??

    Does anyone know why Analyzer(6.2.1) takes a long time to start Java Web Client. Sometime it's even take more than 5 minutes. I think it is the Java Plug-in starting on the client computer. Any solution?

    The key to Analyzer 6.2.1 running correctly is the version of Sun Java Plugin. The ideal version (most optimal) is 1.3.0_02.Secondary to this if Analyzer performs OK once you are logged in then it could be down to the speed of your connection. The applet compiles at runtime (unlike Analyzer 5 which was a one time download). The delay in getting to the login screen could be this download.Hope this helps.Paul ArmitageAnalitica Ltd.www.analitica.co.uk

  • SRM Installation Error - Start Java engine

    Hello gurus,
    OS platform -- Windows Server 2008 (R2) Stantard X64
    DataBase - MS SQL Server 2008 (R2) X64
    System - SAP SRM 7.0 / NW7.01
    Iu00B4m facing with an error during a SRM Installation of AS JAVA system (with plus EP & EP Core). I installed last week the ABAP system.
    The error is in the phase 25 - Start Java engine. I checked the sapinst.log and sapinst_dev.log and both show the following error:
    INFO 2011-05-17 12:35:13.073
    Disconnect from message server (SRVSIAPP01/3902) succeeded.
    WARNING[E] 2011-05-17 12:35:13.160
    CJS-30150  Java processes of instance JRM/JC01 [Java: UNKNOWN] did not reach state PARTRUNNING after 20:30 minutes. Giving up.
    ERROR 2011-05-17 12:35:14.42
    FCO-00011  The step startJava with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_StartJava|ind|ind|ind|ind|6|0|startJava was executed with status ERROR .
    I also checked others log files, like as start<SID>.log and dev_jcontrol:
    running D:\usr\sap\JRM\SYS\exe\uc\NTAMD64\sapstart.exe name=JRM nr=01 SAPDIAHOST=SRVSIAPP01 -wait
    SAPSTART finished successfully on SRVSIAPP01_JRM_01, but at least one process doesn't run correctly:
    D:\usr\sap\JRM\SYS\exe\uc\NTAMD64\sapstart.exe=>sapparam(1c): No Profile used.
    trc file: "D:\usr\sap\JRM\JC01\work\dev_jcontrol", trc level: 1, release: "701"
    node name   : jcontrol
    pid         : 1436
    system name : JRM
    system nr.  : 01
    started at  : Tue May 17 12:14:55 2011
    arguments       :
           arg[00] : D:\usr\sap\JRM\JC01\exe\jcontrol.EXE
           arg[01] : pf=D:\usr\sap\JRM\SYS\profile\JRM_JC01_SRVSIAPP01
    [Thr 1544] Tue May 17 12:14:55 2011
    [Thr 1544] *** ERROR => OS release Windows NT 6.1 7601 Service Pack 1 2x AMD64 Level 6 (Mod 15 Step 11) is not supported with this startup framework (701) [jstartxx.c   4389]
    This last file (dev_jcontrol) is kindly weird... I checked the PAM and it said this OS (Windows 2008 (R2) is supported!
    Can you help me to solve this problem?
    Kind regards,
    Jou00E3o Dimas - Portugal

    Hello Rajneesh,
    I read that note 1152240 and tell me in which way this apply to my case, because I only see for my case... the part that say "Installing SAP systems based on SAP Netweaver 7.0 EHP1 (7.01) or SAP Netweaver 7.0 EHP1 SR1"  and in there is recommended to:
    . Patch your runtime libraries as described in SAP note 684106 --> I already did this when I installed the ABAP system/part
    . Apply the latest DBSL patch --> I did a kernel upgrade to the latest version and also the DBSL patch on ABAP system/part
    So... I don't see anything related with my case... the Java part that is what I´m trying to install and now I´m with an error!
    Best regards,
    João Dimas - Portugal

  • Error while starting Java in cluster

    Hi Everyone,
    While starting java instance in cluster facing problem.Other instances is working file Database , ERS and SCS except Java
    When  VCS ( Cluster Software) try to start Java not able to find Jlaunch Process .
    NW version is 7.3 ehp1.
    Error says : Missing Process JLAUNCH though jc exsist.
    Even i cant find any jlaunch process in nw 7.3 ehp1.
    jstart process is there instead of jlaunch.
    Kindly suggest .
    Regards
    Adil

    Hi All,
    Get reply from Symantec which saying that jlaunch process is nessasary for running the cluster.Cluster is not able to find JLAUNCH process.But normal condition without cluster SAP work fine.Problem is coming when its trying to start JAva instance in cluster.Not find any JLAUNCH process in NW 7.3 ehp1.
    I am pasting log from Symantec:-
    SAP process  [sapstart]
    PID File     [/tmp/.VRTSSAPNW04/PI_J00/PID/pidfile.sapstart] (No such file in this path)
    Srch Process [sapstart pf=.*SID.*J00.*hostname01]
    FFLM Status  [110]
    Thus we need to check whether this file "/tmp/.VRTSSAPNW04/PI_J00/PID/pidfile.jlaunch" exist during the start process or not.
    Which means that this process "jlaunch" is necessary for the SAP resource instance to come online
    Checked this link in which telling there will be no jlaunch process any more from 7.1.
    Why there is no jlaunch process in PI Netweaver 7.31 ?
    Regards
    Adil

  • How to start java applet with netbeans 6.1

    hey,
    I want to learn how to start java applet (with database) with netbeans.. I'm new to java...can you show me how can i start..if you have any doc about it can you send it to me..thank you..:)

    You really should be asking this NetBeans question at the NB site - these forums are for Java language topics, not NB support.
    [http://www.netbeans.org/kb/61/web/applets.html]
    Almost any NB question you have can be answered by either the NB web documentation or the NB program's Help.

  • Problem while starting Java DB

    when i tried the following command to start java db then exception in thread main occurs please tell me the solution
    C:\Program Files\Sun\JavaES5\DSEE\ds6\bin>java -Dderby.system.home="C:\Program F
    iles\Sun\JavaES5\portal\data\derby" org.apache.derby.drda.N
    etworkServerControl start
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/drda
    /NetworkServerControl

    Hi,
    do you have derby.jar, derbytools.jar, and derbynet.jar in your classpath?
    http://docs.sun.com/app/docs/doc/819-5025/6n74td5ji?a=view
    Cato

  • Netbeans 6.9.1 'cannot start java.exe'

    Hello,
    I've installed the JDK and then Netbeans 6.9.1 (Windows 7). When I try to run a JavaFX application, it fails ( saying 'cannot start java.exe' ).
    Just found [http://www.netbeans-forum.de/viewtopic.php?f=9&t=4220|http://www.netbeans-forum.de/viewtopic.php?f=9&t=4220]
    But locating the JDK on a different place ( using a path without whitespaces ) also didn't help.
    What could be the problem?
    thanks
    Edited by: Lichti on Sep 4, 2010 1:17 PM

    You can also specify which JDK Netbeans uses (as the default JDK and thus as the JDK used by the JavaFX module) by modifying netbeans_jdkhome in C:\Program Files\NetBeans 6.9.1\etc\netbeans.conf

  • PROBLEM:IOException starting Java runtime process

    Hi all,
    I am new to java and I have the following problem: I have created an applictaion using jbuilder (windows xp) that consists of various frames.
    The application was compling and running at the PC I used to create it . Now, I am using a new PC with 2 processors (intel Pentium (D) 3.6) and I get the following error when trying to run the already developed application. Also, I tried to build a new application and I still get the same error.
    I would be very greatful for your comments/suggestions..
    Thanks in advance
    artakianos
    -- IOException starting Java runtime process --
    java.io.IOException: CreateProcess: "C:\Program Files\Borland\Jbuilder\jdk1.4\bin\javaw" -classpath "C:\Documents and Settings\sstathak\jbproject\MCTOOLS\classes\mctools;C:\Borland\JBuilder2005\lib\jbcl.jar;C:\Borland\JBuilder2005\lib\dx.jar;C:\Borland\JBuilder2005\lib\beandt.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\javaws\javaws.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\charsets.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\ext\dnsns.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\ext\ldapsec.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\ext\localedata.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\im\indicim.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\im\thaiim.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\jce.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\jsse.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\plugin.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\rt.jar;C:\Program F&#148;

    Maybe your classpath is wrong. You can go to the path where is the instalation and into the directory bin you must `type javac or javaws if you obtain a list of options every is ok and you must set the enviroment variable to this path.
    Send me your comments
    Miguel Manzano

  • Which progam starts java services on WAS

    When I'm logged into an ECC WAS as <sid>adm and I run the command "startsap" how do the java services get started?
    Specifically, I'd like to know how the jlaunch process for the dispatcher and server are started. I don't see anything in the "startsap" script that starts java for a WAS - though I do see were it tries to start the JAVA database, but I'm not asking about the server where the JAVA database installed. The WAS server in question is a dual-stack WAS.
    Thanks

    This is for dualstack NW 7.0 systems:
    startsap -> reads start profile -> among others starts the dispatcher process (the classic Abap dispatcher)
    if rdisp/j2ee_start = 1 is set then the j2ee is started, by the dispatcher.
    Although the j2ee can be controlled via SMICM, it is the dispatcher who starts and stops it.
    Doku: [Starting and Stopping the SAP Web AS ABAP+J2EE System|http://help.sap.com/erp2005_ehp_04/helpdata/DE/86/43b14041ecf10fe10000000a1550b0/frameset.htm]
    Best regards Michael
    Edit: btw, the J2EE central services (SCS instance) are started by startsap, the are just another instance
    Edit2: the jlaunch dispatcher/server are started by jcontrol, check the documentation on the detailed j2ee startup here: [Startup, Operation and Shutdown of a Java Instance|http://help.sap.com/erp2005_ehp_04/helpdata/DE/a2/852aca5cd96f4796e51ba0f7a28926/frameset.htm]

  • SUM execution phase hanging in 'Start JAVA' step

    Good day
    I'm trying to update the Java stack of a solman 7.1 stack 10 instance. I'm using SUM v1 SP10 patch0. Everything runs fine until  5.6 [Execution --> Start Java] which times out after a while.
    Part of START-AS-JAVA.LOG:
    Java instance =02
    SCS instance = 03
    Java instance = 02
    SCS instance = 03
    Output of sapcontrol -nr 02 -function GetVersionInfo
    Calling the NWA from browser

    Hi Sunil
    The ABAP instance is definitely up and running at this point [and has been]
    Here is what the SAPMMC reports:
    Message was edited by: Stephan Van Dyk

  • Starting Java with XML

    Hi,
    I am new to this forum. What will be the best place to start Java? I have a PC with Windows NT Operating Systems. I would like to read and write XML files from Java.
    Thanks for your help.
    Ajay

    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html

  • Just started java

    Hi i just started java and installed J2re-1_3_1_08-windows-i586-i
    I have an XP OS and tryed to type mij first little java program
    public class app
    public static voi main(String[] args)
    System.out.println(" Greats from Java!");
    now when i try to run this in xp bij c:\Java app i get mij ms-dos screen so fast that i can not read what it said.
    when i run it true cmd and then java app i get an error : Exception in Thread "main" java.lang.noclassdeeffounderror: app
    What am i doing wrong

    but that line of setclass do i have to put it in the
    java program or somewhere else. i did read in the book
    that i had to go to systems of windows xp and set a
    path but the book did not tell me what path i had to
    setActually the path your book was talking about is the windows system path, which is a system environment variable created when you install the os.
    You add to this variable the path to java.exe, javac.exe etc...
    for example if your sdk directory is C:\j2sdk1.4.2 you add the /bin sub-directory to the path by executing (in a dos window) :
    set path = %path%;C:\j2sdk1.4.2\bin
    With this you can type directly java, javac etc... on the command line without the os complaining that it doesn't know these commands.
    The classpath is something specific to java that has relationship to the system path.

Maybe you are looking for

  • Can't create database using ASM (SOLVED)

    Hi all I'm trying to use ASM for the first time, on Oracle 10.2.0.1 on Solaris x64. I have installed the ASM instance into /opt/oracle/asm/10.2.0 and created disk groups. I have cssd running OK. I am able to start and stop the ASM instance without pr

  • Why the **** does it take so long?

    i just had my iphone replaced, and all i wanted to do was "clone" the old contents from the backup to the new iphone. that should be sweet and simple, and relatively quick, right? well, so far it's taken over 2 hours, and it's still not finished. the

  • T410 problem about graphics card

    my machine:i5-540M(2.53GHz), 4GB RAM, 320GB 7200rpm HD, 14.1in 1440x900 LCD, 256MB nVIDIA Quadro NVS 3100M. problem: graphics card is very hot. I detect the temperature, It is 55°C(131℉) when start OS and soon go up to more than 100°C(212℉) even thou

  • Upgrade Error in HR module

    HI friends,                while upgrading we testing one report IN HR module im getting below error and schema is Z schema.              An error has occurred during schema generation! Call the schema editor to analyze errors*             Check the

  • Data filtering

    I have created a reprot using command (SQL query) which retrieves all the employee details.Now i need to filter the data based on the conditions, 1) Employees joined in the Week numbers will be selected (example: 13,15,19) and the data should be filt