ADR 3.0 - Tomcat configuration

ADR deployed 3.0 as a Tomcat webapp. Follow the installation instructions. The APEX is reached through ADR. ADR configdir is d:\apex. \Webapps\apex and tomcat \webapps\apex.war contain the configuration files.

Now, if I want to change the configuration to add the following settings

#############################################
apex.excel2collection=true
apex.excel2collection.onecollection=true
apex.excel2collection.name=excel
jdbc.initialLimit=100
jdbc.MinLimit=100
jdbc.MaxLimit=100
##############################################

Question: Where exactly I would add these commands? In the file params/ords_params.properties under d:\apex\apex\ords? Or by manually editing the file defaults.xml? But what file to edit, d:\apex or under Tomcat \webaps\apex\...?

I asked these questions on an existing thread already.

If I understand correctly, we use the commands listed in the ords.war file to configure ADR/APEX in the designated configdir and it creates files/folders/config under the configdir files. But when we want to deploy as a Tomcat webapp, instructions ask us just to copy the file ords.war in the folder webapps of Tomcat, NOT the folder configdir . This would imply that the java-jar ords.war configuration of the controls not only read the ords.war but also write to him is a standalone files that can be copied as a Tomcat webapp. This hypothesis is correct?

That said, I still don't know how to answer my question above.

One of the team Oracle ADR can please clarify how it works?

Thank you

Hi VANJ.

HELEN wrote:

ADR deployed 3.0 as a Tomcat webapp. Follow the installation instructions. The APEX is reached through ADR. ADR configdir is d:\apex. \Webapps\apex and tomcat \webapps\apex.war contain the configuration files.

Now, if I want to change the configuration to add the following settings

  1. #############################################
  2. Apex.excel2collection = true
  3. Apex.excel2collection.onecollection = true
  4. Apex.excel2collection.name = Excel
  5. jdbc.initialLimit = 100
  6. JDBC. MinLimit = 100
  7. JDBC. MaxLimit = 100
  8. ##############################################

Question: Where exactly I would add these commands? In the file params/ords_params.properties under d:\apex\apex\ords? Or by manually editing the file defaults.xml? But what file to edit, d:\apex or under Tomcat \webaps\apex\...?

That said, I still don't know how to answer my question above.

You don't have to change anything in Tomcat\webapps\apex. Looking for just the using configdir:

java -jar ords.war configdir

Go to your config directory and edit the file defaults.xml and add/edit the following parameters:

true
excel
true
100
100
100

Save the changes to the file defaults.xml and restart your Tomcat Services.

Is there another way to change the configuration of ADR by using Oracle SQL Developer.

