All posts by admin

Adding Java to alternatives

I’d downloaded jre-1.7_79 from java.sun.com, and therefore, wanted to ensure my system was allowed to use this as part of alternatives, without having to do everything manually.  It’s nice and easy, all you have to do is:

alternatives–install /usr/bin/java java /usr/java/jre1.7._79/bin/java 3

this then adds java to position three within alternatives.  The reason I did this, was because position 1 and 2 was already taken by jre-1.5.0-gcj and jre-1.6.0 that comes pre-installed on RHEL 6.5.  After you’ve added it to the alternatives, you then need to activate it if you wish to use this version, so:

update-alternatives –config java

and then choose position 3 to use the version you’ve just installed.  When you then run:

java -version

from the command prompt, it will or should show the version you’ve just installed and added to alternatives.

Solaris /etc/system file modification for Oracle Install

set noexec_user_stack=1
set pcie:pcie_aer_ce_mask=0x1
set ip:do_tcp_fusion=0x0
set shmsys:shminfo_shmmax=8267108864
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=2048
set shmsys:shminfo_shmseg=2048
set semsys:seminfo_semaem=16384
set semsys:seminfo_semmap=1024
set semsys:seminfo_semmni=1024
set semsys:seminfo_semmns=8048
set semsys:seminfo_semmnu=1024
set semsys:seminfo_semopm=1024
set semsys:seminfo_semume=1024
set semsys:seminfo_semusz=1024
set semsys:seminfo_semvmx=32767
*
forceload: sys/semsys
forceload: sys/shmsys

Error Importing ARERR 326

The CMDB upgrade on the secondary server encountered an unexpected error:
Skipping import of record as defined in options [Fri Feb 06 00:32:01.983] INFO – Error importing record 9: ERROR (326): Required field cannot be blank

Root Cause appears to be that the Server Group ranking was inaccurate and only production server names exist in the Op Ranking form.

The corrective action is to log into the SQL Server database directly and delete all records from teh servgrp_board table. Then restart ARS Services on primary and secondary servers. When the servers come up, they will detect the Server-Group-Member: T and no records in the servgrp_board table and will automatically populate the values there. Once the values are present in the Op Ranking form, you can rank the server group operations accordingly.

At this point, you can re-run the upgrade for CMDB on the secondary server. It should not attempt to import anything and not give this error.

Setting up Fiddler for Remedy

System Requirements

Windows XP / 2K3 / Vista / 2K8 / Win7 / Win8

Microsoft .NET Framework v2.0 or later

8 megabytes disk space / 800mhz processor (Screams at 2.4ghz)

512 megabytes RAM (2GB+ highly recommended)

1. After making sure you’ve met the system requirements above, visit http://www.fiddlertool.com/Fiddler2/version.asp and then install the most recent version of the Fiddler tool.

2. Start the Fiddler tool. Start -> All Programs -> Fiddler.

3. In the Fiddler window, make sure that Capture Traffic is selected on the File menu.

4. Now that the Fiddler trace file is running, initiate a Mid-tier session to reproduce the failing use case.

5. After the issue is reproduced, switch back to the HTTP Fiddler window.

6. On the File menu, click Capture Traffic to stop the data collection.

7. Click anywhere in the HTTP Sessions window.

8. On the File menu, click Save.

9. In the Save list, click Sessions, and then click as saz to save the HTTP Fiddler trace file.

10. Save the file to the folder that you want and send it in to us via this request.

 

Setting API Recording on Remedy 8.1

We have often requested for API recording to differentiate between client side and AR Server (and Server-side workflow) problems. 8.1 SP2 Java API has a good usability feature – the ability to set the API recording directory path. This is especially useful on Windows systems where the logs get created in the <WINDOWS>/System32 directory.

 

Steps to enable API recording for 8.1 SP2 Midtier:

 

Please find attached arsys_api.xml

 

  • Open the file and please correct the apiRecordingLogDir to something like the Tomcat Log directory (or a sub-directory)

 

<apiRecordingLogDir>D:\\BMCPrereqs\\Tomcat64\\logs\\apirecording</apiRecordingLogDir>

 

    • Backup and clear the Tomcat/logs directory.
  • Place the file in the <MidtierInstallDir>/WEB-INF/classes/

 

  • Shutdown the Midtier service.
  • Restart the Midtier service

 

 

User level API logging will appear as for Eg: UserARServer_arapires.log  . Usually the MidtierService user log will also be needed. [A similar procedure can be used for other 8.1 SP2 API clients (email, approval, plugin server, Devstudio) ]