Performance (listener APEX) glassFish and ADR issues

Hello world

We have a number of applications available APEX to APEX Listener installed on 4.1 GlassFish (Open Source Edition). The APEX is version 2.0.9.224.01.07.

Any installation is using the default values, the documentation available now.

The problem is that after a while (two days, maybe weeks) the answer is really slow, which means you have to wait a few minutes to change pages or get the application to react. While everything works normally by another instance of GlassFish and auditor of the APEX, which means that everything is ok with the database and the problem must be with the GlassFish and/or listener of the APEX. After you restart GlassFish domain things to improve for a while, but finally that we are facing problems of performance even. There is nothing suspicious in the newspapers of GlassFish, and we do not know where to look further.

I tried the web search for more information on how to configure GlassFish and APEX listener for the documentation and production environments, but did not find much. We increased settings memory JVM for GlassFish to 2 GB, but I would like to know is there something else about the GlassFish settings (son HTTP, JDBC, pool etc.) we could do to avoid the problems described, or is there a way to detect what is the real problem. Any suggestions or pointers to relevant documents?

Thanks in advance,

Bruno

Hi bruno2,

bruno2 wrote:

We have a number of applications available APEX to APEX Listener installed on 4.1 GlassFish (Open Source Edition). The APEX is version 2.0.9.224.01.07.

Any installation is using the default values, the documentation available now.

The problem is that after a while (two days, maybe weeks) the answer is really slow, which means you have to wait a few minutes to change pages or get the application to react. While everything works normally by another instance of GlassFish and auditor of the APEX, which means that everything is ok with the database and the problem must be with the GlassFish and/or listener of the APEX. After you restart GlassFish domain things to improve for a while, but finally that we are facing problems of performance even. There is nothing suspicious in the newspapers of GlassFish, and we do not know where to look further.

I tried the web search for more information on how to configure GlassFish and APEX listener for the documentation and production environments, but did not find much. We increased settings memory JVM for GlassFish to 2 GB, but I would like to know is there something else about the GlassFish settings (son HTTP, JDBC, pool etc.) we could do to avoid the problems described, or is there a way to detect what is the real problem. Any suggestions or pointers to relevant documents?

For ADR + Glassfish performance should be on two fronts:

  • Side of GlassFish:

As you use 4.1 GlassFish (Open Source Edition) you should refer to the official documentation for Glassfish 4.

Reference: https://glassfish.java.net/docs/4.0/performance-tuning-guide.pdf

But as I've used Oracle Glassfish Server 3.1 which comes with the integrated tuner. I just follow the following documentation:

Reference: https://docs.oracle.com/cd/E18930_01/html/821-2431/toc.html and https://docs.oracle.com/cd/E18930_01/html/821-2431/gkxwm.html

  • Side of ADR:

The performance tuning side ADR includes the correct JDBC settings in the ADR configuration files.

Reference: http://krisrice.blogspot.in/2012/05/apex-listener-jdbcsecurity-setup.html

So, set your ADR for instance so that you get the performance you want. For this you will need: change the JDBC settings-> load/stress test and repeat this operation.

Stress/load tests is shown by Morten Bråten in the following blog in his blog series about ADR.

Reference: ORA-00001: Unique constraint violated: ADR, installation Oracle XE and Apex on CentOS - part fourth: Stress tests

NOTE: This blog is for ADR + Apache Tomcat, but ADR configuration settings remain the same in your case.

Finally, if you want to see more practical best ADR with Oracle APEX follow the slides for "ADR in the Production" by Dietmar Aust.

Reference: daust_de: Oracle XE / APEX: presentation for my ADR slides talk to KScope 2015

NOTE: This presentation is also to ADR + Apache Tomcat, but things related to ADR are same in your case.

Also, as this thread is related to ADR, you must move this thread to the appropriate forum: ADR, SODA & JSON in the database

Kind regards

Kiran

Tags: Database

