Archive for July, 2013

Solving the “java.lang.SecurityException: The provider self-integrity check failed” error with Crystal Reports Server 2011 on JBOSS 5.1

If you are deploying Crystal 2011 to JBOSS 5.1 you may get the following errors in your log

  • Child not found MobileBIService/WEB-INF/lib/bcm.jar
  • Could not initialize class com.businessobjects.bcm.BCM
  • java.lang.SecurityException: The provider self-integrity check failed

The culprit to these two errors are the OpenSearch.WAR File and the MobileBIService.WAR File

There are a few workarounds listed in this JBOSS JIRA Ticket JBAS-7882.

The easiest solution to me was to just explode the two war files, and the errors went away


Facebook Twitter Email Linkedin Digg Delicious

How to Change PlaceHolder values in Crystal Reports Server 2011 / BI4

I needed to update the placeholders in crystal reports server 2011 for the FRS services.  In CRS2008 I changed them using placeholders.bat, but the current PlaceHolders.bat file is outdated and meant to be used on XI 3 I think.  So first I had to take it upon myself to make placeholder.bat compatible with CRS2011 / BI4. (Because WE ALL KNOW SAP wont do it for us)

Here is the modified placeholders.bat script:

Combine it with Placeholders.class from the (SAP Note 1449399) and now you can change any pleaceholder


First lets test out the command

Now Lets update the 2 FRS Placeholders DefaultInputFRSDir and DefaultOutputFRSDir



the Before placeholder.bat_before

and the after





Facebook Twitter Email Linkedin Digg Delicious

Running the Citrix License Server Virtual Appliance in Vmware

I thought it was cool when I found that Citrix had a Citrix License Virtual Appliance.

To me, it was one less server to “manage” plus it would allow add it to my VMWare environment to make it highly available.  Well, i was disappointed to find out it was only for xenserver, so I set out to use it with VMware (because I dont like when a company tells me i cant)


This is going to take some time, and you will need to download a few things, so pay attention

You need:

Citrix License Server XVA from the Citrix Website

VirtualBox 4 from Oracle

CentOS 5 x64 Live CD ISO

XenServer ISO



How to Proceed:

Create a VM in VMWare and install XenServer (give it at least a 30GB disk)

Note the new IP of your XenServer and connect to it via your browser and follow the link to Install XenCenter

From XenCenter Load up the Citrix Licensing XVA file

Boot the VM once and then shut it down (dont configure it)

Export the License server again to an XVA (C:\Temp)


Right now you are wondering WHY we are going back to XVA, let me explain.  Citrix “mangled” the header of the XVA file so only XenServer could import it.  If you try to convert it directly with XenConvert you will get an error.


Install and Run XenConvert

Choose to Convert from “Xen Virtual Appliance” to “Open Virtualization Package” and just accept all the default options

When the Converter finishes, you will be left with a VHD and an OVF file.


Install and Run VirtualBox

Create a new VM called “Citrix License Server Virtual Appliance”

Choose Redhat 64-bit as the OS

Give it 512mb of RAM

Remove / Disable the Sound Card

Choose the previously created VHD (from XenConvert) as the harddisk

Boot it once, you will get an error “Error 13: Invalid or unsupported executable format”

Shut down the machine and from the menu choose “export appliance” and export it as an “OVF” <–THIS IS IMPORTANT


Open up the newly created OVF XML file with your trust text editor and change the line that read

Note: I take ABSOLUTELY NO CREDIT FOR THE FOLLOWING, this was a post from an excellent blog called IT Secure Net and you can find the post here






and also

<rasd:Description>SATA Controller</rasd:Description>


<rasd:Description>SCSI Controller</rasd:Description>

Now deploy the OVF to your ESX Server.  You will get a couple of warnings about the OS and asking you to continue, just hit YES

Once it finishes, start up your new VM, which should bring you back to the familiar “Error 13: Invalid or unsupported executable format” we saw earlier.


This whole time we spent it just converting the Appliance.  Now we need to get it to run on VMWare.

Find that CentOS 5 X64 and Attach it to the new VM

Boot the VM and when prompted hit F5 “Linux Rescue”

Enable the Network Interface when prompted (you will need Internet Access)

From the shell, run the following commands

now view your /boot/grub/menu.lst, if it already has an entry for the new kernel (2.6.18-348.6.1.el5) then you are good to go, otherwise lets use grubby to add it

Now reboot (dont forget to disconnect the CentOS 5 ISO) and configure your new license server and Enjoy

If for whatever reason you get the “Error 13” screen again, re-load the linux rescue and delete the old entries for the el5xen kernel and img from the /boot/grub/grub.conf file

There you go Citrix, I just did your work for you!!

Facebook Twitter Email Linkedin Digg Delicious

Combining Multiple Shares into One DFS Folder (With PowerShell)

I had the need to combine multiple Windows shares into one DFS Folder / Location. Anyone that uses DFS knows that you can either create links to the top level share or its sub folder and that there is no way to automatically combines all the folders together

Creating links to all the sub folders is fine if you have 10 or 20, but what if you have 350 links to create. Such as in my case, I had the need to create links to all the “Users” folders for every one of my departments.

Doing this would allow me to point all my scripts / group policies to one single location, without putting all the user folders on one server.

Here is the script

That’s it. This script will scan the shares, take every sub folder and add a link to the sub folder under the DFS folder I designated. For my purpose, I used it to combine user folders, and its been working great in production for months now.

You can use this script to combine any folder, except for 1 catch. Last I checked, DFS has a limit of 5000 links per “name space”, so if  you are worried about approaching that limitation, you can always create a separate namespace specifically for the user folders or whatever other folders you are planning to combine.

Facebook Twitter Email Linkedin Digg Delicious

Unable to Connect Via RDP

I dont know why this happens,

but on some of my Citrix Servers you sometimes cannot connect via RDP

and guess what, a reboot doesn’t fix it.

Well, this handy little script will help solve your issue, not only with RDP, but also with ICA


RDP / ICA Reset Script

I dont remember exactly where I got this script but its been in my toolbox for a while, credit to the originator whomever you may be

Facebook Twitter Email Linkedin Digg Delicious

NetScaler VPX and the “ssl_error_no_cypher_overlap”

If your management gui is not able to use SSL, or In order to fix the ssl_error_no_cypher_overlap error with the netscaler VPX

access your netscaler via http://yournsip/

Go to “Load Balancing” -> Services -> Internal Services

Open up the nshttps- service

Click over to the SSL Settings tab and click on the Ciphers button

Remove all ciphers and add “DEFAULT” under the “Configured Ciphers Group”

Do the same exact procedure for the nsrpcs-

After you click on, Hit the Save button, and try to connect to your NSIP with https

Facebook Twitter Email Linkedin Digg Delicious
Go to Top