System load application (stress measurement)

Hi,
I am about to create a Benchmark application. The main purpose of the application is to compare performance between Linux and Windows NT. Two PCs equipped with Gigabit Ethernet cards are to be connected point-to-point.
(*PC, Sender*)---->UDP/TCP channel---->(*PC, Receiver)
One PC will load the other PC by sending either TCP or UDP packets. I have already written both receiver and sender applications, but I need to monitor the system load at the receiving end. My question is whether it is possible to perform the following actions with Java code.
* Measure the CPU usage on the receiving PC.
* Monitor the level of PCI bus traffic.
* I want to monitor the memory load. (more precise than freeMemory() and totalMemory() )
If any of these options are possible, where can I find more info/sample code ? I have heard something about JNI, but I don't really know what that is.

The comparison would be unfair (by your definition of unfair) in Java, too, since the JVMs for both platforms are different.
If you are dealing with time, though, 500 milliseconds is 500 milliseconds, no matter what language you write it on or what platform you run it on. If you use VC++ for the Windows stuff, make sure you disable Microsoft extensions so you have some ANSI standard code that will compile with gcc.
Since you are trying to compare operating systems, make sure both machines are using the same processors (and motherboards with the same PCI bus architecture), too. And have the same amount of memory, which is the same speed and architecture on both. Their hard drives should be roughly the same speed, too. The PCI bus usage could vary with network cards, so having the same network cards will be a plus. What it seems to come down to is that you are going to end up measuring the performance of the socket library implementations on both machines.
As far as JNI goes, all it is is a way to write native code and use it in your Java application. I don't know much about it, search around for some examples. There's a tutorial, somewhere, too. Some dude on here, tpritchet, seems to know a lot about it.
Jason

