APEX with Oracle Containers for J2EE

database: Oracle 11g Release 2
operating system: Windows Vista
Java application server: Oracle Containers for J2EE (OC4J)
HTTP server: Oracle Application Express Listener

I'm trying to get Oracle Application Express Listener to run using Oracle for J2EE (OC4J) containers. As I was doing this, I noticed that the option Oracle Containers that I try to use would not actually work with APEX, so I need to know if he can or cannot be used. Also, I try to get the Oracle Containers 'oc4j' command works, and I can't do that because I need to set JAVA_HOME and ORACLE_HOME, but I don't know how.

For the Oracle Application Express listener, the documents indicate that we can run in stand-alone mode, or run using a Java Enterprise Edition application server. Choice was made to run using an application server Java Enterprise Edition and based on that there are three options:
1 oracle WebLogic Server
2 oracle GlassFish Server
3 oracle Containers for J2EE (OC4J)

Choice was made to see option #3, Oracle Containers for J2EE (OC4J).

The listener APEX 'Guide installation and Developer', there is a link for containers of Oracle to J2EE (OC4J), so I followed the link to the Version "containers for J2EE autonomous distribution - Production versions of Oracle, ' 10.1.3.5.0 and downloaded and started working on the installation. But just recently, I noticed that on the same page it says "NOTE: standalone OC4J is purely for use in a standalone environment.» It cannot be used to replace the OC4J running in ANY existing installation of Oracle Application Server 10 g".

TWO QUESTIONS: If it cannot be used, then why not option #3 Oracle Containers for J2EE (OC4J) even an option? And why the "install and Developer's Guide ' takes us to this place to download Oracle Containers for Distributions Standalone J2EE?

When I first came to this page, I did not notice what I did just notice, so I downloaded and started working on an installation of Oracle containers. To use it, we must set two environment variables ORACLE_HOME and JAVA_HOME. Because these environment variables are not defined, whenever I try to execute a command, like 'oc4j-start' or 'oc4j - help', I get the following error:
C:\Oracle\oc4J2EE_extended\bin > oc4j - start
Error: JAVA_HOME environment Variable is not defined.
We can run java.

I need to get the oc4j command works. I'm running on Windows Vista. I tried to add "C:\Program Files\Java\jdk1.6.0_27\bin;" the environment variable path, but that did not work. He, however, has allowed me to easily use the command "javac" to compile a java source file in a .class file.

Then, I tried these two statements in the command line:
C:\ > SET JAVA_HOME = C:\Program Files\Java\jdk1.6.0_27\bin
C:\ > SET ORACLE_HOME = C:\Oracle\oc4J2EE_extended

I am tired and then the command oc4j again, and it still didn't work.

QUESTION: On Windows Vista, how to set ORACLE_HOME and JAVA_HOME so that the oc4j command works?

Summary:
1 can I use Oracle Containers for J2EE (OC4J) with Oracle Application Express Listener?
2. If Yes, then I use the correct version, because the download page says that it "can NOT be used to replace the OC4J running in ANY existing installation of Oracle Application Server 10 g."
3. How do you define the ORACLE_HOME and JAVA_HOME on a Windows Vista operating system?
4. How can I get the oc4j command works?

I let the ORACLE_HOME variable systemic intact (i.e. on the value of the database) and set the local value for the variable in the script to start for the OC4J. So if you use oc4j.cmd, you could put a whole script, like start_oc4j.cmd which could look like this:

SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_26
SET ORACLE_HOME=D:\oracle\oc4j_extended_101350
"%ORACLE_HOME%"\bin\oc4j.cmd -start

And you can start your OC4J with this script wrapper without disturbing the system wide ORACLE_HOME.

-Udo

Tags: Database

