ADF Logging log4j JDeveloper
Hi,
I have a problem using log4j with apache commons logging for my application logging.
I use JDeveloper/ADF recent version...
This is my code:
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class MyClass{
/** Der LOGGER */
private Log logger = LogFactory.getLog(this.getClass().getName());
First time I start my app it works, I cann see the logging output in the JDeveloper console.
But - after restarting the app (redeploy) nothing is displayed to the console.
I have to restart the server every time I changed something in the code to see the logging output :-(
Anybody who can help me ?
Thanks in advance,
goog morning from Germany !
...when I start my app, I get this message:
<11.11.2010 16:44 Uhr MEZ> <Notice> <LoggingService> <BEA-320400> <The log file C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<11.11.2010 16:44 Uhr MEZ> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00183. Log messages will continue to be logged in C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
<11.11.2010 16:44 Uhr MEZ> <Notice> <LoggingService> <BEA-320400> <The log file C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<11.11.2010 16:44 Uhr MEZ> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log00142. Log messages will continue to be logged in C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log.>
<11.11.2010 16:44 Uhr MEZ> <Notice> <LoggingService> <BEA-320400> <The log file C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<11.11.2010 16:44 Uhr MEZ> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00143. Log messages will continue to be logged in C:\Dokumente und Einstellungen\X\Anwendungsdaten\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
IntegratedWebLogicServer startup time: 34187 ms.
Oracle about BEA-320400:
http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e14397/LoggingService.html
is this an idication, why i lose the log output after redeploy?
Similar Messages
-
Problems installing ADF feature in JDeveloper 11.1.2.3
Hi everybody, I'm trying to install the ADF Mobile feature in two different windows XP SP3 computers, and allways get the same error. (last version of JDeveloper 11.1.2.3, studio and java edition)
Installing the feature via update center or via Local file the result is the same... promp for restarting, and after that I only see the ADF Mobile Help extension installed. The message log of JDeveloper says:
Jan 30, 2013 3:54:21 PM org.netbeans.core.startup.NbEvents logged
INFO: Turning on modules:
Jan 30, 2013 3:54:21 PM org.netbeans.core.startup.NbEvents dumpModulesList
INFO: org.openide.util.lookup [8.3.1 201007282301]
org.openide.util [8.6.2 201103231602]
org.openide.modules [7.17.2 201008301741]
org.openide.filesystems [7.38.2 201007282301]
org.netbeans.core.dynamicconfig [1.0 120919]
org.netbeans.bootstrap/1 [2.33.5 201104201301]
org.netbeans.core.startup/1 [1.25.5 201103231602]
org.netbeans.libs.osgi [1.1.1 201007282301]
org.netbeans.core.netigso [1.4.5 201011191627]
org.apidesign.netbinox [1.16.10 110502]
com.oracle.jdeveloper.nbbridge [1.1 120919]
oracle.ide_osgi [11.1.2 11.1.2]
¿Any idea of how to solve the problem, or how to get a higher level of error trace?
I'm using jdk1.6.0_38
ThanksThank you for the answer, i've read the thread but i'm trying in Windows XP as administrator...not in Unix, so i can't execute these commands.
-
Packaging and Deploying the ADF Application From JDeveloper to weblogic
Hi,
I Have Created ADF Project in JDeveloper.
I had created the EAR file from JDeveloper (from deployment tab) to deploy my project on weblogic server (Other Than Integrated Weblogic Server).
i have already installed ApplicationDevelopment Runtime (ADR) on weblogic and also extend the domain with JRF.
but when i try to deploy it on my weblogic it gives me the following exceptions :
An error occurred during activation of changes, please see the log for details.
Failed to load webapp: 'My-ViewController-context-root'
org.apache.myfaces.trinidad.webapp.UIXComponentELTag
Can anybody help what i am missing ?
Please Help...Hi,
i have installed the ADF Runtime 11.1.1.5.0_disk1_1of1.
but when i try to deploy the ADF application it gives me some tags missing exception
the exception gone when i insert the following jar files :
trinidad-api-1.2.11.jar
trinidad-impl-1.2.11.jar
and application is get deployed successfully.
but when i try to run the application it gives me following exception
java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpConfigurator cannot be cast to org.apache.myfaces.trinidad.config.Configurator
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:366)
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:199)
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(GlobalConfiguratorImpl.java:304)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.(FacesContextFactoryImpl.java:86)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:260)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
what went wrong...
i am stuck up here...
please help. -
Getting Blank page when i am running ADF page from jdeveloper 11.1.1.0.1
Hi All,
I have created new ADF page in Jdeveloper 11g. I have done the steps which are mentioned in the OTN ADF tutorial. when i am running the page, i am getting blank page in the console its throwing the below exception. pls help me.
<Dec 23, 2008 11:12:43 AM GMT+05:30> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@beaed3 - appName: 'BrowseEditApp', name: 'BrowseEditApp-ViewController-context-root', context-path: '/BrowseEditApp-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@1db6c8c[
GET /BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml HTTP/1.1
Accept: /
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Connection: Keep-Alive
]] Root cause of ServletException.
java.lang.NullPointerException
at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:336)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
Truncated. see log file for complete stacktrace
can any body help me
thanks
VenkatHi,
hard to tell what the problem is because all that the stack trace tells us is that you are invoking a bounded taskflow from a browser. If the bounded taskflow is built with pages (not page fragments) then this should bring up the default activity.
Frank -
Hi,
I think that there are some serious problems with ADF logging. Setting its logging level to finest may change the behaviour of the application fundamentally by throwing exceptions which wouldn't be thrown otherwise.
For example:
Logging level of ADF is default. Given an EL expression for an NDValue attribute of a methodAction in some pageDef file - the page is working fine and you see the desired data on the page.
Then you set the logging level of oracle.adfinternal to finest and re-run the page, and you can see a not too informative "JBO-29000: null; java.lang.NullPointerException" error message on the page, which of course does not show your data, as the methodAction was not executed due to the JBO error. The trace stack shows that the cause of the oracle.jbo.JboException thrown at oracle.adf.model.binding.DCBindingContainer.reportException was a java.lang.NullPointerException thrown at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate. Cheking the log files you can see that this method has logged a message with level of TRACE:1 saying "Error evaluating expression: #{your expression}". This is beyond understanding, as the expression is correct (e.g. it is syntactically correct and referencing only existing bean values or an attribute binding input value).
Does anybody have any experiences like this or know the cause of this problem?
(I'll try to reproduce the problem in a simple testcase if my time permits.)
Regards,
PatrikPatrik,
my guess is that this is basically a bug in the application code. When you increase the log level, you're making the application execute more code to debug data that's not executed otherwise when the log level is the default.
This happened to me some time ago with another application and I found out that there was a bug in the code which was executed with FINEST level.
As you say, if there is a "null" value then when the code is executed, you get the NullPointerException. I don't know who would be the one to solve this issue though.
Good luck -
How can I create my own TopLink ADF datacontrol in JDeveloper?
To create your own TopLink ADF datacontrol in JDeveloper follow these steps:
Step 1. Add ADF TopLink Runtime library to your project
Step 2. Extend oracle.adf.model.generic.toplink.ToplinkDataControl with new class (e.g. MyToplinkDataControl)
import java.util.Map;
import oracle.adf.model.generic.toplink.ToplinkDataControl;
public class MyToplinkDataControl extends ToplinkDataControl {
public MyToplinkDataControl(String name, Map params, String beanClassName, boolean root)
super(name, params, beanClassName, root);
initialize(params, beanClassName);
protected void initialize(Map params, String beanClassName){
super.initialize(params, beanClassName);
getServerSession().logMessages();
Step 3. Extend oracle.adf.model.generic.toplink.DataControlFactoryImpl with new class (e.g. MyToplinkDataControlFactory) and override DataControlFactoryImpl.createSession as follows to return an instance of MyToplinkDataControl:
import oracle.adf.model.generic.toplink.*;
public class MyToplinkDataControlFactory extends DataControlFactoryImpl {
public String getDataControlClassName() {
return "MyToplinkDataControl";
Step 4. Edit DataBindings.cpx (you may have to go to the disk directly). Set the FactoryClass attribute of the DataControl to equal the custom factory class name.
FactoryClass="MyToplinkDataControlFactory"iOS Dev Center - Apple Developer
iOS Developer Program - Apple Developer -
hello everyone, configure a loghandler in logging.xml like this:
<property name='path' value='${domain.home}/servers/${weblogic.Name}/logs/owsm/msglogging/diagnostic.log'/>
where the ${domain.home} and ${weblogic.Name} set up, then can I set up other variable and how?hello my jdev is 12c,
please look this url about ADF log
thanks -
hi experts,
Using jdev11.1.1..50-adfbc.
i go through duncan's blog for logging.
i tried those as he said. but this npe keep on throwing. while hitting search button. i restart entire system / jdev.. i dont know what's going on.
http://img716.imageshack.us/img716/5412/48693347.png
i mess'd up any other steps.john,
this waht only i captured in snap.
Performing action null[ from oracle.adf.logging.dt.analyzer.ui.LogAnalyzerView ]
Exception while performing action null
java.lang.NullPointerException
o.adf.logging.dt.analyzer.ui.QueryCriteriaPanel.getEndTime(QueryCriteriaPanel.java:548)
o.adf.logging.dt.analyzer.ui.QueryCriteriaPanel.getSearchCriteria(QueryCriteriaPanel.java:454)
o.adf.logging.dt.analyzer.ui.QueryPanel.getSearchCriteria(QueryPanel.java:175)
o.adf.logging.dt.analyzer.ui.QueryPanel.handleEvent(QueryPanel.java:151)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Exception while performing action null
java.lang.NullPointerException
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getEndTime(ADFRequestQueryCriteriaPanel.java:351)
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getSearchCriteria(ADFRequestQueryCriteriaPanel.java:275)
o.adf.logging.dt.analyzer.ui.QueryPanel.getSearchCriteria(QueryPanel.java:175)
o.adf.logging.dt.analyzer.ui.QueryPanel.handleEvent(QueryPanel.java:151)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Exception while performing action null
java.lang.NullPointerException
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getEndTime(ADFRequestQueryCriteriaPanel.java:351)
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getSearchCriteria(ADFRequestQueryCriteriaPanel.java:275)
o.adf.logging.dt.analyzer.ui.QueryPanel.getSearchCriteria(QueryPanel.java:175)
o.adf.logging.dt.analyzer.ui.QueryPanel.handleEvent(QueryPanel.java:151)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Exception while performing action null
java.lang.NullPointerException
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getEndTime(ADFRequestQueryCriteriaPanel.java:351)
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getSearchCriteria(ADFRequestQueryCriteriaPanel.java:275)
o.adf.logging.dt.analyzer.ui.QueryPanel.getSearchCriteria(QueryPanel.java:175)
o.adf.logging.dt.analyzer.ui.QueryPanel.handleEvent(QueryPanel.java:151)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Exception while performing action null
java.lang.NullPointerException
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getEndTime(ADFRequestQueryCriteriaPanel.java:351)
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getSearchCriteria(ADFRequestQueryCriteriaPanel.java:275)
o.adf.logging.dt.analyzer.ui.QueryPanel.getSearchCriteria(QueryPanel.java:175)
o.adf.logging.dt.analyzer.ui.QueryPanel.handleEvent(QueryPanel.java:151)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Exception while performing action null
java.lang.NullPointerException
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getEndTime(ADFRequestQueryCriteriaPanel.java:351)
o.adf.logging.dt.analyzer.ui.ADFRequestQueryCriteriaPanel.getSearchCriteria(ADFRequestQueryCriteriaPanel.java:275)
o.adf.logging.dt.analyzer.ui.QueryPanel.getSearchCriteria(QueryPanel.java:175)
o.adf.logging.dt.analyzer.ui.QueryPanel.handleEvent(QueryPanel.java:151)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)i choose sendfeedback while hitting next time means
Failed to log feedback because of exception: oracle.ideimpl.feedback2.client.FeedbackException: Exception creating LegacyFeedbackWriterFCPAUTO: Already logged bug [NPE in o.adf.logging.dt.analyzer.ui.QueryCriteriaPanel:548]this waht thrown.
sorry for editing in late.
Edited by: ADF7 on Mar 23, 2012 12:07 AM -
ADF Logging ,need one file per application
Hi , I used the ADF logging api and I saw all log information on AdminServer.log . I need to have one file per application , ho it is possible ?
thanksHey,
You can follow the below link
http://adfandjdeveloper.blogspot.in/2013/07/use-adf-logger-in-adf-application.html
Thanks -
Hi all,
I have been following the tutorial, but unable to deploy. [wldeploy] java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggin
gHelper.
I've checked the log4j.jar, it is there is lib dir. Please advise what is happening and how to fix it?
C:\Windows\system32>c:\bea\user_projects\domains\medrecdomain\bin\setDomainEnv.cmd
C:\bea\user_projects\domains\MedRecDomain>cd c:\medrec_tutorial\src\physicianEar
c:\medrec_tutorial\src\physicianEar>ant -f deploy.xml
Buildfile: deploy.xml
deploy:
[wldeploy] weblogic.Deployer -noexit -name tutorial_deployment -source C:\medre
c_tutorial\build\physicianEar -adminurl t3://127.0.0.1:7111 -user weblogic -pass
word ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -noexit -name tutorial_depl
oyment -source C:\medrec_tutorial\build\physicianEar -adminurl t3://127.0.0.1:71
11 -user weblogic -deploy
[wldeploy] <Jun 6, 2009 2:19:58 PM PDT> <Info> <J2EE Deployment SPI> <BEA-26012
1> <Initiating deploy operation for application, tutorial_deployment [archive: C
:\medrec_tutorial\build\physicianEar], to configured targets.>
[wldeploy] Task 2 initiated: [Deployer:149026]deploy application tutorial_deplo
yment on MedRecServer.
[wldeploy] Task 2 failed: [Deployer:149026]deploy application tutorial_deployme
nt on MedRecServer.
[wldeploy] Target state: deploy failed on Server MedRecServer
[wldeploy] java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggin
gHelper
[wldeploy]
[wldeploy]
BUILD FAILED
C:\medrec_tutorial\src\physicianEar\deploy.xml:9: weblogic.Deployer$DeployerExce
ption: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Dep
loyer:149026]deploy application tutorial_deployment on MedRecServer.
Target state: deploy failed on Server MedRecServer
java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggingHelper
thanks
andrew1. I haven't got a clue, according to the guide, it has a log4jConfig.xml to be copied from the samples dir, but I just got the the log4j.properties.
prompt> copy c:\bea\wlserver_10.0\samples\domains\medrec\log4jConfig.xml c:\bea\user_projects\domains\MedRecDomain
2. notepad c:\bea\user_projects\domains\MedRecDomain\bin\setDomainEnv.cmd
set LOG4J_CONFIG_FILE=c:\bea\user_projects\domains\MedRecDomain\log4jConfig.xml <-- which I replace with log4j.properties
3. Copy the log4j JAR files from the lib directory of the pre-configured MedRec domain to the lib directory of the new domain you just created:
prompt> copy c:\bea\wlserver_10.0\samples\domains\medrec\lib\*.jar c:\bea\user_projects\domains\MedRecDomain\lib
<-- I don't have *.jar in the samples dir, so I copy the log4j.jar from other directories.
Please advise how to install? or could you please cut and paste your log4jconfig.xml for your medrec?
thanks
andrew -
How can I insert one row in ADF Table in JDeveloper 10.1.3
Hi all,
How can I add new row ADF Table in JDeveloper 10.1.3
NOTE : I tried using create button still not working
thanksIf you are using ADF BC - try replacing the binding of the operation from Create to CreateInsert.
See Re: A simple JSF Table CRUD - How To -
Hi
Is there any focument for ADF Security in JDeveloper 11, i found document for ADF Security in JDeveloper 10.1.3.2 but its different than 11g.
RegardsThere is a section in the Fusion Developer Guide documentation, and Franks has a set of online demos here:
http://www.oracle.com/technology/products/jdev/tips/fnimphius/index.html -
hello every one ,how can I configure the ADF logging.xml to reach daily log ,and the log's name like xxx20131113.log?
<log_handler name='mylog-handler' class='oracle.core.ojdl.logging.ODLHandlerFactory' level='TRACE:32'>
<property name='logreader:' value='off'/>
<property name='path' value='D:\log\'/>
<property name='rotationFrequency' value='daily'/>
<property name='retentionPeriod' value='day'/>
<property name='format' value='ODL-Text'/>
<property name='useThreadName' value='true'/>
<property name='locale' value='zh'/>
<property name='maxFileSize' value='5242880'/>
<property name='maxLogSize' value='52428800'/>
<property name='encoding' value='UTF-8'/>
</log_handler>Hi, I am able to create log file with date format. I did not have windows envt set up and I had to create envt in windows and tested the log. You will have to pass it as system variable using -D tag. Ex : -Ddate.var=%datevar% where datevar is the one you are assigning date format. but ensure that you will not have space and special character in the extracted format.
thanks -
Strange ADF Log: ACT COMP (QRY)!!!
Hi,
I have activated the ADF log in an ADF Faces application in order to analyse some performance problems it has. I have added the following options to the Java command line:
-Djbo.debugoutput=adflogger -Djbo.adflogger.level=FINE
Then I have seen messages like this one in the log output:
FacturasView3>#q computed SQLStmtBufLen: 2281, actual=2607, storing=2637 ACT > COMP (QRY)!!!
The phrase "ACT > COMP (QRY)!!!" in capital letters and with exclamation signs make me think that it's a warning to alert developers that something bad is happening. I have also seen messages like these one:
MovimientosCtbView4>#q old SQLStmtBufLen: 1170, actual=1079, storing=1109
similar to the first one but without the warning. What does the "ACT > COMP (QRY)!!!" phrase mean?
The performance problems that the we are experiencing with this application consist of high memory and CPU consumption when the application has been running about two hours in a production environment. Sometimes it happens when it has been running less than one hour.
The application was developed by other people, so I don't know if they used bad ADF practices.
Thanks,
MarcSo, the update from development on this is that in order to avoid creating a StringBuffer that we then need to resize numerous times while building up the various parts of a SQL statement, we estimate what the size of the stringbuffer will be and initially allocate it to be that size. If the actual SQL statement created ends up being bigger, then this diagnostic just tells us that our guestimate was under the actual number of characters required to store the whole statement, so in other words, the StringBuffer needed to be grown to accommodate the larger size.
It's not really something to worry about, but if you're interested in helping us improve our estimating algorithm, you can open a service request on Metalink with a simple testcase and ask for the support rep to file a bug for it so we can track down the situation where we've guessed too small for the size of the SQL string. -
Error While Running a ADF Page from JDeveloper
Hi
I am facing the following problem while running a page from JDeveloper 11g
please find the below stack trace and help me in fixing this
IntegratedWebLogicServer startup time: 181886 ms.
IntegratedWebLogicServer started.
[Running application TestApp on Server Instance IntegratedWebLogicServer...]
[12:39:33 PM] ---- Deployment started. ----
[12:39:33 PM] Target platform is (Weblogic 10.3).
[12:39:35 PM] Retrieving existing application information
[12:39:35 PM] Running dependency analysis...
[12:39:36 PM] Deploying 2 profiles...
[12:39:43 PM] Wrote Web Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp\ViewControllerWebApp.war
[12:39:44 PM] Wrote Enterprise Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp
[12:39:44 PM] Deploying Application...
<ConfigHelper><getParsedElements> oracle.adf.share.config.ConfigHelper
java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:130)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:50)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:602)
at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:221)
at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:144)
at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:134)
at oracle.adf.share.config.ADFSettingsImpl.<init>(ADFSettingsImpl.java:68)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:88)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:65)
at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:701)
at oracle.adf.controller.config.ControllerSettings.getCurrent(ControllerSettings.java:51)
at oracle.adf.controller.config.ControllerSettings.getPhaseListeners(ControllerSettings.java:74)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.initControllerConfigListeners(ADFLifecycle.java:38)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.setInstance(ADFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl.<init>(JSFLifecycleImpl.java:33)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:39)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified).
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:39:58 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273216184760' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:39:58 PM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'TestApp'.>
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestApp'.>
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
[12:39:58 PM] #### Deployment incomplete. ####
#### Cannot run application TestApp due to error deploying to IntegratedWebLogicServer.
[12:39:58 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
[Application TestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]
[Running application TestApp on Server Instance IntegratedWebLogicServer...]
[12:45:12 PM] ---- Deployment started. ----
[12:45:12 PM] Target platform is (Weblogic 10.3).
[12:45:12 PM] Retrieving existing application information
[12:45:12 PM] Running dependency analysis...
[12:45:12 PM] Deploying 2 profiles...
[12:45:13 PM] Wrote Web Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp\ViewControllerWebApp.war
[12:45:13 PM] Wrote Enterprise Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp
[12:45:13 PM] Redeploying Application...
<ConfigHelper><getParsedElements> oracle.adf.share.config.ConfigHelper
java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:130)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:50)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:602)
at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:221)
at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:144)
at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:134)
at oracle.adf.share.config.ADFSettingsImpl.<init>(ADFSettingsImpl.java:68)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:88)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:65)
at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:701)
at oracle.adf.controller.config.ControllerSettings.getCurrent(ControllerSettings.java:51)
at oracle.adf.controller.config.ControllerSettings.getPhaseListeners(ControllerSettings.java:74)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.initControllerConfigListeners(ADFLifecycle.java:38)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.setInstance(ADFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl.<init>(JSFLifecycleImpl.java:33)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:39)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified).
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:45:18 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273216513742' for task '1'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:45:18 PM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'TestApp'.>
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestApp'.>
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
[12:45:18 PM] #### Deployment incomplete. ####
[12:45:18 PM] Remote deployment failed
#### Cannot run application TestApp due to error deploying to IntegratedWebLogicServer.
[Application TestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]Thanks in Advance
KumarHi Frank,
I am using JDeveloper Studio Edition Version 11.1.1.2.0,
Even i try to run different application but still i am getting the same error.
Regards,
Kumar
Edited by: harikumarmpl on May 7, 2010 2:50 AM
Maybe you are looking for
-
I would like to purchase spyware for my mac ...what should I get?
I'm looking for spyware that is compatible to my M ac. I need to monitor my children while they are on IM, social media and emails. Any suggestions?
-
Date Format in ADF BC + Customization + JDev 10.1.3.3
Hi, Currently we are specifying the date format in ADF BC EO component as MM/dd/yyyy for each attribute which is taking too much time.Specially when we do regionwide deployment of application where date format very specific,then again we need to go t
-
how do i get i tunes back on garageband?
-
any one tell me how to set jax ws header and i want to access that values in httprequest at server side. means i want to send jax ws client values (user name) to server ...
-
Can't find download diver for Photoshop Elements 8 for Mac
Hi there. I own a hard disc of Elements 8 for Mac, but our new iMac doesn't have a disc drive. When I went to go download a driver from Adobe, it says that it doesn't have one for Mac. Surely this can't be the case, where there exists such a thing