Search This Blog

Monday, October 17, 2011

Java.Security.AccessControlException ERROR IN RMI PROGRAMMING

These errors are related to the security policy of java
Java has it's own security manager that takes care of all unprivileged connection accesses.
To resolve these kinds of errors ,you need to create a new security policy 



Eg. For allowing connections to ip 127.0.0.1 at pot 1099 and 1024

grant{
permission java.net.SocketPermission "localhost:1099", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "accept, resolve";

permission java.net.SocketPermission "localhost:1099-", "accept, resolve";
};


Save the content in a file called policy.txt and now run your server as



java -Djava.security.policy=policy.txt Server


The policy file must be saved in same folder where you have saved Server.java

Monday, August 22, 2011

INSERT SYSTEM DATE AND TIME IN NOTEPAD FILE

Insert System date and time in notepad

To insert date and time in notepad

1)Go to place within notepad file wherever you want to insert system date and time

2)press F5

Saturday, April 9, 2011

ERROR IN CONNECTION while updating microsoft security essentials behind a proxy server

When u try to update the software, it tries to establish a connection to the specific website.But as you are behind the proxy the request didn't get the path to the web server and hence no connection is established.
SO before updating you must need to configure it to work through proxy rather than trying directly..


To do so :::


STEP 1: Open command prompt in administrator mode.
STEP 2: TYPE "netsh winhttp set proxy 123.212.121.121:3265"   and press enter


Replace 123.212.121.121:3265 with the address of your proxy server (same as you use in IE).


STEP 3: type exit and press enter.


You r done here now .JUST CLICK ON UPDATE now to get latest updates and enjoy the working....

Saturday, April 2, 2011

Increase your internet speed (IE BROWSING SPEED)

We can easily speed up browsing speed of  Internet Explorer by making slight changes in cache memory for it.

We just need to increase the size of the Temporary Internet files cache on Internet Explorer.