Similar Questions

  • Overview - Oracle Application Server containers for J2EE (OCJ4)

    After reading the documentation of OCJ4, I have a very simple question: What's actually OCJ4?

    Is this just a calling mechanism that exposes Java stored/compiled on the Oracle database procedures?
    It provide redundant features in Sun Java application server and can allow you to deploy your Java services using only the OAS?

    ... I'm just a little confused by all the marketing boast about all the things he will help me to do that I'm not sure what it actually does.

    Take a look at the deployment here Guide:
    http://download.Oracle.com/docs/CD/B32110_01/Web.1013/b28951/TOC.htm

    And OC4J Admin Guide here:
    http://download.Oracle.com/docs/CD/B32110_01/Web.1013/b28950/TOC.htm

    Thank you
    Shail

  • Installation of apex with Oracle 11.2.0.3

    I installed oracle EE 11.2.0.3.

    I think that the APEX is isntalled with this version, but it seems to be an older version, I see a diagram apex 3_X.


    I wish I had the last installed APEX rlease which I believe is 4.2.

    How should I proceed with this? Pass the relase running or can I download the 4.2 file zip and install new.

    I have also, oracle http server is installed so I would use for APEX. I think it's a matter of configuration after installation.

    Current version is the 4.2.1 and the documentation suggests that you run the apxins.sql regardless of the version.
    http://docs.Oracle.com/CD/E37097_01/doc/install.42/e35123/overview.htm#CEGEFBFI

    Patches (for example 4.2-> 4.2.1) can be made with a smaller file.

    See scenario 3 for the HTTP Server
    http://docs.Oracle.com/CD/E37097_01/doc/install.42/e35123/otn_install.htm#BABEGAEJ

  • Apex 4.2 with Oracle HTTP Server 12 c?

    So, we have already implemented Oracle APEX with Oracle HTTP Server 11g Oracle WebTier utility. These are all works well.

    However, we wanted to try with the latest version of the stand-alone version of HTTP. So, we installed and configured the server for HTTP from Oracle 12 c (Stand Alone). However, we do not find instructions for things like where to copy the images, which dads.conf to edit etc. The current facilities seem to be oriented with the older, version 11g.

    Someone at - it a source for instructions to update configuration APEX with Oracle HTTP Server 12 c?

    Thank you

    -Joe

    Joe,

    Check in the documentation http://docs.oracle.com/cd/E16655_01/install.121/e17958/db_install.htm#HTMIG230

    Leave.

  • What is the best way for a J2EE developer with oracle?

    Hello

    I am a J2EE developer, for the moment I'm working in a commercial bank as an enterprise application developer. Java, I learned when I was following a degree of local COMPUTER and with the help of books, work at my place of work and the internet, today I develop applications with JSP, Servlets, JSF2.0, EJB3.0 and third-party J2EE part libraries JSF etc (I also develop software using other programming languages such as Asp.net, c# .net, etc. WPF, but I prefer to be in the path of java). Other than that, I also work as the designer of the user interface of most of our applications.

    I have the skills and practice after having worked for 4 years as a developer of web/enterprise applications & UI designer, but now I have to focus on some grades of paper and so I do BCS.

    Now, I want to be a professional in the Oracle java path, and I need to know what is the best way, I choose to go with Oracle. I finished my SCJP courses, but did not take the exams, because there were rumors that Oracle will clear these reviews in the future. I am interested in Oracle university, but I'm unable to even think about it as I live in Sri Lanka and is not only a large part of the wealth to go to the USA and join.

    So I really appreciate if any professional Oracle could suggest me the best educational path based on what I mentioned about my technical and professional training. Because I have a dream to join Oracle a day as an employee and be a good contributor on the same forum, which I get help today!

    :-)

    Thank you!!!

    As you can see on our Web site, Oracle did not retire Java certifications. You can browse through the available certifications and I hope to help determine your path.
    http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=140

    SCJP became Oracle Certified Professional Java Programmer. You can find more information on these reviews on our site here: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=320.

    Concerning training, virtual training live might be an option for you. You can find more information at http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233.

    Kind regards
    Brandye Barrington
    Certification Forum Moderator

  • Double authentication with Oracle EBS at the APEX problem

    Hello

    I am currently working on a project to integrate with Oracle EBS 12.1.3 4.2.4 APEX. We have completed the recommended white paper Oracle configuration.  I joined at the request of the APEX of a responsibility of BSE, when I click on the page of the APEX of the EBS, it navigates me to the login page of the APEX, and after I entered my credentials is to show the "No data found" error on the page. Then when I click the OK button again once he navigates me to the login page of the APEX and is validate my login information, allowing me to enter the APEX successfullly.

    It's really us boring for double login controls. Appreciate your help with this problem as soon as possible.

    Deployment environment

    ===============

    Database: Oracle 11g (11.2.0.2)

    Version APEX: APEX 4.2.4

    Oracle EBS Version: R12.1.3

    Application servers: Apache TomCat 7.0.56 (for APEX), Oracle HTTP Server (EBS)

    Web listening port: Oracle REST Data Services (2.0.6)

    Authentication: Custom authentication (login page validates users EBS)

    Thank you

    Sudhakar

    It seems that the constructed URL is not allowed. We EBS do not build a valid string. You can see where he puts "CallFromForm" and then adds "& p =...". "URL.

    The white paper mentions a required patch, you need else to resolve this problem.

    Use the gateway FND. If you do not need to pass parameters through your form to Apex, Oracle now provides a GWY.jsp which allows you to launch the Apex. Install the patches of R12 12316083 and 12726556. Then use the GWY.jsp based on your shape as described in the white paper "Extending Oracle E-Business Suite Release 12 using Oracle Application Express".

    Patch 12316083 is mentioned in the white paper, you are missing the 12726556.

    Description

    This bug solves the problem of pitcher APEX, at the launch of a whole page of APEX

    Oracle E - Business Suite forms according to the user interface. An additional url

    parameter 'CallFromForm' used to be added to the URL of the APEX, which was originally

    APEX page to fail.

  • apex 4.0 with oracle 11g ee mail

    Hello

    I spent when you work with apex 3 I could work with apex mailsend very nice.
    Apex 4.0 with oracle 11g ee, I'm not able to send emails any more.

    Last error message in the queue is:

    ORA-29279: permanent SMTP error: 550 via this server without authentication.
    the smtp server has not been changed, the code is very well

    How can I go further?

    Thank you very much
    Florin

    Florin,

    Make sure that you use the relevent to instructions for your version.
    If you use 4.0 - you probably want the same script - with use of APEX_040000 appropriate.

    See the steps of INSTALLATION of document ITEM.

    http://docs.Oracle.com/CD/E17556_01/doc/install.40/e15513/otn_install.htm#CBHBABCC

    -Make sure that you don't drop the former users of apex framework before update or remove them from the ACL. It can cause you problems.

    -Tim St.

    P.S. Take a minute to update your profile so that your name is clear.

    Published by: Tim St. H., December 11, 2012 16:54

  • Upgrade of the Apex 3.2.1 (mod_plsql) at Apex 4.0 with Oracle Listener

    Hello
    We have a few applications in the Apex 3.2.1 (i.e. mod_plsql) which have not been displaced in Production yet. We intend to move to Apex 4.0 with Oracle listener as soon as they are available (we don't want turn on any web server mod_plsql). What will be the migration process? My apps work and look the same when I opened the Apex 4.0? All the features, formatting, etc. will be lost?
    I heard that there is a Migration Wizard, but there is no information available.

    When Apex 4.0 and Oracle Listener comes out? Summer 2010?

    I would be recognizing all of the information you have on this subject.

    Thank you
    Violeta

    A new Forum OTN has been implemented for the listener of the APEX: ADR, SODA & JSON in the database

    Please use this forum for all future APEX auditor positions.

    Kind regards
    David

  • APEX 3.1.2 works with Oracle Database 10g?

    APEX is included in Oracle Database 10g? If not, and if I uploaded it separately, will it work with an Oracle 10 g database on Linux installation?

    I tried is the companion of the Oracle 10 g, but this CD seems HTML_DB worm: 1.6 or something.

    where can I find an installation guide for installation of the APEX 3.1.2 on Oracle database 10g linux because all the scenarious installation I found seem to be for oracle 11g database or oracle 10g application server.

    Thank you.

    Request Express is not provided with 10g but as Paulo said, he will work with Oracle 9.2.0.3 or later. You can download it using the links on the pages, he said.

    Scott

  • Y at - it DB Oracle options that do not work with Oracle Apex

    Hi team,

    Y at - it options Oracle DB (DB audit vault wall and fire. HCC, advanced... Security etc) which will not work with Oracle Apex. Please let us know of a few documents if you

    Thank you kindly,

    Hi Rhine23,

    Rhine23 wrote:

    Y at - it options Oracle DB (DB audit vault wall and fire. HCC, advanced... Security etc) which will not work with Oracle Apex. Please let us know of a few documents if you

    It's the kind of question that can be answered with My Oracle Support | First Oracle Support or you can write to the APEX [email protected] about this application development team.

    Also, see the "Support" section at the end of the page Oracle Application Express - downloads.

    I hope this helps!

    Kind regards

    Kiran

  • Create schemas for data warehouse for Reporting with Oracle XE

    It is possible to import home charger with the Oracle XE database and dw?

    I get this error ORA-00439: feature not enabled not: progress of replication in the log of the CIM.

    I saw that the database, we do not have have the feature "advanced replication."

    SQL> select * from v $ option where parameter = 'Advanced replication';
    
    
    PARAMETER
    -------------------------------------------------- --------------
    VALUE
    -------------------------------------------------- --------------
    advanced replication
    FALSE
    
    
    

    Journal of the CIM:

    Mon Feb 23 14:16 BRT 2015 1424711760686 atg.cim.database.dbsetup.CimDBJobManager module of high level of information for Reporting data warehouse Datasource list page: domain controllers. DW, ARF. DW.base, ARF. DW. InternalUsers, Store.Storefront

    Info my Feb 23 14:16:05 BRT 2015 1424711765012 atg.cim.database.dbsetup.CimDBJobManager 0 0 imports has not been executed.

    Info my Feb 23 14:16:05 BRT 2015 1424711765192 atg.cim.database.dbsetup.CimDBJobManager list of module level for Datasource Reporting charger: DafEar.Admin, DCS. DW, DCS. PublishingAgent, ARF.base, Store.EStore, Store.EStore.International

    Info my Feb 23 14:16:05 BRT 2015 1424711765733 atg.cim.database.dbsetup.CimDBJobManager 1 1 imports has not been executed.

    Info my Feb 23 14:16:05 BRT 2015 1424711765953 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Publishing module: DCS - UI. Versioned, BIZUI, PubPortlet, DafEar.admin, DCS - UI. SiteAdmin.Versioned, SiteAdmin.Versioned, DCS. Versioned, DCS - UI, Store.EStore.Versioned, Store.Storefront, DAF. Endeca.Index.Versioned, DCS. Endeca.Index.Versioned, ARF.base, DCS. Endeca.Index.SKUIndexing, Store.EStore.International.Versioned, Store.Mobile, Store.Mobile.Versioned, Store.Endeca.International, Store.KnowledgeBase.International, Portal.paf, Store.Storefront

    Info my Feb 23 14:16:11 BRT 2015 1424711771561 atg.cim.database.dbsetup.CimDBJobManager 65 65 imports has not been executed.

    Info my Feb 23 14:16:11 BRT 2015 1424711771722 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Production Core module: Store.EStore.International, DafEar.Admin, DPS, DSS, DCS. PublishingAgent, DCS. AbandonedOrderServices, DAF. Endeca.Index, DCS. Endeca.Index, Store.Endeca.Index, DAF. Endeca.Assembler, ARF.base, PublishingAgent, DCS. Endeca.Index.SKUIndexing,Store.Storefront,Store.EStore.International,Store.Recommendations,Store.Mobile,Store.Endeca.International,Store.Fluoroscope,Store.KnowledgeBase.International,Store.Mobile.Recommendations,Store.Mobile.International,Store.EStore,Store.Recommendations.International

    Info my Feb 23 14:16:12 1424711772473 2015 BRT atg.cim.database.dbsetup.CimDBJobManager 30 30 imports has not been executed.

    Info my Feb 23 14:16:19 BRT 2015 1424711779573 atg.cim.database.dbsetup.CimDBJobManager creating schema to the Reporting data warehouse data source

    Info my Feb 23 14:16:19 BRT 2015 1424711779653 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Reporting data warehouse module: domain controllers. DW, ARF. DW.base, ARF. DW. InternalUsers, Store.Storefront

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_view_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_init.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_view_ddl.sql * info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_init.sql

    Info my Feb 23 14:16:21 atg.cim.database.dbsetup.CimDBJobManager BRT 2015 1424711781085 found 2 of the 6 unrun previously of tasks for Datasource Reporting data warehouse

    Info my Feb 23 14:16:21 BRT 2015 1424711781085 atg.cim.database.dbsetup.CimDBJobManager 1 ARF. DW.base: sql/db_components/oracle/arf_view_ddl.sql

    Info my Feb 23 14:16:21 atg.cim.database.dbsetup.CimDBJobManager 1424711781085 2015 BRT 2 domain controllers. DW: sql/db_components/oracle/arf_dcs_view_ddl.sql

    Info my Feb 23 14:16:21 BRT 2015 1424711781085/atg/dynamo/dbsetup/job/DatabaseJobManager starting work of setting up data 1424711781085.

    Error my Feb 23 14:16:21 BRT 2015 1424711781516 /atg/dynamo/dbsetup/database/DatabaseOperationManager---java.sql.SQLException: ORA-00439: feature not enabled not: Advanced replication

    is there a solution?

    Hello

    We have not tested and certified with Oracle XE internally

    You must use an Oracle Enterprise Edition for Advanced Replication

    What version of Oracle trade you install, I can't say extract of newspaper, you've posted

    ++++

    Thank you

    Gareth

    Please indicate any update as "Good response" or "Useful answer" If this update help and answers your question, so that others can identify the correct/good update between the many updates.

  • Certification for EBS 12.2.4 with Oracle Developer Suite.

    What Version of Suite Developer is supported by EBusiness 12.2.4? Any document that you can point me to?

    Thank you

    Anand

    Developer 10 GB as 12.2 use OracleAS 10.1.2 ORACLE_HOME that was used in previous versions of 12.x - Oracle E-Business Suite Concepts

    Using OracleAS 10.1.2 and forms builders reports with Oracle Applications version 12 (Doc ID 444248.1)

    How to make appear 10G Forms Builder in environment R12? (Doc ID 579318.1)

    How to Upgrade 11i forms customized to R12 (Doc ID 563258.1)

    To access the custom after upgrading forms of to R12. (Doc ID 451934.1)

    Is Oracle Developer Suite 11 g (forms and reports) made support for Oracle E-Business Suite 12i? (Doc ID 1610344.1)

    Thank you

    Hussein

  • Is Oracle Apex 4.2.3 certified with Oracle EBS 12.1.3?

    Is Oracle Apex 4.2.3 certified with Oracle EBS 12.1.3?

    Yes, it is certified as stated in the white paper Extending Oracle E-Business Suite Release 12 using Oracle Application Express .

    In this white paper are the listed prerequisites:

    The white paper is available from APEX OTN Page > collateral > white papers or My Oracle Support (Note 1306563.1).

  • ADI for the E-Business suite 12.1.1 is compartible with Oracle Smartview 11.1.2

    Hi gurus

    Does anyone know if the ADI for the E-Business suite 12.1.1 is compartible with Oracle Smartview 11.1.2?

    Thank you

    Does anyone know if the ADI for the E-Business suite 12.1.1 is compartible with Oracle Smartview 11.1.2?

    ADI is not certified with R12 - East ADI supported 7.2 with R12 (12 version) [420328.1 ID]

    If you mean WebADI with Smartview, I don't see any what docs MOS which show that it is certified or not, so I guess that's not (please connect an SR to confirm this with the support of the Oracle).

    Thank you
    Hussein

  • Apex 3.2 with oracle express

    Hello

    Can I use Apex 3.2 with Oracle Express edition Oracle XE without paying money and without violating the liscence agreement?

    concerning
    Hrishy

    As Obama said: Yes you can!

Maybe you are looking for