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.  ClassCastException when starting MWS

    Posted 09/03/08 02:48 PM

    Hi,

    after having installed wM 7.1 on a Red Hat Linux VM, I receive the following error message when starting MWS. Later on, the MWS is not accessible. I am unsure, whether the exception below is the cause, but it seems most likely. Any ideas what’s wrong?

    Thanks,

    Jochen

    2008-09-03 03:10:26 CEST (install : WARN) - [executecommand] Got error, but continue…java:633)
    java.lang.ClassCastException: com.webMethods.portal.system.impl.URI2)
    at com.webMethods.portal.portlet.wm_xt_fabricfolder.mechanics.FabricfolderMechanics.createTaskFolderResources(FabricfolderMechanics.java:187)
    at com.webMethods.portal.portlet.wm_xt_fabricfolder.mechanics.FabricfolderMechanics.updateProperties(FabricfolderMechanics.java:88)ection.java:820)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.updateNode(XMLImport.java:695).http.HttpConnection.handle(HttpConnection.java:837)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.importNode(XMLImport.java:392)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImportFolder.importNode(XMLImportFolder.java:71)dPool$PoolThread.run(ThreadPool.java:534)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.xmlImportList(XMLImport.java:288)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.importChildren(XMLImport.java:451)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.importNode(XMLImport.java:441)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImportFolder.im at com.webMethods.portal.bizPolicy.command.system.xml.XMLImportFolder.importNode(XMLImportFolder.java:71)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.xmlImportList(XMLImport.java:288)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImportContext.importNode(XMLImportContext.java:84)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.xmlImportList(XMLImport.java:288)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.xmlImport(XMLImport.java:232)
    at com.webMethods.portal.bizPolicy.command.system.xml.XMLImport.handle(XMLImport.java:171)
    at com.webMethods.portal.bizPolicy.command.install.taskdefs.system.ExecuteCommand._execute(ExecuteCommand.java:87)
    at com.webMethods.portal.bizPolicy.command.install.taskdefs.AntBaseTask.execute(AntBaseTask.java:90)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: ClassCastException when starting MWS

    Posted 09/03/08 07:57 PM

    Jochen,

    Make sure you are using the JVM that came with MWS. I’ve run into issues with redhat running the GNU java instead of Sun which causes problems.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: ClassCastException when starting MWS

    Posted 09/04/08 09:56 PM

    Thanks for the hint, but I am starting the MWS using the mws.sh script and I a quick look into the process list clearly demonstrates, that this scipt is indeed using the JDK 150, that is installed with wM.

    Jochen


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: ClassCastException when starting MWS

    Posted 11/14/08 01:05 PM

    jochen,
    give a try using the setting the path of teh JVM version using the JDK 142.


    #webMethods
    #Integration-Server-and-ESB