If you see http access log empty or being written at server shutdown or being details.
Its probably because of the log buffer setting in weblogic.
By defaults its 8kb. which means until log data does not exceed 8 KB, it won't be written in http access log.
To reduce buffer size use below command:
<Server_home>wlserver_10.3\server\lib>java -cp weblogic.jar weblogic.Admin -url t3://<host:port> -username <weblogic username> -password <weblogic password> SET -type WebServerLog -property BufferSizeKB 0
Friday, February 19, 2016
oracle.security.jps.JpsRuntimeException: Cannot read from policy store.
If you encounter below error while starting weblogic server:
oracle.security.jps.JpsRuntimeException: Cannot read from policy store.
Please check system-jazn,xml, there are chances that this file is corrupted (due to weblogic or system crash)
Easy way to get default system-jazn is to create a fresh system folder and start weblogic server.
Location of system-jazn - DefaultDomain\config\fmwconfig
Region component has detected a page fragment with multiple root components
Many of us might have faced this issue while working on ADF application with lot of jsff pages.
<RegionRenderer> <encodeAll> The region component with id: pt1:r1:0:r4 has detected a page fragment with multiple root components
The root cause in most of the cases is described post - http://adf-webcenter.blogspot.in/2014/11/oracle-adf-fix-for-error-region.html
Why it is occurring?
The error occurs because the underlying jsff has more than one root component in the <jsp:root> tag.
Solution
We can fix this by wrapping the multiple root components into a single one by wrapping the multiple roots into one component such as <af:group>, <af:panelGroupLayout>, etc.
<RegionRenderer> <encodeAll> The region component with id: pt1:r1:0:r4 has detected a page fragment with multiple root components
The root cause in most of the cases is described post - http://adf-webcenter.blogspot.in/2014/11/oracle-adf-fix-for-error-region.html
Why it is occurring?
The error occurs because the underlying jsff has more than one root component in the <jsp:root> tag.
Solution
We can fix this by wrapping the multiple root components into a single one by wrapping the multiple roots into one component such as <af:group>, <af:panelGroupLayout>, etc.
Tuesday, February 16, 2016
Failed to load webapp
Sometimes we get this error while running ADF Application in integrated server in Jdeveloper.
weblogic.application.ModuleException: Failed to load webapp: 'ADFormModel-context-root'
This blog will be be helpful if you see the context root after this error of a application which is not suppose to be a web application.
weblogic.application.ModuleException: Failed to load webapp: 'ADFormModel-context-root'
Following two steps should solve the problem:
1. Check if there is any web app related files in Model Project, if yes remove it.
2. Check for deployment profile and configure the deployment profile to generate a jar.
Happy Learning !!
weblogic.application.ModuleException: Failed to load webapp: 'ADFormModel-context-root'
This blog will be be helpful if you see the context root after this error of a application which is not suppose to be a web application.
weblogic.application.ModuleException: Failed to load webapp: 'ADFormModel-context-root'
Following two steps should solve the problem:
1. Check if there is any web app related files in Model Project, if yes remove it.
2. Check for deployment profile and configure the deployment profile to generate a jar.
Happy Learning !!
Subscribe to:
Posts (Atom)