I have installed Geoportal 1.2 on Windows Server 2008, with Apache-Tomcat 6 as the web server and SQL Server 2005 as the database. The authentication method is Simple Authentication rather than LDAP because we only need one admin user, with all other users just having the ability to search and browse.
Everything appears to have been installed correctly and I can see the Geoportal front page when I navigate to http://localhost:8080/geoportal; however, when I try to log in as the administrator user (gptadmin), I don't get the ADMINISTRATION tab and the green 'Welcome' box doesn't say "Welcome, gptadmin".
I have installed both Geoportal 1.1.1 and Geoportal 1.2 successfully with PostgreSQL as the database on a Windows Server 2003 box.
One thing I did notice was that there is no separate GRANT sql script for SQL Server; as a result there appears to be a missing record in the GPT_USERS table.
i had the same problem. i could not be solved by deleting the log files + restarting the tomcat. The tip from eryan helped me, so i deleted the "ldapAdapter section" instead of commenting it out.