Similar Messages

  • URLClassPath performance vs system loader

    I did some simple benchmarks on Sun 1.4 VM for Windows, and I noticed that the performance for URLClassLoader when loading classes on a local file system is approximately 30% slower than loading the same classes using the default application loader that the VM provides (i.e. as if the class was on the system class path)
    I'm guessing this is because URLClassLoader is implemented (provided by the VM) entirely in Java and therefore has the overhead of the parser whereas the application class loader (also provided by the VM) is implemented natively. Or perhaps, this because URLClassLoader is limited by Java's file i/o performance. I haven't looked at the C src for JVM, so I'm not sure why.
    I've also implemented my own file system loader (subclassed ClassLoader) and did the file i/o myself (i.e. using ZipFile, etc).
    I was able to match URLClassLoader for performance, but could not get any faster. I don't think this is a surprise, since I'm probably unknowingly duplicating how URLClassLoader was implemented.
    Can anyone offer any suggestions/insight on how to get URLClassLoader as fast as application ClassLoader for classes on the local/network file system?
    A 30% slow down may not seem like a big deal, but it does become more noticable as the app becomes larger (more classes).

    Can anyone offer any suggestions/insight on how to get
    URLClassLoader as fast as application ClassLoader for
    classes on the local/network file system?
    You can speed up the io classes by writing your own, in some circumstances.
    A 30% slow down may not seem like a big deal, but it
    does become more noticable as the app becomes larger
    (more classes).
    You're right, it doesn't seem like a big deal to me. Exactly how often are you going to be loading classes? I wouldn't think the impact would be measurable unless you were loading a new class less than once a minute.

  • Application distribution Measurement studio

    We have now developed a software application using Measurement Studio and VC++ for "capturing" live communication data from line as step 1 of the application and "analysing data" separately as step 2. We can do the 2 steps without any problem on a data acquisition machine. However, when we run the same application on a desktop PC (not a digitizer or not connected to digitizer) we expect the application to RUN only step 2. The question here is then, in order to set application up on a desktop PC (not a digitizer or not connected to digitizer) what changes I should do (in terms of un-tying NI scope acquisition functions)?
    NI Software : Measurement Studio for Visual C++ version 7.0
    NI Hardware : High-Speed Digitizers (Scopes) device PXI-5122
    Driver Version : NI Scope 2.6
    OS : Windows XP

    THanks for response.
    >>> Aha, I didnt realize that you were using the C++ scope classes. The scope driver does not >>> get loaded until the very first call to the scope class. So you would not need to setup >>> delay loading nor would you use LoadLibrary or GetProcAddress.
    Our application was developed using MFC VC++ 2003 .NET edition. Sorry I missed the details.
    >>> You will get an exception when you use the CNiScope constructor and if the system does >>> not have the scope driver installed.
    Exactly, I do get an exception when I use the CNiScope constructor. However, what I do is create CNiScope 2 times. The first time a dummy construction is done with function like this...
    bool CMainFrame:copeExists(void)
    bool scopeExists = true;
    CString errorMsg = "NiScope device absent.\r\nNo Scope controls will be available";
    try
    // Instantiate a scope to test is it exists
    CNiScope ProbeScope ("PXI1Slot2", false, false, "");
    catch (CNiIviException* e)
    e->Delete();
    AfxMessageBox (errorMsg, MB_OK | MB_ICONEXCLAMATION);
    scopeExists = false;
    return scopeExists;
    I use the returned boolean to identify if scope driver is PRESENT or ABSENT in the system. Using this boolean result I then do the actual scope dialog bar and CNiScope construction (the second time is when the actual CNiScope is created and used).
    If boolean is FALSE
    no scope dialog bar controls is created
    only the analyses dialog bar controls are created
    else
    application starts up with scope and analyses dialog controls
    >>> Are you using the .NET class libraries? Or is this just MFC code?
    Just MFC code with Measurement Studio
    >>> For a list of components that need to be distributed, refer to the Measurement Studio Help topic Distributing Measurement Studio Visual C++ Applications.
    This was helpful to the extent that I got the active X controls loaded and distributed with application. But analyses part of application crashes when it tries to use the CNi such as CNiMatrices, CNiReal64Vector. I found this using the debugged in Microsoft's VC++ .NET 2003.
    >>> Are you checking for exceptions when you start the analysis routines?
    I do have a few exceptions being checked. However, can you tell the exceptions you have in mind that need to be included.
    >>> Is this crash happening on the development machine or the deployment machine?
    The crash is happening only on machines NOT having scope drivers. I tried on a 2 machines.
    One WITH Measurement Studio and WITHOUT scope controls - it crashes
    Second WITHOUT Measurement Studio and WITHOUT scope controls - it crashes
    Is there something I am missing??
    >>> Could you provide more information about the crash, perhaps a code snippet or a sample app ( with only the analysis section).
    Here is code snippet....
    m_digIntpolRowLength and m_digIntpolCoeffRows are unsigned int types.
    m_farrowFilterCoeff is CNiReal64Matrix type. This is the first moment in application when a CNi is used. When the matrix elements are loaded with values, it crashes at the line
    m_farrowFilterCoeff(0,0)=0.00252;.....
    I know this may or may not give you whole lot of information. If we can go offline from discussion forum (becuase of proprietary information), I can provide more details about application etc. Thanks.
    void CDAQ_DigitalInterpolator::ResetLarge(void)
    m_digIntpolRowLength = c_digIntpolRowLengthLarge;
    m_digIntpolCoeffRows = c_digIntpolCoeffRowsLarge;
    m_farrowFilterCoeff.SetSize(m_digIntpolCoeffRows, m_digIntpolRowLength);
    m_delayLineBuffer.SetSize(c_delayLineBufferSize);
    m_delayLineSize = m_digIntpolRowLength;
    m_delayLinePtr = &m_delayLineBuffer[c_delayLineBufferSize - m_delayLineSize];
    /////Row 0//////
    m_farrowFilterCoeff(0,0)=0.00252;
    m_farrowFilterCoeff(0,1)=-0.0087823;
    m_farrowFilterCoeff(0,2)=0.0218283;
    m_farrowFilterCoeff(0,3)=-0.046127;
    m_farrowFilterCoeff(0,4)=0.0909993;
    m_farrowFilterCoeff(0,5)=-0.1884611;
    m_farrowFilterCoeff(0,6)=0.6283543;

  • Host: Unable to load application configuration + wrong install version on download

    i am using 64 bit windows 7 ... when unable to playing video, it redirects me to the adobe download pages to get flash player ... the page says i am about to download flashplayer for win7 64 bit, of 9MB approximately, but the file i get has name "install_flashplayer11x32_mssd_aih.exe" (NOTE THE NUMBER 32) and this file just wont install it ends with error message: HOST: Unable to load application configuration ...
    By google i found also file install_flashplayer11x64_mssd_aih.exe (NOTE THE NUMBER 64) ... this file runs the install, i get the final screen saying "installation completed" but after clicking the "finish" button i get an error message saying "an error occured while sending a command to the program" ...
    I am just getting mad ... its 3 days i am trying to figure aout this problem ...
    i also tryed files as "install_flash_player_11_plugin.exe" , "install_flash_player_11_plugin.msi" , "install_flash_player_11_active_x.exe" and "install_flash_player_11_active_x.msi" ... those files actually proceeds with the install, but at the end, the videos are still not displaying ...
    When i am checking the plugins statuses in my firefox addons manager, it says Shockwave Flash is all right ...
    The precedent version of flash player was working just fine, i do not understand why you must make such a mess every 2 months ...
    How do i get work this?

    yes, the pages is http://get.adobe.com/flashplayer/
    the page says:
    Adobe Flash Player 11.3.300.257 (9.36 MB)
    Your system: Windows 64-bit , English, Firefox
    but when i click the "Download now" button i get the file named "install_flashplayer11x32_mssd_aih.exe" (NOTE THE NUMBER 32) which wont start and after few seconds i get the message "HOST: Unable to load application configuration"
    but finaly i solved the problem ... i just installed the file found by google on some private page "install_flashplayer11x64_mssd_aih.exe" (NOTE THE NUMBER 64)
    (the page is here: http://www.ziddu.com/download/16693235/install_flashplayer11x64_mssd_aih.exe.html)
    and after that i disabled the protected mode of flashplayer by adding a line in the cfg file
    the howto is here: http://forums.adobe.com/thread/1018071
    i must say its quite shameful one must get this torture to have movies playing on websites ... this cant happen at open source stuf, at least not for 3 days ...
    and being already here and complaining, i must say also (i hope some adobe emploee will read this) i am quite disgusted (and i believe not only me) by adobes bad habit to provide other software than flashplayer, when they include mcafee antivir into the install ...
    it is literally taking the user as a stupid one ...
    if i will need an antivir, i will look for it ...
    i just hate when some society tries to infiltrete in my comp some crap software counting on possibility that at the download i will not pay enough attention
    its just ridiculous and shameful behavior

  • MVC model in Web systems and applications

    MVC model in Web systems and applications
    Object-oriented design model is experience, MVC idea is a user interface for the original. This article discusses how the major application areas in the new Web design patterns and the use of MVC framework. The article first introduced the concept of design patterns and characteristics, and MVC architecture design concepts and analysis of the MVC framework contains several key models. Based on the characteristics of Web applications on how to use patterns and MVC framework made some design ideas.??
    1. Introduction
    1.1 design model
    Object-oriented technology and the emergence of software applications has greatly enhanced the trusted and software quality. Object-oriented programming than previous models to various programming simple and efficient, but the object-oriented design methodology than the previous design methods to complex and much more skill, a good design should be both on the issue of gender, but also to take full account of the problems and needs sufficient interoperability. In the past 10 years, people in the object-oriented technology and the practical application of research to explore certain issues in relation to the creation of a number of good solutions, the so-called object-oriented design patterns. Object-oriented technology is one of the purposes of enhancing the software trusted, and to design model, design programmes in important positions from a deeper sense of meaning and essence embodies trusted. There are many people in the design model definition, which cited Christopher Alexander is the largest design model definition : Each design model is a tripartite rule, which expresses a contextual environment (Context), a problem and a solution. Design models generally following basic elements : model name, the purpose solution effect 1995-1998 code and related design models. There are several classifications design patterns can be divided into a model based on the purpose (Creational), structural type (Structural) and the type of behaviour (Behavioral) three. It is mainly used in the creation of a model-based object model-based structure to deal primarily with the category or combination of objects, used to describe behavior-based model is the main target for the category or how stress and how to allocate responsibilities. Design patterns can be divided into categories based on the scope and target mode model type model dealing with the relationship between the categories and sub-categories, these relations through the establishment of succession in Translation moment to be finalized, are static. Model is targeted at addressing the relationship between the moment of change these relations in the operation, more dynamic. Model features : through the experience acquired in a structured format to write down, avoid encountering the same problems on the first design, exist in different abstract level, in continuous improvement, can be trusted artificial product for the design and best practice in the world to be combined to address larger issues.
    1.2 MVC framework
    MVC was first used in a user interface Smalltalk-80 China. M representative models Model, representatives maps View V, C representatives controller Controller. MVC trusted code with the aim of increasing the rate of data reduction expressed, the data describing the operation and application coupled degrees. Also makes software Keweihuxing, restorative, expansionary, flexibility and packaging of greatly enhanced. Single-user applications are usually incident-driven user interface to the organizational structure. Staff development tool with an interface painting of a user interface interface code based on user input and then prepare to implement the corresponding moves, many interactive development environment encouraged to do so, because it emphasizes first and then a functional interface. Some software design model is the strategy that will be fixed before the code into the regular system of the final. Result is that the procedures and organizations around the user interface elements in the user interface elements of those moves, data storage, applications and functions of the code is used to indicate the way intertwined. In single-user system code structure can be so, because the system will not demand frequent changes. But for a large system such as large Web systems, or e-commerce systems to be applied. Model by incorporating data from a variety of access and control data can be separated to improve distributed system design. MVC design pattern is composed of three parts. Model is the application object, no user interface. Type in the screen showing that it represents the flow of data users. Controller user interface definition response to user input, the users responsible for the action against the Model into operation. Model View data updated to reflect the adoption of data changes.
    2. MVC design pattern,
    An MVC framework for the design of the system includes many models, but with MVC is most closely related to the following three models : Observer, Cambridge and Strategy.
    2.1 Observer models
    MVC through the use of purchase / notification form and the separation of the Model View. View to ensure that their content accurately reflected Model and state. Once Model content changes, there must be a mechanism to allow notification to the relevant Model View, View can be made relevant at the appropriate time updating of data. This design is also more general problems can be solved, the target separation, making a change to the target audience affect others, which targets those who do not know the details of the object being affected. This is described as Observer in the design model. Model type : Observer model is the object-oriented model, it is behaviour-based model. Model purposes : definition of hierarchical dependence relations between objects, or when a target value of the state change, all its dependent relationship with the object are notified and automatically updated. There are a variety of data may show a way, in different ways and may also show. When a way through a changed data, then the other should be able to show immediately that the data change and do accordingly.
    Effect :
    1. Abstract coupling. I only know that it has a target audience of some observers, the observers met each abstract Observer category simple interface, does not know their specific affiliation categories. This makes the coupling between goals and observers smallest and abstract.
    2. Support radio communications. Needless to notify designated observers goals, how to deal with the observer informed decisions.
    3. Possible accidents updated. We update logic, avoiding mistakes updated.
    2.2 Faculty model
    MVC is an important feature of View can nest. Nest can be used for any type of combination of local maps available, but also management of type nest. This thinking reflects the type and mix of components will be equal treatment design. This object-oriented design ideas in the area of Cambridge has been described as a design model. Model types : Cambridge model is the object-oriented model, it is also the structure type model. Model purpose : to target portfolio into tree structures to express "part-whole" level structure. Prepared for the use and combination of individual target audiences with the use of consistency.
    Effect :
    1. Definition of a target portfolio includes simple objects and the structure of the category level. Simple objects may be complex combinations of objects, and can be targeted portfolio mix. This customer-code used in the target areas can use simple combinations target.
    2. Simplify customer-code. Needless to know their customers - a mix of target audiences is a simple target or can use these items in a consistent manner.
    3. Easier to add new types of components. New components can easily be changed to a combination of customer-targeted codes.
    2.3 Strategy model
    Another important characteristic is the MVC can not change the View of changes View response to user input. This often requires a change in response to the logic of the system is very important. MVC to respond to the logic involved in the Controller. Controller of a category level structure could easily change to the original Controller appropriate, a new Controller. View Controller son used to achieve a specific example of such a response strategy. To achieve different response strategy, as long as examples of the use of different types of replacement will Controller. Also in the running time by changing the View Controller for users to change View of response strategies. This View-Controller relationship was described as an example of Strategy design pattern. Model types : Strategy model is the object-oriented model, it is behaviour-based model. Model purposes : definition of a series of algorithms, and their packaging, and ensure that they can replace each other, making algorithms can independently use its customer-change.
    Effect :
    1. Strategy category levels for Context definition of the relevant algorithms can be trusted or behaviour.
    2. Alternative methods of succession. If the direct successor Context, with different acts will be added Context act, the realization of which would algorithm mixed up with Context, Context hard to preserve and expand, but can not dynamically changing algorithms. Will be enclosed in a separate Strategy category algorithms to enable algorithm independent Context change easily cut over expansion.
    3. Can provide the same acts different date.
    4. Strategy-must understand what customers between different.
    5. Context and Strategy communications between costs.
    6. An increase in the number of targets.
    3. MVC in Web application system
    Now some of the distributed systems such as Web-based B2B e-commerce system, suitable for use MVC framework. Through analysis from the perspective of high-level applications can be a target divided into three categories. Category is shown for the target audience consists of a group of commercial rules and data, there is a category that is receiving requests to control commercial target to complete the request. These applications often need to change is shown, such as web style, color, but also need to demonstrate the contents of the display. And the business rules and data to be relatively stable. Therefore, said that the frequent need to change the View objects that the business rules and data model to be relatively stable target, and that the control of the Controller is the most stable. When the system is usually issued after the View objects by artists, designers or HTML/JSP system managers to manage. Controller target applications development personnel from the development and implementation of rules for commercial and business development personnel from the target data, database managers and experts in the field of common completed. Show in Web?? or customers - control logic can be Servlet or JSP, dynamically generated Html. Generally used Servlet better than using JSP. JSP will be better with the Html code of separate codes for page designers and developers of separation efficiency. Servlet and JSP can complete all complete functions, actually JSP eventually converted into a Servlet. And control of the target system exists in every level, the coordination of cross-layer moves. Contain business rules and data objects exist in the EJB layer (EJB-centred model) or Web?? (Web-centred model).
    3.1 View in the Web application system
    View of the system shows that it fully exist in Web??. General by JSP, Java Bean and Custom Tag. JSP can generate dynamic web content using Java Custom Tag easier Bean, but it can show the logic of packaging, and more conducive to modular trusted. Some well-designed in a number of JSP Custom Tag can even be used in different system duplication. Model for control of JSP and Java Bean objects. JSP through Java Bean objects to retrieve the data model, the Model and Controller object is responsible for updating the data on Java Bean. In general, can we devise all possible screen that users can see all the elements of the system. Based on these elements, to identify the public part of passive components and dynamics. Can consider the use of templates means to separate the content generated JSP public, also need to change their generation Html or JSP from a JSP templates to dynamically introduce these different parts (include methods). Another issue to consider is screen option, when dealing with End users request template automatically available to show that the concern that users must know what is the screen components. So can consider all screens on the definition of a centralized document, such as a document or text document java. Taking into account the possibility of changes in future document definition screens, the best use of text documents such as a XML document, so future changes to the recompilation. According to the URL and user input parameters to shine upon the results of a screen, of course, likely to be made on the basis of the outcome of the implementation of actions to choose different results screen. Therefore, the need for a request for matching resources with document (XML), if a URL request several different results, it must specify in the document need to control the flow (a controller object), as well as the corresponding screen different flows.
    3.2 Model in the Web application system
    Model objects represent business rules and business data exist in EJB layer and Web??. In J2EE norms, the system needs some data stored in the database, such as user account information (account model), the company's data (company model), some not recorded in the database. If a user browsing the current catalogue (catalog model), the contents of his shopping (shopping cart model). Which one of these models exist in the data according to their life cycle and scope to decide. In Web?? a HttpSession and ServletContext and Java Bean objects to store data in the EJB layer is a data storage and logic EJB to. Web?? the Java Bean objects stored in the model layer model of the EJB object data copy. Because there are many different EJB tier model targets, so Web?? through a ModelManager to control the EJB layer object model in ModelManger background model can be used for packaging methods. In the EJB layer and the rules have all the data into EJB model is inappropriate. If the database can visit the Dao object model into objects. Dao can be encapsulated and the specific details of the database in the world, if we can write a different table, a number of databases, or even multiple databases. If the orders can be a model for OrderDAO, it may have to deal with Order table, table and OrderItemLines OrderStatus table. Value can also consider the use of targets. Value can be a target of securing long-range targets, because every time the remote object attributes could be a long-range redeployment process will consume network resources. EJB objects in the distance can be used instead target. In the distance, one-time items to be targeted instead of the value of all attributes.
    3.3 Controller in Web application system
    Coordination with the Model View Controller object to the request of users into the system to identify incidents. In Web?? generally a MainServlet (or Main.jsp), and receiving all requests, it can use screen flow management devices (ScreenFlowManger) decided next screen. There is a general request processors RequestProcessor contains all requests are needed to be done to deal with logic, such as the request translated into system events (RequestToEvent). Acting processors usually also includes a request for ClientControlWebImpl, it is logical to deal with the EJB layer in Web?? Acting. In EJB layer, a layer for EJB tier Web ClientController provide the CD visit. Another StateMachine used to create and delete ejb handle Web?? sent to the incident. Controller Another important function is synchronous View and Model data. ModelManger contained in a ModelUpdateManger, it puts events into a Model System assembly that all the needs of synchronous Model, and then notify Listeners do synchronous operation.
    4. Concluding remarks
    In recent years, with the Internet technology development and the emergence of new business models, the Web is based on a large number of applications. On how to design these systems architecture, and gradually there has been some convergence of opinion, the most important point is that its structure should be rational in the open. Demand than ever faster development of technology and design concepts, systems for the future, the cost of upgrading the smallest, research software systems architecture still very useful and necessary.

    Bravo. And your point is?

  • Error while loading application

    Hi,
    I'm not sure this is the right forum, but I try anyway.
    I'm trying to use a 3rd party Java application Unico (just use it, I don't develop anything of that) that after working for weeks, suddenly refuses to load at startup, and returns an error like "Error while loading application" (no error code number no other hint about the problem).
    The tests that did not work: 1. I installed the Unico again, 2. I created a new login and installed Unico in that login, 3. I started in safe mode (pressing shift at startup) - I always had the same message and loading aborted.
    The only workaround I found is to use an external startup disk, that I fortunately had available to face cases like this: when starting the system up from that disk Unico WORKS, not only, but I can even use the same application in my internal disk that does not load otherwise.
    My first conclusion is that something wrong happened to my system on the startup disk that prevents loading a Java application. The user Library seems to make no difference.
    So my questions to the Java experts are:
    - what in the system could suddenly block the loading of a Java application ? where should I look in the system (I can use the terminal and know something about UNIX) to fix this ? could this be caused by a permission problem ? (it looks a lot alike, but repairing permissions in Disk Utility didn't help) if so where are the Java support files stored in the Library and System Library to check and compare between the good and the bad system ?
    - is there a better workaround to this problem, other than starting up from a different disk ?
    Some additional info:
    - the application Unico is freely provided by the Italian tax organization, so there is basically no support to use it...
    - Unico requires Java 1.3.1: my system is constantly updated/upgraded and it runs the most recent release that is 1.4.0 (I guess...) and anyway worked very well till a week ago.
    - since the last time the application had worked I installed two (non Apple) packages: the TomTom (GPS navigator) setup application, and new Epson printer drivers for my new printer.
    - in all cases I repaired permissions and I also verified the disk with the disk utility
    - Unico does not uses printers (it creates pdf files instead) and does not use USB, which in turn is used by both the Epson driver and the TomTom app.
    So I cannot connect the Unico malfunctioning to this new SW except for the fact that I cannot find any other answer...
    Thanks to anybody having any suggestion about
    Piero

    I made some research: it seems to me that most (if not all) the Java machine is in the /System/Library/Framework/JavaVM.framework folder: but I found no evident difference in the file permissions between the good and the bad system (see my previous posts).
    There are other locations where there are java related files: eg in Javaconfig.plist (in /System/Library/Java) that seems to name the locations for all components of the java machine. I checked some files in /usr/bin referenced in the .plist: again no difference.
    Something "could" be a clue; just before the crashing point the Unico (java) program causes a message in the Console:
    "[JavaAppLauncher Warning] Specifying a specific version for JVMVersion 1.3.1 is deprecated. Use the more general 1.3* instead."
    This would be a clue... except that this message appears also when the program loads without problem (in the "good" system where it works). So it is more a warning.
    Another clue is the message that appears in the console in the "good" system when the Unico loads correctly; and this seems really an error message (whateve it means):
    "Index 1 for 'pxm#' 2062 out of range (must be between 0 and 0)
    Attempted to read past end of 'pxm#'(2062) resource"
    The funny thing is that when this message appears, Unico loads with no probem, while in the "bad" system it doesn't even get to this point.
    So in my opinion both messages are irrilevant to identify the problem.
    Or not ?
    And again my main question is: what in the system could suddenly block the loading of a Java application ?
    Thanks for any hint
    Piero

  • Could not load application module 'oracle.apps.pos.supplier.server.SuppSumm

    hi
    when i create supplier in AP Super user,the supplier entry page got error:
    Could not load application module 'oracle.apps.pos.supplier.server.SuppSummAM',is there anyboay could help me? thanks a lot!
    metalink's solution is:
    -- To implement the solution, please execute the following steps::
    1. Using System Administrator Responsibility.
    2. Navigate to Profiles > System.
    3. Query for the Responsibility used and for Profile: MO: Operating Unit.
    4. Kindly check the value attached to the security profile: MO: Operating Unit.
    5. If security profile is not set, attach a value to it.
    6. Delete the Browser and Apache Cache. Restart the Apache.
    7. Re-test the issue again.
    but it didn't work!

    Did you ever figure this out? I'm encountering the same issue.
    Thanks.

  • System.load fails in Vista

    Hi All!
    I am using JNI to call a DLL for my Java Application. It works fine in windows-XP, but doesn't work in Vista.
    I am using following code:
    System.load(absolute_path_to_DLL);
    I was astonished to see that it works fine from eclipse workspace(on Vista) when i debug the code, but does not work from installed location.
    I have set classpath to all the needed jars and dlls and set PATH variable also and use following code in batch file to execute the main class:
    JAVAW com.pack1.pack2.mainClass
    Please help me to sort out the problem. Thanks.
    Regards,
    Zia

    "Does not work" tells us nothing.
    Either it threw an exception on the load or it didn't. If it did then then print the stack trace and post.
    If it didn't throw an exception then there is another problem.
    Presumably you are using java 1.6.

  • Jni library loaded by System.load fails on later call to System.loadLibrary

    I'm attempting to use jnotify to listen for directory modifications. This requires using jni to dynamically link to a c library. I have gotten everything to work successfully if I put the library on the java.library.path. However, I would prefer to let my application specify the full path to the jnotify library. My understanding is that I should be able to do a System.load("/foo/libjnotify.so") in a static block and then subsequent calls to System.loadLibrary("jnotify") should do nothing as the library is already loaded. However I am getting a 'Exception in thread "main" java.lang.UnsatisfiedLinkError: no jnotify in java.library.path'. Am I misunderstanding the correct usage of these System calls?

    Joe wrote:
    That makes sense.
    The System.loadLibrary portion is in a 3rd party library which I am legally not allowed to change.
    Are there any other possible ways to accomplish the loading without the library being on the java.library.path?
    You have two problems - not one.
    The library itself is calling loadLibrary(). The standard idiom is that one does that in a static block. If a static block throws an exception, any exception, then the class will not load.
    Presumably the library is not checking for a duplicate library load. So your problem is that that loadLibrary() call must not throw an exception.
    Thus you cannot preload the library.
    Far as I can see you have the following options.
    - Put it on the path.
    - Create a jave exec handler (via Runtime.exec or jni), put the library on that path before you start another VM which does the real work.
    - Modify the java API loadLibrary() call so it catches the dup exception, that of course requires a boot option.

  • System load monitoring

    Hi, please advise.
    I have two business processes, one old process and another new - optimized process. Question is how to measure the system load (total) for realization of the first - old process and new process to measure difference of how the processes load the system.
    I need to measure the system load only for realization of the processes (each process consists of several transactions).
    I want to measure the load for realisation of the first process and know how it loads the system and then make the same measurement for the second process - so two separate measures are needed.
    I work in SAP R/3 Enterprise.
    Thank you for any advice.
    Lubos

    Hi,
    i have tried tx SAT - but it is not available for me, so i make measurements thorugh se30. There is no problem with transactions like FB60, FF67 etc. but when I try to measure the F110 transaction system shows an error during the measurement. Message number: S7068, diagnosis: see note 170470.
    Do you know what problem could it be.
    I´m a newbee in this.
    Thank you for any replies.

  • ST03 No System Load data available

    Hi Experts,
           When am trying to execute ST03, it displaying the alert message like: No System Load Data available, can u plz, tell me why it's happening.
    Regards
    Mark

    hi mark,
    make sure all the default background jobs are running properly, make sure the following profile parameters are set
    stat/as_collect   = 2
    stat/as_level  =   1
    the following specify the maxiimum  number of simultaneously existing dialog step or application statistics before the oldest data is deleted.
    stat/as_max_files
    stat/max_files
    you must also activate the individual components of the application statistics by calling st03n and choosing
    collector & perf. database -> statistics records & file -> application statistics

  • Music interrupts (system load)

    I'm playing my music with the BMP. When the system load gets higher (even for a short time) the music falters and interrupts. This happens even when I open nautilus (or other applications) or when I e.g. copy some data. I'm running gnome 2.8.
    Is there a possibility to set process priority or another way to solve such problems?

    I'm running kernel 2.6.7 (but I'm downloading a 2.6.8.1 version) and ALSA. PreEmpt is enabled. The system runs on AthlonXP2500 on nForce2 with the onboard sound device. Should I try nvidia's nForce driver?
    The problem occurs often when I'm using firefox (especially when I'm downloading stuff with firefox) and openoffice (but more rarely for exemple while running GIMP).
    Thank you for your answer...

  • Massive system load on socket connect

    Hi all,
    I have some strange problem connecting to a server. I am using the JDK1.4.1 and connect with a timeout of 1000ms, so I would expect Java to honor this, but on some connections the connect call itself takes up to 5 seconds. During this time the processor load goes very hight and the
    client is so busy that you cannot even press a button in some GUI.
    I have 4 clients which connect to the same socket in parallel but they are all in own threads.
    Another thing worth to mention is that I also try to connect to hosts,
    where no route exists to them (I need this because I want my system to also work properly when the customer has some errors in his network
    configuration and some servers may not be reachable).
    Any ideas??

    sorry for the missing information:
    the problems occur on Windows XP Pers., I havent seen any problems
    yet with linux (I'm using Debian) but I don't run the same
    configuration on linux (the client side is Windows, the servers all
    run on Debian).
    The load is definitely operating system load because it occurs when I watch some of the connect()'s block for about 5 seconds - my application does nothing but wait for the connect to come back.

  • Tried to load application bible. Says its installed but won't open

    Tried to load application bible. Says its installed but it won't open. Can anyone help?

    Well, to what location did you actually download it? Waht operating system? You need to eitehr mount the image or run teh installer *.exe.
    Mylenium

  • Loading Applications erratic connection error

    Hi,
    New to Blackberrys and trying to fix an 8120 for a friend who was constantly getting a "JVM error - reset".
    Have been trying to reload the device from Desktop manager - Update Software, but it always fails at the loading applications stage.
    Download device software                            Completed
    Load JVM and system software                   Completed
    Wait for device initialisation                          Completed
    Read application configuration                    Completed
    Loading applications ....
    It then fails with the message: "Application loader could not connect to your device. Please ensure that your device is connected securely to your computer and click Retry". When I retry, it restarts and fails in a different place!
    Some of the places it has failed:
    - while "Loading module "net_rim_platformapps_resource__en.cod"
    - while "Loading module "net_rim_cldc.cod"
    - while "Loading module "net_rim_services_impl.cod"
    - while "Loading module "net_rim_cldc.cod"
    - while "Loading module "net_rim_bb_options_app.cod
    "- while "Loading module "net_rim_bb_models.cod"
    -... and many, many others.
    Using:
    - Windows 7
    - Desktop manager 5.0.1.28
    - Device software 4.5.0.174
    As I said, I'm new to Blackberrys so any suggestions on what might be causing these errors will be most appreciated.
    Thanks,
    Nickobar

    Ignoring what is causing the errors for a moment, what would help is a way to get the application loader to restart from the point of error rather than going back to the beginning of the "Loading applications" step each time.
    I imagine this to be something of a big ask. Any other suggestions in a similar vein?
    Nick.

Maybe you are looking for