Forum Stats

  • 3,728,470 Users
  • 2,245,631 Discussions
  • 7,853,548 Comments

Discussions

Running adf fusion web application 12.2.1.4 in tomcat 8.5

Ash Manukyan
Ash Manukyan Member Posts: 4 Red Ribbon

Hi,

I have this simple application with no data just 2 pages, with a taskflow and hardcoded output texts in both pages.

Running it in integrated weblogic works well as in a standalone weblogic but i can't run in in tomcat.

I have installed adf escentials libraries and my war has all these libraries

adf-controller-api.jar

adf-controller-rt-common.jar

adf-controller.jar

adf-dt-at-rt.jar

adf-faces-databinding-rt.jar

adf-pageflow-dtrt.jar

adf-pageflow-fwk.jar

adf-pageflow-impl.jar

adf-pageflow-rc.jar

adf-richclient-api-11.jar

adf-richclient-impl-11.jar

adfdt_common.jar

adflibfilter.jar

dvt-basemaps.jar

dvt-databindings.jar

dvt-faces.jar

dvt-facesbindings.jar

dvt-jclient.jar

dvt-shared-js.jar

dvt-trinidad.jar

dvt-utils.jar

oracle-page-templates.jar

trinidad-api.jar

trinidad-impl.jar

But I'm getting SEVERE [http-nio-8080-exec-4] oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.getToken ADFc: ViewScope not available in this environment, cannot restore State-token.


I suppose I'm missing some ADF library there.

Anybody have a clue ?

thanks

