Posts

Showing posts from June, 2014

unrecognized class file version

This error appear on linux while trying to run iwae.sh ( Oracle Application adapter ).


Starting java

---------------------------------------------------------------
Exception in thread "main" java.lang.ClassFormatError: com.ibi.bse.gui.BseFlashScreen (unrecognized class file version)
at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Solution :-

 export JAVACMD=/Oracle/Java/bin/java


And try again.

Thank you
Osama mustafa

Extend LVM Disk Linux

This Article Will Describe step by step how to extend LVM Disk On Linux :-
1- After adding New Harddisk to the server you have to ReScan The Scsi using 

echo "- - -" > /sys/class/scsi_host/host?/scan? :- Depend on you host number. 2-  Use Fdisk to create new partition.

>fdisk -l
Disk /dev/sda: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       13054   104751832+  8e  Linux LVM
Disk /dev/sdb: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table Check the below :-



#fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklab el

java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter

This Error Appeared while trying to start managed Server "edq_server1" , The starting results it's completed with successfully status but some deployment end with Failed status , which mean edq_server will not work correctly, therefore i checked the logs which the below error :-

Caused By: java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
        at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
        at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
  …

Oracle to MySQL step by Step

In this Document i tried to explain step by step configure oracle to MySQL Database Link Using Oracle Gateway, The document uploaded Here.

Operating system : Solaris 11.1
Database : 11.2.0.3

You can Use the same step for Linux/Unix.

Thank you
Osama Mustafa

ORA-01031: insufficient privileges On ASM - Grid Infrastructure 11gR2

Today like any other day started with customer call , Telling me There is problem on Grid infrastructure after restarting both node, They change heartbeat from cables to connected on switch after i told them to do this.

The Error in the logs like the  below :-
CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)"

Node #2 was running without any problem , the issue was with node #1 and nothing changed recently.

The Error in Node #1 :-

crsctl start cluster PRCR-1079 : Failed to start resource ora.asm
ORA-01031: insufficient privileges
CRS-5017: The resource action "ora.asm start" encountered the following error:
ORA-01031: insufficient privileges
. For details refer to "(:CLSN00107:)" in "/u01/app/grid/11.2.0.4/log/lux335/agent/ohasd/oraagent_oracle/oraagent_oracle.log". as you see from the above error "ORA-01031: insufficient privileges" i was running this command as root.
After check node #1 the solution so simple …

Oracle Enterprise Manager Cloud Control 12c Release 4 (12.1.0.4)

Now Officially #EM12c 12.1.0.4 released with new features you can download also oracle announce about this in official document here included with new features.

You can start downloading from here


Thank you
Osama mustafa

OTN MENA Tour Experience - Dubai

Image
Don't be dismayed by good-byes. A farewell is necessary before you can meet again. And meeting again, after moments or lifetimes, is certain for those who are friends.

I Thought it will be nice to share this quotation before start talking about Oracle OTN Tour - MENA TOUR 2014. 
Fir the people who dosen't know anything about this Tour it's happened for the first time in middle-east, 
"Courtesy of the Oracle Technology Network (OTN) and the ARABOUG, the inaugural 2014 OTN MENA Tour brings a star-studded cast, consisting of some of the world's best Oracle ACEs, ACE Directors and Rock Star Speakers to the region. The tour aims at sharing cutting edge knowledge and independent research in the MENA region, by accomplished Oracle experts from all over the world"
Covered the following countries :- TunisiaKSA- Saudi ArabiaDubai. Link Here.
Picture for the speaker getting ready for the event :-

Introduction about the Speaker :-


I will talking about Dubai, The event loc…