Quantcast
Channel: Osama Mustafa Oracle Blog
Viewing all 262 articles
Browse latest View live

Article 0

$
0
0
Oracle database Version 12.1.0.2 released today .. available to download.. The important new feature in this release is the Oracle Database In-Memory other new features...
Oracle Database In-Memory
Oracle Big Data SQL
Advanced Index Compression
Zone Maps
Approximate Count Distinct
Attribute Clustering
Full Database Caching
Rapid Home Provisioning


Download Here

Thank you
Osama Mustafa

Install Oracle BI Apps 7.9.6.3

$
0
0
This Document Desribes how to install oracle BI Apps 7.9.6.3, You can view/Download the document from here 


Thank you
Osama Mustafa 

Invalid User name and password OBIEE 11g (Analytics)

$
0
0
When trying to Access to the URL:// hostname:9704/analytics with username weblogic the below error generated in the Adminserver logs :-

<[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <500ca139326a7892:3e1b9fff:147c4ada0c4:-8000-000000000000004c><1407754348812>1407754348812>500ca139326a7892:3e1b9fff:147c4ada0c4:-8000-000000000000004c>
java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oracle.bi.system,keyName=system.user read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
at java.security.AccessController.checkPermission(AccessController.java:546)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:463)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:523)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:549)
at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:684)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:562)
at oracle.bi.security.opss.CredentialReader.getPasswordCredential(CredentialReader.java:69)
at oracle.bi.security.opss.CredentialReader.getPasswordCredential(CredentialReader.java:57)
at oracle.bi.security.service.SystemUserValidator$ReadSystemUserCredentialsAction.run(SystemUserValidator.java:291)
at oracle.bi.security.service.SystemUserValidator$ReadSystemUserCredentialsAction.run(SystemUserValidator.java:278)
at oracle.bi.security.service.SystemUserValidator.readSystemUserCredential(SystemUserValidator.java:186)
at oracle.bi.security.service.SystemUserValidator.validateSystemUserCredentials(SystemUserValidator.java:146)
at oracle.bi.security.service.SystemUserValidator.access$000(SystemUserValidator.java:26)
at oracle.bi.security.service.SystemUserValidator$1.run(SystemUserValidator.java:107)
at oracle.bi.security.service.SystemUserValidator$1.run(SystemUserValidator.java:101)
at oracle.bi.security.service.SystemUserValidator.validate(SystemUserValidator.java:117)
at oracle.bi.security.service.SecurityServiceBean.initialise(SecurityServiceBean.java:89)
at oracle.bi.security.service.SecurityServiceBean.getAuthenticatedUserWithLanguageAndProperties(SecurityServiceBean.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


If you recive the above error, you don't have permission to access to the analytics, permission saved  in Files called

system-jazn-data.xml

Located :-

 $DOMAIN_HOME/config/fmwconfig

Edit the files and add these lines :-

   
Or copy this file from another OBIEE Environment after backup the old one, and restart AdminServer and managed Server


Thank you
Osama Mustafa

SOA_SERVER ( Managed Server ) Take too Long time to Start/Restart

$
0
0
On the weblogic console when trying to start managed Server it's take too long time to start in my case it's SOA_SERVER, almost 25 min only to start, which is not correct . to avoid this problem you need to follow the below steps simple but effective :-

Under Java Home ( That Used by Weblogic ) :-

cd /u01/app/fmw/jdk/jre/lib/security 

There's file called Java.Security 

Edit this File using any Editor ( vi for example ).

Search for the following line :-

securerandom.source=file:/dev/urandom

And Change it to :-

securerandom.source=file:/dev/./urandom
Or Another way add the below line to startup script in weblogic :-

-Djava.security.egd=file:/dev/./urandom

Hope this will solve your problem.


Thank you
Osama Mustafa

Unable to Login to OBIEE ( Bi Publisher ) With Any User Except Weblogic User

$
0
0
When Trying to Login With Any Bi Publisher User Expect Weblogic User the BIP Unable to connect and raise the below error :-

Error 500 -- Internal Server Error
Form RFC 2068 HyperText Transfer Protocol -- HTTP/1.1

In the Log :-

<[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <2acf00f7cbd603fb:-5c1355d7:145fa9793d9:-8000-0000000000001235><1400071598517><[ServletContext@63404769[app:bipublisher module:xmlpserver path:/xmlpserver spec-version:2.5 version:11.1.1]] Servlet failed with Exception
java.lang.RuntimeException: User: weblogic, absPath: /~weblogic/user~.profile, locale: null, message: null

at oracle.xdo.servlet.resources.StructuredSawMtomResourceProvider.writeResource(StructuredSawMtomResourceProvider.java:2375)
at oracle.xdo.servlet.resources.StructuredSawMtomResourceProvider.writeResource(StructuredSawMtomResourceProvider.java:2283)
...
Caused By: java.lang.NullPointerException
at java.lang.StringBuilder.(StringBuilder.java:92)
at oracle.xdo.servlet.resources.CatalogSawMtomResourceProvider.getRealPath(CatalogSawMtomResourceProvider.java:2670)
at oracle.xdo.servlet.resources.CatalogSawMtomResourceProvider._writeResource(CatalogSawMtomResourceProvider.java:1794)
##########
Check the bipublisher.log file and messages like this appear.
java.rmi.RemoteException: access denied for user to path /users/weblogic.; nested exception is: [[
javax.xml.ws.soap.SOAPFaultException: access denied for user to path /users/weblogic. 
1400071598517>2acf00f7cbd603fb:-5c1355d7:145fa9793d9:-8000-0000000000001235>


Regarding to above Error the user Enable to login regarding to User Atr. In Catalog m Solving this issue follow the below steps :-

cd $BI_HOME/insance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog/shared/root/users. 
and Delete User.atr.
After doing this you will be able to Login.


Thank you
Osama Mustafa

WSM-02557 When Trying to Deploy On SOA Server.

$
0
0

AdminServer indicates to the following error:-

AdminServer-diagnostic.log:[2014-07-16T10:40:43.681+02:00] [AdminServer] [ERROR] [WSM-02353] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: admin] [ecid: bf57ca3361a7ecd1:-39746f30:1473e26749c:-8000-000000000000026a,0] [APP: em] Unable to get the Action Executor.
to solve this issue make sure the following Users were created in Weblogic console :-

From AdminConsole --> Security ---> myrealms --> Choose Users and Group Tab.

Create the below user :-

OracleSystemUser

Create the below Group

OracleSystemGroup


The following Pictures describes users and Group ( how supposed to be ) :-




and assign this group to OracleSystemUser , Restart Console and managed Server Try again.


Thank you
Osama Mustafa

Increase Transaction timeout in SOA Server

$
0
0
I received the below error in soa_server1 :-

Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 603 seconds BEA1-3FB6FB464035C13E3227 at 

From the above error, transaction timeout should be increased regarding to heavy transaction on soa server.

to do this follow the following steps :-

access weblogic console --> Deployment --> and search for Soa_infra. ( expand it)


Check the below EJBS services and click on it configuration tab :-

BPELActivityManagerBean
BPELEngineBean
BPELInstanceManagerBean
BPELProcessManagerBean
BPELServerManagerBean





If this not working on you have to increase transaction timeout for JTA, Access Weblogic Console select Services > JTA


Thank you 
Osama Mustafa

weblogic.socket.MaxMessageSizeExceededException

$
0
0

I recently encountered below error,Adminserver.log Indicate to :-
weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '10000080' bytes exceeds the configured maximum of: '10000000' bytes for protocol: 't3'.
weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '10000080' bytes exceeds the configured maximum of: '10000000' bytes for protocol: 't3'
        at weblogic.socket.BaseAbstractMuxableSocket.incrementBufferOffset(BaseAbstractMuxableSocket.java:230)
        at weblogic.rjvm.t3.MuxableSocketT3.incrementBufferOffset(MuxableSocketT3.java:351)
        at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:989)
        at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:920)
        at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:897)
        at weblogic.socket.EPollSocketMuxer.dataReceived(EPollSocketMuxer.java:215)
        at weblogic.socket.EPollSocketMuxer.processSockets(EPollSocketMuxer.java:177)
        at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
        at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:43)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

