Checking system resources in java

Hi,
how can i check the following resources in java program:
1) available cpu
2) available bandwidth
3) available RAM memory
thanks

By using the API of your chosen operating system that was designed to find that information. This of course is a question about that operating system and not about Java Programming at all. So there is little point in asking it here.

Similar Messages

  • Access System Resources using Java Applet via Java Script

    Hello
    I can access my Applet public methods (and this methods access system resources) via Java Script if I do the following: System.setSecurityManager(null);However, I'm making this post because I don't like this solution.
    Supposedly, setting the SM to null is like making the Applet (which is signed and was accepted by the user via a prompt from the browser) behave like a normal Java program that has no restrictions. (http://java.sun.com/docs/books/tutorial/essential/environment/security.html, second paragraph)
    However, this feels like a workaround of something that is supposed to be there (the SM).
    Also, if I make the methods invocation from inside the applet (using swing buttons and textboxes for example) I can use the standard SM without no problems.
    From my readings, the problem regarding Java Script invocation, comes from the fact that the Java Script is not a secure (not signed) source (because you can invoke public methods the way you wish from it i guess) on the contrary to the applet methods invoked by the buttons.
    Possible solutions I found in the web range from using the public static Object doPrivileged(PrivilegedAction action) method or imaginative things like creating new threads on the public method that call the private methods that access the system resources (supposedly because the new thread runs under the safe environment of the applet)
    I almost got a glimpse of hope with this post http://forums.sun.com/thread.jspa?threadID=5325271&tstart=0
    However, none of these solutions worked, the only results were with the setResourceManager(null)So, any one can contribute with a solution for this? Should I keep trying to find a solution other then the one I already have?
    Regards
    Cad

    1. yes
    2. yes
    Note for 2. the converter will run the applet with SUN jre for sure if the user has IE.
    IE will use the ActiveX technology to run the applet (as with Macromedia Flash).
    For Netscape I am not sure, but I would think Netsape will use the plug in provided by
    SUN.
    Note for SUN jre 1.3. If this applet is to be used within a company that uses a proxy with
    ntlm authentication the 1.3 applet cannot connect (to the Internet) through this proxy since
    ntlm athentication is supported since j2re1.4.2_03. There is one version before that but
    that one will pop up a window asking for the user's domain account and password wich
    is both lame and crappy.
    As for the IE settings, IE has a default setting that askes users the "do you trust"
    queston for AciveX controls within the Internet securety zone (tools -> internet options
    -> security).
    Sincy anybody can make ActiveX controls (allso sign them) a user that has a problem
    to find the "no" button will sooner or later install a malicuous ActiveX control (spy ware
    or a virus).
    If this user's desktop is within your company's network it will cause serious harm.
    This is why most company's disable this by changing the default internet expolorer
    settings. Since I assume you are writhing this applet to be used by a company I allso
    assumed that company has someone to maintain the desktops. In that case I
    assume that person would want to control the security within the SUN jre instead of
    letting the user deside what to trust and what not.

  • Forms removing system resources

    I have a forms 4.5 application which seems to be eating the system resources on my users machine. After a period of time, there system resources are so low( jumps from 55% to 5%) that they can not print or open another app. When they close the Forms, there resources returns to normal. I believe this is happening on a form that has many canvases and tabs. Is there a way to figure out where on a form is causing this problem? Anybody have any ideas?

    Thing is I am scheduling jobs through third party tool,FLOW MANAGER,and i am using SAS,I have to extract data from SAP and load into oracle table,oracle 10g,OS:HPUX itanium
    when i run my job from SAS Application i,e SAS DI (ETL TOOL) it works fine and target table gets loaded witin 5 mins but when i schedule the same from third party tool it takes hours to execute
    I want to check system resources at oracle end like how much memory,cpu time ,elapsed time being used ,can you plezse help it out.
    How should i check the system resources.
    Thanks ,

  • How to check the system resources LV is using.

    I am currently using LV8.6 to monitor the input on a TCP connection, monitor input from a user and send any input over the connection, and operate on any received data.  These are three main functions occuring in parallell and each contained within their own while loop.  I am using multiple local variables and many nested case statements.  The problem I am running in to is that my VI is using almost 100% of my microprocessor.  I have almost completed my code and I will try to reorganize my setup to make it more efficient but my question is if there is a way to monitor the system resources that the VI is using while it is running.  Any help on monitoring the system or advice on how to reorganize from my general description would be greatly appreciated.

    This usually happens when you have a loop with no wait, because then it tries to run as fast as possible. Usually, TCP reads and event structures have some delay built in, so if I had to guess, I would guess it was the TCP writing loop. The easiest solution is to add a simple wait command to each loop, even of 0 or 1 ms.
    As for a more general answer, if you have the professional version of LabVIEW, you should have some profiling tools in the Tools menu. You can also do debugging by placing case structures around pieces of your code and disabling and enabling them while monitoring your CPU usage. When it drops, you can usually assume you've disabled the culprit and investigate further.
    Try to take over the world!

  • Insufficient System Resources when merging large files

    My client is running on Windows Server 2003, 64 bit. He has 30 gig of RAM and a large amount of file storage. The drives are NTFS.
    I have a program that produces a number of text files from different processes, and then merges them when done. After running the code for many days (we're working with a lot of data), the merge process is failing with "Insufficient System Resources Exist to complete the requested process".
    Insufficient system resources exist to complete the requested service
    java.io.IOException: Insufficient system resources exist to complete the requested service
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(Unknown Source)
    at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
    at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
    at sun.nio.cs.StreamEncoder.write(Unknown Source)
    at java.io.OutputStreamWriter.write(Unknown Source)
    at java.io.BufferedWriter.write(Unknown Source)
    at functionality.ScenarioThreadedLoanProcessor.processLoans(ScenarioThreadedLoanProcessor.java:723)
    at functionality.ScenarioThreadedLoanProcessor.construct(ScenarioThreadedLoanProcessor.java:227)
    at utility.SwingWorker$2.run(SwingWorker.java:131)
    at java.lang.Thread.run(Unknown Source)
    I've investigated this problem in other places, and most of the answers seem to not apply to my case.
    I've looked a this: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4938442
    But I am not using file channels (I don't think...), and I am copying data in chunks of <32MB.
    Here's the relevant code (I realize I don't need to be re-allocating the buffer, that's a legacy from an older version, but I don't think that's the cause.)
    There are usually four threads, 1-4 reports, and 1 scenario, so this loop shouldn't be executing thousands and thousands of times.
    for (int scenario = 0; scenario < scenarios.size(); scenario++)
                        for (int report = 0; report < reportPages.size(); report++)
                             for (LoanThread ln : loanThreads)
                                  BufferedReader br = new BufferedReader(new FileReader(new File(ln.reportPtr.get(
                                            (scenario * reportPages.size()) + report).getFileName())));
                                  br.readLine();//header, throw away
                                  BufferedWriter bw = new BufferedWriter(new FileWriter(formReport.get((scenario * reportPages.size()) + report)
                                            .getFileName(), true));//append
                                  char[] bu = new char[1024 * 1024 * 16];
                                  int charsRead = 0;
                                  while ((charsRead = br.read(bu)) != -1)
                                       bw.write(bu, 0, charsRead);
                                  bw.flush();
                                  bw.close();
                                  br.close();
                                  File f = new File(ln.reportPtr.get((scenario * reportPages.size()) + report).getFileName());
                                  f.delete();
    Any thoughts?Edited by: LizardSF on Jul 29, 2011 8:11 AM
    Edited by: sabre150 on 29-Jul-2011 09:02
    Added [ code] tags to make the code (more) readable

    1) You can allocate the buffer at the start of the outer loop to save the GC working overtime. You might even be able to move it out of the loops all together but I would need to see more code to be sure of that.+1. Exactly. This is the most important change you must do.
    The other change I would make is to reduce the buffer size. The disk only works in units of 4-16k at a time anyway. You will be surprised how much you can reduce it without affecting performance at all. I would cut it down to no more than a megabyte.
    You could also speed it up probably by a factor of at least two by using InputStreams and OutputStreams and a byte[] buffer, instead of Readers and Writers and char[], as you're only copying the file anyway. Also, those BufferedReaders and Writers are contributing nothing much, in fact nothing after the readLine(), as you are already using a huge buffer. Finally, you should also investigate FileChannel.transferTo() to get even more performance, and no heap memory usage whatsoever. Note that like your copy loop above, you have to check the result it returns and loop until the copy is complete. There are also upper limits on the transferCount that are imposed by the operating system and will cause exceptions, so again don't try to set it too big. A megabyte is again sufficient.

  • PR_Accept() failed, error -5974 (Insufficient system resources.)

    How can I go about determining exactly which resource was insufficient? Or has anyone encountered this and has an idea of typical reasons?
    With about 1000 connections this morning, I saw this in the log:
    PR_Accept() failed, error -5974 (Insufficient system resources.)
    Our setup:
    iPlanet Directory Server 5.1
    HPUX platform - 6 gigs ram, dual 100mb nics, plenty of disc space.

    Thanks Gary. I was going to set the ulimit and the hard and soft limits on the OS. I had done this before on a Solaris system, but with HP, I'm not sure where the equivalent of /etc/system is. I may have to check with our HP guys.
    BTW, here's the output of idsktune. I don't see any warnings for only 64 threads being available. We are going to try 5.2 Patch 4, but we cannot apply it in this environment yet -- still doing a POC. Thanks!
    $ ./idsktune
    Sun Java Enterprise System platform tuning analysis version 12-DEC-2003.
    Copyright 2002-2003 Sun Microsystems, Inc.
    NOTICE : System is hppa2.0/644-hp9000/800/rp3440 -hpux_B.11.11.
    NOTICE : The tcp_keepalive_interval is set to 7200000 milliseconds
    (120 minutes). This may cause temporary server congestion from lost
    client connections.
    NOTICE : The NDD tcp_smallest_anon_port is currently 49152. This allows a
    maximum of 16384 simultaneous connections.
    NOTICE : ndd settings can be placed in /etc/rc.config.d/nddconf
    WARNING: Only the superuser can check what patches are installed. You must
    run idsktune as root to ensure necessary patches are present.
    NOTICE : The following patches might not be installed:
    Patch PHCO_24402 "libc cumulative header file patch".
    Patch PHCO_26061 "s700_800 11.11 Kernel configuration commands patch".
    Patch PHCO_27632 "initialised TLS, Psets, Mutex performance", which supercedes PHCO_26466.
    Patch PHCO_27740 "libc cumulative patch".
    Patch PHCO_27958 "mountall cumulative patch", which supercedes PHCO_24777.
    Patch PHKL_24751 "preserve IPSW W-bit and GR31 lower bits".
    Patch PHKL_25233 "select(2) and poll(2) hang".
    Patch PHKL_25468 "eventport (/dev/poll) pseudo driver".
    Patch PHKL_25993 "thread nostop for NFS, rlimit max value fix".
    Patch PHKL_25994 "thread NOSTOP, Psets Enablement", which supercedes PHKL_24253.
    Patch PHKL_27094 "Psets Enablement Patch, slpq1 perf".
    Patch PHKL_27316 "priority inversion and thread hang", which supercedes PHKL_25367.
    Patch PHKL_27686 "MO 4k sector size; FIFO; EventPort, perf".
    Patch PHKL_28122 "signals, threads enhancement, Psets Enablement".
    Patch PHKL_28267 "Required for large heap on SDK 1.3 and 1.4 VM-JFS ddlock, mmap,thread perf, user limits".
    Patch PHNE_28089 "cumulative ARPA Transport patch".
    Patch PHSS_26560 "ld(1) and linker tools cumulative patch".
    Patch PHSS_26971 "Japanese TrueType fonts".
    Patch PHSS_26973 "Korean TrueType fonts".
    Patch PHSS_26975 "Chinese-Simple TrueType fonts".
    Patch PHSS_26977 "Traditional Chinese TrueType fonts".
    Patch PHSS_28370 "X/Motif runtime patch".
    Patch PHSS_28470 "X Font Server SEP2001 Periodic Patch. Common patch for Asian TrueType fonts.".
    NOTICE : Patches are available from http://us-support.external.hp.com/
    WARNING: largefiles option is not present on mount of /opt,
    files may be limited to 2GB in size.
    Any ideas?

  • Can't open vcf file. "The file may not exist ... Out of memory or system resources"

    Trying to open a vcf file (vCard) from a user.  After double-clicking file, get message:
    Cannot open file: C:\folder\filename.vcf. The file may not exist, you may not have permission to open it, or it may be open in another program. Right-click the folder that contains
    the file, and then click Properties to check your permissions for the folder. Out of memory or system resources. Close some windows or programs and try again.
    I have Outlook 2010 with SP2.
    Similar error, different problem.  Has workaround:
    http://community.office365.com/en-us/f/172/t/198029.aspx
    I turn OFF cached exchange mode.  I double-click the vcf file, it opens fine.
    I turn ON cached exchange mode.  I double-click the vcf file, I get the erorr message again.
    We have hosted Exchange, so we can't turn off cached exchange mode in Outlook.
    Is this a bug?  Anybody know of a fix?
    By the way, if I save one of my contact as a vcf file
    and double-click it, it opens fine.

    Hi,
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • An error has occurred while accessing SQL database or system resources. If this is the first time you have seen this message, please try again later. If this problem persists, please contact your administrator.

    I have SP Server 2010, and when I try to DELETE a rule within an existing Audience, "Property (Account Name) = domain/username", I get this error, "An error has occurred while accessing SQL database or system resources. If this
    is the first time you have seen this message, please try again later. If this
    problem persists, please contact your administrator."  When I try to "MODIFY" the rule I get this error, "One or more values typed on this page are not valid. Check the text for the indicated fields." 
    The last time I checked it was working, I'm not aware of any new updates installed recently?  I did a full Profile Synchronization as well, but still not working, please advise? -- Evenstarline

    Hi Sara,
    First of all thank you very much for your prompt responses. Here are my comments to each of your suggestions below, and just to let you know I am using a Farm Admin account.  I
    was able to do this way after we upgraded from SP 2007 to SP 2010 as well.   I would like to mention I'm not a SP expert, just been given the responsibility due to another person handling it just left, so apologize with some of
    my novice questions below?
    1. When I change the Operators to "Contains" or "Not Contains" get generates this error below.
         Error generating in red towards top of the audience page..."One or more values typed on this page are not valid.  Check the text for the indicated fields."
         Error occurred where you enter your "Value"..."Could not resolve the user identity. Please re-enter the account name."
    2. We have a 3-server-tier topology (SPWeb, SPDB, and SPFarm).  Does the updates only apply to where the Central Admin is installed, which is the "SPFarm"?  I checked all
    3 servers, and NONE of the updates (KB2899494, KB2889845, and KB2883055) you'd mentioned are installed.
    3. I'm new to IISRET, I need to be extra cautious of what I run in production, is this safe to run with no problem?  What does it do?  And How do I run it?
    4. I'm also new to viewing the ULS log.  I'd just downloaded a viewer for it.  I'm assuming the only logs I need to be concern with viewing are within the SPAdmin (where Central
    Admin is installed)?  There's so many of them, what should I be looking for exactly?
    Evenstarline 

  • Insufficient system resources exist to complete the requested service

    [I did intend to start this post with a screenshot of the above error when I initiate the transfer from Windows Explorer, but apparently 'Body text cannot contain images or links until we are able to verify your account.' so I will just have to do some typing,
    viz the error dialog says:
     'An unexpected error is keeping you from copying the file. If you continue to receive this error, you can use the error code to search for help with this problem.
    Error 0x800705AA: Insufficient system resources exist to complete the requested service.'
    I get this error pretty much 100% of the time from one particular PC when trying to copy a folder of 10 2GB files to a server with both mirror and parity storage spaces.
    I recently purchased a Thecus W5000 running Windows Storage Server 2012 R2 Essentials. Absent any guidance either way I decided to set up a storage pool across the three 3TB WD Red drives that I have installed in it and to allocate 1.5TB of that space to a
    mirror storage space and the remainder to a parity storage space. Having read some faily dire things about storage spaces, but wanting the resilience provided by those two types of storage space, I decided to run some benchmarking tests before finalising anything.
    To that end I only went as far through the Essentials setup as creating a handful of user accounts before setting up the storage spaces and sharing both of them, with all authenticated users permitted full control. My benchmarking consists of a Take Command
    batch file timing three large directory copies - one with 10 2GB files, one with 10240 10K files and another with a multi-level directory with a variety of files of differing sizes. The first two are completely artificial and the latter is a real world example
    but all are roughly 20GB total size.
    To test various aspects of this I copied the three structures to and then from a partition created on the internal disk (the W5000 has a 500GB SSHD) and to the two storage space partitions. I also created a version of the batch file for use internally which
    did something similar between the internal disk and the two storage space partitions, and another as a control that tested the same process between the two Windows PCs. The internal test ran to successful completion, as did the PC to PC copy and the external
    one from my Windows 8.1 64-bit system (i5 3570K, 16GB RAM, 1TB HD) but when I ran it from my Windows 7 Pro 64-bit gaming rig (i7 2600K, 8GB RAM, 1TB HD) I got a number of failures with this error from Take Command:
    TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [31] Insufficient system resources exist to complete the requested service.
    (where line 31 of that batch file is a copy command from local D: to the parity space on the Thecus).
    The error occurs only when copying large files (the 2GB ones already mentioned but some of those in the real world structure that are about 750MB in size) from the Win7 system to the Thecus and only when doing so to the storage space volumes - ie. copying to
    the internal disk works fine, copying from all volumes works fine, copying internally within the Thecus works fine, copying between the Win8 and Win7 machines works fine and initiating the copy as a pull from the server between the same two disks also works
    fine. One aspect of this that surprised me somewhat was just how quickly the copy fails when initiated from Windows Explorer - checking out the details section of the copy dialog I see roughly ten seconds of setting up and then within five seconds after the
    first file transfer is shown as starting the error dialog pops up (as per the image no longer at the top of this post).
    There are no entries in the event log on either machine related to this error and I've had the System Information window of the Sysinternals Process Explorer up and running on both machines whilst testing this, and it shows nothing surprising on either side.
    I've also run with an xperf base active and I can't see anything pertinent in the output from either system.
    Frankly, I am at a loss and have no idea what other troubleshooting steps I should try. The vast majority of the existing advice for this error message seems to relate to Windows 2003 and memory pools - which both the fact that this works from one PC but not
    the other and the SysInfo/xperf output seems to suggest is not the issue. The other thing I've seen mentioned is IRPStackSize, but again if that was the problem I would expect the failure to occur where ever I initiated the large file transfer from.

    Ff it works from the win 8 box, it must be in the win 7 box?
    I'm going to answer this one first because much of the rest of this is not going to be pertinent to the problem at hand. I've been over and over this aspect whilst trying to think this issue through and you are right, except that it only happens when copying
    files to the Thecus and only then when the target is a ReFS partition on a mirror or parity storage space. So the best I can come up with is that it is most likely an issue on the Win7 box that is triggered by something that is happening on the server side,
    but even that is a bit of a stretch. This is why the lack of information from the error message bugs me so much - in order to debug a problem like this you need to know what resource has been exhausted and in which part of the software stack.
    Now that may not be easy to do in a generic way, and since programmers are inherently lazy it is tempting just to return a simple error value and be done with it. However, I've been in the position of doing just that in a commercial product and ended up
    having to go back and improve the error information when that particular message/code was tripped and I was expected to debug the problem! Obviously there is a significant difference between a Microsoft consumer product and a mainframe product that costs many
    times as much and comes with a built in maintenance fee, but the underlying requirement is the same - somebody needs to be able to solve the problem using the information returned. In this case that simply isn't possible.
    You spend your time testing file copies, where I devote most of my time to backup and restore
    I don't really want to be testing file copies - the initial intention was to benchmark the different storage space and file system combinations that I was intending to use but the error whilst doing so has spiralled into a cycle of testing and tweaking that
    really isn't achieving anything. My primary reason for having a NAS at all has always been backup. My current strategy for the two boxes participating in this testing involves having a local drive/partition to hold backups, running a daily incremental file
    copy to that partition which is then immediately copied to a NAS and backing that up with a regular (needs to be at least once per month to be totally secure) full image copy of the local disks that is also copied to the NAS afterwards (hence my fascination
    with copying large files).
    There is a weakness in that strategy because I've never been very good at performing that full image backup regularly enough, so one of the reasons for buying the W5000 was the possibility of making those backups automatic and driven from the server end.
    However, that takes the local backup drives out of the equation and leaves me with the need to backup the NAS, which I don't do with my existing unit because there are (nearly) always copies held elsewhere.
    The other reasons for going with the Thecus were a desire to backup the other machines in the household - I've always dreaded a hard drive failure on my wife's laptop but getting her to perform any kind of housekeeping is nigh on impossible and also to provide
    a file server capability protected by a single set of userids (the existing NAS data is open to all household members). So my goal is backup and restore too ;)
    I meant a different nic on the beast (win 7)
    I should have realised that but obviously wasn't thinking straight. I don't have a spare gigabit NIC to hand (although perhaps even a megabit one might provide an interesting data point) although there is such a card in one of my other (less used) PCs that
    I could cannibalise for testing purposes. Another project for the coming weekend methinks.
    put some limits on it to keep the lawyers happy. 2gb ram, OS loaded on a drive, limit the # of Hard Drives
    That statement got me thinking, because I've never been able to find a definition anywhere of what the restrictions are with WSS 2012 R2 Essential - if I bring up the software license terms on the box itself they are for 2012 Standard!?- and wonder whether
    they'd stop me doing things like adding RAM or changing the processor.
    Even my buddies at wegotserved do not seem to have done any hands on reviews and they get "everything."
    The cynic in me wonders whether that is because Thecus know that they've just shovelled this onto a handful of existing boxes that barely meet the spec. and which simply aren't up to snuff as anything other than a box full of disks.  The Thecus boxes
    look like good value because they include the server OS (the unit cost me roughly 50% more than I could buy Windows Server 2012 R2 Essentials for) but if you can't realise that value then they are just an expensive NAS. 
    if perhaps the algorithms in the Seagate SSHD do not know ReFS?
    I haven't put a ReFS partition on the SSHD, only on the three 3TB WD Reds.
    I will ask my contacts at MS to take a look at this thread, but they stay so busy with v.next I don't know if they will spend many cycles on it
    Perhaps you could ask them if the next version of the OS could do a better job of identifying which resources have been exhausted, by what part of the stack and where in the maze of connectivity that makes up a modern computing environment?? {gd&r}
    Cheers, Steve

  • System time for Java Stack and ABAP Stack of PI

    HI,
         We have a scenario in which we have a synchronous flow of data. In the forward flow we have used field UZEIT in an RFC Lookup to register the inbound time and in the reverse flow we have used current time function of SAP PI mapping. PI time is the local time of the server, However UZEIT is 4 hours ahead compared to PI time.
    Both the Java and the Abap stack are installed on the same server.
    Kindly let us know the reason for the difference in time on both the stacks.
    Regards,
                Milan Thaker

    Hi,
       Yes I am refering to the System->Status time in ABAP Stack. Could you please tell me where can I check the System time of JAVA stack. I got one XML file in UME which refers to some timestamp in com.sap.security.core.usermanagement but I failed to locate this field. Please let me know where can I find the Java stack time and how can that be synchronized with ABAP.
             Also, is there any time zone settting in JAVA for UTC , the way we have in ABAP
    Regards,
                  Milan Thaker

  • Verity vspider.exe process never stops and sucks system resources

    I'm running a scheduled task to index a site on a Win2k3 server running CF8. I'm having a problem where the vspider.exe process never stops and sucks up system resources, slowing my whole server down. It actually is doing quite a bit of work... I'm directing the output into a log file, and I'm getting 300 K of information and it seems to be walking the site just fine. But it ends up not finishing the job and running forever. I have to open the task manager to terminate the process and then the server runs better.
    Any ideas?

    I have not found an answer to this problem, though it hasn't been a problem lately. I now send the output of the vspider.exe process to a log file and can check the status of the index job. I index nightly, so if the process is running at anytime, I can look at the results of the index job in my log file. This might give some clues. I have a feeling I had a corrupt index and vspider was choking. Try rebuilding your index from scratch.

  • BEA-141230 Could Not locate descriptor file for System Resource: DS name

    Guys,
    When I start the Admin and Managed server ..I get below warning message.
    *<Warning> <Management> <BEA-141230> <Could Not locate descriptor file for System Resource : datasource1.>*
    I know that weblogic server is unable to locatie datasource1.xml file at <SOA_HOME>/user_projects/domains/base_domain/config/jdbc
    Is there any way to to get rid off from this error? I tried to delete datasource from weblogic Admin console, but get below error:
    java.lang.NullPointerException
    All changes have been activated. No restarts are necessary.
    Errors were encountered while performing this delete operation.
    Thanks,
    Ab

    Are you starting servers with the root user? make sure that using whichever user you are starting server, it has full access on MW_Home and it's sub-directories. You may consider raising a support SR.
    Regards,
    Anuj

  • How can I check what version of Java Web Start is installed on the client ?

    hi,
    Can anyone tell me how can I check what version of java web start is installed on the client and display a message if the client has not the good version ?
    I mean:
    I'd like all people running my application use java 5 and if someone using java 1.4 try to run the application get a nice screen telling him to download the latest version of Java Web Start.
    Is this possible ?
    Thanks in advance.

    Of course, I put this on my jnlp file,
    <resources>
        <j2se version="1.5+"/>
        <jar href="..... "/>
    </resources> But even with that, it doesn't display a nice message but a kind of exception instead.
    Thanks in advance.

  • [823] [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]The operating system returned error 1450(Insufficient system resources exist to complete the requested service.) to SQL Server.

    Hi,
    I am facing an issue while loading fresh data into SQL server database.
    we are able to load data into staging area, but while processing stored procedures system face bellow error message :
    [823] [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]The operating system returned error 1450(Insufficient system resources exist to complete the requested service.) to SQL Server during a write at offset 0x00000243bd0000 in file 'E:\SQLDB\DBName.mdf'.
    Additional messages in the SQL Server error log and system event log may provide more detail. This is a severe system-level error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC
    CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.
    we use windows 2008 R2 with SQL server managment studio 2008.
    Appreciate your suggestion.
    Thanks in advance.
    Best Regards,
    Manorath 
    Manorath

    Hi Manorath,
    Based on my research, this issue can be occurred in the following scenarios:
    You are running a DBCC command on a large database. For example, you are running the DBCC CHECKDB statement on the database. At the same time, you run many DML statements on the database.
    You create a database snapshot for a large database. At the same time, you are running many DML statements on the database.
    In these scenarios, the SQL Server service stops responding. The DBCC CHECK statement is never completed, and you receive the error message repeatedly.
    This issue occurs because the sparse file for a database snapshot file has exceeded the file size limitation in NTFS file system. When the operating system error 1450 occurs, SQL Server enters an infinite retry loop.
    To fix this issue, please download and install Cumulative update package 1 for SQL Server 2008 Service Pack 1. Besides, because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous
    SQL Server 2008 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix.
    Reference:
    http://support.microsoft.com/kb/967164
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • When i open .exe error poops Insufficient system resources exist to complete the requested service

    when i try to open some exe it tells me: Insufficient system resources exist to complete the requested
    service
    but before it was working

    Hi,
    According to the error message, it could be a Service running that is consuming all the memory, you may check the memory.
    Diagnosing memory problems on your computer
    http://windows.microsoft.com/en-us/windows7/Diagnosing-memory-problems-on-your-computer
    Please aslo check the CPU and memory performance to determine which application use too much resource.
    http://windows.microsoft.com/en-in/windows7/view-cpu-utilization-and-other-performance-information
    It could be what a lot of posts online talk about a software hive corruption. If you have any unnecessary external device connected to the machine, you may unplug them. Also uninstall 3rd party antivirus software.
    Then, please try clean boot mode and check the result:
    How to perform a clean boot to troubleshoot a problem in Windows 8, Windows 7, or Windows Vista.
    http://support.microsoft.com/kb/929135
    Meanwhile, you can use this tool to scan your system and check if this is a virus-effected issue:
    http://www.microsoft.com/security/scanner/en-us/default.aspx
    If the issue did not occur before, please try to use the system restore, return to the point which did not appear the problem.
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

Maybe you are looking for