Adf faces demo problem

I've installed adffacesdemo in to my local Jdeveloper instance. When I try to run the index.jspx file, it's giving a warning message about http port conflict and suggest to click OK for auto port assignment. I clicked OK for auto port resolution, but it fails to start to WLS and gives the following error. any ideas are appreciated. I'm using Jdev11.1.1.3.0. any ideas are apperciated.
HTTP port conflict detected. The HTTP port will be reassigned to port 7102.
<Aug 23, 2010 3:17:44 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Aug 23, 2010 3:17:44 PM PDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Aug 23, 2010 3:17:44 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
Process exited.
Thanks,
Surya
Edited by: sgodavar on Aug 23, 2010 3:42 PM

Thanks Frank. I did a clean start of WLS and this time there is no port conflict, but it failed to deploy the application. any idea about this error(sorry for long error stack message). I'm a newbie for Jdev, any ideas are appreciated.
*** Using port 7101 ***
"C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd"
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\OracleBI\web\bin;C:\OracleBI\web\catalogmanager;C:\OracleBI\SQLAnywhere;C:\Program Files\Java\jdk1.5.0_15\bin;C:\OracleBI\server\Bin;C:\ADE\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\emacs\bin;c:\PROGRAM FILES\TERATERM;C:\CYGWIN\BIN;c:\Program Files\WinZip;\\StCifsRR1.us.oracle.com\packages\windows\packages\farm\farm;\\StCifsRR1.us.oracle.com\packages\windows\packages\farm\sfe\generic;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 "-Dhttp.nonProxyHosts=*oraclecorp.com|*oracle.com|localhost|localhost.localdomain|127.0.0.1|::1|sgodavar-pc.us.oracle.com|sgodavar-pc" -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 "-Dhttps.nonProxyHosts=*oraclecorp.com|*oracle.com|localhost|localhost.localdomain|127.0.0.1|::1|sgodavar-pc.us.oracle.com|sgodavar-pc" -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
<Aug 24, 2010 10:34:24 AM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
<Aug 24, 2010 10:34:25 AM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<Aug 24, 2010 10:34:28 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Aug 24, 2010 10:34:28 AM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Aug 24, 2010 10:34:28 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\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.>
<Aug 24, 2010 10:34:28 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00008. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
<Aug 24, 2010 10:34:28 AM PDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Aug 24, 2010 10:34:36 AM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Aug 24, 2010 10:34:54 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Aug 24, 2010 10:34:54 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Aug 24, 2010 10:35:22 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application BrowseEditApp is not versioned.>
<Aug 24, 2010 10:35:53 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\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.>
<Aug 24, 2010 10:35:53 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00006. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
<Aug 24, 2010 10:35:53 AM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Aug 24, 2010 10:35:55 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Aug 24, 2010 10:35:55 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Aug 24, 2010 10:35:55 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Aug 24, 2010 10:35:55 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 144.25.110.215:7101 for protocols iiop, t3, ldap, snmp, http.>
<Aug 24, 2010 10:35:55 AM PDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Aug 24, 2010 10:35:56 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Aug 24, 2010 10:35:56 AM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
IntegratedWebLogicServer startup time: 98297 ms.
IntegratedWebLogicServer started.
[Running application adffacesdemo on Server Instance IntegratedWebLogicServer...]
[10:35:58 AM] ---- Deployment started. ----
[10:35:58 AM] Target platform is (Weblogic 10.3).
[10:36:02 AM] Retrieving existing application information
[10:36:03 AM] Running dependency analysis...
[10:36:03 AM] Deploying 2 profiles...
[10:41:57 AM] Wrote Web Application Module to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\adffacesdemo\adffacesdemoWebApp.war
[10:42:00 AM] Wrote Enterprise Application Module to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\adffacesdemo
[10:42:00 AM] Deploying Application...
<Aug 24, 2010 10:42:44 AM PDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\adffacesdemo\adffacesdemoWebApp.war. Please make sure that the annotations are valid. The error is org.apache.myfaces.trinidad.webapp.ResourceServlet>
<Aug 24, 2010 10:42:44 AM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1282671732296' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'adffacesdemo-adffacesdemo-context-root''
weblogic.application.ModuleException: Failed to load webapp: 'adffacesdemo-adffacesdemo-context-root'
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
     Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     Truncated. see log file for complete stacktrace
>
<Aug 24, 2010 10:42:44 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'adffacesdemo'.>
<Aug 24, 2010 10:42:44 AM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: 'adffacesdemo-adffacesdemo-context-root'
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
     Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     Truncated. see log file for complete stacktrace