Reference: https://docs.oracle.com/cd/E55747_01/appdev.41/e55591/ords_sqldev.htm#CEGEEHGB

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

  • Problem with report PDF - external (Apache FOP) - APEX 5.0 + ADR 3.0 + Tomcat 7

    Hello

    I have a problem with the pdf reports.

    I tried to make the steps of Apache FOP missing Oracle Apex installable for 5.0 and 5.0.1 APEX APEX

    It's something wrong with my settings 'external (Apache FOP)'.

    When I download the report I .pdf file.

    I can't open this file with the reader of pdf, but Notepad ++ open it.

    In the first line is: "ORA-20001: the print engine could not be reached because the URL is incorrect or a proxy URL must be specified."

    I have:

    • APEX 5.0 (c:\apex)
    • ADR 3.0.1 (c:\OracleREST-
      • files apex.xml, apex_al.xml, apex_pu.xml and apex_rt.xml are in C:\OracleREST\pathtoconfig\apex\conf,
      • defaults.XML, fop.xml are C:\OracleREST\pathtoconfig\apex)
    • Apache Tomcat 7.0.64 (C:\apache-tomcat-7.0.64)
    • Apache FOP 2.0 (C:\ApacheFOP\fop-2.0) - I don't now how to bind with APEX, ADR and Tomcat

    My fop2pdf.jar file is located in C:\apache-tomcat-7.0.64\webapps\apex\WEB-INF\lib

    If I use ADR as print server is OK, but I need to use non-English characters.

    Can you help me? Please

    AGM

    P.S. I'm sorry for my English, I hope you understand me

    Hi AgaSz,

    AgaSz wrote:

    I have a problem with the pdf reports.

    I tried to make the steps of Apache FOP missing Oracle Apex installable for 5.0 and 5.0.1 APEX APEX

    It's something wrong with my settings 'external (Apache FOP)'.

    When I download the report I .pdf file.

    I can't open this file with the reader of pdf, but Notepad ++ open it.

    In the first line is: "ORA-20001: the print engine could not be reached because the URL is incorrect or a proxy URL must be specified."

    You use DB Oracle 11g or later? If so, you must enable Network Services to use the configured Print Services.

    Reference: The last point mentioned here: PDF of print on demand Express 3.1 and above

    My fop2pdf.jar file is located in C:\apache-tomcat-7.0.64\webapps\apex\WEB-INF\lib

    If I use ADR as print server is OK, but I need to use non-English characters.

    You should not use "External Apache FOP", but you can "Oracle REST Data Services" as an option "print server". But, you should open the ords.war file and replace the Apache FOP associated jar files so that it supports non-English characters.

    You crossed the aforementioned following threads in the thread:

    Recently, I met the following threads:

    3. ASK : if I agree that Apache FOP comes with ADR supports the Base-14 fonts and it's more issue ADR as Oracle APEX, but it will help you qualify for Oracle APEX + ADR as users of at least the next version ADR print server comes with Apache FOP 1.1 and the xmlgraphics - commons-1.5.jar. This will help the people setting up fonts and support for complex Scripts for example, Arabic, Hebrew, hindi and Southeast Asian scripts using Apache FOP comes with ADR as "print server".

    Kind regards

    Kiran

  • Blank Page for APEX on ADR and Tomcat 5.0

    Hi all

    I finally complete the installation in the environment of Production of DURATION; but when I call APEX of EBS link, it showed the white page

    I use APEX 5.0 with ADR 2.0 set up with Tomcat.

    What source of the page view, it showed no error, when I look at localhost_access_log.2015 - 10 - 30.txt

    [30/Oct / 2015:15:48:14 + 0800] "GET/apex/f? p = 103::7562978440464
    : 103:1:7562978440464: HTTP/1.1 "302 -

    [30/Oct / 2015:15:48:16 + 0800] "GET/apex/f? p = 103:1:756297844046

    4: HTTP/1.1 "200 18116

    [30/Oct / 2015:15:48:16 + 0800] 'GET /i/themes/theme_42/1.0/css/V '.

    ITA.min.CSS? v = 5.0.0.00.31 HTTP/1.1 "404 1027

    As long as the calling program is there HTTP 404

    I copied apex/images in Tomcat webapps / I, all users can open account status.  Restart Tomcat and it shows blank page

    As the production server, I can not activate debugging ADR, how check the configuration files that specify the directories to load images is?

    How can I find out, he calls apex.war correctly?

    Thank you, Dorothy

    Hi Kiran,

    Thanks for your help.

    I found the cause; It's me and my fingers that itches.  I copy the images / *. * instead of image / *;  caused with extension computer files have been copied.

    All are deployed successfully.

    Thank you, Dorothy

  • ADR 3.0 / multiple domains / Tomcat SSL

    I work on implementing a mod_plsql apache app to ADR and have a few questions:

    1. I have a need to run several areas and currently do with multiple ip addresses: ip address https:/domain1.com on the first and https://domain2.com on the 2nd ip address. Under apache/mod_plsql I used 2 ip addresses and virtual servers that NIS was not available at the time.  Each domain can access different dads.

    As I'm moving to ADR 3.0 / Tomcat, which is the recommended way to do this?

    2. There are a lot of resources static such as images and javascript files that are served with a max - age = 1 year.  This prevents browsers by making detours unnecessary (or eTag research) and allows page load times.

    What is the best method (or a pretty good method) to do this?  Is there a way to ADR/Tomcat to specify age max a subdirectorates and directory?   Or is it recommended to run Apache in front of Tomcat and let Apache handle SSL offloading and deal with Tomcat/ADR as a proxy?

    These two questions are more about Tomcat configuration. We support deployment on Tomcat ADR, but we do not have in depth in Tomcat expertise, this link provides guidance on how to get the support of the community of Tomcat:

    Apache Tomcat - Find Help

  • Question RE: Configuration of ADR for RAC

    During the configuration of the War ADR to the initial configuration, we are prompted to enter a host name and a database name. However, if the database containing the installation of the APEX is a RAC, what should we provide here?

    I mean, on a node of 8 CARS for example, we have 8 guests for a database. We do not simply choose one of them, for example node 1, because that kind of defeats, the main reasons to have a CAR in the first place, switch.

    If all goes well, the answer is not obvious, but, in the affirmative, please let me know.

    Thank you

    -Joe

    Not sure that someone is actually watching this community at all. Almost all the answers I see here are those where the poster, eventually finds the answer for himself and publishes it. including this one.

    To connect to a RAC, you simply specify "host" of the listener SCAN name. Although it is a virtual host, ADR has no problem connecting to it and make use of it.

    If you have old configurations of CARS of style, which is devoid of SCAN listeners, then you can use the TNS Alias version:

    Create file with these entries:

    db.connectionType = tns

    db.tnsAliasName = mydb

    db.tnsDirectory=d:/oracle/mydb/network/admin

    DB. HostName =

    DB.port =

    DB. ServiceName =

    Assuming that the file created is named ords_db_properties.txt, you would load it in ADR with the following command:

    java-jar ords.war all properties d:\ords_db_properties.txt

    * sigh *.

    -Joe

  • En RESTful ADR services

    Hello

    Anyone know a good link (for beginners) which explains what are Restful services, why ther are so popular, but also what is the ADR?

    Thank you in advance.

    Kind regards

    Hi Patrick,

    Laury wrote:

    Anyone know a good link (for beginners) which explains what are Restful services, why ther are so popular, but also what is the ADR?

    REST (REpresentational State Transfer) is a type of web service such as SOAP (Simple Object Access Protocol).

    RESTful Web services regarding:

    The following differences between SOAP and REST will help you understand why the REST is so popular:

    About ADR (REST of the Oracle Data Services) is that a java based Oracle tool to make/serve the relational data in Oracle Database RESTful services. In short, ADR is a tool for developing a RESTful Web Services for Oracle Database.

    Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/get_started.htm#CHDEIDBI

    NOTE: ADR can also be configured as Web for Oracle APEX listening Port. Earlier, before ADR 2.0.6 it is identified as "APEX Listener" and earlier is mainly intended to provide basic java Web for Oracle APEX listening port. But as RESTful Services have been introduced in the main purpose has changed as mentioned above. ADR itself joined Grizzly/flavored jetty server HTTP which is activated in stand-alone Mode , and it can also be deployed for support for Java EE application servers as a java application.

    Kind regards

    Kiran

  • Omission in the instructions for installation of Tomcat?

    It seems to be an omission in the instructions of the Joseki on Tomcat configuration. Link here

    In the section of JBoss, there is mention of ojdbc6.jar, which must be copied somewhere I had to copy the same file to a folder "lib" of Tomcat in the tomcat installation folder, or in the folder of tomcat instance. In hindsight I see not why this is so, but I think it would be appropriate with a tip on the step by step instructions.

    BR,
    Morten

    Hi Morten,

    Thank you very much for this! The document has been set. It will take a while for the new version to look good.

    See you soon,.

    Zhe Wu

  • Need help with the location of the file that is customized to the title of the ADR

    ADR 2.0.9.224.01.07

    Apex 4.2.6.00.03

    We have a requirement to locate our custom, for example, files, JavaScript, CSS, Images, etc. outside the apex_images, it is-to-say/i directory. So, specifically, we don't want to locate in a subdirectory of i. When we used the Oracle HTTP Server, we could simply add a new alias in the file dads.conf for this.

    We run ADR under Apache/TomCat.

    Is there an equivalent of the APEX listener? If we wanted files customized for a directory virtual per day us how so?

    Thank you

    -Joe

    Hello

    Create folder per day under Tomcat webapps folder and move your files.

    Restart Tomcat

    Kind regards
    Jari

  • Add a data source to cfm 11/Tomcat

    It is possible to add a to the tomcat container jdbc data source runs an instance of CF 11?  If so, is any documentation on how to do it?

    Thanks in advance...

    Ok. To answer your original question, yes it is possible to add a jdbc data source to the container tomcat running in ColdFusion. I will illustrate this by adding a PostgreSQL JDBC data source. Be aware that the following is experimental and, as far as I know, not documented elsewhere. Take notes that will help you, if necessary, to cancel the procedure and return the system to its original state.

    The steps are:

    1) download and install the latest version of PostgreSQL for your operating system database management system; make sure it is running. Write down the password you give to the server.

    (2) download the driver JDBC41 of PostgreSQL, version 9.3 - 1102. It is the version that corresponds to Java 1.7 and 1.8, the versions of Java Virtual Machine from ColdFusion 11. The download is a JAR file. Copy it to the Tomcat lib directory located at {CF_HOME_DIRECTORY} \runtime\lib\.

    3) you now add the driver details for the Tomcat configuration files, {CF_HOME_DIRECTORY}\runtime\conf\context.xml and {CF_HOME_DIRECTORY}\runtime\conf\web.xml. }} Make a backup of these files before continuing.

    Open the context.xml file in a text editor and add the following element just before the last end tag:

    Type = "javax. Sql.DataSource' driverClassName = "org.postgresql.Driver"

    URL = "" jdbc:postgresql://127.0.0.1:5432 / booktown ' "

    username = "cf_user" password = "cf_password" maxActive = "20" maxIdle = "10" maxWait = "-1" / >

    Open the web.xml file in the text editor and add the following element just before the last end tag:

    example of postgreSQL data source

    JDBC/postgres

    javax.sql.DataSource

    Container

    (4) the resource XML element points to the URL of the database of the booktown. I will now add this database and user for the PostgreSQL server.

    Download booktown.sql. Use it to install the database of the booktown on the command line by running a PostgreSQL command as

    psql-f /path/to/booktown.sql - U postgres template1

    If it works without a hitch, then the booktown database will be installed. The user is initially the default superuser "postgres". Use it to connect on the command line:

    psql - U postgres

    It will ask you to enter the password, the one you threw down earlier. The command line begins with the command prompt:

    Postgres = #.

    Now, create another user, cf_user, also on the command line, corresponding to the resource XML element:

    Postgres is # CREATE ROLE cf_user PASSWORD "cf_password" SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;.

    (5) you have now completed setup. Restart ColdFusion.

    To test, save the following code in a CFM file and run it.

    username = "cf_user";

    password = "cf_password";

    classObj = CreateObject ("java", "java.lang.Class");

    classObj.forName ("org.postgresql.Driver");

    driverManager = CreateObject ("java", "java.sql.DriverManager");

    connectionURL = "" jdbc:postgresql://127.0.0.1:5432 / booktown '; "

    Conn = driverManager.GetConnection (connectionURL, username, Password);

    myQuery = "" SELECT * FROM books ";"

    preparedStatement = conn.prepareStatement (myQuery);

    RS = PreparedStatement.executeQuery()) ();

    While (RS. Next {}

    WriteOutput (RS. "GetString ("title") &"
    ");

    }

    RS. Close();

    Conn.Close ();

    To cancel the procedure above, first stop ColdFusion. Then remove the jar from Tomcat lib direct and restore the context.xml and web.xml to their original state. You can also uninstall the PostgreSQL database management system.

  • Tomcat 6 stop running during execution of Oracle XE

    Hi all
    =========
    My Env:
    Ubuntu 10
    =========
    After looking for a day and work, I managed to install Tomcat 6, Cocoon & Java files successfully. Here's my problem.
    I have an existing Oracle XE running with Apex 3.2.
    When I start Tomcat 6 it starts fine, but in a few seconds it stops and displays the message "servlet engine Tomcat is not running but pid file exist.". Can I stop & start this or restart it, but the same problem occurs after a few seconds with the same message (I know that checking the status). During this time running, I can access it via the browser of 8180 (I changed the port 8080 to 8180). Apex uses port 8080. Meanwhile, I have no problem with Apex (set to run at startup).

    When I stop the Oracle database and start Tomcat 6 it works very well, it continues to function perfectly. Even once when I starts the database, I am unable to Apex access via port 8080 and the message "Unable to connect to the server 127.0.0.1:8080."

    Can someone help me please?

    Thank you very much
    Naushad

    Hi Naushad,

    you have probably missed a setting to migrate the tomcat Port 8180. The behavior you describe matches that I expect a port conflict - or the other service works perfectly when it's "only", but does not work if it started before.
    You can fix this on both sides. Reconfiguring the port your EPG hosts your APEX may be a little easier. You just have to connect as sys and to execute the following block:

    begin
      dbms_xdb.sethttpport(8081);
    end;
    /
    commit;
    

    Change the port to any value you want.
    To change your port Tomcat configuration, you have probably changed the next song in your server.xml file

    
    

    You'll find other ports used by the Tomcat in this file as well. Make sure that you do not have a conflict with another service.
    I use a Tomcat beside XE on Ubuntu 8.04. Since I had to reconfigure the default SSL Port Tomcats (8443 was already used by another web server on this machine), I moved all of Tomcat to 100XX 80XX ports, keeping the EPG on port 8080, and it works fine for me.

    -Udo

  • Steps to APEX Dev to Prod runtime environment

    Hi all

    I use 5 APEX with ADR running on Tomcat.

    This is the first time I deploy APEX.  I have finished my development environment and would prod ports over which is the execution environment.

    1. I am confused with APEX_APPLICATION_INSTALL and APEX_APPLICATION_ADMIN.

    Refer to

    (YABAOAE) yet another Blog about Oracle Application Express

    As the PROD has no workspace configuration, if the option workspace_id to apex_workspaces, there is no workspace in PROD.  This means that I have to run

    APEX_INSTANCE_ADMIN. ADD_WORKSPACE ('11234444', 'Nom_espace_de_travail', 'SCHEMA_NAME', null);

    Instead of

    apex_application_install.set_workspace_id (n_workspace_id);

    2 If the DEV and PROD must have the same schema and application id, that means I just run the script that I export application after the fixed workspace and the schema. for example, f101.sql?

    3. I have import E2Collections plugin, how do I import this plugin in the runtime environment?

    Thank you, Dorothy

    Dorothy salvation,

    Congratulations at the end of your first application!

    As the PROD has no workspace configuration, if the option workspace_id to apex_workspaces, there is no workspace in PROD.  This means that I have to run

    APEX_INSTANCE_ADMIN. ADD_WORKSPACE ('11234444', 'Nom_espace_de_travail', 'SCHEMA_NAME', null);

    Instead of

    apex_application_install.set_workspace_id (n_workspace_id);

    In fact as a Setup for your PROD, I suggest that you export your existing workspace of DEV and import in the PROD. This has the advantage that the ID of the workspace will remain the same, which will make easier the installation of applications. You run the import script of the workspace as SYS. The export of the workspace can be created via the Admin Instance INTERFACE.

    2 If the DEV and PROD must have the same schema and application id, that means I just run the script that I export application after the fixed workspace and the schema. for example, f101.sql?

    If you are creating the workspace with the export script you will not have to do anything before @101.sql running (you'd connected via the schema of your workspace or as SYS)

    3. I have import E2Collections plugin, how do I import this plugin in the runtime environment?

    The plug-in is part of your export app. No further action necessary installation.

    Concerning

    Patrick

    ---

    Member of the APEX development team

  • Localhost instead of the IP address.

    Hi all

    I tried to install Oracle on Oracle 12.1.0.1.0-5.0.1.00.06 APEX. I used Tomcat 7.0.64 3.0.1.177.18.02 ADR.

    I think that I have installed successfully, but the strange thing happened. I can only access the APEX thru localhost as below.

    LocalhostApex.jpg

    But I tried to access it by using the IP address http://10.30.7.100:8181 / apex / , but it I redirected http://10.30.7.100:8181 / ADR / and received the error like below.


    IPApex.jpg


    I tried to access the tomcat via the same IP address and it worked.


    TomcatApex.jpg


    Could someone please help to guide and point out what I've been missing to set up?

    Thank you

    Troy.

    Hi Troy Lagi,

    Lagi Troy wrote:

    I tried to install Oracle on Oracle 12.1.0.1.0-5.0.1.00.06 APEX. I used Tomcat 7.0.64 3.0.1.177.18.02 ADR.

    I think that I have installed successfully, but the strange thing happened. I can only access the APEX thru localhost as below.

    But I tried to access the address IP / http://10.30.7.100:8181 / apex /, but it redirect me to http://10.30.7.100:8181/ADR/and received the error as below.

    I tried to access the tomcat via the same IP address and it worked.

    Could someone please help to guide and point out what I've been missing to set up?

    You have renamed ords.war to apex.war before moving the war file in Tomcat folder "webapps" as mentioned in the documentation of Oracle for ADR:

    Apache Tomcat determines the context root, the name of a file archive of the WAR. If you need maintain backward compatibility, so that the URLS are of the form http://server/apex/... rather than http://server/ords/..., then you must rename it to ords.war to apex.war before moving in to the webapps folder.

    Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/install.htm#CHDBJHAF

    For debugging this problem, you face on ADR:

    • Find the folder of configuration of ADR.
    • Enable debug tracing in defaults.xml (if the entry is not there add the entry)
    • Turn on detailed error messages ask in defaults.xml (if the entry is not there add the entry)
    • Start(Re-Start) the Standalone ADR / support for Java EE application server.
    • Go to the URL of the APEX
    • Copy / paste the debug log in the response to the forum. (The error is usually at the end of the paper, paste/fix the whole journal where occurs the first exception)

    Kind regards

    Kiran

  • How to set up * application and the workspace of static files after upgrade from 4.2 to 5.0?

    Hello.

    I just upgraded from 4.6 to 5.0 on Windows 7 64 bit.  ADR 2 and Tomcat running.  The APEX and my app runs.  Images of the APEX are OK.

    Problem: Application and do not display images of working space.

    Here are the different paths:

    • C:\apache-Tomcat-7.0.59\webapps\i
    • C:\APEX\images

    I copied the content of the APEX webapps\i images directory to the tomcat directory.

    I ran the two flavors of the loading image script, and each completed without error.

    • SQL > @apxldimg.sql c:
    • SQL > @apex_epg_config.sql c:

    I am able to log in administrator mode or developer APEX, and everything looks very good and works well.

    I can't connect to my request and it works, but the images, for example, the logo is not displayed.  The application CSS file is not currently in use.

    The source of the page shows that in the head of <>, where "pva" is the name of workspace:

    "" < link rel= "shortcut icon" href= "pva/static-files-not-configured/files/static/v4Y/eprentise_favicon-32x.png" type= "image/x-icon" / > "
    < link rel =" style sheet " href =" PVA/static-files-not-configured/Files/static/v4Y/epr_4_6.CSS " type of =" text/css " />

    This is the logo of the hgroup > < body > <

    "" "< a href="f? p = 520:1:1212525121720" id="uLogo"> < img src="pva/static-files-not-configured/files/static/v4Y/eprentise_default-logo.png" alt="eprentise demo" title= 'eprentise demo" height= "50" / > < /a > "

    #WORKSPACE_IMAGES # = pva/static-files-non-configured/files/static/v4Y /, which is considered in the places above.


    #APP_IMAGES # = pva/static-files-non-configured/520/files/static/v2Y /, where the application_id is 520.  These images are not either


    My understanding is that the images of the workspace and the app are not stored in the file system in the results directory.


    Advice or a pointer to the documentation on how to configure static files for application and space images of work and for the application CSS file?


    Thank you

    Skip

    Hi Skip,

    If you are using ADR the next chapter in the ADR of the installation guide part is important to you. https://docs.Oracle.com/CD/E59726_01/install.50/e39144/listener.htm#HTMIG29472

    In particular, the following note in "on the configuration of the RESTful Services.

    RESTful services ask Oracle 2.0 or subsequent REST Data Services. RESTful Services configuration is necessary when upgrading to Oracle Application Express version 5.0 and RESTful Services were not configured in a previous version.

    Concerning

    Patrick

    Member of the APEX development team

  • HEAD APEX http request behavior

    We have encountered a problem with APEX and how applications respond to http HEAD requests.  Initially, we are requested if it was something in our APEX/ADR/Tomcat configuration, but have now turned up a similar behavior in other places.

    For example, look at the output of these:

    CURL - v - url https://asktom.Oracle.com/pls/Apex/f?p=100:1:0 2 > & 1 | grep HTTP

    > GET/pls/apex/f? p = 100:1:0 HTTP/1.1

    < HTTP/1.1 200 OK

    curl - v - I-url https://asktom.Oracle.com/pls/Apex/f?p=100:1:0 2 > & 1 | grep HTTP

    > HEAD/pls/apex/f? p = 100:1:0 HTTP/1.1

    < HTTP/1.1 404 not found

    However:

    curl - v - I-url https://asktom.Oracle.com/i/ 2 > & 1 | grep HTTP

    > HEAD is HTTP/1.1

    < HTTP/1.1 200 OK

    HTTP/1.1 200 OK

    And this example:

    wget d https://Apex.Oracle.com/pls/Apex/f?p=22927 2 > & 1 | grep HTTP

    GET/pls/apex/f? p = 22927 HTTP/1.0

    Query HTTP sent, awaiting response...

    HTTP/1.1 302 moved temporarily

    GET/pls/apex/f? p = 22927:1:0 HTTP/1.0

    Query HTTP sent, awaiting response...

    HTTP/1.1 302 moved temporarily

    GET/pls/apex/f? p = 22927:1:0: HTTP/1.0

    Query HTTP sent, awaiting response...

    HTTP/1.1 200 OK

    wget d - spider https://Apex.Oracle.com/pls/Apex/f?p=22927 2 > & 1 | grep HTTP

    HEAD/pls/apex/f? p = 22927 HTTP/1.0

    Query HTTP sent, awaiting response...

    HTTP/1.1 404 not found

    In summary a GET to the URL request Apex returns a 200 response (or an intermediary 302), but a HEAD request to the same URL return 404.

    A client of ours uses the http HEAD requests to validate published URLs and triggers a follow-up error if a 404 error.  In our case, the URL is exposed through an APEX application and the 404 is encountered.

    Please can someone explain what is happening here and why.

    Thank you very much.

    Post edited by: climatedb

    Hi "climatedb"

    I have good and bad news.

    Good news: you have helped to identify a bug (Bug 20601219), filed against Oracle REST Data Services.  Not short, there is no support for HEAD when you apply through the gateway PL/SQL (the piece of logic that makes the call to the APEX engine).

    Bad news: until this is resolved in a future release of Oracle REST Data Services, we are not aware of any type of workaround.  Using mod_rewrite or any other technology to rewrite to convert the HEAD request to a GET request may * not * be enough.

    Joel

  • Error SMTP sending reports by e-mail - not you usual ACL question

    Apex 4.2.5.00.08

    Data services Oracle REST 2.0.9

    Recently, we changed our architecture around a bit of the APEX. Previously we used the Oracle HTTP server on the same host as the database. Now we pass the 'web' part of the APEX to another server using ADR with Apache TomCat. Under the old configuration, we have been able to send emails without any problem. However, when we try to do under the new configuration, we get the following SMTP error stack:

    ORA-29279: SMTP permanent error: 503 #5.3.3 AUTH is not available

    I would have thought that email would still go database server in the new configuration but, perhaps, it's fake.

    1 ACL have been created

    Start

    () mailserver_acl

    "mailserver_acl.xml,"

    "ACL for mail server used to connect,"

    "APEX_040200,"

    TRUE,

    'connect',

    "MAILHOST",.

    (null);

    end;

    /

    TURN ON THE COMPUTER HOST, ACL

    OF DBA_NETWORK_ACLS

    WHERE ACL LIKE '% mailserver_acl.xml ';

    HOST ACL
    mailhost/ sys/ACLs/mailserver_acl. XML

    2. I am able to send an email with success by Telnet to port 25 on * is * host and send emails directly from the command line interface.

    3. I am able to send successfully from the database using the PL/SQL interface.

    Any ideas?

    Thank you

    -Joe

    When configure you the new application server, you MUST have reconfigured APEX, correct?  So you can have the apex_mail settings not the same as the old installation.

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

Maybe you are looking for