to fix this error follow the following steps :-

From Environment, Press on Adminserver  :-


Chose the tab like the below picture :-


Add the following parameter in arguments box, Save usually there is no need to restart :- 

Or if you would like change MaxMessageSize Directly from the console follow the below screen :-





Option #2 :- 
From the navigation tree :- 



Click on Module-FMWDFW



After choose the above tab, 3 options will be appear, press on each of them and Uncheck on Enable Watch  :-



java.lang.securityexception access denied. required roles admin

$
0
0
Weblogic Adminserver logs indicated to the below error :-

java.lang.securityexception access denied. required roles admin


To solve the above error, Follow the below steps :-

From the Navigation Tree --> Security Realms :-



New Page Will be Opened click on my Realms :-


From the configuration --> General 



Thank you 
Osama Mustafa

My Presentation in OOW14

$
0
0


If you are joining oracle open world 2014 this year , Join me at EOUC short talk and let's chat :)

Session Number :- 
12 Looks at Oracle Database 12c: EOUC Short Talks [UGF8949]

Welcome anytime


More Information Press Here

Thank you for Debra, Jonthan and Kashif for this opportunity

Thank you
Osama Mustafa

the version of the data that you are trying to import is not compatible with current dac version

$
0
0
This Error Appear On DAC Server when trying to Import Data  from the following :

