TIBCO Education Network Free eLearning Courses


The TEN provides a central location for online technical, sales and architecture training via recorded demos, lectures and other content resources. Some resources are free without an account, link: ten.tibco.com

Timezone data update in Java

no comments

Sometimes timezone data changes. The Java’s timezone data is not read from the operating system, it maintains a private repository of timezone data in locally installed files (.../jre/lib/zi).

There is a tool from Sun for updating timezone data in installed JRE or JDK software, which called the Timezone Updater tool, or TZUpdater, it can be downloaded for free. The TZUpdater tool modifies the JDK/JRE software instance that is used to execute the tool. A single image of the JDK/JRE software is modified per execution. The same procedure for Unix or Windows.

First execution with -t option to perform verification tests:

c:\>C:\tibco\tibcojre\1.6.0\bin\java.exe -jar tzupdater.jar -t
/data/tzdata2011k.test:165: time zone not found: America/Sitka
/data/tzdata2011k.test:315: time zone not found: America/Metlakatla
/data/tzdata2011k.test:1151: time zone not found: America/North_Dakota/Beulah
/data/tzdata2011k.test:1277: test failed: America/Resolute
/data/tzdata2011k.test:1370: test failed: Chile/EasterIsland
/data/tzdata2011k.test:1413: test failed: Pacific/Easter
/data/tzdata2011k.test:1564: test failed: America/Havana
/data/tzdata2011k.test:1988: test failed: Cuba
/data/tzdata2011k.test:2236: test failed: America/Goose_Bay
/data/tzdata2011k.test:2278: time zone not found: America/Kralendijk
/data/tzdata2011k.test:2280: time zone not found: America/Lower_Princes
/data/tzdata2011k.test:2315: test failed: America/Santiago
/data/tzdata2011k.test:2447: test failed: Chile/Continental
/data/tzdata2011k.test:2493: test failed: America/St_Johns
/data/tzdata2011k.test:2512: test failed: CNT
/data/tzdata2011k.test:2533: test failed: Canada/Newfoundland
/data/tzdata2011k.test:2762: test failed: Africa/Casablanca
/data/tzdata2011k.test:4024: test failed: Asia/Gaza
/data/tzdata2011k.test:4025: time zone not found: Asia/Hebron
/data/tzdata2011k.test:4035: test failed: Asia/Istanbul
/data/tzdata2011k.test:4227: test failed: Europe/Istanbul
/data/tzdata2011k.test:4417: test failed: Turkey
/data/tzdata2011k.test:4442: time zone not found: Africa/Juba
/data/tzdata2011k.test:4457: test failed: Europe/Kaliningrad
/data/tzdata2011k.test:4460: test failed: Europe/Kiev
/data/tzdata2011k.test:4463: test failed: Europe/Minsk
/data/tzdata2011k.test:4466: test failed: Europe/Simferopol
/data/tzdata2011k.test:4469: test failed: Europe/Uzhgorod
/data/tzdata2011k.test:4472: test failed: Europe/Zaporozhye
/data/tzdata2011k.test:4566: test failed: Europe/Moscow
/data/tzdata2011k.test:4569: test failed: Europe/Samara
/data/tzdata2011k.test:4572: test failed: Europe/Volgograd
/data/tzdata2011k.test:4599: test failed: W-SU
/data/tzdata2011k.test:4631: test failed: Asia/Yekaterinburg
/data/tzdata2011k.test:4644: test failed: Asia/Novokuznetsk
/data/tzdata2011k.test:4647: test failed: Asia/Novosibirsk
/data/tzdata2011k.test:4650: test failed: Asia/Omsk
/data/tzdata2011k.test:4668: test failed: Asia/Krasnoyarsk
/data/tzdata2011k.test:4693: test failed: Asia/Irkutsk
/data/tzdata2011k.test:4814: test failed: Asia/Yakutsk
/data/tzdata2011k.test:5059: test failed: Asia/Sakhalin
/data/tzdata2011k.test:5062: test failed: Asia/Vladivostok
/data/tzdata2011k.test:5116: test failed: Asia/Anadyr
/data/tzdata2011k.test:5119: test failed: Asia/Kamchatka
/data/tzdata2011k.test:5122: test failed: Asia/Magadan
/data/tzdata2011k.test:5190: test failed: Pacific/Fiji
/data/tzdata2011k.test:5247: test failed: Pacific/Apia
/data/tzdata2011k.test:5262: test failed: MIT

So we can see a list of incorrect timezone data in JRE that we have with the latest TIBCO TRA. It’s time to perform an update:

c:\>C:\tibco\tibcojre\1.6.0\bin\java.exe -jar tzupdater.jar -u

Don’t forget to restart all TIBCO processes (Java instances) to pick up new timezone data.

Presentations from TUCON 2011 are now available on TIBCOmmunity