Answers

  • Gabriele Ghiani
    Gabriele Ghiani Member Posts: 35 Blue Ribbon

    This is my 12.2.1.4.0 essentials lib list in a pretty working glassfish 4.1 domain. Seems that u missing a lot of items:

    adf-controller-security.jar

    adf-share-base.jar

    adf-share-ca.jar

    adf-share-multi-tenancy.jar

    adf-share-security.jar

    adf-share-support.jar

    adflogginghandler.jar

    adfsharembean.jar

    com.bea.core.antlr.runtime.jar

    com.oracle.db.jdbc-dms.jar

    com.oracle.http_client.http_client.jar

    com.oracle.ojsp.globaltldcache.jar

    com.oracle.ojsp.web-common.jar

    com.oracle.webservices.fmw.oc4j-ws-support-impl.jar

    com.oracle.webservices.fmw.web-common-schemas-impl.jar

    commons-beanutils.jar

    commons-digester3-3.2.jar

    commons-logging.jar

    dms.jar

    jakarta-commons-el-1.jar

    jakarta-commons-el.jar

    javamodel-rt.jar

    javatools-annotations.jar

    javatools-jndi-local.jar

    javatools-nodeps.jar

    jrf-api.jar

    jsp-el-api.jar

    mdsrt.jar

    mysql-connector-java.jar

    oicons.jar

    ojdbc8dms.jar

    ojdl.jar

    ojdl2.jar

    oracle-el.jar

    oracle.logging-utils.jar

    oracle.xdb.jar

    orai18n-mapping.jar

    orai18n-utility.jar

    orai18n.jar

    org.apache.bcel_6.2.jar

    resourcebundle.jar

    share.jar

    xmlef.jar

    xmlparserv2_sans_jaxp_services.jar

    Ash Manukyan
  • Ash Manukyan
    Ash Manukyan Member Posts: 4 Red Ribbon

    Hey Gabriele,

    thanks for the quick answer. I have my mentioned libs in my .war

    Is that list from your .war or the unzipped escentials in glassfish. I would really don't mind to run it in glassflish though.


    Thanks

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 36,973 Red Diamond
  • Ash Manukyan
    Ash Manukyan Member Posts: 4 Red Ribbon

    Thanks @Timo Hahn but we tried those 2 blogs and doesn't work with 12.2.1.4.

    We tried hard but I guess Glassfish is more like application server than tomcat.

    We just made it in glassfish with dockers and staff and documented it in our company's blog just in case somebody needs it.

    https://ancapit.com/deploying-oracle-adf-12-2-1-4-application-on-glassfish-4-1/


    Thanks for your help.

    Regards

  • Ash Manukyan
    Ash Manukyan Member Posts: 4 Red Ribbon
  • PNguyen
    PNguyen Member Posts: 2 Green Ribbon
    edited May 4

    Hi @Ash Manukyan,

    You can try with adf essential libs below, they work for me (jdk 1.8 + adf 12.2.1.4 + tomcat 9)

    adf-businesseditor-model.jar

    adf-businesseditor-objects.jar

    adf-businesseditor-settings.jar

    adf-controller-api.jar

    adf-controller-rt-common.jar

    adf-controller-schema.jar

    adf-controller-security.jar

    adf-controller.jar

    adf-customizationset-mig.jar

    adf-customizationset-ui.jar

    adf-dt-at-rt-wizards.jar

    adf-dt-at-rt.jar

    adf-dynamic-faces.jar

    adf-faces-changemanager-rt.jar

    adf-faces-databinding-dt-core.jar

    adf-faces-databinding-rt.jar

    adf-faces-registration.jar

    adf-faces-templating-dt-core.jar

    adf-faces-templating-dtrt.jar

    adf-loc.jar

    adf-pageflow-dtrt.jar

    adf-pageflow-fwk.jar

    adf-pageflow-impl.jar

    adf-pageflow-rc.jar

    adf-richclient-api-11.jar

    adf-richclient-automation-11.jar

    adf-richclient-bootstrap.jar

    adf-richclient-impl-11.jar

    adf-richclient-jmx.jar

    adf-richclient-skin-editor.jar

    adf-richclient-skin-repository.jar

    adf-sec-idm-dc.jar

    adf-share-app-helper.jar

    adf-share-base.jar

    adf-share-ca.jar

    adf-share-glassfish.jar

    adf-share-multi-tenancy.jar

    adf-share-security.jar

    adf-share-support.jar

    adf-share-web.jar

    adf-stringeditor-api.jar

    adf-view-databinding-dt-core.jar

    adf-view-unified-databinding-dt-core.jar

    adf.constants.jar

    adfbcsvc-client.jar

    adfbcsvc-registration.jar

    adfbcsvc-share.jar

    adfbcsvc.jar

    adfdt_common.jar

    adflibfilter.jar

    adflibrary.jar

    adflogginghandler.jar

    adfm-debugger.jar

    adfm-sqldc.jar

    adfm.jar

    adfmportlet.jar

    adfmweb.jar

    adfsharembean.jar

    adftags.jar

    adftransactionsdt.jar

    batik-all-1.11.0.0.1.jar

    batik-all.jar

    bc4j-mbeans.jar

    bc4jhtml.jar

    bc4jimdomains.jar

    bc4jsyscat.jar

    bundleresolver.jar

    com.oracle.db.jdbc-dms.jar

    com.oracle.http_client.http_client.jar

    com.oracle.ojsp.globaltldcache.jar

    com.oracle.ojsp.ojsp.jar

    com.oracle.ojsp.web-common.jar

    com.oracle.webservices.fmw.oc4j-ws-support-impl.jar

    com.oracle.webservices.fmw.web-common-schemas-impl.jar

    commonj.sdo-2.1.1.jar

    commons-beanutils.jar

    commons-digester3-3.2.jar

    commons-logging.jar

    datatags.jar

    db-ca.jar

    dms.jar

    dvt-basemaps.jar

    dvt-databinding-dt-core.jar

    dvt-databindings-mds.jar

    dvt-databindings.jar

    dvt-faces.jar

    dvt-facesbindings.jar

    dvt-jclient-adf.jar

    dvt-jclient.jar

    dvt-shared-js.jar

    dvt-trinidad.jar

    dvt-utils.jar

    facesconfigmodel.jar

    groovy-all-2.5.6.jar

    groovy-all.jar

    groovy-dateutil-2.5.6.jar

    groovy-dateutil.jar

    httpclient-4.5.6.jar

    httpclient-cache-4.5.1.jar

    httpclient-cache.jar

    httpcore-4.4.10.jar

    httpcore.jar

    httpmime_4.5.1.0.0.jar

    httpmime-4.5.1.jar

    inspect4.jar

    jakarta-commons-el-1.jar

    jakarta-commons-el.jar

    javamodel-rt.jar

    javatools-annotations.jar

    javatools-jndi-local.jar

    javatools-nodeps.jar

    javax.faces-2.2.8-35.jar

    javax.mail-api-1.6.2.jar

    jdev-cm.jar

    jewt4.jar

    jmxdc.jar

    jr_dav.jar

    jrf-api.jar

    jsp-el-api.jar

    jstl-1.2.jar

    mds-dc.jar

    mdsrt.jar

    oicons.jar

    ojdbc8dms.jar

    ojdl.jar

    ojdl2.jar

    oracle-el.jar

    oracle.logging-utils.jar

    oracle.xdb.jar

    oraclexsql.jar

    orai18n-mapping.jar

    orai18n-utility.jar

    orai18n.jar

    ordhttp.jar

    ordim.jar

    org.apache.bcel_6.2.jar

    org.apache.httpcomponents.httpclient.jar

    rcs-adflib-rt.jar

    rcsrt.jar

    resourcebundle.jar

    share.jar

    taglib.jar

    trinidad-api.jar

    trinidad-impl.jar

    velocity-1.4-dev.jar

    velocity.v_dev_1.4.0.0.0.jar

    xml-apis-ext-1.3.04.jar

    xml-apis-ext.jar

    xmlef.jar

    xmlparserv2_sans_jaxp_services.jar

    xsqlserializers.jar

  • dvohra21
    dvohra21 Member Posts: 14,135 Gold Crown

    GlassFish and Tomcat only have lightweight support for ADF, not full support.

  • PNguyen
    PNguyen Member Posts: 2 Green Ribbon
Sign In or Register to comment.