Tools --> DAC Repository Management --> import

This error appears :-

the version of the data that you are trying to import is not compatible with current dac version

After trying to many Solution with no luck , i discover new Solution for this error and it's simple :-

export from tools ( Empty files ) will generate 3 folder in DAC Folder Leave this folder without any copy or replace.



Now in my case i installed BIAPPS Copy the folder without Replace the old one.



after start copying the windows will ask dont replace these three folders DON'T REPLACE IT.


Start Import successfully.





Now The Import is done,


Thank you 
Osama Mustafa


Dublin TECH SIG Day Impression

$
0
0
Third time in Dublin, and i still love this country i arrived to Dublin on 23-Sept to present about Oracle Security Features and how to protect Oracle Database it was exciting trip regarding to my reservation i supposed to be in Dublin at 2:00 PM But What i didn't notice that my flight delayed Therefore i missed my flight and arrived to Dublin at 8:00 PM.

However TECH SIG was really amazing day meeting the people chatting with them, and presenting about Oracle Security with Full Room of people.


After the event me and Pete start chatting about Oracle Security and Talking about other stuff, my next Stop to SF Oracle Open World 2014.

Looking forward to meet everyone there.

Good time with Good People.

Thank you
Osama Mustafa

ORA-01465: Invalid Hex Number

$
0
0


Solution :-

With your Query Use the below function :- RAWTOHEX( raw )

For More information how to use this function read here:-



Thank you 
Osama Mustafa

SF 34004 Serivce initialization failed error

$
0
0
This error appeared on informtica when you are trying to create informtica services to solve this error all you have to do :-

Change the following Exclusive to Normal.



Thank you 
Osama Mustafa

Resource temporarily unavailable in tsStartJavaThread

