Sunday, May 10, 2009

logon profile not working

If you experience these windows vista errors:

Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
Windows cannot load the user's profile but has logged you on with the default profile for the system.
Windows cannot load the locally stored profile. Possible causes of this error include insufficient security rights or a corrupt local profile.
The winlogon notification subscriber failed a notification event.
The winlogon notification subscriber failed a critical notification event.
The content source cannot be accessed.
The winlogon notification subscriber failed a notification event.

Solution to fix your user profile
http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

Regards

Tuesday, May 5, 2009

Java Development

If you ever have to do some java development, how do you get started?
Development
IDE: http://www.netbeans.org/
hosting java web applications is done via glassfish (https://glassfish.dev.java.net/ ) on the dev machine this should be automatically be installed with netbeans IDE.

Test and Production
Install Sun GlassFish Enterprise Server (formerly Sun Java System Application Server) http://www.sun.com/software/products/appsrvr
Download http://java.sun.com/javaee/downloads/index.jsp?userOsIndex=6&userOsId=windows&userOsName=Windows
Installation bug when trying to run glassfish as a service. http://wiki.glassfish.java.net/Wiki.jsp?page=FaqRunAsWindowsService

Deploying web application to Test and Production
Right click on solution and select Clean and Build

Navigate to your solution\dist directory a filename.war will be created this is the equivalent to an msi file. Login to glassfish admin

Navigate to web applications and select deploy

Browse to .war file and select OK