Wednesday, 13 August 2014

OIM - OAM 11.1.1.7 Error

Could not register OIM as a TAP partner. oamWlst MBean not found

This was a relatively easy fix for me, all you need to do is add 
OAM11G_WLS_ADMIN_HOST: <Host>
OAM11G_WLS_ADMIN_PORT: <port>
OAM11G_WLS_ADMIN_USER: weblogic

to your config file:
/u01/oracle/Oracle/Middleware/Oracle_IDM1/idmtools/bin/idmConfigTool.sh  -configOIM input_file=/u01/oracle/Oracle/Middleware/Oracle_IDM1/idmtools/bin/configOIM.properties

Tuesday, 12 August 2014

OIM Design Console

./xlclient.sh
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: javax/ejb/CreateException
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
        at java.lang.Class.getDeclaredMethod(Class.java:1937)
        at java.awt.Component.isCoalesceEventsOverriden(Component.java:5982)
        at java.awt.Component.access$500(Component.java:169)
        at java.awt.Component$3.run(Component.java:5936)
        at java.awt.Component$3.run(Component.java:5934)
        at java.awt.Component.checkCoalescing(Component.java:5933)
        at java.awt.Component.<init>(Component.java:5902)
        at java.awt.Container.<init>(Container.java:249)
        at java.awt.Window.<init>(Window.java:432)
        at java.awt.Frame.<init>(Frame.java:403)
        at java.awt.Frame.<init>(Frame.java:368)
        at javax.swing.JFrame.<init>(JFrame.java:158)
        at com.thortech.xl.gui.base.tcFrame.<init>(tcFrame.java:34)
        at com.thortech.xl.client.base.tcAppWindow.<init>(tcAppWindow.java:104)
        at com.thortech.xl.client.base.tcAppWindow.main(tcAppWindow.java:173)


cd $FMW/wlserver_10.3/server/lib/
export JAVA_HOME=<java_home>
java -jar wljarbuilder.jar

copy wlfullclient.jar to designconsole/ext/

cd $ORACLE_HOME/designconsole/
./xlclient.sh

Now you can log in.

Note: Default admin user = xelsysadm

#bearMan

Monday, 28 July 2014

Linux SSH Port Change

How to Change SSH PORT

vi Into sshd_conf

vi /etc/ssh/sshd_config
Then go to
#Port 22

Un-comment line, and change to desired port.

service sshd restart

#bearMan

Tuesday, 22 July 2014

Linux: Less

Less Is More

Wait what?
I don't agree with that statement generally, but when it comes to linux, well yea "less".

I know many people that like to tail log files, my preferred method.

Less


Less /path/to/log/file

My Observations:

It opens up a vim like terminal application that you can follow the logs and if needed, look into the logs.

Some Commands

ctrl+f = This is to go to the bottom
shift+f = This is to follow
ctrl+c = Cancel
q = Quit

#bearMan

Monday, 14 July 2014

OIM Server Logs

OIM Logs / Location / how I found them

I needed to find the OIM Log location today, and this was a pretty easy task, and I think this can be used for more than just this application. I am sure all applications will show their logs here.

Access to:
Console
ssh

so first things first, go to console, and then go to servers, click on the server you want, and click the tab, logging.


The log file name, is where the log is located.

So now for some SSH.

Go to:
user_projects/<domain>/<server>/logs/

My Use case would be

user_projects/IAMDomain/oim_server1/logs/

#bearMan

Tuesday, 24 June 2014

JDeveloper - SVN Issues

JDeveloper - SVN Issues

When working with SVN Projects in JDeveloper there are some issues, especially if you are not using JDevelopers Versioning tools. When Opening a SVN project it will not open folders within projects.

The way to solve this is by going to Tools -> Preferences -> Versioning.

Before Image:
JDeveloper SVN Issue, Before Correction
JDeveloper SVN Issue, Before Correction

JDeveloper SVN Issue, Before Correction
JDeveloper SVN Issue, Before Correction

Note: How the top two options have been unchecked. 
Both:
  • Use Navigator State Overlay Icons
  • Use Navigator State Overlay Labels
#bearMan

Thursday, 12 June 2014

SVN - The Good The Bad and The Ugly

SVN - History

So Recently I was told by someone that SVN "Looses" History, because the information he committed is not there.

So I wanted to do some Experiments.

What I needed

  • Local SVN
  • Project
  • Files

Initially, I created a local SVN Using Tortoise SVN.
Then I created a small Hello World Project Using ADF, with one page, and as we all know, doing something so simple creates many folders.
First Commit

Browse


First Log

When I add a Task Flow, with a page, the commit looks like this;
Task Flow Commit

If you press ok, at this stage without any changes, you task flow WILL NOT, i repeat WILL Not be committed to SVN. The folder icon will also be changed to look like it has all been committed.

After this, there are two scenarios that may happen after this, if you carry on working from the same project, everything will work as expected.

If you download the project from SVN, you will get errors, most probably ones saying the pages do not exist.

SVN Commit

When doing this make sure, if any new files were added, add them to be committed. 
non-versioned Commit
Commit Log
Make sure the non-versioned Status has been Checked. This can be done by clicking all, just above the file names.

Log

Please Note: The Actions in the Log, in the above picture, there are only adds, and Modifies. In the Below One there is a delete as well as Modify.


One thing to note: is now that I have done all this, no matter what I do on the SVN, those logs will never be changed.

The only things that one can change are the Author and "Message"

This is a very limited example of a SVN Server with Revisions, but I just wanted to show that there are certain things that you cannot do with a SVN, and there are certain things that one needs to do, otherwise your SVN commits will break the application.

#bearMan, f