Significant Load Issues (CF8 and Model Glue 2)

I'm running an enterprise-level application running CF8 and Model Glue 2 that has seen a recent spike in users.  Several hundred users are submitting complex forms at any one time, which then trigger e-mails.
During our peaks, we're seeing the following error messages pour in:
Either there are no methods with the specified method name and argument types, or the getUserID method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
Has anybody run into these types of errors before.  I'd really appreciate your guidance.

Sounds like you have an issue with the var scope.
Model Glue controllers are singletons and this means one single instance of
the controller is shared among all requests. While this is a great way to
increase performance, it does mean you must be careful to use the ColdFusion
var keyword properly.
Since this is showing up under load, I am going to bet this is the issue. *Here
is what you need to do:*
Short Version:
   1. Download this: http://varscoper.riaforge.org/
   2. Run it against your application and fix everything it finds.
Long Version:
   1. Read this:
   http://www.nodans.com/index.cfm/2007/9/27/Is-your-code-Thread-Safe-How-do-you-know
   2. Watch this:
   http://www.schierberl.com/blog/thread-safety-and-the-var-scope-live-example/
   3. Download this: http://varscoper.riaforge.org/
   4. Run it against your application and fix everything it finds.
Dan Wilson

Similar Messages

  • EIS 7 and EIS 9 Cube Load Issue-Urgent

    Hi,
    I am loading a cube which takes 25 mins in thru EIS 7 but it takes 2 hours+ in if the cube is loaded from EIS 9.
    Is it hardware confiugration problem.
    Please suggest something.
    TIA

    You have two different installations, one with EIS 7 and one with EIS 9... are these completely identical models, metaoutlines, servers, applications, and databases that have such dramatically different performance? At first guess I would think any thing that is different between the load with EIS7 and the load with EIS9 would be a candidate for explaining the performance difference.

  • When trying to upload a document or attach a document in an email Firefox gives me an error "Failed to load CTDFMRES.dll" and stops responding, I have no issues in any other browsers. And I am using Firefox 4, Fixes???

    When trying to upload a document or attach a document in an email Firefox gives me an error "Failed to load CTDFMRES.dll" and stops responding, I have no issues in any other browsers. And I am using Firefox 4, Fixes???

    You don't have to disable any addons or extentions!!!You guys are not going to believe this I figured out the problem it's really dumb...ok here goes the attachment uploader loads seperate so I got to thinking it's a popup so I went to options content and under block pop ups there is an option exceptions click on that and in the box type firefox.com and hit allow pow its fixed!!!!! :-)

  • Issues with loading some webpages and dropbox. OS X Yosemite Wifi

    I am experiencing issues with my imac. As I was browsing Chrome this morning I went to load a page and suddenly it would not load and gave a page cannot be displayed error. Since then I'm having issues.
    My wifi says it's connected and everything is working fine. I can load some pages but not others (this is across all browsers I've tried: Chrome, Firefox, Safari). My dropbox desktop client will not load, nor can I load my dropbox account online. Also when I quit dropbox from the menu tray and try and reopen from applications it does nothing.
    My Google Drive desktop client and my google drive online is working perfectly though..
    I have shutdown and restarted my computer. I have also reset the modem. Nothing changed unfortunately though.
    I updated to OS X version 10.10.1 3 days ago. So maybe the update is partly responsible?
    Any ideas?

    Hello workingcars,
    I would start your troubleshooting with the first article below and use the Wireless Diagnostic to help isolate and resolve the issue. You also may want to create a new Network Location to see if there is that resolves the issue. 
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/ht4628
    Using network locations (Mac OS X v10.6 and later)
    http://support.apple.com/kb/ht5289
    Regards,
    -Norm G. 

  • Data Loading issues in PSA and Infocube

    Hi team,
    i am loading data into PSA and from there into info cube via a DTP,
    when i load data into PSA all 6000 records are transfered to PSA and process is completed sucessfully,
    When i execute the DTP to load data into info cube the data load process is completed sucessfully but when i observe
    the "manage" tab i see
    "Transferred 6000 || Added Records 50"
    i am not able to get as why only 50 records are loaded into infocube and if some records are rejected where can i find them and the reason for that,
    kindly assist me in understanding this issue,
    Regards
    bs

    hi,
    The records would have got aggregated based on common values.
    if in source u had
    custname xnumber kf1
    R                56             100
    R                53             200
    S                54              200
    after aggregation u will have
    custname                kf1
    R                            300
    S                           200
    if u do not have xnumber in your cube.
    Hope it is clear now.
    Regards,
    Rathy

  • PowerPivot Data Refresh Fails - We cannot locate a server to load the workbook Data Model

    Hello,
    I have installed sql01\PowerPivot instance of Analysis services on my existing SQL Server and configured it per Configure Power Pivot for SharePoint 2013
    http://technet.microsoft.com/en-us/library/dn456880(v=office.15).aspx . I did not install a second Database Engine on the server.
    I created an Excel 2013 workbook using the Excel 2013 PowerPivot add-in and saved it to my SharePoint BI Center Document library.
    When I try to refresh my workbook, I get 2 errors in the SharePoint log.
    http://support.microsoft.com/kb/2756665?wa=wsignin1.0 indicates the sproc is deprecated, but that does not help me fix the issue.
    Log errors:
    Following error occured while trying to execute a sql query: System.Data.SqlClient.SqlException (0x80131904):
    Could not find stored procedure 'DataRefresh.GetSchedule'.
    EXCEPTION: NoAvailableStreamingServerException: We cannot locate a server to load the workbook Data Model.
    macrel

    Hi Marcel,
    Based on my research, it seems that you have Microsoft SQL Server 2012 PowerPivot for SharePoint 2013 add-in installed on a computer. When you perform a data refresh operation on some PowerPivot workbooks in Microsoft SharePoint 2013, you receive two error
    message.
    As to the first error, this issue occurs because the Custom Properties on the Excel workbook are not correctly cleared before you set a new serialized schedule. This causes an extra custom property to remain after you set the new schedule. Therefore, the
    new schedule fails. To fix this issue, please
    install Cumulative Update 9 for SQL Server 2012 SP1.
    As to the second error, please
    running a repair using PowerPivot configuration wizard for SharePoint 2013. For more information about Troubleshooting PowerPivot Data Refresh, please see: 
    http://social.technet.microsoft.com/wiki/contents/articles/troubleshooting-powerpivot-data-refresh.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. ThisWorkBookDataModel

    Hi All,
    I have been trying to fix this for days now. I have tried solutions in many articles but to no avail. So while the error message is something you may have seen may times, I just can't find a solution in my case.
    This is the error:
    And in text just in case the image isn't viewable:
    "External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. We were unable to refresh one or more data connections in this workbook. The following connections failed to refresh: ThisWorkBookDataModel."
    What is worse is I have checked the ULS (SharePoint Trace Logs), the Event Viewer Logs and the OWA Logs and I cannot find a specific error that would help pin point the problem.
    Excel Workbook
    So what am I doing? I have an Excel 2013 workbook and I create an "SQL Server" connection to the AdventureWorksDW database, add a pivot table and a pivot chart, test in in Excel and all works fine.
    I save the Excel workbook to SharePoint 2013 and then select "Data" then "Refresh All Connections" and then I get the error in the picture above.
    Even more puzzling is I have another Excel workbook that also has pivot tables and pivot charts in the AdventureWorksDW2012Multidimensional cube database in "SQL Analysis Services" and this works fine. Hmmm.
    My Environment
    My environment is Windows 2008 R2 Server, SharePoint 2013 with the April Service Pack1 and a separate server with OWA2013 SP1. It has an SQL Server 2008 R2 database which has been upgraded to SQL Server 2012.
    Data Model Settings
    In Excel Services this is set to my server name which is "server-name". As I do not have instances all I can enter is the server name. As this works everywhere else including the workbook outside of SharePoint I do not think this is the problem.
    But I could be wrong.
    Unattended Account
    I have set this up for the PowerPivot Services App and Excel Services App.
    ODC Connections in Excel
    I have tried all 3 authentication modes, Windows, Secure Store ID and "None" which is the unattended account. I have not tried the other connection types, should I?
    Not in WOPI
    I am not in WOPI mode.
    AD Accounts
    I have added permissions in the SharePoint Services and SQL Server, and as they work in Excel outside of SharePoint, I do not think it is a permissions issue. I could be wrong of course, but the problem is in one of SharePoint, OWA, AD,
    SQL Server, Excel, and Windows Server.
    Isolate the Error
    Below is a list of errors I think are relevant but they do not tell me much. The SharePoint logs are not really giving me an error that tells me what to do and where to do it, or even why it cannot refresh, (perhaps not noticeable by the untrained eye).
    Problem with SQL Server Not Analysis Services
    So my cube database in analysis services works fine in SharePoint/OWA but not the databases in sql server. This is my best clue but I have no idea what it means. Why would it work with an Analysis Services connection but not an "SQL Server" connection?
    It Works Outside of SharePoint
    If I run the excel worksheet outside of SharePoint all works fine. When inside OWA this is where the refresh error occurs.
    Errors from Event Viewer on SharePoint Server using ULS Viewer
    "Failed to create an external connection or execute a query. Provider message: There are no servers available or actively being initialized., ConnectionName: , Workbook:"
    "Refresh failed for 'ThisWorkbookDataModel' in the workbook 'http://server...'. [Session: 1.V22.26itT0lx8piNFeqtuGVhN214.5.en-US5.en-US36.98c0e158-9113-46e9-850e-edda81d9ed1c1.A1.N User: 0#.w|ad\testuser1]"
    And an error in the ULS under the "Data Model" category:
    "--> Check Deployment Mode (server-name): Fail (Expected: SharePoint, Actual: Multidimensional)."
    This last error, as it turned out, defined the problem concisely, although I was yet to work out what it meant in some detail.

    I finally solved this myself (or should I say with the help of several key articles).
    The refresh did not work because the database was not in "SharePoint Mode". Yes, SQL Server has modes, 3 of them in fact.
    If you installed SharePoint to the default SQL instance which would be called <servername> then you cannot use this default instance for Excel 2013 workbooks in OWA 2013 because the refresh only works if the database is in SharePoint mode.
    So what are these 3 modes? The Deployment Mode property in the msmdsrv.ini file has them as:
    0 = Multidimensional mode (the default whenever you install SQL Server normally)
    1 = PowerPivot for SharePoint mode
    2 = Tabular mode mode
    How do you know what mode you are in? That's easy, open SQL Studio Manager and connect to all your SQL database engine instances (ignore Analysis Services or SSRS as they are not database engines). If you only have the default instance then that is almost
    definately in Multidimensional mode which is the default and what SharePoint installs its databases to.
    You must have an instance called <servername>\POWERPIVOT. This instance is the "sharepoint mode" needed, and the default instance name when you install an SQL instance in this mode.
    If you don't see <servername>\POWERPIVOT in SQL server then you are not in "sharepoint mode". It is more accurate to say, you do not have an instance that is in sharepoint mode. This is because you cannot simply switch modes on an SQL server.
    You have to install a new instance in the required mode, thats the only way.
    That's easy enough. Load up the SQL Server setup CD and run setup. Install a brand new instance and select "SQL Server PowerPivot for SharePoint" when you get there in the wizard.
    Now you will have the default instance that stores all the SharePoint databases and that is in mode 0, and a new instance called <servername>\POWERPIVOT that is in mode 1. The "<servername>\POWERPIVOT" instance connection is what you
    will use for Excel 2013 when rendering in OWA 2013.
    You also need to ensure OWA 2013 is not in WOPI mode for Excel worksheets. See the last link below for more information about WOPI.
    Next you should go to the Excel Service App in CA and click Data Model Settings and add the <servername>\POWERPIVOT instance.
    Then you have to either turn off the firewall on the SQL server machine, or create an inbound rule on the Windows firewall to open the TCP port for the <servername>\POWERPIVOT instance:
    1. Start Task Manager and then click Services to get the PID of the MSOLAP$InstanceName.
    2. Run netstat –ao –p TCP from the command line to view the TCP port information for that PID.
    Finally, you can now create Excel 2013 workbooks that run in OWA without refresh errors, as long as you are connecting to the <servername>\POWERPIVOT instance. Hooray.
    REFERENCES
    Look for the string "There are no servers available or actively being initialized" in this article:
    http://blogs.msdn.com/b/analysisservices/archive/2012/08/02/verifying-the-excel-services-configuration-for-powerpivot-in-sharepoint-2013.aspx
    Determine the server mode:
    http://msdn.microsoft.com/en-au/library/gg471594(v=sql.110).aspx
    Install the SharePoint PowerPivot instance (aka SharePoint mode)
    http://msdn.microsoft.com/en-au/library/eec38696-5e26-46fa-bc83-aa776f470ce8(v=sql.110)
    Open the port for the new SQL instance:
    http://msdn.microsoft.com/en-us/library/ms174937(v=sql.110).aspx
    Turn Off WOPI for Excel OWA
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/01/31/powerpivot-for-sharepoint-browser-refresh-fails-data-refresh-not-supported-in-office-web-apps.aspx

  • CF8 and MS SQL Server 2008

    Hi,
    I'm wondering if anyone else has run into this issue. We are porting an older CF app to CF8 and upgrading our db at the same time. Our old model is CF 6.1 using MS SQL Server 2005 and our new model is CF8 using MS SQL Server 2008.
    I'm having the following issue....
    We have an application form where people apply to jobs, they can either type their text in, or copy and paste (usually from MS Word). On the back end we use CF ToBase64 and then ToBinary functions to convert the data to store it in a Blob field in the db.
    No code changes have been done.
    If the user copies and pastes into the form field and it contains MS bullet points, in our old model they are stored correctly, under the new model they are not. When I look at that candidates data on the web page I see ? marks where the bullets should be. Querying the db field directly and doing the necessary conversions to get the data back into string format, I can see that the field actually contains question marks.
    I have tried using Adobe's recommended change of using the CharsetDecode and CharsetEncode functions - these do not make any difference.
    Has anyone else encountered this problem?

    You may test encode / decode the input data (only testing the ToBase64 function), or may be just display the input, without encode base 64, to check the encoding management. I guess it comes from the input page.

  • Demantra Data Load Issue

    I am new to Demantra. Have installed a stand alone Demantra system in our server. In order to load data, I created a new model, defined item and location levels, then clicked on 'Build Model'. The data is loaded into 3 custom tables created by me. After creating the model, I cannot login to 'Collaborator Workbench', it gives message 'There are system errors. Please contact your System Administrator'. Can anyone please tell me what I am doing wrong and how to resolve the issue.
    Thanks

    Ok, so if ASO value is wrong, then its a data load issue and no point messing around with the BSO app. You are loading two transactions to the exact same intersection. Make sure your data load is set to aggregate values and not overwrite.

  • MachII, Model-Glue, Fusebox..... Help me decide!

    Hi my name is Tim and I am a spaghetti coder :)
    Alright as my applications keep blossoming from quick little
    helper to full blown monsters code is becoming more and more
    complicated to follow to pinpoint errors and or do enhancements. I
    have decided instead of reinventing the wheel I want to utilize
    some canned frameworks to better my apps and my headaches. So I
    would like to get a general idea what the everyone else uses and
    feels is going to be around for some time. I am upgrading to CF8,
    using Eclipse and database wise I use MySQL, MS SQL and Oracle. I
    run Vista on my local machine and servers vary OS's if any of this
    matters. Application sizes will be from tiny to large enterprise.
    Thanks in advance.

    ill agree that fusebox would be a good place to start.
    as a reforming spaghetti coder, i started with fusebox and it
    was very easy to pick up (relatively speaking).
    i'm using Model-Glue now, and frankly, if it wasn't for
    understanding a framework like fusebox first, i think it would have
    been a lot harder. Model-Glue's tougher to jump into mainly (IMO)
    because of the integration of ColdSpring. I love ColdSpring (as
    much of it as i understand so far), so no knock on it. it's just
    something else to learn while learning Model-Glue, adding to the
    learning curve (and then of course you have the option of learning
    an ORM like Transfer or Reactor... oy) :)

  • I formated my i phone 3 g and when it loaded back up and asked me to choose language local and wi fi connection everything went fine but when i hit next it said my i pod can not be activated  why  and how can i fix this i bought it for my daughter for x m

    i formated my i phone 3 g and when it loaded back up and asked me to choose language local and wi fi connection everything went fine but when i hit next it said my i pod can not be activated  why  and how can i fix this i bought it for my daughter for x mas and that is tomorrow

    AdaS_VZW,
    I'm not sure if the area has been surveyed; it's a large group of apartment buildings about a within a couple miles of Dulles International Airport in Northern Virginia, so I would imagine that it probably has, but I'm not sure. How would I find out?
    I understand that the Network Extender does not support LTE connections (I know there are two models, the 1x-only and 3g, both made by Samsung - I have the 3g model, SCS-2U01). I know that it can support a 3G data connection, but that should be irrelevant - I'm always connected to my wifi network in my apartment.
    What's particularly vexing, however, is that both a Galaxy S4 and Galaxy Nexus in my apartment (the other lines on my account) do not seem to have this issue. While I haven't done so with the S4, the Nexus exhibits this problem when my SIM is in it - and again, this is a fresh SIM from just a few weeks ago.
    I'm currently trying to disable Mobile Data when in the apartment to see if that will make it more stable. I'll post in a day or two with results from that.
    Shawn

  • Data Refresh Error: We cannot locate a server to load the workbook Data Model.

    Hello,
    Recently I have developed a PowerBI Report using Excel Workbook with external data source. It refreshes successfully for some days and then starts throwing error on every scheduled refresh as "We cannot locate a server to load the workbook Data
    Model." 
    The workaround solution is to restart the application server which has SQL Server Power Pivot Services Installed which will again work for some more days and again start throwing error.
    So, I am looking for permanent fix for it.
    Following are additional details about our SP Farm:
    No. of front end servers: 2, Application servers:2, DB servers 2 with windows fail over cluster.
    PowerPivot Server is installed and configured from App 2 server.
    Error Log from event viewer:
    Unable to load custom data source provider type: Microsoft.PerformancePoint.Scorecards.DataSourceProviders.AdomdDataSourceProvider, Microsoft.PerformancePoint.Scorecards.DataSourceProviders.Standard, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.AnalysisServices.AdomdClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
       at System.Type.GetType(String typeName, Boolean throwOnError)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.InitializeCustomDataSourceProviders()
    PerformancePoint Services error code 10107.
    Thanks,
    Ibrahim

    Hi ibrahim,
    Please try to do the following steps:
    1. Install "1033\x64\SQLSERVER2008_ASADOMD10.msi" from
    http://www.microsoft.com/en-us/download/details.aspx?id=26728
    2. In the Application Management section of the Central Administration home page, click Manage service applications.
    On the Manage Service Applications page, click the Excel Services service application that you want to configure.
    On the Manage Excel Services page, click Data Model.Click Add Server.
    In the Server Name box, type the name of the Analysis Services instance that you want to add.
    3. Check the thread below:
    https://social.technet.microsoft.com/Forums/en-US/ecc18319-88d8-4dd0-bafd-fa0d2edceffb/external-data-refresh-failed-we-cannot-locate-a-server-to-load-the-workbook-data-model?forum=sharepointadmin
    More information:
    https://timpanariuovidiu.wordpress.com/2013/02/14/71/
    https://support.microsoft.com/kb/2769345?wa=wsignin1.0
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • AR Open Conversion Load Issues

    Hi Friends,
    We are working on the AR Open Conversion load using LSMW and we are getting the error "Field BSEG-XREF1. does not exist in the screen SAPMF05A 0331" during batch input session (SM35).  Does anybody help me telling why we are getting this error?  Is there any configuration issues that is causing this error?
    Thanks.

    Also, does your document type AR allows zero amounts in the Amount field. I understand that, based upon document type and amount entered, the Reference1,2 & 3 fields are displayed.
    Thanks,
    Santosh

  • SAP Mobile Sales 2.0 delta load issue for Sales Orders

    Hello,
    we have used Mobile Sales 2.0 with a Windows app for a while now. Our current issue is that sales reps won't see any historical sales order data on their devices.
    Background
    Due customer requirements, we need to make small changes to customer master data attributes and reload all customers from ERP to CRM. Then we ran delta loads (MAS_PARTNER followed by all other objects) to DOE, in which virtually all 5000+ customer accounts were compared. The delta load ran for about 3 days (some performance bottleneck we haven't located yet).
    During the delta load, data on devices was inconsistent. Accounts were missing and all transaction data disappeared. After the delta loads, all accounts and contacts are OK, save for a few. Data from activities (appointments, tasks) have reappeared, as they should. Only sales orders won't reappear. The sales orders exist in the backend and belong to active accounts and sales reps.
    Settings and troubleshooting so far
    We don't have any limitations for sales orders in CRM Sales Mobile configuration.
    We've run delta loads for all objects in transaction SDOE_LOAD.
    MAS_CUSTOMIZATION etc seem fine.
    We've re-run initial load for sales orders from CRM.
    In the test system, we've even reinitialized the whole CDS database on DOE and on the devices, then re-ran the loads.
    Checked steps suggested in discussion
    SAP CRM 2.0 initial load issue
    Historical sales orders (those created before the master data reload) exist in the backend, but don't show up on the device.
    If I change one of those historical sales orders in the backend, it gets sent to the device.
    If I create a new sales order in the backend or on the device, it is saved and replicated just fine.
    To sum it up, it seems DOE is unable to identify the sales orders relevant for replication.

    First Doubt i got clarify by my self as we can go with Unwired Runtime option .
    But i still have doubt in :
    2. How can i Modifying the Main Menu for iOS.
    i am able to customize the same for windows using files SybaseCRM.Configuration.xml file.
    Same how can i do for iphone/ipad.

  • Report loading Issue

    Hello all,
    I am using Oracle 6i  for  report and oracle10g for the database.I have created a matrix report in oracle Report but which report taking so much time  to show the output it almost taking more than 10 minutes,at the same time that query executed within 1 minute in toad which used in matrix report.
    kindly guide me how to solve the loading issue.

    I did not used any formula column in my report,all the values are taking from query.
    But I used different types of format trigger in my report for the coloring purpose.Does it make any problem?

Maybe you are looking for