1 comment

On the link below you can view keynotes and download presentations from TIBCO User Conference TUCON 2011:


This link to TIBCOmmunity site, where a lot of useful information and discussions. But unfortunately access isn’t open publicly and registration is required.

When zpool attach returns a device is too small error


I had to refresh Solaris on one of our old servers. After clean install on the first drive c1t0d0 with ZFS filesystem, I had to create root pool mirror by second drive c1t1d0 using zpool attach:

# zpool attach rpool c1t0d0s0 c1t1d0s0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c1t1d0s0 contains a ufs filesystem.

As c1t1d0 had a ufs filesystem from previous installation, I tried to force:

# zpool attach -f rpool c1t0d0s0 c1t1d0s0
cannot attach c1t1d0s0 to c1t0d0s0: device is too small

I realized that an old disk slice c1t1d0s0 can be smaller than c1t0d0s0 as c1t0d0s0 was reinitialized by installer and expanded to whole disk. I could check it using prtvtoc:

# prtvtoc /dev/dsk/c1t0d0s2
* /dev/dsk/c1t0d0s2 partition map
* Dimensions:
* 512 bytes/sector
* 848 sectors/track
* 24 tracks/cylinder
* 20352 sectors/cylinder
* 14089 cylinders
* 14087 accessible cylinders
* Flags:
* 1: unmountable
* 10: read-only
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 286698624 286698623
2 5 00 0 286698624 286698623

I decided to save this map into a file and write to my second drive using fmthard then:

# prtvtoc /dev/dsk/c1t0d0s2 > /tmp/vtoc_root.out
# fmthard -s /tmp/vtoc_root.out /dev/rdsk/c1t1d0s2
fmthard: New volume table of contents now in place.

Now zpool attach works much better:

# zpool attach rpool c1t0d0s0 c1t1d0s0
Please be sure to invoke installboot(1M) to make 'c1t1d0s0' bootable.
Make sure to wait until resilver is done before rebooting.

# zpool status rpool
pool: rpool
state: ONLINE
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scrub: resilver in progress for 0h0m, 37.79% done, 0h1m to go
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c1t0d0s0 ONLINE 0 0 0
c1t1d0s0 ONLINE 0 0 0 2.44G resilvered
errors: No known data errors

Last but not least step was to make c1t1d0s0 bootable using installboot:

# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t1d0s0

TIBINS202504 Error: You do not have the required administrator privileges


TIBINS202504 Error ScreenshotWhen running 32-bit TIBCO Installer on x64 platform, you may encounter this error TIBINS202504 INTERNAL ERROR: You do not have the required administrator privileges for the Install Wizard to proceed with installation. Then following window appears, which contains more useful information: java.lang.UnsatisfiedLinkError win32ppk.dll Can’t load IA 32-bit .dll on a AMD 64-bit platform.

To solve this problem, you have to run installer with 32-bit Java. There are two options: you can temporarily point JAVA_HOME system variable to 32-bit Java folder or run installer with -is:javahome parameter like in my example:

TIB_adswift-simple_5.8.0_win_x86.exe -is:javahome "C:\Program Files (x86)\Java\jre6"

How to setup a relay host in sendmail

no comments

Often it is necessary to send all outgoing mail via the relay host from the corporate network. This is not so difficult to specify that for Solaris’ sendmail.

cd /usr/lib/mail/cf
vi sendmail.mc

Find this row in sendmail.mc and specify your relay host name or IP instead of relay.sun.com in my example:
define(`confFALLBACK_SMARTHOST', `relay.sun.com')dnl

Then do:
make sendmail.cf
cp sendmail.cf /etc/mail/sendmail.cf
svcadm restart svc:/network/smtp:sendmail

that’s all. To test you can use mailx:
echo "This is the body."| mailx -s "Test subject" mail@mail.com

TIBCO Enterprise Social Media Launch Event

no comments

tibbr logoTIBCO invites everyone interested in how social media is changing business software to the launch of tibbr™, TIBCO’s new enterprise social computing technology.

Chairman/CEO Vivek Ranadivé will explain how tibbr expands on TIBCO’s historic commitment to “real time” enterprise communications.

EVP and CAO of MGM Resorts International, Aldo Manzini, will describe how they are using social media to deliver on providing exceptional customer service to every corner of the world.A panel of industry experts and users will also engage in a lively discussion on emerging trends in enterprise social computing and why this technology is important to businesses.

When: Monday, Jan. 24, 2011, 10:30 a.m. to noon, PST. Lunch will be provided.
Where: Terra Gallery, 511 Harrison Street, (at First), San Francisco, complimentary valet parking is available.

As space is limited, please register by visiting http://forms2.tibco.com/tibbrlaunch_sf or by contacting TIBCO’s Tiffany Anderson at tanderso@tibco.com or (650) 846-8737.