Unable to start MywebMethods server

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

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

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!

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!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.