>
[10:42:44 AM] #### Deployment incomplete. ####
[10:42:44 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
#### Cannot run application adffacesdemo due to error deploying to IntegratedWebLogicServer.
[Application adffacesdemo stopped and undeployed from Server Instance IntegratedWebLogicServer]

Similar Messages

  • Having a problem running jheadstart app and adf-faces-demo on wls 8.1 sp4

    I have created a very simple jheadstart app in Jdeveloper. Also I have created a project from the adf-faces-demo.
    I am now trying to run both applications on weblogic 8.1 sp4
    Both applications exhibit the same behavior. When trying to load the index page, the progress bar on the browser indicates that the page is loading (and stays there) and I don't see any error in the output log (except for the message:
    Oct 31, 2006 5:46:22 PM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    Which I understand is harmless.
    I have done the following to try to make this work:
    Make sure that the application is compiled in JDK 1.4
    Add the recommend jlib, lib, and MyFaces jars to the classpath.
    Change the extension of the index page to jsp and change the web.xml to:
    <filter-mapping>
    <filter-name>demoRedirect</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    Any help would be greatly appreciated. Thanks.

    Alberto,
    I noticed you reported this on the JDev forum as well. Deploying ADF-Jhs apps is not different from deploying a plain ADF app, (apart from the Jhs Runtime lib that should be added to the .ear file), so please continue to use the JDev forum to resolve your problems.
    You also might want to check the section on WebLogic deployment in the ADF Dev Guide:
    http://download-west.oracle.com/docs/html/B25947_01/deployment_topics008.htm#CIHEGDAI
    Steven Davelaar,
    JHeadstart Team.

  • Can't get adf-faces-demo.war working on WLS 8.1 SP5

    Did a search & found some others facing the same difficulties as I am, also followed some recommendations of using an exploded war instead of archive war, and also adding some JARs from Tomcat 5.5.* onto my classpath, but the demo still refuses to work on WLS 8.1 SP5.
    Using the hyperlink http://127.0.0.1:7001/adf-faces-demo, I kept getting a blank page. And on my WLS console, I'm seeing these:
    Mar 15, 2006 6:37:23 PM oracle.adfinternal.view.faces.webapp.ConfigParser parseConfigFile
    INFO: ADF Faces is running in debug mode. Do not use in a production environment. See:/WEB-INF/adf-f
    aces-config.xml
    Could somebody help me with this?
    Or WLS 8.1 totally doesn't work with JSF?

    Dear Prasanth,
    You're right; so what I did next was to rename my .jspx to .jsp, and this time round I hit this exception while accessing the index.jsp page, any idea what other stuffs I did to do?
    Thanks for your help!
    javax.servlet.jsp.JspException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)
         at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)

  • Where is adf-faces-demo.war?

    Hi everyone,
    Does anyone know where I can find and download adf-faces-demo.war that was mentioned in the following page
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.jsf_apps%7Cadfcreate%7Caf_ademowar%7Ehtml/
    I read the Jdev documentation and still don't get the idea how af:progressIndicator work with af:poll and my long running process. I have a button on a jsp that runs a long process via calling of stored procedure. As this DB process usually takes long time to complete, the middle tier will be time-out before it. How can I use progressIndicator and poll to keep user notified and keep the session active ?

    Hi Bonnie,
    You can download it from this page:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adfjsf/how-to-adf-faces-10gjdev.htm
    Under the heading 'Creating an "ADF Faces " Library and registering the ADF Faces tag libraries', point 1) Download the adf-faces-ea10.zip from here. Unzip this file to a separate directory such as d:\adffaces. This directory will contain the subdirectories docs, lib, and src, and the adf-faces-demo.zip. The lib directory will contain the required jar files and tld (tag library descriptors) files for JDeveloper to work with ADF Faces.
    Hope this help.
    Regards.

  • Adf-faces-demo.war for 10g - where can I download this demo package?

    based on Oracle JDeveloper 10g (10.1.3) Documentation this package can be downloaded, but it's not there any more. Anyone know where I can download a copy?
    About the ADF Faces Demo Files The ADF Faces component and feature demonstration files are available in adf-faces-demo.war, which you can download from the Oracle Technology Network at
    http://www.oracle.com/technology/tech/java/jsf.html
    or,
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/index.html
    Thanks

    The 10.1.3 version of the file is now linked from
    http://www.oracle.com/technetwork/testcontent/adffaces1013-096465.html
    (under the download section of that page)

  • [SOLVED] adf faces demo doesn't work with jdev 10.3.1.2

    Has anybody tried to run the ‘Introduction to adf faces/trinidad using jdev’ demo at
    http://www.oracle.com/technology/obe/obe1013jdev/10131/trinidad/adf_faces_trinidad.htm
    with jdev 10.1.3.2 studio?
    I am trying it and I am getting this error
    500 Internal Server Error
    java.lang.NoSuchMethodError: oracle.adf.view.faces.context.AdfFacesContextFactory.createContext(Loracle/adf/view/faces/webapp/wrapper/ContextWrapper;Loracle/adf/view/faces/webapp/wrapper/RequestWrapper;)Loracle/adf/view/faces/context/AdfFacesContext;
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.startFilter(AdfFacesFilterHelperImpl.java:112)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:111)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Message was edited by:
    mauro avon

    We don't automatically migrate the adf-faces-api.jar since in a 10.1.3.x ADF Faces application this JAR is not part of your project's WEB-INF/lib directory.
    The issue must be specific to migrating this Apache Trinidad example.

  • ADF faces logout problem

    Hi.
    I've a problem with ADF faces that I didn't had when I was using the JSF reference implementation. W're using Jboss as a container, but that has nothing to do with this.
    Basicly, the users triggers a logoff by clicking a link that leads to the "logoff" JSF page.
    This page has exactly this content, and nothing more:
    <%-- Tag libraries --%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="/WEB-INF/tlds/refdataportal.tld" prefix="r" %>
    <%
    org.mycompany.Util util = new org.mycompany.Util();
    util.logoff(request);
    response.sendRedirect("Goodbye.jsp");
    // code DOES reach this point
    %>
    The logoff function does this:
    // invalidate faces
    FacesBean.releaseContext();
    // invalidate the current session for good measure
    HttpSession session = request.getSession(false);
    if (session != null)
    session.invalidate();
    // force the old session to go to the eternal fields of session objects
    request.getSession(true);
    The redirect to Goodbye.jsp is needed to force a "JBOSS" logoff as well.
    Goodbye.jsp is a JSP page (** not ** JSF) which a simple goodbye message.
    Anyway, since using ADF I get the stacktrace shown below.
    I did try to call release() on AdfFacesContext, but that didn't help.
    Do note that we actually reach the line "// code DOES reach this point" shown in the logoff JSF page above... so the redirect() statement is executed.
    Anybody knows how to deal with this?
    Remember, it used to work perfectly fine with the reference impl.
    Regards,
    Falco Paul
    12:33:44,580 ERROR [Engine] StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw excep
    tion
    java.lang.IllegalStateException
    at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:382)
    at com.sun.faces.context.FacesContextImpl.getExternalContext(FacesContextImpl.java:110)
    at oracle.adfinternal.view.faces.context.AdfFacesPhaseListener._releaseContextIfNecessary(AdfFacesPhaseListener.
    java:129)
    at oracle.adfinternal.view.faces.context.AdfFacesPhaseListener.afterPhase(AdfFacesPhaseListener.java:60)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:356)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:325)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:190)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.abnamro.crd.admin.PortalFilter.doFilter(PortalFilter.java:113)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:534)

    Hi!
    Unfortunally your suggestion didn't work. I did however discover that the exception is only thrown if one uses ADF faces components. There is no error message if reference implementation components are used (even if using the ADF faces renderer class).
    Anyway, this is what I trie:
    I first did a a regular faces responseComplete() call, as I figured that could be the missing action, but again I got the same exception:
    java.lang.IllegalStateException
         com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:382)
         com.sun.faces.context.FacesContextImpl.getExternalContext(FacesContextImpl.java:110)
         oracle.adfinternal.view.faces.context.AdfFacesPhaseListener._releaseContextIfNecessary(AdfFacesPhaseListener.java:129)
         oracle.adfinternal.view.faces.context.AdfFacesPhaseListener.afterPhase(AdfFacesPhaseListener.java:60)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:356)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:325)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:190)
         oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         com.abnamro.crd.admin.PortalFilter.doFilter(PortalFilter.java:113)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    Then later I tried this actually calling the faces "sendRedirect" function shown below (that is: prior to calling the logoff() code), but again I got the same Oracle exception (see above).
    // helper method: redirect to some URL (which may be either absolute or relative)
    public synchronized static void redirect(String url)
    ExternalContext external = getExternalContext();
    if (external == null)
    return;
    try {
    external.redirect(url);
    catch (Exception e)
    e.printStackTrace();
    responseComplete();
    So... unfortunally I did still not get much further...
    Regards,
    Falco

  • ADF Faces Dialog problem.

    Hi,
    I am using JDeveloper IDE- 10.1.3.3.
    I have a ADF Faces Dialog (launch Dialog) with a form and several input text components binded to a Backing Bean.
    When Dialog is opened for the second time, the values of the text components loaded with previous values which I have enterd for the first time.
    Scope of the Backing Bean is Request.
    All the launch Dialogs are working in the same way.
    The problem exists when I run the application from Application server(10.1.2.0).
    It works fine from the JDeveloper.
    How to do this ? please help!
    Its very urgent.
    Note: I have different application with similar launch dialog and functionality which works fine on the same Server and JDeveloper.
    Thanks in advance.
    Supravat

    Supravat,
    A sample of the pertinent code from a dialog that persists values would be helpful here.
    -Michael

  • ADF faces update problem

    Hi all, I'm using ADF faces + toplink. I have developed a form that first inserts mandatory fields of a record via persistEntity function and later in same page after inserting mandatory fields of record, I want to update empty fields of record that are firstly entered via persistEntity and which are not mandatory fields ... but ... in same page mergeEntity does not work as a result couldn't update the rest of the record in database. Both persistEntity and mergeEntity is binded to same field (<constructor-name.result>) of constructor.
    I have watched from logs through processing of unit of work ... there is no update expression in logs like below :
    [TopLink Finer]: 2006.05.11 04:30:35.546--ServerSession(1693)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client acquired
    [TopLink Finer]: 2006.05.11 04:30:35.546--ClientSession(2557)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--acquire unit of work: 2556
    [TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--begin unit of work commit
    [TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--end unit of work commit
    [TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--release unit of work
    please tell me , why mergeEntity does not update the rest of the record after successful insert via persist entity in same page!?
    best regards...
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Frank, thanks for your interest to my problem :-)
    I have passed this problem... I'm using session facade there is no problem in this point. I'm using ADF Faces + Toplink + Session Facades model clearly.
    The problem is ; there is a database table which contains 30 fields and I want to get user input in one page so first of all I designed a page which gets input for only mandatory fields (not null) after returning successfully insert (a new record), I'm using the same record for other fields which are not mandatory. Because there is a newly created record, by using this record I want to update the rest of record. But mergeEntity method does not function well. I have controlled all of the fields in pageDef of this page. All are exists, but mergeEntity which points the same constructor method with persistEntity in pageDef does not function.
    anyway, I passed this problem by means of creating new object and bindings this to mergeEntity method.
    best regards...
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ADF Faces Form problem

    Hi all,
    I'm using JDev. 10.1.3, ADF Faces + Toplink infrastructure to build pages in my system.
    My problem can be solved easily via old jsp architecture but I don't know how to achieve by using ADF Faces.
    I want to create a simple form in ADF Faces just like below;
    <form name="pay_form"
    action="https://www.payformstore.com/servlet/payServlet"
    method="post">
    <input type="hidden" name="clientId" value="ABC45"/>
    <input type="hidden" name="amount" value="5.00"/>
    </form>
    But in ADF Faces, as you know when a form created (af:form or h:form), the included command button in form is only fired to call the method in backed bean of relevant .jspx page. All things there must be achieved are handled in backed bean so I can't use the servlet address in action in simple form
    (https://www.payformstore.com/servlet/payServlet). I tried to use external context to redirect to this address/ servlet (https://www.payformstore.com/servlet/payForm) but servlet does not accept this redirection, it only accepts http post and gives the HTTP 405, method not allowed error.
    So I tried to use simple html <form ..> </form> tag in my adf faces page (.jspx page) in
    <f:verbatim> tag but I can't pass parameter from managed bean to input type hidden fields. (<input type=hidden name="a" value="#{payForm.parameter1}"/>) Also I have used jstl to pass parameter via <c:out ...> to input type hidden field in this simple form but it was useless.
    So please tell me how to create a simple form which has a action parameter and post method with dynamically binded form fields (just like input type hidden or any other fields) in adf faces pages.
    If there will be no answers I may use simple jsp pages in the end.
    best regards....
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi frank, I solved problem in a different way.
    First of all, I have developed the required form by coding with the pure JSP + HTML.
    There is no <HTML>, <BODY> tags in this new jsp file. Before calling this jsp file, I stored the required managed bean into HTTP Session as an object and in this jsp file, the hidden form fields are filled by this session object. In my ADF faces file, I have included this jsp form field with,
    <f:verbatim>
    <jsp:include ...>
    </f:verbatim>
    and there is no problem, Everything is, now, ok!
    thanks for your interest.
    best regards...
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to see the files of adf faces demo

    Hi ADF Experts,
    I am using Jdeveloper 11.1.1.7.0 version. I downloaded the rcf-dvt-demo.war for this jdev version.
    Its running fine in weblogic. I just wanted to check hjow can we see the BackingBean and other files of this application in Jdeveloper.
    Thanks
    Animesh

    Hi Animesh,
    Please follow the instructions given under "Using the integrated WebLogic Server in Oracle JDeveloper 11g" section in the below url to view the complete code package -
    "ADF Faces Components Demo Install Instructions&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;ADF Faces Comp…"
    Best Regards,
    Ankit Gupta

  • ADF Faces Demo

    Hi Folks,
    Does anybody know about a fully functional demo application runable over the Internet and made with ADF Faces? It would be very usefull to evaluate its advantages, especially in terms of rich GUI functionality, partial page rendering, skinning and data binding, etc.
    Thanks in advance,
    Ninja

    A demo exists in the full download from otn. This demos are component oriented rather than information system functionalities but they will give you a good idea rich gui you may be able to develop.
    We are currently developping a prototype based on a real application and we are very impressed by the mix toplink and adf faces.

  • ADF Faces: localization problem

    Hi,
    after migrating from EA17 to EA19 the localization of my ADF Faces application doesn't work properly on IE anymore. If English is included in the list of languages the application will be English no matter if German is at a higher priority.
    Only when I delete English and make German the only language in my browse will the application be German

    Well, for some reason this phenomenon doesn't occur anymore. I made quite some changes to my application since, so maybe it was my mistake. Sorry.
    In any case the language list I meant was the browser's language setting, both on IE and Firefox

  • ADF Faces Tutorial problem

    Hello, I am trying to get into ADF Faces and therefore I am trying to do the SRDemo.
    Since I dont hace Oracle, I am trying it in MySQL 5.0. I created the squema with success.
    When I try to do the TopLink maps from DB tables, JDeveloper "hangs" in the "Java Object Generation" progress dialog. At the bottom of JDeveloper, it reads TopLink Mappings project. I even tried to create a mapping at a time and the same thing happens.
    Can somebody help me please?
    nene

    Hi,
    I found 3 bug entries describing a similar issue. All three bugs are fixed in 10.1.3 production. There is a specific TopLink help list on OTN, that I sugget you try this question
    TopLink/JPA
    Frank

  • ADF FACES: font problems on readOnly selectOneChoice

    The output text from an af:selectOneChoice with readOnly="true" is a different font than with readOnly="false" and different than af:inputText with readOnly="true".
    Looking at the generated html, the output from a readOnly selectOneChoice has no class associated with it. The other text elements are given class="x4" (which I think equates to a styleClass of OraFieldText).
    Also, I can't change the font by specifying a styleClass on the af:selectOneChoice - it appears to have no effect on the output html.
    This seems like a bug.
    Thanks.

    You're right that when the selectOneChoice is in readOnly mode, its selectedItem does not have a styleClass associated with it and that setting a styleClass on the readOnly selectOneChoice does not set the styleClass on its selectedItem. This is a bug. Thanks for pointing it out.
    However, you said:
    "Also, I can't change the font by specifying a styleClass on the af:selectOneChoice - it appears to have no effect on the output html."
    In my tests, setting the styleClass attribute on the af:selectOneChoice tag does result in correct markup with a styleClass set on the actual HTML Select control (although, the label doesn't get the user defined styleClass, which is correct behavior). Are you seeing output that doesn't match this?
    Regards,
    Matt Lee
    ADF Faces Team

Maybe you are looking for

  • Importing keywords from one iPhoto library to another iPhoto library

    I start a new iPhoto library at the beginning of every year. I've made a collection of keywords in the previous years library that I would like to import into the new iPhoto library. I've tried assigning all of the keywords to one picture, exporting

  • How to display the steps of a sort algorithm??

    I'm having a lot of trouble trying to display the results of applying a merge sort to a set of 10 integers. The problem is not that I can't see anything on the text area within the applet, the problem is that I am getting a lot of repetitions and dup

  • 10.4 kernel panic, now i'm panicked!!!

    Well, here goes... A few weeks ago software update said a new version of OS 10.4.x.x was available, so I started to install it on my imac ppc with isight, purchased in 2005. Then I got an error message saying it didn't install so the package or whate

  • OPINION OF THANKS \ OPINIA PODZIĘKOWANIA

    Welcome This way I want to express my heartfelt thanks for your understanding, unique and very professional approach and understanding of your problem and especially its POSITIVE dealt with by a very unique and friendly courteous staff HP POLANDConta

  • Connecting iPod to Honda Music Link

    I need help! I have a 5th Gen iPod, and also I have a Honda Music Link, connected to a Honda Accord. I recently updated th e iPod software from 1.1.2, to version 1.2 (the newest version). Guess what, my iPod is now not recognized by my car audio syst