Thursday, August 28, 2014

java.lang.securityexception access denied. required roles admin

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


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(
        at weblogic.rjvm.t3.MuxableSocketT3.incrementBufferOffset(
        at weblogic.socket.SocketMuxer.readFromSocket(
        at weblogic.socket.SocketMuxer.readReadySocketOnce(
        at weblogic.socket.SocketMuxer.readReadySocket(
        at weblogic.socket.EPollSocketMuxer.dataReceived(
        at weblogic.socket.EPollSocketMuxer.processSockets(
        at weblogic.socket.SocketReaderRequest.execute(
        at weblogic.kernel.ExecuteThread.execute(

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  :-

Tuesday, August 26, 2014

Increase Transaction timeout in SOA Server

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 :-


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

Thank you 
Osama Mustafa

Thursday, August 21, 2014

WSM-02557 When Trying to Deploy On SOA Server.

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 :-


Create the below Group


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

Wednesday, August 20, 2014

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

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(
at oracle.xdo.servlet.resources.StructuredSawMtomResourceProvider.writeResource(
Caused By: java.lang.NullPointerException
at java.lang.StringBuilder.(
at oracle.xdo.servlet.resources.CatalogSawMtomResourceProvider.getRealPath(
at oracle.xdo.servlet.resources.CatalogSawMtomResourceProvider._writeResource(
Check the bipublisher.log file and messages like this appear.
java.rmi.RemoteException: access denied for user to path /users/weblogic.; nested exception is: [[ access denied for user to path /users/weblogic. 

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

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

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 :-


And Change it to :-

Or Another way add the below line to startup script in weblogic :-

Hope this will solve your problem.

Thank you
Osama Mustafa

Monday, August 11, 2014

Invalid User name and password OBIEE 11g (Analytics)

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> access denied ( context=SYSTEM,,keyName=system.user read)
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


Located :-


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

Sunday, August 10, 2014