Step by Step Deploying ADF Faces to OC4J 10.1.2

Hi there,
I've already read the previous topic about deploying ADF Faces to OC4J 10.1.2.
But I'm still getting failed to deploy it.
Some clue that I know are:
- Using JDK 1.4.2 (not 1.5)
- Using J2ee 2.3 (not 2.4)
- Using ADF Runtime installer to OC4J 10.1.2
But i've got some problem, when I'm trying to run my project using jdk 1.4.2. It gives me an error like this:
classloader.util.AnnotatedClassFormatError: MBeanServerEjbHome_StatefulSessionHomeWrapper1
     Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
     Loader: system.root:0.0.0
     Code-Source: /D:/av/src/Jdev1013/jdev/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/application-deployments/admin_ejb/deployment-cache.jar
     Configuration: <ejb> in wrappers
     Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescriptor
     Loader: oc4j:10.1.3
     Code-Source: /D:/av/src/Jdev1013/j2ee/home/lib/oc4j-internal.jar
     Configuration: &lt;code-source> in META-INF/boot.xml in D:\av\src\Jdev1013\j2ee\home\oc4j.jar
Can anyone tell me how to deploy ADF Faces to 10.1.2 step by step?
Thanx in advance :),
Andre

I have the same problem. My applications works fine with Jdev 10.1.3 but after deploying it on the application server I'm getting this error.
Started
adfmobile: jsp: init
adfmobile: Started
adfmobile: resources: init
adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
/index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
Error: jsp:output is not a registered tag in that namespace.
adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
/index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
Error: jsp:output is not a registered tag in that namespace.
Any hints?
Regards,
Thomas