Similar Questions

  • error 503-service unavailable after listening apex on glassfish deployment

    Hi all

    I installed apex 5.0,jdk-1: 7, glassfish - 3.1.2.2 on win7. Field configured and deployed glassfish apex.war successfully but when I m trying to access the links generated on application launch click (listener apex)

    http://XYZ:8686 / apex

    https://XYX:8181 / apex

    It gives me an error 503-service not available.

    Any help is appreciated...


    Thank you.

    Hello Ketan,

    Ketan Madhak wrote:

    Caused by: oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not

    properly configured, error: ORA-28000: the account is locked

    It is the root cause of your problem.

    The pool of the apex in ADR corresponds to the APEX_PUBLIC_USER database, and it is not properly configured.

    Log on to sqlplus with the SYS user prompt and SYSDBA privileges and run the following query:

    select username
        , account_status
        , profile
      from dba_users
    where username in ('APEX_PUBLIC_USER','APEX_LISTENER','APEX_REST_PUBLIC_USER');
    

    If account is LOCKED, EXPIRED, etc. then unlock the accounts of users, for example:

    ALTER USER APEX_PUBLIC_USER IDENTIFIED BY  ACCOUNT UNLOCK;
    

    Throw/remove the current configuration of the ADR and re - configure ords.war/apex.war with correct password for users. Re-deploy to Glassfish Server.

    Kind regards

    Kiran

  • Expose a report through Apex 5.0.2 and ADR 3.0.2 RESTful service

    Hi all

    Currently, I am trying to expose a report through RESTful service and have used the following documentation to the for do:

    https://docs.Oracle.com/database/121/HTMDB/advnc_web_services.htm#HTMDB27000

    I can't find where and how expose the report.  My page is public, and the security to allow RESTful services instance is set to yes.  I have an interactive report and a classic report, but none of them seem to have the option.

    I use Apex 5.0.2 and ADR 3.0.2.294.08.40.

    Does anyone know how to do this?

    Thank you

    Daniel

    Hi Daniel,.

    If it is a classic report, you have the instance parameter to allow the Restful Services and the page is public, you must change the page using the view component inherited (not Page Designer). In the attributes section you will find the option to activate the relaxing access report.

    Kind regards

    Jason

  • After upgrade on APEX 5.0 and ADR Workspace Images do not appear

    Hello

    after upgrade the APEX 4 APEX 5.0.2 and the use of ADR now instead of OHS everything works fine, but the logo is not displayed. It is saved as a static file from the workspace (#WORKSPACE_IMAGES #LpWaV_Logo.gif).

    Here, the entry in the Tomcat access log:

    10.112.145.119--[14/Jan/2016:16:58:07 + 0100] "GET /ords/lpwa/r/files/static/v19Y/LpWaV_Logo.gif HTTP/1.1" 404 11384

    In the APEX 5.0, I did the configuration of RESTful Services with apex_rest_config.sql. Subsequently, I installed 3.0.3 as desrcibed ADR ADR docu e56293.pdf Chapter 1.3.4.2.

    Anyone have an idea what is wrong?

    Thanks in advance.

    Kind regards

    Martin

    Hi Martin

    Please see:

    CAVEAT. DO NOT USE ADR 3.0.3 with APEX. There must be a Bug in 3.0.3.351.13.24 concerning the static files of Apex.

    ... and in the meantime there are more threads on this topic

    Oviously person eigther Apex, or the ADR teams seems to feel free to say anything on this. I find it very strange...

    Concerning

    André

  • Need help with apex listener administration username and passwd

    Hello
    I downloaded apex ODD and tried lunch listener admin http://localhost: 8888/apex/listenerAdmin
    Help me please the username and password.
    Thank you very much.

    Hailt wrote:
    Hello
    I downloaded apex ODD and tried to lunch listener admin http://localhost: 8888/apex/listenerAdmin
    Help me please the username and password.
    Thank you very much.

    (1) do not not eating a listener. It is not good for you.
    (2) you are sure that you are in the right forum for this? (You may be... but you may very well not be)... If ODD is open developer day information about passwords are usually in the installation instructions.

    .. I don't remember having to worry of the Auditors of the apex, but I havant used the latest versions...

    The main objective of how to post to fix your possible eating disorder.

  • XE GlassFish and Apache

    I'm currently moving our production request where it would need to be accessible from the internet. I think I followed all the instructions posted on this forum and I hit a snag with Apache because it is impossible to load whatever it is located in the folder of the East. Here is the configuration information for your comment

    Setting up the environment:
    A: Windows Server2008 with XE (4.x) + GlassFish (installed listener and a lot of work). Will be sitting inside the firewall.
    B: Windows Server2008 with Apache 2.x. updating the httpd and http virtual servers to proxy support reverse. Able to redirect the traffic to the server of A specific app Apex

    Issue: Application appears but doesn't retrieve any content of the folder "/ i /.

    Measures taken so far:
    -Launched Dev of firebug and chrome tools and figured out I get 400 query incorrect error for all applications in the folder "/ i /.
    -Copy all the content on server A folder is on server B Documentroot folder
    -Addition of Alias in this folder (check out the virtual hosts section below)

    Section of the file of the virtual host - Note: deleted the names/IPs *.

    < VirtualHost *: 80 >
    ServerAdmin [email protected]
    DocumentRoot "C: / * folder * /".
    Servername sous-domaine.domaine.com

    ServerAlias www.subdomain.domain.com

    Alias is ' / i /.

    RewriteEngine on
    RewriteRule ^ / $ http://subdomain.domain.com/apex/ [R]
    RewriteRule ^ / apex / $ http://myip:8080/apex/f? p = xxx:1 [P]
    RewriteRule ^ / apex /(.*) $ http://myip:8080 / apex / $1 [P]

    ProxyPass / http://:8080/
    ProxyPassReverse / http://myip:8080 /.

    #This did not work
    #ProxyPass is http://myip:8080 / I
    #ProxyPassReverse is http://myip:8080 / I

    Http://myip:8080 ProxyPass/sys / sys
    Http://myip:8080 ProxyPassReverse/sys / sys

    < location / >
    Order allow, deny
    Allow all the
    < / location >

    < directory "/ i /" >
    Order allow, deny
    Allow all the
    < / Book >

    ErrorLog "logs/domain.com-error.log".
    Common CustomLog "logs/domain.com-access.log."
    < / VirtualHost >
    ********************************************End Virtual hosts*********************************

    Any help and direction is greatly appreciated.

    Thank you
    Raja

    Hi Raja,

    I'm sorry to be too fragmentary with my explenations.
    So I try to take a little more time to go through your config. I hope I don't bore you, but I need to (re) do this analysis to get a picture of your script anyway. Please correct me if one of my conclusions were wrong.

    Alias [0] is ' / i /.

    Who's that you deleted, no?
    As mentioned previously, if you use an Alias, the directory must then be a situation real (absolute) file system, not with respect to your Apache docroot. You don't need an Alias if you have + / i / + in your docroot.
    Having the APEX on your proxy stuff would be good, if the performance of the network easier and also the best approach. Not need any proxy reverse.

    [1] RewriteRule ^ / $ http://subdomain.domain.com/apex/ [R]

    This will redirect requests to the path to the root of your domain to the + / apex / + path of your domain.

    [2] RewriteRule ^ / apex / $ http://myip:8080/apex/f? p = xxx:1 [P]

    This rule aims to map all requests to the + / apex / + path to a sort of landing page and push forward the demand for mod_proxy to do the reverse transfer by proxy. So I guess that your goal is to map this page as the start page of your domain.

    [3] RewriteRule ^ / apex /(.*) $ http://myip:8080 / apex / $1 [P]

    It will pass all other applications of content below the + / apex / + path to the mod_proxy module. I think that is not necessary, but probably won't hurt.

    [4] ProxyPass / http://:8080

    I guess you missed that one when you change the file, probably you had "myip" here as well.
    This rule may not work for APEX, because [1] rewrites all applications on the context root. This type of rule, used on their own, could use the reverse proxy for all requests (since they all start of + / +). But I guess that's not the intended behavior, you have a separate rule for listener APEX which would not have been necessary in this case.

    [5] ProxyPassReverse / http://myip:8080 /

    Same problem here, just for the opposite way (dead). Once again, if you want to transfer everything from your proxy to your GlassFish and vice versa.

    #This did not work
    #ProxyPass's http://myip:8080 / I
    #ProxyPassReverse's http://myip:8080 / I

    Just if you do not place static content on your proxy, but really want to keep on your GlassFish: I recommend you remove the slash from the + / I / +. And how deploy you the images on your GlassFish?

    [6]
    Order allow, deny
    Allow all the

    See [0] - this is the path real absolute filesystem?
    Since your Apache is supposed to mean that content directly, you can always question him as any other content directly, for example http://subdomain.domain.com/i/apex_version.txt should open the text file containing the version information of APEX. If you get 400 on this request, you will get probably more of your Apache error log information. My best guess is, as mentioned previously, that + / i / + is not the actual path file system you want to refer.

    My other comments about the configuration of your reverse proxy on GlassFish had the purpose to ensure that the APEX is to put the right references, that is, URL for your static files are not composed by using your settings of the host GlassFishs, but those of your interface. It is vital for the APEX in general, not only for the static parts. APEX listener uses API calls like request.getServerName () to determine what APEX should use to generate redirects etc... The http.proxyHost and http.proxyPort = myproxy.port parameters will configure your GlassFish to meet these API calls as if it was running on the values. He therefore the parameters of your frontend (Apache) is supposed to be used, for example

    proxyName="subdomain.domain.com"
    proxyPort="80"
    

    Since you have Firebug, you can easily check what your static content base URL is referenced to.

    I hope that this will help you get this fixed number. It seems to be quite a small matter, and you're close to the working configuration.
    Please let me know if I'm pointing the wrong way and if so, what applications/mistakes see you in the logs of Apache and GlassFish.

    -Udo

    Published by: Udo on 26.02.2012 01:17

    Published by: Udo on 26.02.2012 08:44
    clarify the possible use of proxy (reverse) on + / +.

  • Problems installing listener apex 2.0.5 in Tomcat 7.0.32

    Hi all, hope someone can help me with this problem.

    Oracle DB: 11gR 2

    Apex version: 4.2.0

    Tomcat version: 7.0.32 on linux

    I have problems to install listener apex 2.0.5 in Tomcat 7.0.32

    I followed the step by step installation instructions, I configured the Auditor in accordance with the instructions, once configured I deployed the listener in Tomcat as the manual says, a t access with the browser time (https://cyaprod03:8443 / apex) I get the following error: "this installation has not been configured yet"


    In the catalina.out file see this: DB No. found for connection: / apex /.

    SERIOUS: no pool not found for https://cyaprod03:8443 / apex /

    In this Tomcat, I installed the 1.1.4listener and access the same basis that I'll put up the 2.0.5 version and it works without any problem


    Default.Xml

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    <! DOCTYPE SYSTEM property "http://java.sun.com/dtd/properties.dtd" > ""

    Properties of <>

    < comment > saved on Tue Feb 18 14:39:24 CST 2014 < / comment >

    < key "cache.caching entry" = > false < / entry >

    < key = "cache.directory entry" > / tmp/apex/cache < / entry >

    < key = "cache.duration entry" > days < / entry >

    < key = "enter cache.expiration" > 7 < / entry >

    < key = "enter cache.maxEntries" > 500 < / entry >

    < key = "enter cache.monitorInterval" 60 > < / entry >

    < key = "cache.procedureNameList" / entry >

    < key = "cache.type entry" > lru < / entry >

    < key = "db.hostname entry" > cyaprod01 < / entry >

    < key = "db.password entry" > @05AD590B48DE4DDAA1FF3B4CE431A7DADA546740A15C9F9232090DC2C5CF28AAF5 < / entry >

    < key = "enter db.port" > 1521 < / entry >

    < key = "db.sid entry" > ORCL < / entry >

    < key "debug.debugger entry" = > false < / entry >

    < key "debug.printDebugToScreen entry" = > false < / entry >

    < key "error.keepErrorMessages entry" = > true < / entry >

    < key = "enter error.maxEntries" > 50 < / entry >

    < enter key = "jdbc. DriverType"> thin < / entry >

    < enter key = "jdbc. InactivityTimeout"1800 > < / entry >

    < enter key = "jdbc. InitialLimit' > 3 < / entry >

    < enter key = "jdbc. MaxConnectionReuseCount"> 1000 < / entry >

    < enter key = "jdbc. MaxLimit' 10 > < / entry >

    < enter key = "jdbc. MaxStatementsLimit' 10 > < / entry >

    < enter key = "jdbc. MinLimit"> 1 < / entry >

    < key = "enter jdbc.statementTimeout" > 900 < / entry >

    < key "log.logging entry" = > false < / entry >

    < key = "enter log.maxEntries" > 50 < / entry >

    < key = "misc.compress" / entry >

    < key = "misc.defaultPage entry" > apex < / entry >

    < key "security.disableDefaultExclusionList entry" = > false < / entry >

    < key = "enter security.maxEntries" > 2000 < / entry >

    < / properties >

    Saludos

    I think the listener APEX for Tomcat, at least, installation instructions are pretty poor.

    What worked for me:

    1. decide where the listener must find the configuration files:

    java-jar ords.war "c:\My STUFF\conf APEX" configdir

    This changes the web.xml file in the ords.war file to get a reference to the expected configuration directory.

    2. perform the standard installation:

    java-jar ords.war of installation

    This creates a few xml configuration files, etc. in a place where he mentions at the start of the installation - it does not change the war itself file.

    3 deploy the ords.war in webapps

    This creates the ADR structure directories above webapps, including our modified web.xml. It also creates a directory structure starting with "ADR" in the location that we have specified for the configuration directory.

    You must now copy the files in step 2 configuration in the configuration directory created by step 3 - you will spot the similarity in the directory structures and Appendix A of the installation guide explains what that is the structure and the files do.

    You should now be able to connect to APEX, the location of the "ADR" on Tomcat.

    Good luck!

  • APEX 5.01 ADR 3.0.1 error 404 not found ordsapex_admin. All the steps done installations, ADR started with SQLDeveloper.

    Newbie, Dan:

    Chrome after http://localhost: 8080/apex/apex_admin "error HTTP 404 problem access/ordsapex_admin. reason: not found".

    Installation steps:

    APEX 5.0.1.00.06

    @apxrtins.sql SYSAUX SYSAUX TEMP/i /;

    @apxchpwd.sql;

    ALTER USER APEX_050000, FLOWS_FILES, APEX_PUBLIC_USER UNLOCK and pass

    EXEC DBMS_XDB. SETHTTPPORT (0);

    Hi adamar,.

    Adamar wrote:

    Chrome after http://localhost: 8080/apex/apex_admin "error HTTP 404 problem access/ordsapex_admin. reason: not found".

    Installation steps:

    APEX 5.0.1.00.06

    @apxrtins.sql SYSAUX SYSAUX TEMP/i /;

    First of all what you have installed 'Runtime Environment' for Oracle APEX 5.0 and 'Runtime Environment' has no GUI as in "Development Environment". 'Runtime environment' has GUI access only for applications deployed in it.

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/overview.htm#HTMIG366

    You need to convert "Runtime Environment" to "Development Environment".

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/listener.htm#HTMIG29457

    Are you using the correct installation procedure Oracle APEX and configuration ADR?

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/listener.htm#HTMIG29143

    Second thing : when you use Oracle REST Data Services like Web listener option, there is no /apex but /ords. So, your connection APEX links will be:

    Third thing : on 404 - when setting up ADR 3.0 have you skipped configuration "PL/SQL gateway '? (This step refers to the configuration of Oracle APEX with ADR (APEX_PUBLIC_USER configuration) which is required for the operation of Oracle APEX with ADR)?

    Otherwise, you will run into the following error message:

    Also open your "ords.3.0.1.177.18.02" folder and run the "readme.html" file in a browser and go to the section "404 errors when Oracle configuration REMAINS Data Services" on the causes of 404.

    Finally , go through the following threads on the Oracle APEX installation and configuration ADR where talked to errors of detail in the course of setting up ADR and the means to solve them:

    Kind regards

    Kiran

  • It must for application Apex runs in mode listener Apex to use Apex listener 2.0 as a print server?

    Hello world

    I'm an Oracle Apex developer for 2 years now.

    Recently, I was in charge of search and do a few examples of how to print pdf with Oracle Apex 4.2.2 (Oracle 11 g).

    I want to use Apex 2.0 listener that standalone as a print server, we installed and we changed the configuration of the print server in the administration workspace. Then I created a report query and when I have the test report, a pdf file is downloaded, but when he opens, Adobe reader tells me that is not a valid pdf file.

    Our Apex application runs in the pl/sql gateway mode not Apex listener.

    So my squestion is: "" Is it mandatory for application Apex runs in mode listener Apex to use Apex listener 2.0 as a print server?".

    Thanks for help.

    Best regards

    You

    Khadija Khalfallah wrote:

    Thanks for your reply.

    We have an apex application that already runs using EPG and we want to allow printing of the pdf in it. So, we installed the ADR offline, to use as a print server but it does not seem possible if the Apex app uses a different web server than the listener of the Apex. right?

    Thank you once again.

    You have answered your own question... If you use the EPG, then you can NOT use another product middleware or application server until you turn off the EPG...

    Why you use the EPG in production?  Oracle does NOT recommend this (see the APEX Oracle installation instructions..)

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Cannot configure listener APEX Access 2.0.1 - 404 - Not Found

    Hello

    Fist of all I use:

    Apex 2.0.1 on D:\listener listener
    Apex 4.2
    GlassFish Server Open Source Edition on C:\ 3.1.2.2
    Windows 7 x 64
    Oracle 11g r2

    I have deployed listener APEX 2.0.1 on GlassFish Server Open Source Edition 3.1.2.2 successfully, but I can't access apex / http://hmarquez-lap:8090 / listenerConfigure. It returns a 404 not found error.
    Also I can not access /listenerStatus

    I followed the steps to deploy the earpiece of the apex on glassfish OracleDoc
    I double checked properly, I created under default config-> Security-> file managerlistener on the list of the Manager of group and adminlistener on the list of the Admin group
    The role of main default mapping is checked in the default configuration

    I don't know if this has to do with any file in the directory or the config, it's configuration:

    After running generate-jvm-report on console glassfish (asadmin.bat)
    Sun.java.Launcher = SUN_STANDARD
    Sun.JNU.Encoding = Cp1252
    Sun.Management.Compiler = levels of HotSpot 64-bit Com
    Sun.OS.patch.Level = Service Pack 1
    User.country = en
    User.dir = C:\glassfish3\glassfish\domains\domain1\
    User.Home = C:\Users\hmarquez
    User.language = en
    User.Name = hmarquez
    User.TimeZone = America/Mexico_City
    User.Variant =
    Web.Home = C:\glassfish3\glassfish\modules\web


    C:\Users\hmarquez > echo %UserProfile%
    C:\Users\hmarquez

    C:\Users\hmarquez > echo folder
    C:\Users\hmarquez\AppData\Local\Temp


    Also
    Where the Summit-config. XML?
    Y at - it a tutorial to configure manually apex/WEB-INF/web.xml

    I see this param in apex/WEB-INF/web.xml, but I have not found how to configure
    config.dir < param-name > < / param-name >
    <!-enter the location where the configuration of parameters to be stored-->
    C:\apex < param-value > < / param-value >

    Thanks in advance
    -Hector

    Published by: 996127 on April 3, 2013 15:22

    996127 wrote:
    Hello

    In fact, I followed the tutorial you mentioned to deploy the earpiece of the APEX. And I wanted to access listenerConfigure, because after I deployed to glassfish with success I can work with APEX

    The page listenerConfigure does not exist with APEX listener 2.0.

    You must either configure the jar before you deploy on Glassfish or use the interface configuration of SQL Developer - I've always used the pot without problem configuration.

  • error at startup listener apex after changes to java

    Hello


    I have java JRE 1.6.29, because I need a JDK (for jasperreports) I installed the JDK 1.7.04
    This gave problems with oracle forms so I uninstalled 1.7.4
    so now only JRE 1.6.29 is on our system

    following departure of apex gives error:
    HTTP Status 500
    oracle.dbtools.rt.service.ServiceLocatorException: Exception occurred in activate() method
    have already transferred, without change
    We use oracle glassfish server 3.1.2


    KR
    Martin

    Hi Martin,

    It helps. The battery has a root cause:

    ORA-12514, TNS:listener is not currently of service requested in connect descriptor

    This has nothing to do with your Java Update or listener APEX itself, well I'd like to see future versions of APEX to give end users a more complete error message. It seems that connect you with incorrect database settings. Try to remove your apex - config.xml and rerun + / listenerConfigure / + with appropriate access settings. Also, make sure that your database listener is configured correctly.

    -Udo

  • Listener apex load

    Hello

    I have a few questions about a stand-alone installation listener Apex:

    1. how to measure the charge on the earpiece of the Apex? There all the tools available?
    2. is there a value any by adding another instance of listener of Apex for the same database? How do I know whether the performance will be improved and if so how can we know when it will be advantageous to add another?
    3. we would like to have a process in place to receive an alert when the listener of the Apex is screw up. Any advice how to and what are the parameters that we should look at?

    Thank you
    Sue

    Published by: Sue on January 26, 2012 13:09

    Hi Sue,

    A month ago that while we had not, we increased the parameter 10 to 30 MaxLimit and since then disconnects.

    It seems that you really had an overload somewhere. You probably have an application with some queries of long term, maybe some slow because the database has been overloaded. Of course, you can increase the number of connections available at the base so willing to access all users will be able to connect. But generally, they will not have fun as response time will be bad, and what can be even more painful - they can worsen, because their requests will cause the database get overloaded even more.

    Is there guidance on the recommended value for MaxLimit [...]

    The MaxLimit must be chosen according to the number of concurrent users that you want to be able to serve. Usually, this should not be much more than the number of parallel threads that can manage your database. For example, I would not recommend 30 sessions for a database instance that has just a few threads of CPU to process them. Remember: If the database ends more quickly, you will get the session back to your pool for APEX listener, so the next user request will be able to use it.

    [...] or it depends on the environment and if so where I see?

    Somehow, it depends on your applications and end-user needs. You can take a look at the following numbers in listenerStatus:
    Time in milliseconds (mean and median) database Active applications Connections in the apex of the pool (active and available)
    The first is obvious: APEX auditor measures the time required claims it's in the database until they come back. If two values begin to climb quickly, your database is probably stressed out... Of course, it makes sense to give the listener to APEX go back now and then so it will start a calculation of costs.
    In addition to knowledge of the size of your pool of connections, the number of active requests and active connections in the pool gives you a hint of the current use and if you need more connections than the ones you always available (as appropriate). But again, you should consider the burden of database first to see if your database would be actually able to manage additional sessions, or if the addition of load by allowing more connections would make things worse.

    -Udo

  • The schemas are required to export an APEX application and the EE DDL to itself and XE

    Source DB - Oracle 11 g 2 EA

    Target DB - Oracle 11 GR 2, 11 2 Oracle XE GR SE

    O/S - RHEL 6.5

    Application - APEX 4.2.2

    Must give up an APEX application and the underlying DDL associated with a database Oracle EE an Oracle SE and XE database.

    Patterns are required to export to accomplish this approach?

    Is there one method other than export patterns which would be preferably?  (for example export tablespaces).

    You should not deal with apex tablespace or schema APEX_040X00.

    Just follow these steps:

    (1) ensure that the APEX version is the same or higher in the target schema, upgrade if need be

    (2) discover patterns of the application (NOT APEX_XX) pump and export data those and import them into the target schema.

    (3) in the target database, create a different workspace and the link with the schemas imported analysis

    (4) export enforcement APEX of source database in the target database.

    If you expand the app, better to talk to the one who did it. Make sure that the Images, CSS, JavaScript files are added as objects of support and those that are then exported (to step 4).

    Basically don't worry about APEX_O40X00 scheme, as long as your Apex versions match, it will be the same and will be automatically filled with metadata in the application import and export performance.

  • Apex in IFRAME cookie issue (P3P (IE6 +))

    Hi all

    I'm having a problem with IE not displaying no not my content in an IFrame - due to the EI trust don't not cookies from the Apex.

    This issue has been resolved on the Apex forum in 2009 - https://forums.oracle.com/thread/887792

    The solution was to set policy P3P response header from the web server:

    For example

    1 PHP

    header ("P3P:CP =" IDC DSP COR ADM DEVi tail PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');

    2 ASP.NET

    HttpContext.Current.Response.AddHeader ('p3p', ' CP =------"IDC DSP COR ADM DEVi tail PSA PSD IVAi IVDi CONi HIS OUR IND CNT\" "" ");

    3. apex solution

    I have add this section to the file httpd.conf (Apache proxy)

    * < IfModule mod_headers.c > *.

    ' Defined header P3P "policyref=\"/w3c/p3p.xml\", CP =-"NOI DSP COR CUR ADM DEV BUS\ OUR NEST""

    * < / IfModule > *.


    Now, I have the same problem but I am hosted in the cloud.


    Here is a page with my built-in content - (Bradford United): test the widget - SACU


    It works fine on chrome/firefox...


    Is there another way to define the P3P header in the cloud of the database?


    A big thank you


    Steve

    Hi Christian,

    Thanks for looking this...

    That has not fixed it :-(

    However, I used to inspect response headers and found that unless the page I was trying to access has been LOGIN_DESKTOP so the answer has been: 302 moved temporarily

    Content (coded: 0.24 KiB / decoded: 0.37 KiB)

    302 Moved Temporarily  

    This document you requested has moved temporarily.

    It's now at https://production001-demandanalysis.db.em1.oraclecloudapps.com/apex/f?p=20300147:111:0:::::">https://production001-demandanalysis.db.em1.oraclecloudapps.com/apex/f?p=20300147:111:0:::::.

    This may have caused the error in the iFrame...

    So I changed the Home URL and the URL to connect to: f? p = &: 111:0 APP_ID.

    and it now seems to load correctly :-)

    Thanks again

    Steve

  • Manually configure the listener apex via command line

    I would like to be able to configure the listener apex via the command line.
    Is there an api or method to achieve this?

    Is it possible to take an apex-config. XML as a template and make changes to this environment and place it in the config.dir directory
    According to me, placing a! in front of the clear text password cryptera apex listener reboot?

    Is the method of model above a taken way in charge of the configuration of the apex listener script languages?

    I set the value of config.dir for /apex_lsnr
    This will search the apex - config.xml in the directory above or it will search the XML in /apex_lsnr/apex?

    +/apex_lsnr + would be option 1 - who doesn'work currently.

    ++ refers to the 'context' you have deployed your APEX listener, so if you used the default value (apex) this would actually
    +/apex_lsnr/apex +.

    -Online cp apex - config.xml $DOMAIN_HOME/apex_lsnr/apex

    Note that APEX auditor records the location of the apex - config.xml, he uses actually started. If it comes to the temporary location (default), he found nothing in your configured directory.

    -Udo

Maybe you are looking for