To increase your speed,just follow these steps:



  • Open INTERNET EXPLORER


  • Click on the Tools and go to Internet Options.Open it by left click.



  •  
    • Go to  'General tab' in  Internet Options dialogue box.

    • Open Browsing history section
    • Click on Settings tab to open Temporary Internet Files and History Settings dialog box.

    • Click on the Automatically button in Check for newer versions of stored pages: section
    • Set the amount of Disk space to use to at least 200MB
    • Click OK.


    NOTE:
    The increased cache may slow down your computer.

    Thursday, March 31, 2011

    Increase your net speed


    You can easily increase the speed of network connection with some slight changes in Group Policy.
    To do so, the steps you need to follow::::
    • Open your RUN dialog box (windows+r).
    • Type gpedit.msc and press Enter.
    • IN Computer Configration,click Administrator Template tab.


    • Double click Network.


    • Double click QOS Packet Scheduler.


    • Double click Limit Reversable bandwith.

    By default it shows as Not Configured but actually it's enabled.
    • Disable it by clicking at Radiobutton against Disable tab.

    • Now press OK.
    You are done here.
    So enjoy your network accessibility with increased speed (only slight increment ) .

    Monday, March 7, 2011

    REMOVE UBUNTU(LINUX) FROM DUAL BOOT WINDOWS 7/XP.

    If you directly format the drive containing ubuntu using windows disk management utility,your system will show error while boot-up and hangs up there as it cant find the path to boot configuration file.So what u need to do is to copy the configuration file at its specified position.So the steps u need to follow are...


    STEP 1: Use Disk Management utility in Windows(type diskmgmt.msc in run prompt to invoke the utility) to delete the Ubuntu partitions.





    STEP 2:Reboot your system using windows installation DVD or windows 7 boot-able pendrive
    and choose Repair .


    STEP 3: Choose command prompt on the resulting screen and run the following two commands:
    bootrec /fixmbr
    bootrec /fixboot
    For XP  , run the recovery console from Windows XP CD and then type fixmbr in  command prompt.

    Tuesday, February 15, 2011

    KILL NON RESPONDING PROCESSES WITH THE HELP OF NOTEPAD/BATCH FILE

    We can easily kill all non responding processes with the help of command prompt.
    To do so,the  command u need to execute is


    TASKKILL /F /FI "STATUS eq NOT RESPONDING"




    To do same with notepad.........


    1. Open NOTEPAD


    2.Copy the code written below(in red) and paste it in opened notepad document...

    TASKKILL /F /FI "STATUS eq NOT RESPONDING"


    3.Save the file as nonreponding.bat


    WHENEVER U NEED TO CLOSE NON RESPONDING PROCESSES ,JUST DOUBLE CLICK THIS FILE.

    Friday, January 21, 2011

    WINDOWS 7 RUN COMMAND:


    A list of run commands to increase your working speed…..


    RUN COMMANDs
    Window/service started
    hdwwiz.cpl
    Device manager
    appwiz.cpl
    Add/remove program wizard
    control admintools
    Administrative Tools
    azman.msc
    Authorization manager
    calc
    Calculator
    certmgr.msc
    Certificate manager for current user
    charmap
    Character map
    credwiz
    Stored User Names and Passwords
    control schedtasks
    Task scheduler
    compmgmt.msc     
    Component services
    control folders
    Folder properties wizard
    control             
    Control panel.
    cliconfg
    SQL Client Configuration.
    cleanmgr
    Diskclean up wizard.
    control desktop
    Display personalisation wizard.
    control fonts
    Font properties
    control keyboard
    keyboard properties wizard.
    control mouse  
    Mouse properties
    control color
    Window color and appearance.
    control netconnection
    Network adapter settings
    control printers      
    Devices and Printers wizard
    dcomcnfg
    Component services
    devmgmt.msc
    Device manager
    dfrgui   
    Disk fragmenter
    diskmgmt.msc
    Disk management wizard
    Diskpart
    Diskpartsevice.
    dxdiag
    Directx diagnostic tools
    desk.cpl
    display properties
    Downloads      
    downloads folder
    dpiscaling  
    dpi scaling tools(magnification wizard)
    Dvdplay
    Play dvd using windows player
    eventvwr.msc
    Event viewer
    Explorer
    Libraries folder
    Eudcedit
    private character editor
    fsmgmt.msc    
    Shared folder management
    firewall.cpl
    Windows firewall manager
    Fonts
    Font properties
    fxscover    
    Fax Cover Sheet Editor
    gpedit.msc
    Local group policy editor
    intl.cpl
    Regional settings.
    iexpress          
    iExpresswizrd(to create /open self-extraction directive file)
    inetcpl.cpl        
    internet properties
    iexplore           
    internet explorer
    ipconfig /all      
    Display Connection Configuration
    ipconfig /displaydns
    Display DNS Cache Contents
    ipconfig /flushdns
    Delete DNS Cache Contents
    ipconfig /release
    Release All Connections
    ipconfig /renew
    Renew All Connections
    ipconfig /registerdns     
    Refreshes DHCP & Re-Registers DNS
    ipconfig /showclassid
    Display DHCP Class ID
    ipconfig /setclassid
    Modify DHCP Class ID
    iscsicpl
    isci initiator
    joy.cpl
    game controller
    lusrmgr.msc          
    Local users and groups
    msconfig         
    System Configuration Utility
    msinfo32
    System information
    magnify     
    Magnifier
    mmsys.cpl
    Sound manager
    main.cpl    
    mouse properties
    msdt
    Microsoft support diagnostic tool
    Mspaint
    Paint
    Mblctr
    Windows mobility center
    Mspaint
    Paint
    Msra
    windows remote assistance.
    Mstsc
    windows remote desktop connection
    ncpa.cpl                
    Network adapter settings
    Notepad
    Notepad
    odbcad32
    ODBC databse administrator
    osk
    Onscreen keyboard
    optionalfeatures     
    Windows feature wizard(turn optional features on/off)
    perfmon.msc   
    Performance monitor
    Perfmon
    Performance monitor
    powercfg.cpl          
    Power option
    PrintBrmUix
    Printer Migration
    rsop.msc
    Resultant set of policy wizard 
    regedit
    Registry editor.
    rekeywiz
    Encryption file system wizard.
    soundrecorder
    Sound recorder
    sndvol
    Sound volume mixer
    stikyNot
    Stiky Note
    sysedit
    System Configuration Editor
    snippingtool
    Snipping tool
    sysdm.cpl
    System properties
    services.msc
    Services wizard
    syskey            
    Windows System Security Tool
    secpol.msc
    Local security policy wizard
    sigverif
    File signature verification tool
    timedate.cpl     
    Time and date updation wizard
    tabcal              
    Digitizer calibration tool
    telephon.cpl     
    Phone and Modem Options
    TpmInit      
    Trusted Platform Module
    taskmgr     
    Task manager
    Utilman
    Ease of access center
    verifier
    Driver verifier manager.
    wmimgmt.msc 
    Windows Management Infrastructure
    wscui.cpl
    Action center
    write                
    word pad