Posts

Showing posts from August, 2014

java.lang.securityexception access denied. required roles admin

Image
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

weblogic.socket.MaxMessageSizeExceededException

Image
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.EPollSocke…

Increase Transaction timeout in SOA Server

Image
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

WSM-02557 When Trying to Deploy On SOA Server.

Image
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

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(StructuredSawMtomResourceProvider.java:2375)
at oracle.xdo.servlet.resources.StructuredSawMtomResourceProvider.writeResource(StructuredSawMtomResourceProvider.java:2283)
...
Caused By: java.lang.NullPointerException
at java.lang.Strin…

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

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

Invalid User name and password OBIEE 11g (Analytics)

Image
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>
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.jav…

Install Oracle BI Apps 7.9.6.3

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