Apex Listener and Clustering - WebLogic Server

Has anybody worked with the apex listener on a clustered WebLogic environment with a load balancer? We are having lots of connection issues, and I am wondering if this could be part of the problem.
Thanks,
Michelle

Someone Kindly try to give me reply for my issue .
Thanks& Regards,
Nitesh pareek.

Similar Messages

  • APEX Listener and EPG - strange behaviour

    Hi
    For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
    I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
    After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
    Before I did so I checked that my applications still worked in 4.1 and they did.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
    Configuring APEX Listener and running the same application through that DOES display the images.
    So this part of the application works under APEX Listener but not under EPG.
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
    So this part of the application works under EPG but not under APEX Listener.
    Has anyone else come across different behaviour depending on the mode of connection?
    Thanks
    Brian
    [Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]

    Hi Brian,
    it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
    At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
    Some parts of your initial post hint to that direction, e.g.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
    However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
    For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
    For the moment, I still think the port conflict is my best guess.
    You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
    -Udo

  • APEX Listener versus classic Application Server

    Currently we use the APEX Listener with the stand-alone configuration to access the URL af an APEX application.
    This might not be a suitable situation for a production environment.
    In a short, here are the (possible) requirements:
    - Sessions must be able to access at the same time the same APEX application and page.
    Let's say 500 users should be able to access it with no trouble.
    - If there are some pages accessed very frequently, they should be cached (how?) without having to request them all the time from the database.
    - If more than 500 users are accessing the application, to avoid latency, there should be a "mechanism" to make them "waiting" until the allowed amount of concurrent sessions is below 500, and without impacting (or with low impact) of other working sessions.
    I have little knowledge of middle ware environment, but this seems to me specifications for an application server and or a web server.
    Hera are my questions:
    1) Is it possible to implement such above mechanism with the APEX Listener?
    2) If not possible, what should I consider?
    Thanks by advance for sharing your experience.
    Kind Regards.

    user8058501 wrote:
    Currently we use the APEX Listener with the stand-alone configuration to access the URL af an APEX application.
    This might not be a suitable situation for a production environment.
    Standalone mode is not supported for production environments, see here for why:
    https://cdivilly.wordpress.com/2013/03/11/oracle-application-express-listener-standalone-mode/
    In a short, here are the (possible) requirements:
    - Sessions must be able to access at the same time the same APEX application and page.
    Let's say 500 users should be able to access it with no trouble.
    - If there are some pages accessed very frequently, they should be cached (how?) without having to request them all the time from the database.
    - If more than 500 users are accessing the application, to avoid latency, there should be a "mechanism" to make them "waiting" until the allowed amount of concurrent sessions is below 500, and without impacting (or with low impact) of other working sessions.
    I have little knowledge of middle ware environment, but this seems to me specifications for an application server and or a web server.
    Hera are my questions:
    1) Is it possible to implement such above mechanism with the APEX Listener?
    2) If not possible, what should I consider?
    Essentially you are asking how do I tune the number of database connections and also how do I tune the number of HTTP request handling threads.
    The former is controlled via the Listener configuration files, specifying the size of the connection pool etc, if you look at the configuration file or use the SQL Developer Listener admin tool the settings are pretty self explanatory, the latter is controlled by the application server, see below for WebLogic documentation on this:
    http://docs.oracle.com/cd/E24329_01/web.1211/e24390/wls_tuning.htm#i1142745
    Thanks by advance for sharing your experience.
    Kind Regards.

  • Apex Listener and EBS

    Has anyone deployed Apex listener to work with EBS-R12 ? Did you deploy the war on the Application Server of EBS or did you deploy a new application server ?

    I know exactly what you want, to embed the Apex listener servlet into the EBS OC4J, using autoconfig. I have done this before, but with my own servlet written from scratch, and it works very well. I had a go at integrating the the Apex listener servlet into an R12 instance a while back, and I actually got it to respond, but the URLs it was generating were not correct, so I gave up. I cannot remember the exact details, I got frustrated because I didn't have the time to wade through de-compiled source code to see what it was doing.
    Here is the rough guide to getting a custom servlet embedded into the EBS R12 OC4J engine. You or somebody else could pick this one up, I don't have the time sorry.
    Place your jar file in $JAVA_TOP (you may have to unzip it to get the class files usable by the JRE).
    Navigate to the template directory.
    cd $FND_TOP/admin/template
    Create the "custom" directory if it does not already exist.
    mkdir custom
    If the file orion_web_xml_1013.tmp does not already exist in the "custom" directory then copy it in. Be careful not to overwrite an existing copy of this file or you may lose pre-existing customizations.
    cp orion_web_xml_1013.tmp custom
    Move into the custom directory and edit the custom template file.
    cd custom
    vi orion_web_xml_1013.tmp
    Define your servlet: Paste the following lines just before the TCF alias (approximately line 162).
    <servlet>
    <servlet-name>myServlet</servlet-name>
    <servlet-class>com.anything.myServlet</servlet-class>
    </servlet>
    Paste the following lines just before the TCF aliases (approximately line 950).
    <servlet-mapping>
    <servlet-name>myServlet</servlet-name>
    <url-pattern>/myServlet/*</url-pattern>
    </servlet-mapping>
    4. Run Autoconfig
    cd $ADMIN_SCRIPTS_HOME
    adautocfg.sh
    5. Bounce Apache
    adapcctl.sh stop
    adoacorectl.sh stop
    adoacorectl.sh start
    adapcctl.sh start
    6. Test the Servlet
    To test whether the servlet has been installed correctly, first get the value of profile option "Apps Servlet Agent".
    Then enter the following URL in your browser:
    <<value of profile option>>/myServlet/hello
    Good luck,
    Steve

  • APEX Listener and RAC

    Is APEX Listener RAC-capable? Neither the Installation Guide nor the APEX RAC white paper provides information. Is there some experience installing APEX Listener within a Oracle 10.2 RAC environment?
    What would be the advantage / disadvantage?

    Hello,
    as far as I know, you can use the thin driver to connect to RAC. If I don't remember this wrong, you should be able to configure the URL like this:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=service)))What would you like to compare the RAC-Connection used by the APEX Listener with to outline advantages/disadvantages?
    I think, the connection is not much different from the one you'd get when configuring a OHS that way. The EPG variant would be integrated in the RAC, but for fault tolerance you'd need some frontend server for node-failover anyway...
    -Udo

  • Oracle Identity Manager 9.1.0.2 and Oracle Weblogic server 11g R1 b(10.3.1)

    Hi,
    can we Install Oracle Identity Manager 9.1.0.2 version on Oracle Weblogic server 11h R1 b(10.3.1)?
    Is it OIM 9.1.0.2 compatible to install on Oracle Weblogic server 11h R1 b(10.3.1).
    Early response is appreciated

    Check this
    http://www.oracle.com/technology/software/products/ias/files/idm_certification_101401.html#BABGBGHI
    And Oracle has mentioned that
    *2.1 Certified Application Servers*
    Note: There is no change in application server certification from
    release 9.1.0.1 to release 9.1.0.2.
    Oracle WebLogic Server 10.3
    But you can try with new version of Weblogic. It shouldn't create any problem.

  • Start and stop Weblogic Server 5.1 on unix system

    Hello,
    How do I stop Weblogic Server 5.1 after I run startWebLogic.sh without
    Weblogic Console? What's the best way to start weblogic Server in unix?
    Create a user "weblogic" and start manually everytime I reboot the system or
    build a script?
    Thanks,
    Hiu Sing

    Hiu Sing Ngai wrote:
    Hello,
    How do I stop Weblogic Server 5.1 after I run startWebLogic.sh without
    Weblogic Console?java weblogic.Admin <url> SHUTDOWN system password <seconds> <lockMessage>
    What's the best way to start weblogic Server in unix?I would suggest you start the WLS from command line using our
    build script or your own customized scripts.
    --Kumar
    >
    Create a user "weblogic" and start manually everytime I reboot the system or
    build a script?
    Thanks,
    Hiu Sing

  • Apex Listener and Apex .3.2.1

    Does Apex Listener work with Apex 3.2.1? May be I missed it, I can't find any info in the document.

    Short question, short answer: It does.
    The documentation for the APEX Listener doesn't refer to any special APEX version. The fact that the APEX documents only name the APEX Listener from APEX 4.0 onwards is due to the APEX Listener not being available before that release.
    We have it running with APEX instances from 3.1 onwards, but I assume you could use it even for older versions.
    -Udo

  • Conn. IISPROXY on Win2K and AIX WebLogic server...

    Greetings,
    Does anybody know if it is possible to connect IIS 5.0 servers to an
    AIX WebLogic app server? The IIS 5.0 servers are using IISPROXY.DLL.
    I can get a login screen to pass through the dll, proving connectivity
    from the IIS box to the app server (and the DB), but as soon as I hit
    the login button, I get an error.
    Thanks in advance for any insight that you may be able to share with
    me!

    Hi.
    I need more information. What version/service pack level of WLS are you
    running? Are you using the IIS plugin from the same service pack level?
    Does your application work fine if you hit the WLS server directly?
    What is the specific error you are seeing? Is there a corresponding error
    in the WLS log file, or the IIS log file (set Debug to ON in
    iisproxy.ini).
    You might also try to post this question on the plugin newsgroup -
    weblogic.developer.interest.plugin.
    Thanks,
    Michael
    David wrote:
    Greetings,
    Does anybody know if it is possible to connect IIS 5.0 servers to an
    AIX WebLogic app server? The IIS 5.0 servers are using IISPROXY.DLL.
    I can get a login screen to pass through the dll, proving connectivity
    from the IIS box to the app server (and the DB), but as soon as I hit
    the login button, I get an error.
    Thanks in advance for any insight that you may be able to share with
    me!--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Can a single Weblogic server host more than one Apex Listener?

    Hi All:
    Is it possible to deploy more than one APEX listener on a Weblogic server to service multiple APEX installations on different Database hosts?
    I suspect it is just a matter of port configuration and deployment naming but has anyone experience with this?
    Regards,
    David

    Hi David,
    it is possible to have multiple instances of the APEX Listener deployed on the same JEE container. I didn't actually do this with WLS, but I don't know any reason why this should be different on WLS than it would be on other JEE containers.
    You should start by preparing the apex.war to have the parameter config.dir set in the web.xml . We chose to let it point to a base directory for all config files having one subdirectory for each deployed instance, so we have to do this only once with every new release that comes in. By the way, this is the first location of the sequence to be checked by the APEX Listener upon startup.
    Then you can deploy this war file multiple times giving each instance a different application name/context root. We chose +<apex_dbname>+ as pattern for this, but that's up to you.
    Note that you may have to provide the static files ("images") for APEX multiple times as well if you don't have the same APEX version on each instance or if you use different custom files that shall not be the present on each instance or in different versions for at least some instances.
    In that case, you'll have to configure your WLS to provide multiple "images-applications" as well. We chose to have one for each instance and use +</i_<dbname>/+ as pattern here. If you used the default image prefix +/i/+ so far, you can reset it using the corresponding script provided in the APEX installation package. I'd recommend to use the script version of the package that corresponds to the APEX version of the instance you want to configure.
    That might sound complicated, but actually it's not. It's just a few things to keep in mind before starting and once you've set it up, it's really easy to handle.
    -Udo

  • Report Printing: APEX 4.01 - APEX Listener - WebLogic 10.3.3

    We have some report printing issues...
    Our configuration is APEX 4.01 using the APEX Listener with WebLogic 10.3.3.
    The first issue is that under "Print Attributes" the following is listed in red under "Printing":
    "Report printing is currently not available, there is no print server configured."
    The second one is that we need to print pdf format and I have not found a solution for doing this with the APEX Listener and WebLogic. I saw that the FOP solution for the APEX Listener didn't make it into the current release... Is there any way to do pdf type reports with the current APEX listener technology?
    The third issue is that in the demo app when running a report there is a "Error loading file:" type error with "FLOW_FLASH_CHART" and apex_util.flash as part of the url.
    Any help would be appreciated...
    Thanks!
    - Scott

    I deployed in WebLogic the fop.war that came with APEX 4.0.1 and it got rid of the error message, but when I tried to download a report as pdf, I got an error saying it was corrupted or invalid. I downloaded the file it produced and opened it in a text editor. It was a small html type file with the following URL:
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    When I go to the URL that I think it should be going to based on what I put into Instance settings> Report Printing, I get:
    Compilation of JSP File '/apex_fop.jsp' failed:
    apex_fop.jsp:5:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XMLDocument'%>
    ^------------------------------^
    apex_fop.jsp:6:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XSLProcessor'%>
    ^-------------------------------^
    apex_fop.jsp:7:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XSLStylesheet'%>
    ^--------------------------------^
    apex_fop.jsp:8:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.DOMParser'%>
    ^----------------------------^
    apex_fop.jsp:12:1: XMLDocument cannot be resolved to a type
    XMLDocument v_doc;
    ^--------^
    apex_fop.jsp:13:1: XSLStylesheet cannot be resolved to a type
    XSLStylesheet v_xsl = null;
    ^----------^
    apex_fop.jsp:15:1: DOMParser cannot be resolved to a type
    DOMParser parser = new DOMParser();
    ^------^
    apex_fop.jsp:15:28: DOMParser cannot be resolved to a type
    DOMParser parser = new DOMParser();
    ^------^
    apex_fop.jsp:16:1: XSLProcessor cannot be resolved to a type
    XSLProcessor processor = new XSLProcessor();
    ^---------^
    apex_fop.jsp:16:30: XSLProcessor cannot be resolved to a type
    XSLProcessor processor = new XSLProcessor();
    ^---------^
    apex_fop.jsp:21:13: XSLStylesheet cannot be resolved to a type
    v_xsl = new XSLStylesheet(new java.io.StringReader(request.getParamet

  • Apex Listener vs. Oracle Application Server... advantages?

    Are there advantages to installing Apex Listener over using an existing Oracle Application Server instance to serve Apex applications?
    We have an existing application server instance in production. Would introducing Apex Listener and the extra overhead be of any advantage?
    Thanks in advance for your thoughts.

    Hello "Portal Dude",
    Are there advantages to installing Apex Listener over using an existing Oracle Application Server instance to serve Apex applications?APEX Listener introduces some additional features, such as Resource Templates, but lacks some others. Some people might want to migrate from OAS to another JEE Container that doesn't come along with a OHS/mod_plsql. Depending on the JEE Container, you could use AJP for load balancing, avoiding plain HTTP through a firewall, etc.
    Would introducing Apex Listener and the extra overhead be of any advantage?The "extra overhead" may be smaller than you think. If you don't need the HTTP_Server component any longer, but can just deploy APEX Listener on the OC4J of your OAS, you might even save some bytes.
    For several other aspects, there have been a few posts on that topic in the past:
    {thread:id=1100122}
    {thread:id=1555908}
    {thread:id=1594158}
    If there's anything you don't find in either the posts or the documentation, don't hesitate to ask.
    -Udo

  • Communication between TNS_Listener and Apex Listener

    Dear all,
    I how does the communication between TNS Listener, Apex Listener, and Apex? For some reason I got the following error from Apex listener:
    Caused by: oracle.dbtools.rt.web.WebException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource
    Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptorI truncated some of the Java object messages.
    This occurred when I tried to connect to Apex. Then I can fix this by going to:
    http://localhost:8080/apex/listenerConfigurethen, everything worked fine.
    My listener.ora file:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521))
    ADR_BASE_LISTENER = /usr/local/oracle
    ADR_BASE_ORACLE_LISTENER = /usr/local/oraclemy tnsnames.ora file
    INARA =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = inara.snowdrop.com)
      )where inara is the instance name and firefly is the hostname.
    Does the order of whether starting TNS Listener first or starting Apex Listener first matter?
    Best regards,
    Val
    Edited by: Valerie Debonair on Aug 1, 2011 5:47 AM

    Hm, I'm not able to reproduce the error. There was one time when I started APEX Listener got:
    java.net.BindException: Address already in use: 8080=com.sun.grizzly.http.SelectorThreadHandler@46d999aand when I did the netstat -a got:
    root@firefly:~# netstat -apnl |grep 8080
    tcp6       0      0 :::8080                 :::*                    LISTEN      4530/tnslsnr  I had no idea what made 8080 tagged by the TNS listener, as I started it out before APEX Listener. Very curious how did this happen.
    There was one time netstat -a showed me this (this happened after I stopped Apex Listener, stopped TNS Listener, shutdown the database, started database, started TNS Listener, and started Apex Listener):
    root@firefly:~# netstat -a |grep 8080
    tcp        0      0 firefly.snowdrop.:22110 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22111 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22107 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22109 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22112 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22108 firefly.snowdrop.c:8080 ESTABLISHED
    tcp6       0      0 [::]:8080               [::]:*                  LISTEN    
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22108 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22107 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22112 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22109 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22110 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22111 ESTABLISHEDWhat are 22108, 22107, etc? I cannot reproduce this either.
    Now I only got
    root@firefly:~# netstat -a |grep 8080
    tcp6       0      0 [::]:8080               [::]:*                  LISTEN    
    root@firefly:~# netstat -pnl |grep 8080
    tcp6       0      0 :::8080                 :::*                    LISTEN      5035/java   which is normal, right?
    Edited by: Valerie Debonair on Aug 1, 2011 9:43 PM

  • Apex listener installed no test and set bind variables buttons

    I have installed Apex listener and while creating restful service module i dont see test and set bind variables buttons in the source region.
    I went through the many posts. Installed apex listener successfully.
    getting http://localhost:8080/ords/ started message when i start the listener.
    and using Apex URL as http://localhost:7780/pls/htmldb.
    What are the possibilities for this issues?
    Please help me on this.
    Thanks
    Chandran

    Apex listener version is 2.0.9
    Apex version is 4.2

  • Admin training for WebLogic Server - just the Forms and Reports parts

    We will be upgrading our Forms & Reports application from 10gR2 to 11g. Our customers (well their DBAs) will need to install and manage WebLogic Server. So I'm looking for a training course where they can learn how to do that. The WebLogic Server admin course is 5 days, and another 4 for Advanced System Admin, which seems a lot as they are only going to use the parts required for Forms and Reports.
    I have read through the tutorial Using Oracle Enterprise Manager to Administer Forms Services. Is this the extent of what they need to know, or is there another chunk of the iceberg under the water? Can you recommend a training course please.

    Hi,
    After installing forms, the installer itself configures the WLS with the domains etc and also deploys the forms. Once after this, it is similar to that of 10g Application Server. All the maintenance of the forms is done using Enterprise Manager (EM Console). So, the section you mentioned should suffice.
    -Arun

Maybe you are looking for

  • Deleting a row from advance table:urgent

    Hi All, I am using Advance table with "Add Another Row" button.Situation is like this, i have an empty row and an exsist row in my Table. Against each row i have a Delete image.Now my problem is, when I am clicking on the Delete image, i am getting t

  • Mass creation of warehouse products

    We are about to implement our first EWM storage warehouse. In classical WM we used to prepare the material master data in an Excel sheet and used the RMDATIND via LSMW for creation of the warehouse specific data. In EWM however, I found nothing simil

  • Transfer data from a mobile to a server using https or ssh connection

    Hi there, As a newbie...I would like to know how can I transfer data from my mobile phone to my server using a 'secured' connexion. I already tried to find a FTP client application but I didn't find any, just some applications to do https and ssh con

  • Reducing pdf size: How can I reduce a pdf document for MAIL?

    I am having trouble getting a mail pdf attachment to be accepted by my server. I am looking for a way to reduce the digital size of the pdf (report) so that it will be a size acceptable to my server (tds).  How can that be done?  What steps should I

  • [TV@Plus] remote issue

    I cannot seem to get the remote working. I messed with the connection several times so this is not the issue.