Category: How To

Various howtos

Posted in How To Linux

make: /opt/local/bin/ginstall: No such file or directory

make: /opt/local/bin/ginstall: No such file or directory

This happened to me while running bundle install on json v1.7.7.
The fix is

# sudo if necessary
ln -s /usr/bin/install /opt/local/bin/ginstall

READ MORE
Posted in How To Linux

Installing Oracle XE 11g on OpenSuSE 12.2 and similar

Overall the installation is pretty smooth, just follow the instructions on Oracle website.
There are two minor hiccups though:
1. cannot touch `/var/lock/subsys/listener’: No such file or directory
This error is cause by the fact there is no /var/lock/subsys directory in some Linux distros, so you need to create one. Before you…

READ MORE
Posted in How To Other

How to call Oracle Policy Automation via SOAP/WSDL

As you probably read in my other post, OPA is a great alternative to the Oracle Business Rules (OBR) as all the business logic could be exposed via web services. Unfortunately Oracle didn’t leave us much documentation about how to do that. So if you’re wondering how do you call…

READ MORE
Posted in How To Other

Configuring Oracle Policy Automation Determinations Server runtime pluggability as an alternative to Oracle Business Rules

It looks like not many people know about this, but Oracle actually has two business rule engines. One is called OBR (Oracle Business Rules) and it is bundled with SOA suite. The other one has less meaningful name OPA (Oracle Policy Automation) and at the first glace serves totally different…

READ MORE
Posted in How To Linux Other

GIT: ! [remote rejected] master -> master (n/a (unpacker error))

I’m working on multiple machines under multiple accounts on the same project and using git to sync between the codebases. The program by its nature has to run under root account, so no wonder at some point permissions got screwed up and I’ve got stuck with this error:

! [remote…

READ MORE
Posted in How To Other

Uploading OPA rulesets to Determinations Server

Oracle Policy Automation is a great tool for maintaining all your business logic in a word file instead of the app source code. In one of my projects I needed a business-analyst-friendly interface for changing business logic in a business process. Regular Oracle Business Rules work fine for up to…

READ MORE
Posted in How To Other

Default passwords for Oracle weblogic keystores

weblogic comes with default demo keystore called DemoTrust.jks with the password “DemoTrustKeyStorePassPhrase”. The standard Java keystore’s password is “changeit”. The passwords are used to check the keystore integrity when you modify it.

READ MORE
Posted in How To Other

Fixing Oracle SOA suite email drive pop3 problem: “PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”

I just spent quite some time fixing pop3 for UMS email driver in Oracle SOA suite. The problem was with the Human Task actionable emails. I was receiving the emails just fine, but when I was hitting reply no action was being taken on the sever side. Quick glance at…

READ MORE
Posted in How To Other

Verizon blocks port 25. Wow!

I have just spent several hours narrowing down the problem, 30 useless minutes with someone in Verizon chat support and 20 min on the phone line. All the time was wasted just to find out that Verizon is blocking outgoing connections to port 25. That basically means that you can’t…

READ MORE
Posted in How To Software

Netbeans doesn’t stop on breakpoints while debugging a RoR (Ruby on Rail) app

I recently switched to a different computer and got all gems in the system updated approximately at the same time. Not sure what exactly lead to the problem, but debugging the app in NetBeans became impossible because it stopped stopping on breakpoints. To add some confusion, breakpoints were still working…

READ MORE
Posted in Hardware How To Other

Controlling RGB LED using PICAXE-08: Basics of software PWM

I’m working on a new RTFMs episode that involves packing an RGB LED and a microcontroller into a very tight space. The microcontroller I decided to use is PICAXE-08. I chose it for three reasons:
– I had one in the box
– I had no other plans for it as it…

READ MORE