Tuesday, June 19, 2012

[OSSO] W14: mod_osso is loaded logfile flooding

If your application server logging is flooded with errors as below, make sure you have any mod_osso config file defined. it does not matter if it is correct, or not used.

[Thu May 24 15:55:42 2012] [warn] [client 127.0.0.1] [ecid: 10.xxx.yyy.zzz:12492:1337867740001,2] \n
[OSSO] W14: mod_osso is loaded but OssoConfigFile does not appear to be set.\n

http-500: oracle.ias.repository.schema.SchemaException

If a Single Sign On enabled Forms server fails to perform SSO, and the client gets a http-500 error, with the stack trace below, then check your variables "oid_formsid" and "formsid_group_dn" in formsweb.cfg ($ORACLE_HOME/forms/server/formsweb.cfg)

oracle.forms.net.ConnectionException: oracle.ias.repository.schema.SchemaException:
Unable to connect to Oracle Internet Directory Server.
Please verify that the correct Oracle Internet Directory Server parameters are specified in [Oracle Home of your server]/config/ias.properties.
Make sure that the Oracle Internet Directory Server specified in OIDhost, OIDport is up and running.
Base Exception : javax.naming.NamingException: [LDAP: error code 1 - User does not exist in directory for Proxy Switch]
at oracle.forms.servlet.FormsOIDContext.getOIDContext(Unknown Source)
at oracle.forms.servlet.FormsServlet.doRequest(Unknown Source)
at oracle.forms.servlet.FormsServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

CheckRepositoryPermission connectAs

When a Single Sign On Forms environment fails to login, and the client shows the following stack, check if the forms container is correctly referenced in $ORACLE_HOME/config/jazn-data.xml.

java.lang.SecurityException: access denied (oracle.ias.repository.schemaimpl.CheckRepositoryPermission connectAs)
at oracle.security.jazn.util.JAZNSecurityManager.verifyPermission(Unknown Source)
at oracle.ias.repository.SchemaManager.connectAs(SchemaManager.java:1280)
at oracle.forms.servlet.FormsOIDContext.getOIDContext(Unknown Source)
at oracle.forms.servlet.FormsServlet.doRequest(Unknown Source)
at oracle.forms.servlet.FormsServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

Sunday, June 17, 2012

Resetting MS Windows Admin password

Of course, after all this time, I forgot the master password on the Windows Server image. Luckily, I have this bootable CDRom with password reset software. But this VMWare boots so damn quick, I can never complete the sequence Point Click to boot, CTRL-G, F2 fast enough to get into the BIOS and change the default boot options.

Luckily, you can edit the configuration file, the .vmx file. Open it, and add the following line:

bios.forceSetupOnce = "TRUE"


Now, I end up in the BIOS and can change the default boot sequence in order attempt to boot from CD first. And it works like a charm:


Resetting to an empty password works (did this once before), so I'll go for that:


And sure enough: after rebooting into the server, Administrator no longer has a password, and I'm in!


Ready to do some SSO/WNA exercises...

VMWare and Precise

After the migration to Precise Pangolin (Ubuntu 12.04 LTS), I needed VMWare Player. I do have a MS Windows Server 2000 image, and attempts to make that available under VirtualBox resulted in a non-performing image.
So, the latest and the greatest VMWare Player (4.0.4) was installed.

Alas, it complains about services it needs to recompile, and that fails.
In detail, the virtual net services fail to compile.

Luckily, I found this blog entry.
Basically, download the patch mentioned, and execute

sudo su -
tar xvf /usr/lib/vmware/modules/source/vmnet.tar -C /tmp
cd /tmp
cp /home/frank/Downloads/vmnet.diffs /tmp
patch -p0 < vmnet.diffs
cp /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vmnet.tar.org
tar cvf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only


Now, retry the compile by opening VMWare Player.

Even the networking part will now succeed and VMWare will present you a license agreement. You can now use VMWare player 4.0.4 on Precise Pangolin (12.04 LTS)

Sunday, June 03, 2012

Me like (upgraded hardware)

Me like a lot! Running two Oracle Virtual machines at the same time, on top of a minimal server install Ubuntu LTS 12.04:


After starting the SOA/BPEL services:



Got myself the latest (well, almost the latest) CPU, an Intel 2600K, and a new MoBo, with 16GB of memory.
Did the plan Ubuntu minimal install, but first of all, ended with the 12.04 (Precise pangolin?) install (for AMD64... which works!) instead of the 11 version, and then decided to add the desktop.
Of course, that resulted in the horrendous Unity-based stuff, where nothing is where it used to be. So, I had that removed, and gone back to gnome.

Yep, me like. Now, bring in some BBQ weather!