$
0
0
Resource temporarily unavailable in tsStartJavaThread (lifecycle.c:1096).
Java heap 3G reserved, 3G committed
Paged memory=3145728/36425712K.
Your Java heap size might be set too high.
Try to reduce the Java heap size using -Xmx: (e.g. "-
java.lang.OutOfMemoryError: Resource temporarily unavailable in tsStartJavaThread (lifecycle.c:1096).
Java heap 6G reserved, 6G committed
Paged memory=3145728/36425712K.
Your Java heap size might be set too high.
Try to reduce the Java heap size using -Xmx: 


The Above error appeared on OEDQ when trying to run the process this error related to Java Heap Size the OS control the Heap Size to solve this issue add the below parameters depend on your enviroment  :-


  • Add the following to /etc/sysctl.conf:

kernel.shmmni = 4096
kernel.sem = 256 32000 100 142
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 4194304
net.core.wmem_max = 4194304
fs.file-max = 134283264
fs.aio-max-nr = 1048576
vm.min_free_kbytes = 512000 
  • Add the following to /etc/security/limits.conf:

oracle soft nproc 16384
oracle hard nproc 63536
oracle soft nofile 16384
oracle hard nofile 63536

  •  Add the following to /etc/pam.d/login:
session required /lib/security/pam_limits.so


Thank you
Osama Mustafa

NP_SOAINFRA.WL_LLR_ADMINSERVER Access Failed

$
0
0
 java.sql.SQLException: JDBC LLR, table verify failed for table 'NP_SOAINFRA.WL_LLR_ADMINSERVER', row 'JDBC LLR Domain//Server' record had unexpected value

The above error appeared when trying to start Adminserver nothing changed on the Domain

Solution :-


  • Goto  domain location --> config folder.
  •  remove this line from the config.xml file, Take backup before you do this.



    wlsbjmsrpDataSource
    AdminServer,osb_server1
    jdbc/wlsbjmsrpDataSource-jdbc.xml
 


Thank you
Osama Mustafa 

Oracle SOA Tablespace Is full

$
0
0
When Creating Domain for Oracle SOA it's Mandatory to Run Oracle RCU before to create SOA Repository, This will create tables configuration and information about Oracle SOA.

But What happened the this tablespace was getting full, increase it 20GB is not enough which mean it's strange case and not acceptable.

after investigation Table Called "REFERENCE_INSTANCE" include information about Running Composite in SOA ans instances. the size for this table 18GB.

Select * from Reference_instance; 

Check the data in the above query, just in case you can use export data-bump utility for this table, however after this Truncate the table and from full tablespace toonly 2% usage.


Thank you
Osama Mustafa


Pool EDNLocalTxDataSource is Suspended, cannot allocate resources to applications..

$
0
0
Connection test failed with the following exception: weblogic.common.resourcepool.ResourceDisabledException: Pool EDNLocalTxDataSource is Suspended, cannot allocate resources to applications..


This Error Appeared on Weblogic Depend on Managed Server, Tuning Connection Pool By Increasing Maximum Capacity parameter in Datasource.

My Case Datasource EDNLOCALTXDatasource as the above error.

Solution :-




Increase depend on your application.


Thank you 
Osama Mustafa



OWB GUI Is Slow

$
0
0
Sometimes the default setting is not enough , therefore you need to apply some changes depend on your requirement and the work load. Today while working on OWB I faced huge slowness while open , mapping or even press any button.

to solve this issue all you have to do increasing JVM, to do this follow the below steps :-


  • Depend on OS, Open the following File :- 
    • Windows :- C:\oracle\product\owb11_1\owb\bin\win32\owbclient.bat
Or


    • Linux : $ORACLE_HOME/owb11_1\owb\bin\win32\owbclient.bat.
This file will indicate to setownenv.sh or setowbenv.bat usually in the same path. Open it with any editor.

be careful while adding this file  If you notice or read this file there is more than one line looking the same, these lines only depend on OS for example in my case i am working on LINUX then i have to add Line that indicate for Linux only.

Next to the line -d64 add new parameter -Xmx=1024M or depend on your work.

Restart OWB now.

Cheers.

Osama Mustafa


Cannot Integrated JDeveloper with SOA Server

$
0
0
When trying to integrated JDeveloper with SOA server the below error Appeared :-

Testing JSR-160 Runtime ... failed.
Cannot establish connection.
Testing JSR-160 DomainRuntime ... skipped.
Testing JSR-88 ... skipped.
Testing JSR-88-LOCAL ... skipped.
Testing JNDI ... skipped.
Testing JSR-160 Edit ... skipped.
Testing HTTP ... success.
Testing Server MBeans Model ... skipped.

all my searching on internet not working most of the blogs indicate it's proxy setting which is already disables in my case.

After invesgtation and check logs on the both side adminserver and Jdeveloper i found it's DNS server issue therefore i edited hosts in windows like the below

Adminserver-IP   Hostname

After do this and put hostname instead of IP it's worked Successfully.


Cheers
Osama Mustafa


Viewing all 262 articles
Browse latest View live