IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Unable to start MywebMethods server

    Posted 08/21/09 01:55 PM

    I am unable to start MywebMethods server.

    I am getting following error and server got shutting down

    • Failed to initialize portlet: wm_discotres_topicview
      java.lang.NoClassDefFoundError: com/webMethods/portal/portlet/wm_discotres_common/IForumConstants
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at com.webMethods.portal.service.classmanager.impl.ComponentClassManager$ManagedClassLoader.findClass(ComponentClassManager.java:514)
      at com.webMethods.portal.service.classmanager.impl.ComponentClassManager$ManagerClassLoader.findClass(ComponentClassManager.java:589)
      at com.webMethods.portal.service.classmanager.impl.ComponentClassManager$ManagerClassLoader.loadClass(ComponentClassManager.java:566)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at com.webMethods.rtl.util.ObjectUtil.getClass(ObjectUtil.java:195)
      at com.webMethods.portal.system.pool.impl.DefaultPooledObjectManager.initialize(DefaultPooledObjectManager.java:37)
      at com.webMethods.portal.service.portlet.impl.PortletType$PortletBeanPoolManager.initialize(PortletType.java:446)
      at com.webMethods.portal.service.portlet.impl.PortletType.init(PortletType.java:82)
      at com.webMethods.portal.service.portlet.impl.PortletProvider.initComponent(PortletProvider.java:792)
      at com.webMethods.portal.service.portlet.impl.PortletProvider.initComponents(PortletProvider.java:704)
      at com.webMethods.portal.system.impl.BaseProvider.init(BaseProvider.java:125)
      at com.webMethods.portal.service.portlet.impl.PortletProvider.init(PortletProvider.java:330)
      at com.webMethods.portal.system.init.impl.DefaultPhase.initComponent(DefaultPhase.java:99)
      at com.webMethods.portal.system.impl.BaseProvider.initComponents(BaseProvider.java:512)
      at com.webMethods.portal.system.impl.BaseProvider.init(BaseProvider.java:125)
      at com.webMethods.portal.system.init.impl.DefaultPhase.init(DefaultPhase.java:44)
      at com.webMethods.portal.system.init.impl.DefaultPhaseProvider.initComponent(DefaultPhaseProvider.java:257)
      at com.webMethods.portal.system.impl.BaseProvider.initComponents(BaseProvider.java:512)
      at com.webMethods.portal.system.impl.BaseProvider.init(BaseProvider.java:125)
      at com.webMethods.portal.system.init.impl.DefaultPhaseProvider.initializePhases(DefaultPhaseProvider.java:89)
      at com.webMethods.portal.system.init.impl.ClusterPhaseProvider.initializePhases(ClusterPhaseProvider.java:27)
      at com.webMethods.portal.system.PortalSystem.init(PortalSystem.java:868)
      at com.webMethods.portal.system.PortalSystem.main(PortalSystem.java:827)
      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:585)
      at com.webMethods.portal.system.start.Main.start(Main.java:131)
      at com.webMethods.portal.system.start.Main.main(Main.java:48)

    Could any one help in this regard.

    Thanks in Adavance


    #Integration-Server-and-ESB
    #webMethods-Archive
    #webMethods


  • 2.  RE: Unable to start MywebMethods server

    Posted 08/21/09 05:32 PM

    Did you install all the tables required to bring up the MWS in database? did you use the DB configurator to install those tables?

    Thanks,
    Akshith


    #Integration-Server-and-ESB
    #webMethods-Archive
    #webMethods


  • 3.  RE: Unable to start MywebMethods server

    Posted 09/30/09 05:06 PM

    I had the same problem and to solve this issue I made the next step and after that worked fine

    1. Open setenv.bat (or .sh if on unix/linux) in MWS\bin using a text editor

    2. Look for the CLASSPATH line and add to it “C:[path-to-webMethods-folder]\MWS\server\default\system\wm_discotres\lib\wm_discotres_common.jar” on windows, “/[path-to-webMethods-folder]/MWS/server/default/system/wm_discotres/lib/wm_discotres_common.jar” on unix/linux.

    On Windows the classpath line should look as following:

    set CLASSPATH=“%PORTAL_HOME%\bin\start.jar”;“%JAVA_HOME%\lib\tools.jar”;“C:\webMethods712\MWS\server\default\system\wm_discotres\lib\wm_discotres_common.jar”

    and startup again!


    #Integration-Server-and-ESB
    #webMethods-Archive
    #webMethods


  • 4.  RE: Unable to start MywebMethods server

    Posted 07/28/11 06:47 AM

    Just wanted to say I had the same problem after I did a file copy of a MWS 7.1 HPUX to a new box.

    The old instance started up fine, but the new one wouldn’t until I had made the CLASSPATH change.

    Thank you!


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-Archive