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
Expand all | Collapse all

Error in wm.tn.query:profileQuery

webMethods Community Member

webMethods Community MemberThu November 17, 2011 07:46 AM

  • 1.  Error in wm.tn.query:profileQuery

    Posted Tue November 15, 2011 01:18 PM

    Hi,

    I am trying to configure my TN 7.1.2. I have a Oracle DB on my system and TN related tables has been created in it. I was able to create Enterprise Profile. I can also creat Partner Profiles and in the backend they are visible in the table “PARTNER” (i.e. select * from PARTNER).

    But when I run a search for Partner Profiles using the TNConsole it gives me the below error :confused::

    ErrorMessage: ErrorDialog TRNCONS.000000.000003 ERROR partner.PartnerQueryResult doQuery Tue Nov 15 17:59:28 GMT+05:30 2011 java.lang.ClassCastException: com.webMethods.sc.caching.config.LocalSchemeConfig
    com.wm.ui2.UiException: wm.tn.query:profileQuery com.wm.app.b2b.server.ServiceException java.lang.ClassCastException: com.webMethods.sc.caching.config.LocalSchemeConfig null wm.tn.query:profileQuery com.wm.app.b2b.server.ServiceException java.lang.ClassCastException: com.webMethods.sc.caching.config.LocalSchemeConfig null null

    com.wm.ui2.UiException: wm.tn.query:profileQuery com.wm.app.b2b.server.ServiceException java.lang.ClassCastException: com.webMethods.sc.caching.config.LocalSchemeConfig at com.wm.ui2.UiException.handle(UiException.java:215) at com.wm.ui2.UiException.handle(UiException.java:184) at com.wm.app.tn.ui.Server.invoke(Server.java:379) at com.wm.app.tn.ui.profile.partner.PartnerQueryResult.doQuery(PartnerQueryResult.java:118) at com.wm.app.tn.ui.profile.partner.PartnerQueryResult.(PartnerQueryResult.java:93) at com.wm.app.tn.ui.profile.partner.TradingPartnerPanel$12.run(TradingPartnerPanel.java:861) at com.wm.app.tn.ui.util.swing.TNProgressThread.runSelf(TNProgressThread.java:42) at com.wm.ui2.UiProgressThread.run(UiProgressThread.java:52)

    wm.tn.query:profileQuery com.wm.app.b2b.server.ServiceException java.lang.ClassCastException: com.webMethods.sc.caching.config.LocalSchemeConfig com.wm.app.b2b.server.ServiceException: java.lang.ClassCastException: com.webMethods.sc.caching.config.LocalSchemeConfig at com.wm.app.tn.db.QueryResult.getCache(QueryResult.java:922) at com.wm.app.tn.db.QueryResult.isQueryCancelled(QueryResult.java:523) at com.wm.app.tn.db.QueryResult.processPaging(QueryResult.java:202) at com.wm.app.tn.db.QueryResult.(QueryResult.java:144) at com.wm.app.tn.db.QueryResult.RunQuery(QueryResult.java:169) at com.wm.app.tn.db.QueryResult.RunQuery(QueryResult.java:158) at com.wm.app.tn.profile.ProfileStore.queryProfiles(ProfileStore.java:2199) at wm.tn.query.profileQuery(query.java:795) 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.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:403) at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:631) at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:40) at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44) at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:241) at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51) at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:228) at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30) at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:624) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:536) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381) at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237) at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119) at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:151) at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:186) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:327) at com.wm.util.pool.PooledThread.run(PooledThread.java:118) at java.lang.Thread.run(Thread.java:595)

    I have tried dropping and recreating TN tables using Database Component Configurator even reistalling TN but nothing has worked.

    Please help.


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 2.  RE: Error in wm.tn.query:profileQuery

    Posted Tue November 15, 2011 03:18 PM

    Are you getting this error every time you query any section in TNC? or is it just intermittent?

    I believe you should be OK even you get with this error:

    HTH,
    RMG


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 3.  RE: Error in wm.tn.query:profileQuery

    Posted Tue November 15, 2011 03:22 PM

    Everytime I search this error comes. And Once I click “OK” on the error report the search stops without displaying any result.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 4.  RE: Error in wm.tn.query:profileQuery

    Posted Tue November 15, 2011 03:34 PM

    If the error still persists…you should also contact SAG tech support for a quick turn around:

    Also do you have this service scheduled?

    wm.tn.enumerate:deleteQueryResults


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Error in wm.tn.query:profileQuery

    Posted Wed November 16, 2011 08:57 AM

    Drop the TN SQL scripts from your database and create/recreate once again than

    Use Database Configuration Tool


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Error in wm.tn.query:profileQuery

    Posted Wed November 16, 2011 03:19 PM

    It seems he did tried that options aswell:


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: Error in wm.tn.query:profileQuery

    Posted Thu November 17, 2011 07:19 AM

    Hi…
    I applied some fixes to the TN and it started working fine :slight_smile:

    Thanks


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: Error in wm.tn.query:profileQuery

    Posted Thu November 17, 2011 07:46 AM


  • 9.  RE: Error in wm.tn.query:profileQuery

    Posted Thu November 17, 2011 02:38 PM

    Glad to hear Issue resolved…I am sure fixes are there for this:


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 10.  RE: Error in wm.tn.query:profileQuery

    Posted Fri January 13, 2017 11:44 PM

    Hi Shilpa kumar,

    we are facing the same kind of issue.
    what are the fixes you applied ?

    thanks,
    Venkat


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 11.  RE: Error in wm.tn.query:profileQuery

    Posted Mon January 16, 2017 05:13 AM

    Hi Venkat,

    make sure you have latest Fixes for TNS (Trading Networks Server), TN_MWS (Trading Networks UI on MWS) as well as latest DC_DBS Fixes for wM Version applied.

    After applying the DC_DBS-Fixes run Database Configurator and select TradingNetworks Component as “migrate” to “latest” for your TN schema.

    Additional Fix which might be helpful in this case:
    SCG_DataDirect

    Which Version of wM are you running on?

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 12.  RE: Error in wm.tn.query:profileQuery

    Posted Tue January 17, 2017 01:48 AM

    Hi Holger,

    we are doing this activity on wm8.0.
    Trying to export from wm8.0 .

    thanks,
    Venkat


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods