Posts

Showing posts from February, 2015

How to view Certificate in pem format

Certificates in pem format can be viewed with following openssl openssl should be available on redhat linux platform. openssl x509  -in  name_of_file.pem  -inform   pem  -noout  -text The output should provide version, serial number, Issuer, Validity period Validity period is  from_date   to  To_date .  After To_date cert is not valid.  Also you can use the keytool command if you have java installed keytool  -printcert  -file  name_of_file.pem The output should provide the cert info including the cert validity period

Java new features

Why Java is used in High Performance Computing  Java in HPC http://www.theserverside.com/news/thread.tss?thread_id=61390 Java 9 features  Java 9 features http://blog.takipi.com/java-9-the-ultimate-feature-list/ http://www.javaworld.com/article/2852123/java-platform/more-new-features-coming-to-java-9.html

Why httpd.pid file is required for a running HTTP server

The Oracle HTTP Server or OHS is the Web server component for Oracle Fusion Middleware. This HTTP server that comes with the Oracle Web Tier is basically the Apache server. When Apache/HTTP server starts it writes the pid or process id number in a file called as httpd.pid. This file contains one line and is the pid number of the httpd server process that is currently running in the OS. So every time OHS HTTP Server is restarted it gets a new pid, which gets written in this file "httpd.pid". Here is explaination why httpd.pid file is required for a running http server.  http://chestofbooks.com/computers/webservers/apache/Stas-Bekman/Practical-mod_perl/5-3-3-Finding-the-Right-Apache-PID.html#.VOaXn5jF_q1 The http server from Oracle is derived from Apache server and when Apache server starts it writes its pid into this file. When any signal needs to be sent to this process (process being the httpd daemon process), the pid of the process should be known- this is available fr

OID Connector

Image
OID (Oracle Internet Directory) connector is an Oracle Identity Manager connector which is used to integrate OIM (Oracle Identity Manager) with external directories like OID, ODSEE, OUD and Novell eDirectory. For OIM 11.1.1 or later versions (e.g. 11.1.2) use the 11.1.1.x version of this connector (currently available for download is  11.1.1.6 from OID Connector Download  http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/connectors-101674.html) Connector Architecture Here is a link which explains all the steps for configuring OID connector 11.1.1.6 with OIM   Configure OID connector with OIM (http://www.pythian.com/blog/configuring-oid-11-1-1-6-connector-in-oim-11-1-2) However if your requirements are for integrating OIM with OAM including password management then LDAP sync is required . LDAP synch feature is available OOTB when you are installing OIM- it is one of the optional steps. You may enable LDAP synch after OIM has been configured but it r

Oracle Identity Management - Prerequisite packages

Following are the pre-requisite packages for Oracle Identity Management 11gR2 11.1.2.2 on RedHat Linux 6 (UL1+) and Oracle Enterprise Linux 6 (UL1+). Here is the link from Oracle documentation Linux packages required . Scroll down to Operating system version Oracle Enterprise Linux 6 UL1+/Red Hat Linux 6 UL1+ Below packages are for Oracle Identity Management install on Oracle Enterprise Linux 6.3 and RedHat Linux 6.2 operating system. Use rpm or yum utility to install the below packages. Once you have verified that below packages are installed then go for the Oracle Identity Management installation. binutils-2.20.51.0.2-5.28.el6 compat-libcap1-1.10-1 compat-libstdc++-33-3.2.3-69.el6 for x86_64 compat-libstdc++-33-3.2.3-69.el6 for i686 gcc-4.4.4-13.el6 gcc-c++-4.4.4-13.el6 glibc-2.12-1.7.el6 for x86_64 glibc-2.12-1.7.el6 for i686 glibc-devel-2.12-1.7.el6 for i686 libaio-0.3.107-10.el6 libaio-devel-0.3.107-10.el6 libgcc-4.4.4-13.el6 libstdc++-4.4.4-13.el6 for x86_64

OAM Error when viewing Sessions Management

One can view the user session information from the OAM console. Meaning, you can view which users have accessed the applications which are being protected by OAM (Oracle Access Manager). This is a good feature for Administrators during troubleshooting any user access issues. The Sessions Management link/feature under OAM Launchpad (in 11gR2 PS2 the launchpad has been changed- Sessions Management link is available on the right handside). Click Sessions Management, new windows should open, where you can search via UserID. Search by " * " to view all the users who are currently accessing your environment - UserID, Creation time of session, Last Access Time info is clearly shown. This can be very helpful during troubleshooting user access issues. Error while viewing sessions from Session Management from OAM console. Following errors were reported Below error showed up on OAM console after clicking on Sessions Management Error Messages for this page are listed below Cann

Weblogic Admin server not starting

Weblogic Admin server not starting, was giving a server subsystem failed error, pointing to Embedded LDAP error. Turns out there was a corrupt file replicas.prop. Delete this file and start the Admin server again. Probable cause is disk being full. Followed below two blogs http://weblogic.middlewarebase.com/2011/10/javalangnumberformatexception-null.html http://www.xenta.nl/blog/2012/09/28/server-subsystem-failed-reason-java-lang-numberformatexception-null/

How JSON sparked nosql

The long hegemony of SQL and RDBMS is over. Dozens of NoSQL databases have sprung up, the document variety in particular catering to developers who favor the JSON (JavaScript Object Notation) format. In this week's New Tech Forum, VoltDB CTO Ryan Betts looks at relational databases and JSON data structures and shows how and why they can be combined to offer the best of both worlds. -- Paul Venezia JSON's benefits and challenges: Agility, structure, and interactivity JSON is the data structure of the Web. It's a simple data format that allows programmers to store and communicate sets of values, lists, and key-value mappings across systems. As JSON adoption has grown, database vendors have sprung up offering JSON-centric document databases. Now, increasingly, traditional relational-style databases are integrating JSON features, resulting in a best-of-both worlds benefit to developers and database administrators. JSON started as the "serialized object notation

Objects and Java

Image
Objects and Java by Bill Venners Chapter 2: Classes and Objects Objects and Java  |  Contents  |  Previous  |  Next   Abstraction When you set out to design a Java program, you have to create abstractions. You are faced with a problem domain and (with luck) a specification, and you have to architect [bv: is architect a verb?] a solution. (The  problem domain  is the subject area of a particular programming effort, such as "accounting," "elevator control," or "word processing.") Given that Java is an object-oriented language, you will likely want to perform an object-oriented design. In the process, you will end up with abstractions in the form of objects, types, attributes, and behaviors. The object-oriented design process involves the following three tasks: dividing the problem domain into types of objects, modeling the relationships between the types, and modeling the attributes and behaviors of each type. These tasks are not listed in