Reach2Ramesh
Reach to Ramesh for any technical issues
Monday, January 30, 2012
SimpleDateFormat not available with GWT
Fix - Add the following lines of code in your .gwt.xml
<!-- see http://code.google.com/p/gwtx/ -->
<inherits name="com.googlecode.gwtx.Java" />
b. Add the gwtx-1.5.3.jar to your WEB-INF/lib
Unable to start Google APP Engine java.lang.NoSuchMethodError: org.mortbay.thread.Timeout
This usual indicates problems with the classpath. Do you have multiple versions of Jetty in your classpath by any chance?
To identify duplicate classes in eclipse, hit Ctrl+Shift+T to bring the 'Open Type' dialog. Search for the class org.mortbay.thread.Timeout. Ideally it should only come in gwt-dev.jar, but I suspect in your case some other jar file would also have it.
Also open .classpath in your eclipse
GWT container comes before the APP ENGINE
<classpathentry kind="con"
path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
<classpathentry kind="con"
path="com.google.appengine.eclipse.core.GAE_CONTAINER"/>
I had the same issue and I swapped the order of the classpath
and my errors are
gone now.
Mirroring Subversion Repository
Create a new repository to be the mirror:
· svnadmin create MIRROR_CONTAINER
· Create a "pre-revprop-change" action by creating a hook script by the same name.
o Go to MIRROR_CONTAINER\hooks.
o create a file named pre-revprop-change.bat
o The contents will be as follows
Change the <<SVN USER>> to the user who will be performing the sync
IF "%3" == "<<SVN USER>>" (goto :label1) else (echo "Only the syncuser user may change revision properties" >&2 )
exit 1
goto :eof
:label1
exit 0
· Save this file
· Initialize a path within the repository to contain the mirrored data, and specify the source by
o If the path has spaces then enlose them with the double quotes
o For example my remote repository (MIRROR_CONTAINER) was in my shared folder so I use like the following
· svnsync init --username <<SVN USER>> file:///"<<MIRROR_CONTAINER>>" <<BASE SVN location>> svn://162.66.224.77:48000/UFG
· svnsync sync --username <<SVN USER>> file:///"<<MIRROR_CONTAINER>>"
Eclipe SVN integration after deleting a project
Once you delete a project in eclipse, the SVN sharing will automatically go OFF.
Without knowing this, I was trying to update the SVN plugin again and again.
The easy way is to right click on the Project à Share Project à Choose SVN and give your SVN location again.
Its as simple as that
Tuesday, July 26, 2011
Shared libraries with Tomcat 6
Now that we have removed the WEB-INF\LIB folders your WAR files will not have them . So when you deploy the code into Tomcat, Tomcat will complain while deploying that these libs are not found (ClassNoutFoundException).
In order to prevent this, you can create the shared libs in Tomcat also.
The most preferred way is to put all the jar files into the location commonly used within a Tomcat 6 installation for shared code is$CATALINA_HOME/lib. JAR files placed here are visible both to web applications and internal Tomcat code.
This is because Tomcat 6.0 does not have any directory where we can put third-party jars (like our “<$pserver>/server/lib/ext” directory).
But there is the other way if you do not want to share this with Tomcat.
<<Tomcat Home>>\conf\catalina.properties
Look for the property
shared.loader=
change this to
shared.loader=<<your library folder>>\*.jar
prior to this version of Tomcat, external/third party jar could be placed inside following locations:
1) ${catalina.base}/shared/lib/ – jar needs to be shared by all the deployed applications only(to share classes across all web applications)
2)${catalina.base}/common/lib/ – jar need to be shared by web server and applications.
Monday, November 29, 2010
Easy WINDOWS commands at your finger tips
CONTROL: opens the control panel window
CONTROL ADMINTOOLS: opens the administrative tools
CONTROL KEYBOARD: opens keyboard properties
CONTROL COLOUR: opens display properties.Appearance tab
CONTROL FOLDERS: opens folder options
CONTROL FONTS: opens font policy management
CONTROL INTERNATIONAL or INTL.CPL: opens Regional and Language option
CONTROL MOUSE or MAIN.CPL: opens mouse properties
CONTROL USERPASSWORDS: opens User Accounts editor
CONTROL USERPASSWORDS2 or NETPLWIZ: User account access restrictions
CONTROL PRINTERS: opens faxes and printers available
APPWIZ.CPL: opens Add or Remove programs utility tool
OPTIONALFEATURES: opens Add or Remove Windows component utility
DESK.CPL: opens display properties. Themes tab
HDWWIZ.CPL: opens add hardware wizard
IRPROPS.CPL: infrared utility tool
JOY.CP: opens game controllers settings
MMSYS.CPL: opens Sound and Audio device Properties. Volume tab
SYSDM.CPL: opens System properties
TELEPHON.CPL: Opens phone and Modem options
TIMEDATE.CPL: Date and Time properties
WSCUI.CPL: opens Windows Security Center
ACCESS.CPL: opens Accessibility Options
WUAUCPL.CPL: opens Automatic Updates
POWERCFG.CPL: opens Power Options Properties
AZMAN.MSC: opens authorisation management utility tool
CERTMGR.MSC: opens certificate management tool
COMPMGMT.MSC: opens the Computer management tool
COMEXP.MSC or DCOMCNFG: opens the Computer Services management tool
DEVMGMT.MSC: opens Device Manager
EVENTVWR or EVENTVWR.MSC: opens Event Viewer
FSMGMT.MSC: opens Shared Folders
NAPCLCFG.MSC: NAP Client configuration utility tool
SERVICES.MSC: opens Service manager
TASKSCHD.MSC or CONTROL SCHEDTASKS: opens Schedule Tasks manager
GPEDIT.MSC: opens Group Policy utility tool
LUSRMGR.MSC: opens Local Users and Groups
SECPOL.MSC: opens local security settings
CIADV.MSC: opens indexing service
NTMSMGR.MSC: removable storage manager
NTMSOPRQ.MSC: removable storage operator requests
WMIMGMT.MSC: opens (WMI) Window Management Instrumentation
PERFMON or PERFMON.MSC: opens the Performance monitor
MMC: opens empty Console
MDSCHED: opens memory diagnostics tools
DXDIAG: opens DirectX diagnostics tools
ODBCAD32: opens ODBC Data source Administrator
REGEDIT or REGEDT32: opens Registry Editor
DRWTSN32: opens Dr. Watson
VERIFIER: opens Driver Verifier Manager
CLICONFG: opens SQL Server Client Network Utility
UTILMAN: opens Utility Manager
COLORCPL: opens color management
CREDWIZ: back up and recovery tool for user passwords
MOBSYNC: opens Synchronization center
MSCONFIG: opens System Configuration Utility
SYSEDIT: opens System Configuration Editor (careful while using this command)
SYSKEY: Windows Account Database Security management (careful while using this command)
What You can do with SATRT--> RUN box
Control Panel
Windows utility and applications
Disk management
Connection management
Miscellaneous commands
JAVAWS: View the cover of JAVA software (if installed)
AC3FILTER.CPL: Opens the properties AC3 Filter (if installed)
FIREFOX: Mozilla launches Firefox (if installed)
NETPROJ: allow or not connecting to a network projector (For Vista only)
LOGOFF: closes the current session
SHUTDOWN: shut down Windows
SHUTDOWN-A: to interrupt Windows shutdown
%WINDIR% or %SYSTEMROOT%: opens the Windows installation
%PROGRAMFILES%: Opens the folder where you installed other programs (Program Files)
%USERPROFILE%: opens the profile of the user currently logged
%HOMEDRIVE%: opens the browser on the partition or the operating system is installed
%HOMEPATH%: opens the currently logged user C: \ Documents and Settings \ [username]
%TEMP%: opens the temporary folder
VSP1CLN: deletes the cache for installation of the service pack 1 for Vista
IPCONFIG: list the configuration of IP addresses on your PC (for more information type IPCONFIG/? in the CMD menu)
INETCPL.CPL: opens internet properties
FIREWALL.CPL: opens windows firewall
NETSETUP.CPL: opens network setup wizard
DISKMGMT.MSC: opens disk management utility
CLEANMGR: opens disk drive clean up utility
DFRG.MSC: opens disk defragmenter
CHKDSK: complete analysis of disk partition
DISKPART: disk partitioning tool
EPLORER: Opens windows Explorer
IEXPLORER: Opens Internet explorer
WAB: opens Contacts
CHARMAP: opens Character Map
WRITE: opens WordPad
NOTEPAD: opens Notepad
CALC: opens Calculator
CLIPBRD: opens Clipbook Viewer
WINCHAT: opens Microsoft Chat Interface
SOUNDRECORDER: opens sound recording tool
DVDPLAY: run CD or DVD
WMPLAYER: opens Windows Media Player
MOVIEMK: Opens untitled Windows Movie Maker
OSK: opens on-screen Keyboard
MAGNIFY: opens Magnifier
WINCAL: opens Calendar
DIALER: opens phone Dialer
EUDCEDIT: opens Private Character Editor
NDVOL: opens the mixer volume
RSTRUI : opens Tool System Restore (For Vista only)
%WINDIR%\SYSTEM32\RESTORE\rstrui.exe: opens Tool System Restore (for XP only).
MSINFO32: Opens the System Information
MRT : launches the utility removal of malware.
Taskmgr : Opens the Windows Task Manager
CMD: opens a command prompt
MIGWIZ: Opens the tool for transferring files and settings from Windows (Vista only)
Migwiz.exe: Opens the tool for transferring files and settings from Windows (for XP only)
SIDEBAR: Open the Windows (Vista only)
Sigverif : Opens the tool for verification of signatures of files
Winver : Opens the window for your Windows version
FSQUIRT: Bluetooth Transfer Wizard
IExpress opens the wizard for creating self-extracting archives. Tutorial HERE
MBLCTR: opens the mobility center (Windows Vista only)
MSRA : Opens the Windows Remote Assistance
Mstsc : opens the tool connection Remote Desktop
MSDT: opens the diagnostic tools and support Microsoft
WERCON: opens the reporting tool and solutions to problems (for Vista only)
WINDOWSANYTIMEUPGRADE: Enables the upgrade of Windows Vista
WINWORD : opens Word (if installed)
PRINTBRMUI : Opens migration wizard printer (Vista only)
Delete Browsing History without opening IE
Create a batch file which has the following command and run the batch file from your desktop.
To use these commands, just run them from the command line, the start menu search box in vista, or a batch file.
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
Delete All - "Also delete files and settings stored by add-ons"
Delete All
Passwords
Form Data
History
Cookies
Temporary Internet Files
For XP and Vista
Subscribe to:
Posts (Atom)