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.

 View Only
  • 1.  MWS issue

    Posted Sat February 07, 2009 11:09 AM

    When I am trying to start MWS for the first time in a new machine the following is the error message log i noticed :


    2009-02-07 04:59:11 EST (Framework : FATAL) - [POP.001.0002] A “java.lang.NoClassDefFoundError” occurred with the Message “com/webMethods/portal/portlet/wm_discotres_common/IForumConstants”
    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.rtl.util.ObjectUtil.createComponent(ObjectUtil.java:167)
    at com.webMethods.portal.system.impl.BaseProvider.initComponent(BaseProvider.java:598)
    at com.webMethods.portal.mech.impl.MechanicsManager.initComponent(MechanicsManager.java:158)
    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.impl.ThingComponentProvider.init(ThingComponentProvider.java:74)
    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)


    I understand from the message is problem with java class path and related to portlets…

    Can somebody please advice on this

    Thanks!
    ~R


    #Release-7-1-Feedback-WMUsers
    #webMethods-Archive
    #webMethods


  • 2.  RE: MWS issue

    Posted Mon February 09, 2009 10:17 PM

    Make sure the MWS DB is created using the DB Configurator Tool.

    If its 7.1.2 version? Did you create the default server. If not.
    If yes, delete the default server, ./mws.sh –s default delete.

    And then create the default server using:
    ./mws.sh new -Dserver.name=default -Dhttp.port=8185 -Ddb.type=oracle “-Ddb.url=jdbc:wm:oracle://hostname:port;ServiceName=orcl;” -Ddb.username=mws -Ddb.password=abc

    And then Initialize the server.
    ./mws.sh -s default run


    #webMethods-Archive
    #Release-7-1-Feedback-WMUsers
    #webMethods


  • 3.  RE: MWS issue

    Posted Tue February 10, 2009 05:08 PM

    Thanks for the details…its working!!!


    #Release-7-1-Feedback-WMUsers
    #webMethods-Archive
    #webMethods


  • 4.  RE: MWS issue

    Posted Mon February 15, 2010 11:03 AM

    Folks,
    I am facing same issue and I read the thread.But I could not get where and how to add that default server.Can someone please elaborate?

    Thanks in advance.


    #webMethods-Archive
    #Release-7-1-Feedback-WMUsers
    #webMethods


  • 5.  RE: MWS issue

    Posted Mon February 15, 2010 07:36 PM

    Did you check in the MWS Administrator–>System-Wide Settings section?

    HTH,
    RMg


    #webMethods-Archive
    #webMethods
    #Release-7-1-Feedback-WMUsers


  • 6.  RE: MWS issue

    Posted Wed February 17, 2010 09:04 AM

    Thanks rmg.I got it.And I am able to start it via comand prompt.But the real problem is not being able to start it via Windows service account and it it still throwing the same error.Pls let me know if you can suggest a way out.

    Thanks again.


    #webMethods-Archive
    #Release-7-1-Feedback-WMUsers
    #webMethods


  • 7.  RE: MWS issue

    Posted Mon February 22, 2010 06:27 PM

    What is the exact error you are getting while starting via Windows service?

    HTH,
    RMG


    #Release-7-1-Feedback-WMUsers
    #webMethods-Archive
    #webMethods


  • 8.  RE: MWS issue

    Posted Tue February 23, 2010 02:16 AM

    Open CMD

    cd c:\path/MWS/bin
    mws.bat -s default uninstallservice (Deleted current windows service).
    mws.bat -s default installservice (install windows service with current parameters)

    That should fix.


    #Release-7-1-Feedback-WMUsers
    #webMethods
    #webMethods-Archive