Topic
  • 3 replies
  • Latest Post - ‏2013-09-11T14:32:12Z by kk411
kk411
kk411
22 Posts

Pinned topic Configure Launcher on LINUX

‏2013-09-05T03:21:05Z |

Hi All

when iam running luncheradmin.csh Iam getting this error.Can anyone help on this.

Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.websphere.dtx.launcher.gui.EventServerAdminConsole
Caused by: java.lang.ClassNotFoundException: com.ibm.websphere.dtx.launcher.gui.EventServerAdminConsole
        at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
Could not find the main class: com.ibm.websphere.dtx.launcher.gui.EventServerAdminConsole.  Program will exit.
Return code = 1
 

  • Bhoju
    Bhoju
    37 Posts

    Re: Configure Launcher on LINUX

    ‏2013-09-05T14:00:44Z  

    Run setup in <installdir> as

    cd <installdir>

    . setup

    This will set your classpath and path variables correctly and you should be able to load all classes.

     

    Thanks

  • kk411
    kk411
    22 Posts

    Re: Configure Launcher on LINUX

    ‏2013-09-07T02:58:50Z  
    • Bhoju
    • ‏2013-09-05T14:00:44Z

    Run setup in <installdir> as

    cd <installdir>

    . setup

    This will set your classpath and path variables correctly and you should be able to load all classes.

     

    Thanks

    Hi Bhoju

    Thanks for your reply,Iam running laincheradmin.csh after configuring X SERVER for windows.When iam running Launcher.sh iam getting folowing error.Can you help me on this.

    IBM WebSphere Transformation Extender
    Version : 8.4.0.0(141) - Licensed Materials - Property of IBM © Copyright 1996, 2011 IBM Corporation. All rights reserved.

    launcher.sh     [-start [adminpropfile]]
                    [-stop [listenerport [hostname]]]
                    [-pause [listenerport [timeout [hostname]]]]
                    [-resume [listenerport [timeout [hostname]]]]
                    [-status launchername systemname]
                    [<[-summary] [-history] [-statusinfo] [-configuration] [-all] [-xml]> launchername systemname]
                    [-startsystem launchername <systemname [-all]>]
                    [-stopsystem launchername <systemname [-all]>]
                    [-pausesystem launchername <systemname [-all]>]
                    [-resumesystem launchername <systemname [-all]>]
                    [-settrace launchername systemname systemfilename componentname -trace {default|on|off} [-action {create|append}] [-tracefile tracefilename]]
                    [-setlogging launchername systemname -logtype {launcher|conmgr|resmgr} -logflags {to|tx},{wo|wx},{io|ix},{eo|ex},{do|dx},{fo|fx}]
                    [-list launchername [systemname [systemfilename [componentname]]] [-trace] [-logging]

  • Bhoju
    Bhoju
    37 Posts

    Re: Configure Launcher on LINUX

    ‏2013-09-10T06:51:55Z  
    • kk411
    • ‏2013-09-07T02:58:50Z

    Hi Bhoju

    Thanks for your reply,Iam running laincheradmin.csh after configuring X SERVER for windows.When iam running Launcher.sh iam getting folowing error.Can you help me on this.

    IBM WebSphere Transformation Extender
    Version : 8.4.0.0(141) - Licensed Materials - Property of IBM © Copyright 1996, 2011 IBM Corporation. All rights reserved.

    launcher.sh     [-start [adminpropfile]]
                    [-stop [listenerport [hostname]]]
                    [-pause [listenerport [timeout [hostname]]]]
                    [-resume [listenerport [timeout [hostname]]]]
                    [-status launchername systemname]
                    [<[-summary] [-history] [-statusinfo] [-configuration] [-all] [-xml]> launchername systemname]
                    [-startsystem launchername <systemname [-all]>]
                    [-stopsystem launchername <systemname [-all]>]
                    [-pausesystem launchername <systemname [-all]>]
                    [-resumesystem launchername <systemname [-all]>]
                    [-settrace launchername systemname systemfilename componentname -trace {default|on|off} [-action {create|append}] [-tracefile tracefilename]]
                    [-setlogging launchername systemname -logtype {launcher|conmgr|resmgr} -logflags {to|tx},{wo|wx},{io|ix},{eo|ex},{do|dx},{fo|fx}]
                    [-list launchername [systemname [systemfilename [componentname]]] [-trace] [-logging]

    See it is obvious, you are not passing any parameters to launcher.sh. If you want to start launcher process to listen for events, you can start it like "launcher.sh -start"

    you can explore other provided options also from ibm documentation.

    Take the anology of say find unix command, if you run find without any arguments what you get

    $find
    $Usage: find [-H | -L] Path-list [Expression-list]

    No parameters, the command doesnt know what to do..