Similar Messages

  • Problem deploying ADF Faces component demo to Glassfish 3.1.2

    Hi,
    Jdev 11.1.2.3
    ADF Essentials
    Glassfish 3.1.2
    Windows 7 (64-bit)
    Following the instructions on https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to I'm able to deploy and run a very simple ADF Faces application.
    But when I try to deploy ADF Faces component demo (rfc-dvt-demo.war) I get following error:
    [#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22101: (Fatal Error) DOMSource node as this type not supported.
    |#]
    [#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22900: (Fatal Error) An internal error condition occurred.
    |#]
    [#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22101: (Fatal Error) DOMSource node as this type not supported.
    |#]
    [#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22900: (Fatal Error) An internal error condition occurred.
    |#]
    [#|2012-10-17T10:06:48.572+0200|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=27;_ThreadName=Thread-2;|Critical error during deployment:
    com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:672)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
         at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
         at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2018)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
         at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
         at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
         at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
         at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:353)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
         at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
         at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
         at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
         at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
         at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:220)
         at java.util.TimerThread.mainLoop(Timer.java:512)
         at java.util.TimerThread.run(Timer.java:462)
    Caused by: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:670)
         ... 31 more
    Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:920)
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:865)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:656)
         ... 31 more
    Caused by: javax.xml.transform.TransformerException: XML-22900: (Fatal Error) An internal error condition occurred.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:915)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:502)
         at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:1013)
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:911)
         ... 35 more
    Caused by: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:917)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:488)
         ... 37 moreI have also tried
    - to re-create the WAR file with "platform=Glassfish" in the deployment profile but with the same result
    - to create an EAR file with "platform=Glassfish" in the deployment profile but with the same result (I have read in the ADF docs that for ADF applications deployment of WAR files only works witin EAR files)
    From my knowledge the ADF Faces Component demo should be deployable on the certified and supported version of Glassfish as it consists of ADF Essentials features only.
    Anyone already succeeded with deployment of ADF Faces demo application on Glassfish?
    regards
    Peter

    Okay, so my problem was that the URL I was using was the OC4J launch url (http://host/applicationname and my welcome-file-list was
    <welcome-file-list>
    <welcome-file>LoginPage.jsp</welcome-file>
    </welcome-file-list>
    I tried these two variations
    <welcome-file-list>
    <welcome-file>LoginPage.faces</welcome-file>
    </welcome-file-list>
    <welcome-file-list>
    <welcome-file>faces/LoginPage.jsp</welcome-file>
    </welcome-file-list>
    and neither of these worked either. (I did restart the OC4J node between each attempt.)
    I finally created an index.html file for the application with an automatic refresh content="0;URL=faces/LoginPage.jsp" and this is working.
    Should the welcome-file-list have worked? Am I doing something wrong here?
    Thanks for the help. Mark

  • How much memory and CPU requirement to deploy  ADF Faces application ?

    Hi All,
    Is there any formula or docs to help me to determine how much memory and CPU requirement for IAS server, to deploy ADF Faces application ?
    How much memory / CPU GHz required per 1 user ?
    We plan to develope web based ERP application using ADF Faces and ADF BC.
    Pleasssee.. give me any aclue.. I need it so badly..
    Thank you for your help,
    xtanto

    xtanto,
    there is no formular for this. Note that it is not only ADF Faces but th emodel layer in particular that adds to this requirement.
    Frank

  • ADF Faces on OC4j 10.1.2

    Our goal is to get ADF Faces developed on JDeveloper 10.1.3 to get up on running in OC4J10.1.2.
    We did all the step by step by pre-installment procedures. But finally when accessign page we are getting the following error.
    OracleJSP: oracle.jsp.parse.JspParseException:
    /view/login/login.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: jsp:output is not a registered tag in that namespace.
    Is there anything we are missing BIG....
    THANKS
    - Gana.

    I have the same problem. My applications works fine with Jdev 10.1.3 but after deploying it on the application server I'm getting this error.
    Started
    adfmobile: jsp: init
    adfmobile: Started
    adfmobile: resources: init
    adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
    /index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: jsp:output is not a registered tag in that namespace.
    adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
    /index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: jsp:output is not a registered tag in that namespace.
    Any hints?
    Regards,
    Thomas

  • Deploying adf faces

    Is it possible to deploy an EAR containing multiple web modules without having to include the adf-faces-implxx.jar, standard.jar and jsf-impl.jar? Especially with multiple WARs, because those libraries take up 4MB.
    I tried adding all of the war files to the OC4J "applib" directory, but it didn't seem to load them correctly. During development, those files are located in the /WEB-INF/lib directory.
    Any hints or suggestions would be appreciated. Thanks.

    I have a similar problem and I've been crafting my EAR file to a minimum size and after deploying the application I've been copying the necessary large static JAR files into the appropriate folders on the server.
    This is hardly a "great" solution but I found it necessary because my otherwise 30MB EAR file wouldn't deploy using OEM from my remote location.
    I've also started to FTP the EAR file to the server and use the dcmctl deployapplication utility rather than than OEM.
    Mark

  • Deploying ADF Faces (JDev 10.1.3) to Application server 10gR2 (10.1.2)

    Is it possible to deploy a Toplink/sessionEJBs/Data controls/ADF Faces app (written in jDev10.1.3) to Oracle Application Server (10.1.2)?
    I'm using Application Developers Framework Developer's guide adfdevguide.pdf, which says that you can. However it requires swicthing the JDK to 1.4, which generates compiler errors - 'errorIllegalCharacter' in the sessionEJB, on lines with annotations.
    Is it possible to auto-generate session EJBs for JDK 1.4?
    Thanks
    Robin

    Thanks for the reply Prasanth.
    I can now see why I'm getting the error - because the session bean seems to use EJB3.0 by default. This puts annotations in the session bean code, which fails because I'm using JDK1.4
    If I force the project to use EJB2.0, then when creating the session bean, it ignores of the toplink classes, and when I create a data control, the table related services aren't included.
    Do I need to create either the sessionEJB or datacontrols in a different way??
    Thanks,
    Robin

  • Deploying ADF Application to OC4J Using Jdeveloper

    I tried to deploy an application to standalone OC4J using Jdeveloper, through a process similar to this:
    Deploying a Web Application
    http://www.oracle.com/technology/obe/obe1013jdev/10131/deployment/deployment.htm
    [making WAR for view-controller, JAR for model, and EAR in a new project]
    First I got some errors relating to Apache Log4J jars (org/apache/log4j/Category). The problems are talked over in this forum and oc4j forum. I had to download apache-log4j-1.2.15.zip and add the jar file manually to the project and remove the checks in the WAR file descriptor.
    The application was deployed after some attempts successfully, but, now the first page that appears after launching the application is my Home.jspx which is not the same page which comes up when I use embedded OC4J to run the application. The Home.jspx is blank and when I enter a link manually:
    http://farbod:8888/TestApp/faces/pages/Employees.jspx
    instead of http://farbod:8888/TestApp/faces/pages/Home.jspx
    I receive this error:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    Is there anything wrong with my deployment?
    (I just mentioned my initial problem with deployment to know if that gives a clue.
    I am using JDeveloper 10.1.3.3, OC4J 10.1.3.3)
    Thank you in advance.
    Farbod

    Hi,
    hard to say from the error message. What if you create a EAR file that includes the WAR file and then deploy it through Enterprise Manager in OC4J ? Also, having a separate deployment project bears the risk fo missing dependencies. Ensure that the project has the project's dependency property set to all contributing projects
    Frank

  • Bc4j.xcfg, database connections and deploying ADF apps to oc4j

    I'm trying to understand how to enable custom database connections on a JDeveloper ADF application deployed to a stand-alone instance of OC4J.
    All entity objects were created as ADF Business Components.
    I looks like the db connection information used by the application is stored in a file named "bc4j.xcfg".
    How would I change the database connection information between different environments, changing the server, port and password information from an OC4J instance?
    I'd like to use an OC4J defined data-sources.xml file, but am looking for the simplest approach for now.

    Tomato tomaato, call it what you will, we now have to spend time (money) figuring out how to change from using the recommended use of a "connection" from Oracle tutorials and in Oracle Press books.
    Plus, neither I nor our client can get JDeveloper ADF 10.1.3 to work on OAS 10.1.2.
    Oracle has been of little help, other than stating to follow documentation. We followed the documentation at least a dozen times and on three different install of OAS 10.1.2.
    Why doesn't JDeveloper have a check-box or button that reconfigures the application to run on 10.1.2 (J2EE 1.3), there is a check-box to change JDK versions (1.4)? This is suspect to me.
    We are going to be speaking with the client this week, and have to state the ADF application works, but NOT on OAS 10.1.2.
    Does ADF work on OAS 10.1.3, absolutely, but the client is in 10.1.2 and can not upgrade at this time.
    I've read in blogs where lots of developers have the same issues without resolution and Oracle should just come out and state that 10.1.3 does not work on 10.1.2.
    So my experience has been a mixed bag with ADF, both in terms of the software and customer support from Oracle.

  • Adding ADF faces in Sun studio Creator

    Pls Help me by giving step by step procedure for adding ADF Faces in sun Studio Creator. The version of ADF Faces is EA 17.

    Hi Pablo and Eric,
    Just to calrify things a bit about ADF Faces. ADF Faces are standard JSF components and are fully compatible with any JSF implementation. What you guys are asking for is tools support. Currently Sun Studio Creator is experience difficulties importing any large custom component sets to their IDE. This is due to bugs in their prodcut and the fact that ADF Faces does not come with the Sun specific configuration required to import components to their IDE. We are working with them on a new proposal for design time metadata and a solution to get ADF Faces into to the Sun SC IDE.
    But, this is ultimately a Sun issue, not a JDeveloper nor ADF Faces issue.
    - Jonas
    Jdev team

  • Issues while deploying adf application in WLS 10.3.5

    Hi All,
    Earlier, I was using Jdev 11.1.2 and had WLS 10.3.5+Sherman Patch with ADF Runtime 11.1.1.5 and the application was running fine.
    Now I am using Jdev 11.1.1.6 and have installed WLS 10.3.5 with ADF Runtime 11.1.1.6
    Now when I am deploying my application I am getting the following error :
    Error Log
    ===============
    [02:43:18 PM] [Deployer:149193]Operation 'deploy' on application 'deployADF' has failed on 'AdminServer'
    [02:43:18 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application deployADF on AdminServer.: Failed to load webapp: 'ADFUI-ViewController-context-root'.
    [02:43:18 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADFUI-ViewController-context-root'
    [02:43:18 PM] Caused by: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.UIXComponentELTag
    [02:43:18 PM] See server logs or server console for more details.
    [02:43:18 PM] weblogic.application.ModuleException: Failed to load webapp: 'ADFUI-ViewController-context-root'
    [02:43:18 PM] #### Deployment incomplete. ####
    [02:43:18 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    ====================
    I have checked the version of ADF Runtime installed in WLS and it comes out to be 11.1.1.6
    Please suggest any solution for this issue.
    Edited by: 910639 on Oct 15, 2012 3:42 AM

    Can you check if the following libraries are checked as part of your deployment -
    ADF Faces Runtime 11
    Trinidad Runtime 11

  • ADF UIX "adf-faces-ea11" with "myfaces-1.0.7" and JBoss 3.2.5

    Hi,
    I tried to deploy adf-faces-ea11 on JBoss 3.2.5, using MyFaces as the JSF engine. The components render OK, but when I press the “af:commandButton” I encounter the following exception:
    If I press on “h:commandButton” I don’t have any problems. (I have attached the jsp page at the bottom of the post)
    javax.servlet.ServletException: Key UINodePropertyKey[validators,13] is a list key
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)
    java.lang.IllegalArgumentException: Key UINodePropertyKey[validators,13] is a list key
         oracle.adf.view.faces.bean.FacesBeanImpl._checkNotListKey(FacesBeanImpl.java:403)
         oracle.adf.view.faces.bean.FacesBeanImpl.getValueBinding(FacesBeanImpl.java:83)
         oracle.adf.view.faces.component.UIXComponentBase.getValueBinding(UIXComponentBase.java:164)
         net.sourceforge.myfaces.util.DebugUtils.printComponent(DebugUtils.java:225)
         net.sourceforge.myfaces.util.DebugUtils.printComponent(DebugUtils.java:326)
         net.sourceforge.myfaces.util.DebugUtils.printComponent(DebugUtils.java:326)
         net.sourceforge.myfaces.util.DebugUtils.printComponent(DebugUtils.java:326)
         net.sourceforge.myfaces.util.DebugUtils.printComponent(DebugUtils.java:326)
         net.sourceforge.myfaces.util.DebugUtils.printView(DebugUtils.java:160)
         net.sourceforge.myfaces.util.DebugUtils.traceView(DebugUtils.java:152)
         net.sourceforge.myfaces.util.DebugUtils.traceView(DebugUtils.java:132)
         net.sourceforge.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:127)
         net.sourceforge.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:67)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
    The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA11/html" prefix="afh" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA11" prefix="af" %>
    <f:view>
    <afh:html>
    <afh:head title="PanelList Demo"/>
    <afh:body>
    <h:form id="test1">
    <af:outputLabel value="Test Oracle"/>
    <!-- A chooseColor which uses the standard "default49" palette -->
    <af:chooseColor id="cp0"
    colorData="#{adfFacesContext.colorPalette.default49}"/>
    <af:selectInputDate id="d1" value="#{DateBean.date1}"
    label="Date picker"/>
    <af:commandButton text="Enter" action="#{DateBean.pressMe}"/>
    <h:commandButton value="Standard Button" action="#{DateBean.pressMe}"/>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>

    It looks like there's some debug tracing code in myfaces that you've enabled that is interacting poorly with ADF Faces. Specifically, ADF Faces is really unhappy when you even try to get a ValueBinding for something that doesn't support ValueBindings (like "validators").
    For now, I'd suggest that you lower the level of logging, at least for the net.sourceforge.myfaces.lifecycle package.

  • Problems while deploying a JSF/ ADF Faces App to Apps Server 10.1.3.0.1

    Dear All,
    I built a JSF based application (Using ADF Faces Components) developed in JDeveloper 10.1.3.1.0 (Application Configuration: [JSF, ADF BC]. The application is running fine with the embedded OC4J intance (automatically aunch by JDeveloper).
    I am now trying to deploy it on the installed Oracle Application Server (running on the same local machine). The details of the versioning for different components in this App server are as follows:
    1. OracleAS J2EE 10.1.3.0.0
    2. Oracle ADF 10.1.3.1.0
    The deployment steps I followed (as given in Chapter 34 of 'Oracle ADF - Developer's Guide for Forms/4GL Developers') seems to be running smoothly. This is because the deploy process ends up showing no erros in the message window.
    However when I tried to test the application with a browser using the Apps Server URL (HTTP://localhost:8888/<my-app>/<firstfile.jspx>), I am finding 'Page not found error'.
    I also tried a manual deployment (using deploy to a WAR file then copy the resulting war & ear files and the xml descriptor file to the Apps server's http root) and gives the war file URL in the browser.
    In this case now I am getting the following error page:
    =====================================================
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    An invalid character was found in text content. Error processing resource
    'http://localhost:8888/HousingWithADF.war'.
    =====================================================
    Any idea?
    Regards,
    Irfan Ilyas
    PS: I am doubtful about creation of Deployment Descriptors step as the documentation is not very clear about exactly which descriptors we need to create. Using my own idea, I tried to create J2EE descriptor, and one tld (taglibrary) file. However, the manual war deployment generates only the tld file in the deploy folder.

    Thanks for the hint.
    OBSERVATION #1:
    After looking through the administration console for OC4J instance, I found my application name with UP status. When drill-down further, the console gives me the URL which can be used to test the application.
    While using the URL, a different error message was found:
    URL: http://localhost:8888/KFUPMHousing/
    Error:
    ====================
    HTTP 403:(Forbidden)
    ================
    You are not authorized to view this page
    You might not have permission to view this directory or page using the credentials you supplied.
    From my experience of Microsoft IIS, I know here I may need to configure the folder permissions for a web-user. But exactly which user and where it is defined (at OS Level or in AS), I am not much sure.
    Can you elaborate?
    OBSERVATION #2:
    The log text for my application shows the following error (for the attempt I did with the URL shown above)
    Log Text
    07/01/05 22:43:38.62 HousingWithADF: JspServlet: unable to dispatch to requested page: Exception:java.io.FileNotFoundException: C
    :\product\10.1.3.1\OracleAS_1\j2ee\home\applications\HousingWithADF\HousingWithADF\HosReqInfo.jspx (The system cannot find the file specified)
    However, I can browse the file on my local disk in the path specified with a little change in the path. The file is found in 'pages' folder within the last folder,named HousingWIthADF. I tried to move the file in the exact path specified in the log and now finding the 'Page not found' error.
    Any idea?
    Irfan Ilyas

  • Deploying JSF - ADF Faces (EA14) application to OAS 10.1.2

    JSF 1.1.01 problem
    I have an ADF Faces application that I have been working on in JDeveloper 10.1.3.0.2.223 and I thought that it was time to deploy it to an Oracle 10g AS (10.1.2) (WindowsXP SP2). A long time ago I did a test deploy of a sample program jsflogin and that works fine (although I now realize that this was a JSF 1.0 application) and my ADF application is, of course, JSF 1.1.
    As I've already said, my JSF 1.1 / ADF application works perfectly in JDeveloper. The problem is that the first time the OAS 10.1.2 deployed instance of my application hits a <f:tag> it fails. When the first <f:tag> was <f:loadBundle> the error looked like this:
    500 Internal Server Error
    java.lang.NullPointerException     at com.sun.faces.taglib.jsf_core.LoadBundleTag.doStartTag(LoadBundleTag.java:96)     
    at LoginPage.jspService(_LoginPage.java:72)
    [SRC:/LoginPage.jsp:12]     
    at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)     
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)     
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     
    at java.lang.Thread.run(Thread.java:534)
    When I got rid of the resource file it then failed on the <f:view> tag as follows:
    500 Internal Server Error
    javax.servlet.jsp.JspException: Cannot find FacesContex     
    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)     
    at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)     
    at LoginPage.jspService(_LoginPage.java:70)
    [SRC:/LoginPage.jsp:12]     
    The rest is the same as above.
    I've got all the jsf, jstl, standard, and other jars in my WEB-INF/lib folder and there are no other jsf or jstl jars in the OAS home so I can't be connecting to the "wrong" library.
    Any hints? Has someone else out there successfully deployed to 10.1.2?
    Thanks in advance, Mark

    Okay, so my problem was that the URL I was using was the OC4J launch url (http://host/applicationname and my welcome-file-list was
    <welcome-file-list>
    <welcome-file>LoginPage.jsp</welcome-file>
    </welcome-file-list>
    I tried these two variations
    <welcome-file-list>
    <welcome-file>LoginPage.faces</welcome-file>
    </welcome-file-list>
    <welcome-file-list>
    <welcome-file>faces/LoginPage.jsp</welcome-file>
    </welcome-file-list>
    and neither of these worked either. (I did restart the OC4J node between each attempt.)
    I finally created an index.html file for the application with an automatic refresh content="0;URL=faces/LoginPage.jsp" and this is working.
    Should the welcome-file-list have worked? Am I doing something wrong here?
    Thanks for the help. Mark

  • ADF BC and ADF Faces deployment question

    Hi all,
    In my previous web project, the middle layer was packaged into a .ear file and deployed onto a sever that had jboss running. My client layer was deployed on a seperate server running tomcat. My question is how do I accomplish this seperation with BC and ADF Faces in terms of deployment?
    Thanks.
    Z

    Let me be a bit more specific.
    Here is the tree view of my application workspace:
    -My Application
      -Model
        -Application Sources
          -org
          -org.myorg
          -org.myorg.model
          -org.myorg.model.entity
          -org.myorg.model.association
      -View
        -Application Sources
        -Web Content
    Can I deploy only the model or middle layer on server A running oc4j and deploy the view layer on server B also running oc4j?
    Thanks.

  • Step-by-Step guide for developing a ADF application, does it exist?

    Step-by-Step guide for developing a ADF application, does it exist?
    Hi there,
    At our company we recently begun working on a project using Oracle ADF with
    UIX. We got the Oracle JDeveloper 10g handbook and we did a 5 day Oracle ADF
    course. A good way to start the project I think.
    One thing that bothers me though, is that I cannot find a simple clean example
    how to manipulate a record in the DB, going through all steps of MVC. I tried
    this forum, the books we got and google. It usualy explains a small portion
    of the steps needed, but never a complete example.
    I know people will probably say you can design what you want in various ways
    and that's its all up to the developer, this is also the power of ADF that it
    can be very flexible.
    However it would be nice to have a step-by-step example how to be able to insert,
    edit and delete a record. Showing all the steps that have to be made in the BC4J,
    struts and UIX, including creating triggers, seq, autocommitting etc.
    I think ADF is pretty complicated, therefore having a step-by-step example guide
    (design pattern) would be very handy for a beginner like me.
    Do such guides exist, are there developers who created such a guide for themselves?
    Would other developers find such a guide useful? I'm curious about everybody's
    opinion.
    A good example of what I mean by guide can be found here
    How To Build a Simple UIX Search Form, written by Shay Shmeltzer
    http://www.oracle.com/technology/products/jdev/tips/shmeltzer/setwhereclause/uix.html
    kind regards
    Ido

    Have a look at the ADF Workshop - it doesn't use UIX rather it uses JSP but I think it will give you the basics.
    http://www.oracle.com/technology/obe/obe9051jdev/ADFWorkshop/BuildingADFApplicationsWorkshop.htm
    Then have a look at the toy-store demo and the new ADF Case manual:
    http://download.oracle.com/docs/cd/B14099_10/web.1012/b19163/toc.htm
    http://www.oracle.com/technology/products/jdev/tips/muench/adftoystore1012/index.html

Maybe you are looking for

  • My laptop no longer recognizes my iPhone but it appears in Microsoft. However my iPod is still recognized and syncs

    A couple of weeks ago my old 3s iPhone stopped automatically syncing with my microsoft laptop however it did appear in Explorer. My iPod synced no problem. I took no action because I thought the old phone may have had a problem and was about to buy a

  • ITunes is not syncing with my iPhone 4S

    Hello, After recently upgrading my iPhone 4S to iOS 7. My iTunes music will not sync with my phone and the current music on my phone just skips each song over and over again. Does anyone know the cause and the fix to this problem? Thank you

  • Duplicating an audio tract?

    I recently used a wireless Sony microphone with my Panasonic PVGS-150 camcorder. Unfortunately, it just records mono, so when I played that clip on iMovie, there was only audio from one speaker. Is there any way to duplicate that audio to the second

  • My battery seems to be going out fast!!!! HELP!

    I just got my black iPod NANO the other day and i charged it before i started to using it, i started downloading my songs and once i took it off the charge it was fine but then a couple min its later and i mean just a couple of min later the battery

  • Mixing Audio in Premiere Elements 11

    Hello. I am new to PrE and video editing in general. I have video recorded where the Left (Ch1 mono) and Right (Ch2 mono) are seperate mono audio tracks...Ch1 is a feed from a wireless mic and Ch2 is a feed from a shotgun mic. In this recorded form t