adf tomcat

Upload: ahmedsft

Post on 02-Jun-2018

313 views

Category:

Documents


1 download

TRANSCRIPT

  • 8/10/2019 ADF Tomcat

    1/12

    You are at :Home Oracle Develop and Deploy ADF applications free of charge using the new ADFEssentials

    Develop and Deploy ADF applications free ofcharge using the new ADF Essentials2 By Lucas Jellema on September 25, 2012 Oracle , Oracle ADF , Oracle WebLogic Server

    In a long hoped for but little anticipated move, Oracle yesterday announced ADF Essentials the free edition ofthe ADF framework. Oracle now offers a complete free stack to develop and deploy applications with OracleDatabase XE, GlassFish Open Source Edition and ADF Essentials, optionally running on Oracle EnterpriseLinux. Its a red LAMP if you will.

    ADF Essentials is exactly the same as ADF it is just a subset of ADF. Even some of the highly advancedfeatures in ADF are included in ADF Essentials such as Data Visualization (DVT), Business Components(ADF BC), Data Binding and Taskflows. The parts not included in ADF Essentials are by and large more forspecific use cases ADF Mobile, Desktop Integration, Customization or targeted at integration with othercomponents in the Oracle Fusion Middleware stack such as Data Controls for Essbase, BI and BAM.

    Some of the features of ADF that are not available with Essentials that are unfortunate to let go off: ADFSecurity (!), publication of ADF BC as Web Service, the Web Service Data Control and remote taskflows.However, for most of these features, alternative solutions can be created or are already available such asWebService Proxy Classes with the POJO Data Control.

    In summary: ADF Essentials provides probably the most powerful (free) framework for developing Java/JEEWeb Applications with high productivity and rich functionality in either Oracle JDeveloper or in Eclipse (withthe OEPE plugin)- that can be deployed across JEE Containers including Tomcat, JBoss, WebSphere, GlassFishand WebLogic. This offer is bound to attract many more developers and organizations that until now werereluctant to adopt ADF because of the license involved or the supposed tie in with WebLogic and JDeveloper.However: since it is now free of charge and deployable on Tomcat, JBoss and GlassFish this earlier hesitation

    http://technology.amis.nl/http://technology.amis.nl/http://technology.amis.nl/category/oracle/http://technology.amis.nl/2012/09/25/develop-and-deploy-adf-applications-free-of-charge-using-the-new-adf-essentials/#commentshttp://technology.amis.nl/2012/09/25/develop-and-deploy-adf-applications-free-of-charge-using-the-new-adf-essentials/#commentshttp://technology.amis.nl/blog/author/lucas-jellema/http://technology.amis.nl/blog/author/lucas-jellema/http://technology.amis.nl/blog/author/lucas-jellema/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/frontend-technology/oracle-adf/http://technology.amis.nl/category/frontend-technology/oracle-adf/http://technology.amis.nl/category/frontend-technology/oracle-adf/http://technology.amis.nl/category/platform-technology/oracle-weblogic-server/http://technology.amis.nl/category/platform-technology/oracle-weblogic-server/http://technology.amis.nl/category/platform-technology/oracle-weblogic-server/http://technology.amis.nl/wp-content/uploads/2012/09/image1.pnghttp://technology.amis.nl/category/platform-technology/oracle-weblogic-server/http://technology.amis.nl/category/frontend-technology/oracle-adf/http://technology.amis.nl/category/oracle/http://technology.amis.nl/blog/author/lucas-jellema/http://technology.amis.nl/2012/09/25/develop-and-deploy-adf-applications-free-of-charge-using-the-new-adf-essentials/#commentshttp://technology.amis.nl/category/oracle/http://technology.amis.nl/
  • 8/10/2019 ADF Tomcat

    2/12

    is likely to disappear. The productivity and quite advanced functionality are likely to quickly bring in manymore developers from the Java/JEE arena.

    I expect Oracle to make a lot of noise about ADF Essentials during JavaOne 2012 next week in SanFrancisco. I for one think that they should. Note: ADF Essentials is not open source. The ADF sources areavailable to customers with an ADF license. There is no community process around further evolving ADF. ADFis and stays Oracles strategic development framework for its enterprise applications. It has no intentionwhatsoever to relinquish control over one of its most important technologies. However, it is interested insharing that technology with a much wider audience.

    For more details on ADF Essentials visit: http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.html .

    The framework overview for ADF Essentials is as stated above just a subset of the full ADF framework.The architecture is the same in terms of tiers just a little bit more limited in terms of components.

    The most important Data Controls are still there. That means that the largely declarative way of exposing business services database, URL (REST), EJB and POJO (which means anything Java can call) to UIdevelopers is in tact in ADF Essentials.

    The extensions in ADF to JSF (JavaServer Faces) are all there: for example taskflows and contextual events.The ADF Library mechanism for packaging, sharing and reusing taskflows and other components is fullysupported in ADF Essentials.

    http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://technology.amis.nl/wp-content/uploads/2012/09/image2.pnghttp://technology.amis.nl/wp-content/uploads/2012/09/image1.pnghttp://technology.amis.nl/wp-content/uploads/2012/09/image2.pnghttp://technology.amis.nl/wp-content/uploads/2012/09/image1.pnghttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.html
  • 8/10/2019 ADF Tomcat

    3/12

    Development of ADF Essentials applications can be done using JDeveloper (11.1.2.3 for now) or Eclipse withthe free OEPE (Oracle Enterprise Pack for Eclipse) extension.

    Note: there is not distinction (none whatsoever) between the IDE used for ADF Essentials and the one used forfull ADF. It is your own responsibility to ensure that if you want to work under the free ADF Essentials license,

    that you do not inadvertently use any feature not included in that license. (this may sound more ominous than itwill be in real life, but still that is the situation).

    Deployment can be done to a fairly wide range of platforms that each in their own way needs to be preparedfor ADF application deployment including JBoss, GlassFish, Tomcat, WebSphere, WebLogic and OC4J(which means iAS/OAS):

    Note: I am assuming that deployment is not restricted to the release numbers in this list and that for exampleTomcat 7 is supported as well; I am not sure about that though. The Essentials license does not restrictdeployment in any way: if we can make it work on a server, then it is allowed.

    And interesting question that just occurs to me: will there be JHeadstart Essentials as well?

    Why?

    http://technology.amis.nl/wp-content/uploads/2012/09/image4.pnghttp://technology.amis.nl/wp-content/uploads/2012/09/image3.pnghttp://technology.amis.nl/wp-content/uploads/2012/09/image4.pnghttp://technology.amis.nl/wp-content/uploads/2012/09/image3.png
  • 8/10/2019 ADF Tomcat

    4/12

    A fair question might be at this point: why is Oracle doing this? It is not a move to gracefully get rid of sometechnology as many donations to the open source community turned out to be. Through this move I believeOracle wants to strengthen Java provide Java developers with a framework that in many aspects competeswith .Net in terms of productivity and functionality out of the box. It also wants to bolster the existing ADFdeveloper community. While ADF is doing well and has been growing quite a bit over the last few years, thenumber of ADF developers around the world is hardly enough to take on the existing workload. Given the sharpincrease in ADF projects expected around Oracle FMW (WebCenter, BPM, BI,) and Fusion Applications inthe very near future, it is in Oracles best interest that the pool of ADF develo pers grows rapidly. One good wayof growing that pool is by attracting developers to work with ADF Essentials given that required skills for anyADF engagement are the same as those for ADF Essentials.

    Resources

    ADF Essentials FAQ http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentialsfaq-1837249.pdf

    Initial ADF Essentials thread on ADF EMG: https://groups.google.com/forum/?fromgroups=#!topic/adf-methodology/EYWOnFgMNg0

    Announcement on DZone:http://www.dzone.com/links/oracle_adf_core_functionality_now_available_for_f.html

    List of ADF Components and their support in ADF Essentials: http://www.oracle.com/technetwork/developer-tools/adf/overview/components-1844931.html

    Introduction demo movie (13 mins) of ADF Essentials:http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFEssentials/adfEssentialsFull.html

    Java/JEE developers interested in getting training on ADF (Essentials) can send an email to info-at-amis-nl forinformation about focused training-material and events.

    Andrejus published an article: http://andrejusb.blogspot.nl/2012/09/adf-essentials-quick-technical-review.html Quick technical review of ADF Essentials with his first impressions with deploying ADF Essentials onGlassFish. Very instructive!

    http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentialsfaq-1837249.pdfhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentialsfaq-1837249.pdfhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentialsfaq-1837249.pdfhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentialsfaq-1837249.pdfhttps://groups.google.com/forum/?fromgroups=#%21topic/adf-methodology/EYWOnFgMNg0https://groups.google.com/forum/?fromgroups=#%21topic/adf-methodology/EYWOnFgMNg0https://groups.google.com/forum/?fromgroups=#%21topic/adf-methodology/EYWOnFgMNg0https://groups.google.com/forum/?fromgroups=#%21topic/adf-methodology/EYWOnFgMNg0http://www.dzone.com/links/oracle_adf_core_functionality_now_available_for_f.htmlhttp://www.dzone.com/links/oracle_adf_core_functionality_now_available_for_f.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/components-1844931.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/components-1844931.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/components-1844931.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/components-1844931.htmlhttp://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFEssentials/adfEssentialsFull.htmlhttp://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFEssentials/adfEssentialsFull.htmlhttp://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFEssentials/adfEssentialsFull.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/components-1844931.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/components-1844931.htmlhttp://www.dzone.com/links/oracle_adf_core_functionality_now_available_for_f.htmlhttps://groups.google.com/forum/?fromgroups=#%21topic/adf-methodology/EYWOnFgMNg0https://groups.google.com/forum/?fromgroups=#%21topic/adf-methodology/EYWOnFgMNg0http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentialsfaq-1837249.pdfhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentialsfaq-1837249.pdf
  • 8/10/2019 ADF Tomcat

    5/12

    You are at :Home AMIS Deploy ADF essentials app on Tomcat 6.x

    Deploy ADF essentials app on Tomcat 6.x1 By Daljit Singh on December 2, 2012 AMIS , Java EE , Oracle ADF , Web/Java

    Recently I gotinvolved in a project where the customer requirement was to deploy an ADF application onApache Tomcat 6.x. This ADF application would be rolled out with ADF Essentials . Which OTN describes asfollowing: Oracle ADF Essentials is a free packaging of key tec hnologies from the Oracle Application

    Development Framework that can be used to develop and deploy applications without licensing costs. Thustremendously decreasing operational costs.

    The plan of action was to install and configure Tomcat on a test environment and verify that the applicationwould be successfully deployed and work as designed. The following steps were taken to install Tomcat:

    1. Download and configure Tomcat2. Application specific configuration

    Tomcat download and configuration

    Download the stable version of Tomcat 6.x In our case this was Tomcat 6.0.36. (zip file).Unzip the downloaded zip file to a folder. We chose to unpack the files in /u01/app/apache/apache -tomcat-6.0.36.

    Create a script to set environment variables $CATALINA_HOME and $CATALINA_BASE pointing to/u01/app/apache/apache -tomcat- 6.0.36 . The two environment variables have the same value because this is asingle instance configuration. It is also required to have the $JAVA_HOME environment variable, this will beused by Tomcat to start the application server. I chose to install Java 6 in a custom location.

    http://technology.amis.nl/http://technology.amis.nl/http://technology.amis.nl/category/amis/http://technology.amis.nl/2012/12/02/deploy-adf-essentials-app-on-tomcat-6-x/#commentshttp://technology.amis.nl/2012/12/02/deploy-adf-essentials-app-on-tomcat-6-x/#commentshttp://technology.amis.nl/blog/author/daljit-singh/http://technology.amis.nl/blog/author/daljit-singh/http://technology.amis.nl/blog/author/daljit-singh/http://technology.amis.nl/category/amis/http://technology.amis.nl/category/amis/http://technology.amis.nl/category/amis/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/frontend-technology/oracle-adf/http://technology.amis.nl/category/frontend-technology/oracle-adf/http://technology.amis.nl/category/frontend-technology/oracle-adf/http://technology.amis.nl/category/frontend-technology/web-java/http://technology.amis.nl/category/frontend-technology/web-java/http://technology.amis.nl/category/frontend-technology/web-java/http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://technology.amis.nl/wp-content/uploads/2012/11/2012-11-26-14_48_20-oracle@ovamisux160__u01_app_apache_apache-tomcat-6.0.gifhttp://technology.amis.nl/wp-content/uploads/2012/11/2012-11-26-14_48_20-oracle@ovamisux160__u01_app_apache_apache-tomcat-6.0.gifhttp://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.htmlhttp://technology.amis.nl/category/frontend-technology/web-java/http://technology.amis.nl/category/frontend-technology/oracle-adf/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/amis/http://technology.amis.nl/blog/author/daljit-singh/http://technology.amis.nl/2012/12/02/deploy-adf-essentials-app-on-tomcat-6-x/#commentshttp://technology.amis.nl/category/amis/http://technology.amis.nl/
  • 8/10/2019 ADF Tomcat

    6/12

    Tomcat Web Application Manager application provides the user with functionality to upload, deploy andundeploy applications through the Web.Also once deployed, to stop and start applications. One can access theTomcat Web Application Manager on the Tomcat server on the following URL: http://[server -hostname]:[server-port]/manager.

    You will be asked for username and password. Out of box Tomcat is not shipped with any users. To create anuser that can execute deployments, add the following snippet to $CATALINA_BASE/conf/tomcat-users.xml:

    There are several shell scripts that need to be executable. We need to adjust the file permissions of these files,execute the following commands at the terminal:

    cd $CATALINA_BASE/binchmod +x *.sh

    Application specific configuration

    The application we deployed on Tomcat shows data that reside in the database, so we need to configure JDBCresources. In the $CATALINA_BASE/conf/context.xml add the following snippet between the tag:

    Then we need to configure the details of this pool. In the $CATALINA_BASE/conf/server.xml add thefollowing snippet between the element:

  • 8/10/2019 ADF Tomcat

    7/12

    factory=oracle.jdbc.pool.OracleDataSourceFactory

    url=jdbc:oracle:thin:@server:1521:xe

    user=scott password=tiger maxActive=20 maxIdle=10 maxWait=300/>

    The developer of the application to be deployed and I realized that it would help us preventing class loadingissues if we copied all our java libraries to the server. This would be the lib directory in the$CATALINA_BASE. The following files were placed in the $CATALINA_BASE/lib:

    adfbcsvc-client.jaradfbcsvc.jaradfbcsvc-registration.jaradfbcsvc-share.jaradf-businesseditor.jaradf-businesseditor-model.jaradf-businesseditor-settings.jaradf-controller-api.jaradf-controller.jar

    adf-controller-rt-common.jaradf-controller-schema.jaradf-controller-security.jaradf-dt-at-rt.jaradfdt_common.jaradf-dynamic-faces.jaradf-faces-changemanager-rt.jaradf-faces-databinding-dt-core.jaradf-faces-databinding-rt.jaradf-faces-registration.jaradf-faces-templating-dt-core.jar

    adf-faces-templating-dtrt.jaradflibfilter.jaradflibrary.jaradf-loc.jaradflogginghandler.jaradfm-debugger.jaradfm.jaradfmportlet.jaradfm-sqldc.jaradfmweb.jaradf-pageflow-dtrt.jar

    adf-pageflow-fwk.jaradf-pageflow-impl.jaradf-pageflow-rc.jaradf-richclient-api-11.jaradf-richclient-automation-11.jaradf-richclient-impl-11.jaradf-runtime-mbean.jaradf-sec-idm-dc.jaradf-share-base.jaradf-share-ca.jaradf-share-glassfish.jar

  • 8/10/2019 ADF Tomcat

    8/12

    adfsharembean.jaradf-share-security.jaradf-share-support.jaradf-share-web.jaradftags.jaradftransactionsdt.jaradf-view-databinding-dt-core.jarannotations-api.jar

    bc4jhtml.jar bc4jimdomains.jar bc4j-mbeans.jar bc4jsyscat.jar bundleresolver.jarcache.jarcatalina-ant.jarcatalina-ha.jarcatalina.jarcatalina-tribes.jarcom.bea.core.apache.commons.collections_3.2.0.jar

    commons-el.jardatatags.jardb-ca.jardms.jardvt-databinding-dt-core.jardvt-databindings.jardvt-databindings-mds.jardvt-facesbindings.jardvt-faces.jardvt-jclient.jardvt-trinidad.jar

    dvt-utils.jarecj-3.7.2.jarel-api.jarfacesconfigmodel.jarglassfish.jstl_1.2.0.1.jargroovy-all-1.6.4.jarinspect4.jar

    jasper-el.jar jasper.jar javamodel-rt.jar javatools-nodeps.jar

    javax.mail_1.1.0.0_1-4-1.jar javax.transaction_1.0.0.0_1-1.jar jdev-cm.jar jewt4.jar jmxdc.jar jr_dav.jar jrf-api.jar jsf-api.jar jsf-impl.jar jsp-api.jar jsp-el-api.jar

  • 8/10/2019 ADF Tomcat

    9/12

    mds-dc.jarmdsrt.jaroc4j-ws-support.jaroicons.jarojdbc6dms.jarojdl2.jarojdl.jarojsp.jaroracle.classloader_11.1.1.jaroracle-el.jaroracle.http_client_11.1.1.jaroracle.logging-utils_11.1.1.jaroracle-page-templates.jaroracle.web-common_11.1.1.jaroracle.xdb_11.1.0.jarorai18n-mapping.jarordhttp.jarordim.jarorg.apache.bcel_5.1.jar

    org.apache.commons.beanutils_1.6.jarorg.apache.commons.beanutils_1.8.3.jarorg.apache.commons.logging_1.0.4.jarorg.apache.commons.logging_1.1.1.jar

    prefuse.jarrcs-adflib-rt.jarrcsrt.jarregexp.jarresourcebundle.jarservlet-api.jarshare.jar

    taglib.jartomcat-coyote.jartomcat-dbcp.jartomcat-i18n-es.jartomcat-i18n-fr.jartomcat-i18n-ja.jartrinidad-api.jartrinidad-impl.jarvelocity-dep-1.4.jarweld-integration.jarxmlef.jar

    xmlparserv2_sans_jaxp_services.jar

    Now we will adjust the memory settings. This is to accommodate all the jar files that may be referenced lateron. Ed it the $CATALINA_BASE/bin/catalina.sh and add the following line above the alreay existing text #OSspecific support..

    CATALINA_OPTS= -Xms1024m -Xmx1024m - XX:MaxPermSize=512m

    At this point the application server is configured and prepared for the application deployment.

  • 8/10/2019 ADF Tomcat

    10/12

    Make sure that there are no libraries in the deployment war file, otherwise weird class loading issues may occur.The application should be exported to use the datasource/JDBC resource on the application server, and no hardcoded jDBC URL. You can launch Tomcat by executing the following shell script:$CATALINA_HOME/bin/startup.sh

    Login to the manager application and drag and drop the application on the Choose file button inside theWar file to deploy section. After a successful deployment the application will be started and the Runningcolumn for your application will have the status true.

    When facing problems analyze the log files that can be found in the server directory: $CATALINA_BASE/logs.In our situation the log file localhost had the most accurate logging for the exceptions we had.

    Setting up Oracle JNDI Datasource on Tomcat7

    By Leon van Tegelen on November 19, 2004 Databases , Java , Java EE, Oracle , Web HTML5 CSS3 , Web/Java

    In one of the projects Im involved in we have to make use of specific Oracle JDBC featu res. The applicationruns on Tomcat 5.0.27 and connects to the database using a JNDI datasource setup to use connection pooling .When setting this up based on info I found in Steve Muench sBC4J Toy Story example I ran into some

    problems .

    For some reason I got the following error:

    java.sql.SQLException: User credentials doesnt match the existing ones.

    It really drove me nuts. Checking pa rameternames over and over, checking username and password Buttogether with Martijn Hinten of Cumquat I managed to track down the problem. This error only occurs if youspecify the minLimit parameter, used to specify the minimum number of pooled connections the pool shouldhave. If you ommit it everythings fine .. This is the minimum context file we needed to get theOracleConnectionCacheImpl working

    factoryoracle.jdbc.pool.OracleDataSourceFactory

    password****

    urljdbc:oracle:thin:@localhost:1521:***

    http://technology.amis.nl/2004/11/19/setting-up-oracle-coonection-pool-on-tomcat/#commentshttp://technology.amis.nl/2004/11/19/setting-up-oracle-coonection-pool-on-tomcat/#commentshttp://technology.amis.nl/blog/author/leon-van-tegelen/http://technology.amis.nl/blog/author/leon-van-tegelen/http://technology.amis.nl/blog/author/leon-van-tegelen/http://technology.amis.nl/category/database/databases/http://technology.amis.nl/category/database/databases/http://technology.amis.nl/category/database/databases/http://technology.amis.nl/category/software-development/java/http://technology.amis.nl/category/software-development/java/http://technology.amis.nl/category/software-development/java/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/frontend-technology/web-html5-css3/http://technology.amis.nl/category/frontend-technology/web-html5-css3/http://technology.amis.nl/category/frontend-technology/web-html5-css3/http://technology.amis.nl/category/frontend-technology/web-java/http://technology.amis.nl/category/frontend-technology/web-java/http://technology.amis.nl/category/frontend-technology/web-java/http://radio.weblogs.com/0118231/stories/2003/08/08/installingTheBc4jToyStoreOnApacheTomcat4124.htmlhttp://radio.weblogs.com/0118231/stories/2003/08/08/installingTheBc4jToyStoreOnApacheTomcat4124.htmlhttp://radio.weblogs.com/0118231/stories/2003/08/08/installingTheBc4jToyStoreOnApacheTomcat4124.htmlhttp://technology.amis.nl/wp-content/uploads/2012/12/application-status.pnghttp://radio.weblogs.com/0118231/stories/2003/08/08/installingTheBc4jToyStoreOnApacheTomcat4124.htmlhttp://technology.amis.nl/category/frontend-technology/web-java/http://technology.amis.nl/category/frontend-technology/web-html5-css3/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/software-development/java/http://technology.amis.nl/category/database/databases/http://technology.amis.nl/blog/author/leon-van-tegelen/http://technology.amis.nl/2004/11/19/setting-up-oracle-coonection-pool-on-tomcat/#comments
  • 8/10/2019 ADF Tomcat

    11/12

  • 8/10/2019 ADF Tomcat

    12/12

    The build will fail with the following error:

    BUILD FAILED: C:developmentPROJECTSAmisHoursbuild.xml:85:org.apache.jasper.JasperException:file:C:/development/PROJECTS/AmisHours/build/web/index.jsp(38,0) According to TLD, taghtml:img must be empty, but is not

    Which is easily repaired

    If you follow the instructions in the document mentioned above, you can also deploy the compiled JSP to thetomcat.But I think the solution with mapping the individual jsp patterns to classes in the web.xml might be somewhatconfusing.

    Deploy an Oracle JHeadstart/BC4J application toIBM WebSphere3 By Wiene Howeler on November 24, 2004 Java EE , Oracle , Oracle WebLogic Server , Tools

    If youve created a J2EE JHeadstart/BC4J application and you want to deploy it to the Oracle ApplicationServer, it works easily. If you want to deploy it to IBM WebSphere, it will also work fine if you take care of thefollowing:

    1. Make sure you have all the necessary BC4J libraries available:

    Visit http://www.oracle.com/technology/products/jdev/howtos/appservers/deploy_bc4j_to_websphere.html f ora list of all the files you need. Add the jar-files to the WEB-INF\lib directory of your application.

    2. Enable Log4J loggingIBM has implemented commons-logging for WebSphere 5.1, which is leading. JHeadstart works with log4j.You can enable the log4j logging by doing the following:

    Add a directory services to the META -INF directory of your application. Add a new file with the name org.apache.commons.logging.LogFactory Add the following text to the file, to indicate the log4j factory:

    org.apache.commons.logging.impl.Log4jFactory

    3. Change the default XML parserOracle uses the Oracle XML parser as default, but IBM uses Xerces. Add the Oracle XML parser to the WEB-INF\lib directory of your application and if present, remove the xerces parser (also when you need the xerces

    parser in your application!). Now the Oracle XML parser will be used as default and since WebSphere alsocontains the xerces parser itself, it can still be used when necessary.

    This solutions was found with help of Meindert Deen from Xebia.

    http://technology.amis.nl/2004/11/24/deploy-a-oracle-jheadstartbc4j-application-to-ibm-websphere/#commentshttp://technology.amis.nl/2004/11/24/deploy-a-oracle-jheadstartbc4j-application-to-ibm-websphere/#commentshttp://technology.amis.nl/blog/author/wiene-howeler/http://technology.amis.nl/blog/author/wiene-howeler/http://technology.amis.nl/blog/author/wiene-howeler/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/platform-technology/oracle-weblogic-server/http://technology.amis.nl/category/platform-technology/oracle-weblogic-server/http://technology.amis.nl/category/platform-technology/oracle-weblogic-server/http://technology.amis.nl/category/software-development/tools/http://technology.amis.nl/category/software-development/tools/http://technology.amis.nl/category/software-development/tools/http://www.oracle.com/technology/products/jdev/howtos/appservers/deploy_bc4j_to_websphere.htmlhttp://www.oracle.com/technology/products/jdev/howtos/appservers/deploy_bc4j_to_websphere.htmlhttp://www.oracle.com/technology/products/jdev/howtos/appservers/deploy_bc4j_to_websphere.htmlhttp://www.oracle.com/technology/products/jdev/howtos/appservers/deploy_bc4j_to_websphere.htmlhttp://technology.amis.nl/category/software-development/tools/http://technology.amis.nl/category/platform-technology/oracle-weblogic-server/http://technology.amis.nl/category/oracle/http://technology.amis.nl/category/languages/java-ee-2/http://technology.amis.nl/blog/author/wiene-howeler/http://technology.amis.nl/2004/11/24/deploy-a-oracle-jheadstartbc4j-application-to-ibm-websphere/#comments