PeopleTools 8.53 Installation Error

This is a quick blurb about an installation problem that I ran into.  Unfortunately, I didn’t get screenshots grabbed or exact error messages written down, but maybe this will still help.

The first problem was that near the end of the PeopleTools 8.53 Installer, the program gave me a window describing the usage options for the Windows installer.  It was like the PeopleTools installer had called another installer but hadn’t passed the correct arguments.  I got the window twice, so I am thinking that it tried to call it twice.

Windows Installer Usage window

The next problem was that App Designer wouldn’t start.  I didn’t try any of the other client programs like Data Mover, but I suspect that they would not have worked either.  The error message was something about a missing DLL file.

The PeopleTools install notes had a note about the VC++ Run Time. (Page 142 of the PDF / 116 on paper of the Oracle Database one.)  The solution was to simply install the Microsoft Windows machine’s CRT files.  The installer is located in <PS_HOME>\setup\psvccrt.  I was on a 32-bit machine, so I just ran the psvccrt_retail.msi.

Exploring Vagrant with Ubuntu and Oracle XE

I ran across Andrej Koelewijn’s article about Vagrant over a year ago, and I have been wanting to explore it ever since.  I do a lot of playing around with different things, and Vagrant looked like it would be a cool, quick way to spin up a new image of an OS.  I would love to get it to the point of being able to spin up an instance of PeopleSoft.  I am no where near there now, though.

This is just my first run through.  I set an easy goal of trying to get Oracle XE running on Ubuntu via the repositories.  Unfortunately, I learned that that repository isn’t worth the time.  Still, it was a fruitful exercise, and I definitely will be playing around more with Vagrant.

Follow along if you like…

Read More

Step By Step Install: Installing Tuxedo

This is a continuation of my Step By Step PeopleTools 8.52 installation.  Previously, I created the database.  This should be a pretty straight forward step.  You just have to install the Tuxedo software, but then, you also need to install the latest “rolling patch”.  My only problem is that I breezed through this and didn’t keep my notes well.  I thought that I had installed the patch, but it doesn’t look like I did.  Furthermore, I had an error with the installation, and it wasn’t worth my time fixing it.  Maybe this will at least give you an idea of what is involved.

Read More

PeopleCode: Unzipping

I come upon a requirement to unzip a file in a platform independent way.  Jim Marion got me most of the way, but his code didn’t write it to file.  Here’s my adjustment to make a function that wrote it to file:

Function unzip(&inputZipFile, &targetDir)
  Local JavaObject &zipFileInputStream = CreateJavaObject("java.io.FileInputStream", &inputZipFile);
  Local JavaObject &zipInputStream = CreateJavaObject("java.util.zip.ZipInputStream", &zipFileInputStream);
  Local JavaObject &zipEntry = &zipInputStream.getNextEntry();
  Local JavaObject &buf = CreateJavaArray("byte[]", 1024);
  Local number &byteCount;

  While &zipEntry <> Null

    If (&zipEntry.isDirectory()) Then
      REM ** do nothing;
    Else
      Local JavaObject &outFile = CreateJavaObject("java.io.File", &targetDir | &zipEntry.getName());
      &outFile.getParentFile().mkdirs();
      Local JavaObject &out = CreateJavaObject("java.io.FileOutputStream", &outFile);
      &byteCount = &zipInputStream.read(&buf);

      While &byteCount > 0
        &out.write(&buf, 0, &byteCount);
        &byteCount = &zipInputStream.read(&buf);
      End-While;

      &zipInputStream.closeEntry();
    End-If;

    &zipEntry = &zipInputStream.getNextEntry();
  End-While;

  &zipInputStream.close();
  &zipFileInputStream.close();
End-Function;

unzip("/tmp/myzipfile.zip", "/tmp/out");

Resources