JSP RegEX fails with error Unexpected quantifier

JSP RegEX fails with error Unexpected quantifier This is a quick article to explain about JSP RegEX fails with error Unexpected quantifier Scenario: You have a JSP page that has been running for a long while.  All of sudden you notice its failing resulting in unexpected behavior. Upon troubleshooting you learn that the JSP page fails while create a New RegEx object. Error: When you enable Try & Catch exception in JSP you’ll get the error message “Unexpected quantifier”  as  given below: JSP Code to catch the exception: [code language=”javascript”] <html> <script type="text/javascript"> try{ var mywebsites = "*.TestSite.com|*.TestSite.com|*.TestSite.com| www.mp3.com | […]

Read more

Phishing Scam Messages on Skype, what you have to do.

I received today below scam message on my Skype.  A quick google search finds a handful of complaints about these scam messages.  Whenever, you end up similar scam, spam and phishing messages, ensure you block that contact and report it as abuse. SCAM MESSAGE: Dear, I have been in search of someone with this name “Gunnal” and it is my pleasure to seek for your business assistance, and I want you to consider it very important. This is an opportunity I would like us to utilize very well. I am Mr.Kojo Akufuado, an officer in charge of Auditing and Accounting […]

Read more

PowerShell Script for Active Directory Domain Services Deployment

Here is the Windows PowerShell script for Active Directory Domain Services Deployment on Windows Server 2012 R2. [code language=”powershell”] # # Windows PowerShell script for AD DS Deployment # Import-Module ADDSDeployment Install-ADDSForest ` -CreateDnsDelegation:$false ` -DatabasePath "C:\Windows\NTDS" ` -DomainMode "Win2012R2" ` -DomainName "xdpoc.lan" ` -DomainNetbiosName "XDPOC" ` -ForestMode "Win2012R2" ` -InstallDns:$true ` -LogPath "C:\Windows\NTDS" ` -NoRebootOnCompletion:$false ` -SysvolPath "C:\Windows\SYSVOL" ` -Force:$true [/code]

Read more