Glassfish V3 on Apache using Connector mod_jk makes applications slow

Hi,
I have installed Oracle Glassfish V3.1 on CentOS 5.5 and I have Plesk Web Admin Panel.
Glassfish Administrative Control on port 4848 works fine but when I connect to my applications deployed on Virtual Servers and connect using port 80 the application becomes terribly slow. It takes several minutes for the response to come.

I found this in the BUILDING.txt file in the unzipped distribution.
Build for both Apache 1.3 and 2.0
If you want to build mod_jk for Apache 1.3 and 2.0, you should :
use configure and indicate Apache 1.3 apxs location (--with-apxs)
use make
copy the mod_jk binary to the apache modules location
make clean (to remove all previously compiled modules)
use configure and indicate Apache 2.0 apxs location,
then make.
./configure --with-apxs=/usr/sbin/apxs
make
cp ./apache-1.3/mod_jk.so /usr/lib/apache
make clean
./configure --with-apxs=/usr/sbin/apxs2
make
cp ./apache-2.0/mod_jk.so /usr/lib/apache2

Similar Messages

  • How can I use iMovie to make my slow-mo videos sound exactly like on my iPhone 5S?

    I just want to be able to put together a few slow motion clips exactly as they play on my phone. I am using iMovie '11. The iPhone 5S features a really neat pitch tweak effect that I would like to keep or at least emulate in iMovie. I've tried the "detach audio" feature but unfortunately it doesn't even sound close to how it sounds on my phone. Any help would be appreciated, thanks!

    When you have completed your lasso selection, you should see the "marching ants", the animated outline around the area you selected. Don't click in the photo again or you will lose your selection. When the selection is active (ants are marching), just press Ctrl+C (command+C on a mac) to copy the selection. Then you can paste it into another photo by using Ctrl+V (command+V), or go to File>New>From Clipboard to save the face into a separate file so you can use it later.

  • Caanot restart apache after installing mod_jk connector

    Hallo,
    I have installed the mod_jk connector to use seperate apache and tomcat instances for my web ap. I followed the instructions here: http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=2
    After making changes to httpd.conf, I am unable to restart apache - the sevent viewer gives the following message:
    "The Apache2 service terminated with service-specific error 1. "
    I think it has something to do with the addmodule lines i've added. Here is what I added to httpd.conf:
    AddModule mod_jk.c
    # JkWorkersFile C:/tomcat/Tomcat 5.5/conf/workers.properties
    # JkLogFile C:/tomcat/Tomcat 5.5/logs/mod_jk.log
    # JkLogLevel debug
    # Alias /toolkit C:/tomcat/Tomcat 5.5/webapps/toolkitv3
    # JkMount /toolkit/servlet/* ajp13w
    # JkMount /toolkit/*.jsp ajp13w
    # <location "/toolkit/web-inf/">
    # AllowOverride None
    # deny from all
    # </location
    (all uncommented of course)
    I hope someone out there can help me with this.
    Thanks

    I used the mod-jk.dll and loadModule :
    # Load mod_jk module
    # Update this path to match your modules location
    LoadModule jk_module modules/mod_jk.dll
    # Declare the module for <IfModule directive>
    #AddModule mod_jk.c
    # Where to find workers.properties
    # Update this path to match your conf directory location (put workers.properties next to httpd.conf)
    JkWorkersFile c:/Apache/Apache2/conf/workers.properties
    # Where to put jk logs
    # Update this path to match your logs directory location (put mod_jk.log next to access_log)
    JkLogFile c:/Apache/Apache2/logs/mod_jk.log
    # Set the jk log level [debug/error/info]
    JkLogLevel debug
    # Select the log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    # JkOptions indicate to send SSL KEY SIZE,
    #JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
    # JkRequestLogFormat set the request format
    JkRequestLogFormat "%w %V %T"
    # Send everything for context /examples to worker named worker1 (ajp13)
    JkMount /examples/* loadbalancer
    JkMount /olp/* loadbalancer

  • CF10 64bit  Apache connector (mod_jk.so) does not work for Apache2.4.3 (windows)

    CF10 64bit  Apache connector (mod_jk.so) does not work for Apache2.4.3 (win64), where can I get a module that works?
    I get this error from Apache :
    C:\www\Apache2.4\bin>httpd -t
    httpd: Syntax error on line 741 of C:/www/Apache2.4/conf/httpd.conf: Syntax error on line 2 of C:/www/Apache2.4/conf/mod_jk.conf: Cannot load C:\\ColdFusion10\\config\\wsconfig\\1\\mod_jk.so into server: The specified procedure could not be found.
    I have already tried manually extracting the pre-built mod_jk22.so from the wsconfig.jar with same results.
    If I switch to Apache 2.2.22 64bit, it does work.  what I need is to be able to run on Apache 2.4.

    Please check out this link.
    http://rob.brooks-bilson.com/index.cfm/2012/2/21/Installing-ColdFusion-10-with-Apache-on-W indows
    In this link, they are configuring with Apache 2.2 only.
    When we were working colfusion 9 with Linux and apache, we had the same problem, it will work when it connect to Apache 2.0 but not with Apache 2.2 version.

  • Installing Tomcat Connector (mod_jk)

    I just upgraded to Leopard (not the server version, but this seemed the most logical place to post this), and I'm trying to get everything working that was working under Tiger. I have always kept the most recent version of mod_jk installed so I could serve jsp applications through Apache, and I've never had much trouble building and installing it on the PPC or Intel platform. (Well, the installer always put it in the wrong directory, but that was easy to fix.)
    So last night I downloaded the latest version (1.2.26), built it, installed it, modified http.config to load it and ran the syntax check. apachectl said:
    Cannot load /usr/libexec/apache2/mod_jk.so into server:
    dlopen(/usr/libexec/apache2/mod_jk.so, 10): no suitable image found.
    Did find:
    /usr/libexec/apache2/mod_jk.so: mach-o, but wrong architecture
    So I checked to see what the architecture of the file was. file said:
    mod_jk.so: Mach-O bundle i386
    So what's wrong with that? I checked a few other modules, and here's what file said about one of them:
    mod_setenvif.so: Mach-O universal binary with 4 architectures
    mod_setenvif.so (for architecture ppc7400): Mach-O bundle ppc
    mod_setenvif.so (for architecture ppc64): Mach-O 64-bit bundle ppc64
    mod_setenvif.so (for architecture i386): Mach-O bundle i386
    mod_setenvif.so (for architecture x86_64): Mach-O 64-bit bundle x86_64
    So I take it it's looking for x86_64? But why wouldn't the default architecture be the right one? I'm building it on the machine where I'm going to be using it. Not only that, but when I specify ./configure --with-apxs=/usr/sbin/apxs --with-arch-type x86_64 I get the same result.
    Is there any way to build this thing, or can I get a binary somewhere?

    I found this in the BUILDING.txt file in the unzipped distribution.
    Build for both Apache 1.3 and 2.0
    If you want to build mod_jk for Apache 1.3 and 2.0, you should :
    use configure and indicate Apache 1.3 apxs location (--with-apxs)
    use make
    copy the mod_jk binary to the apache modules location
    make clean (to remove all previously compiled modules)
    use configure and indicate Apache 2.0 apxs location,
    then make.
    ./configure --with-apxs=/usr/sbin/apxs
    make
    cp ./apache-1.3/mod_jk.so /usr/lib/apache
    make clean
    ./configure --with-apxs=/usr/sbin/apxs2
    make
    cp ./apache-2.0/mod_jk.so /usr/lib/apache2

  • Apache Tomcat Connector

    Hello,
    I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector for Apache2 with Tomcat5, but I am not having any success at all with neither the Solaris nor the GNU gcc compiler.
    Did anyone compiled the JK connector on a i86 64-bit architecture? does anyone knows where I could find a compiled version of the jk_mod.so for AMD64 solaris or where I could get more information ?
    Much appreciated,
    Jeff

    I'm also having trouble connecting the web server to a Tomcat server. I too downloaded the connector from Apache and built it using
    ./configure --with-apxs=/usr/sbin/apxs
    because that's the only apxs on my disk, which I determined by running
    sudo find / -name apxs\*
    After installing mod_jk.so in /usr/libexec/apache2, I added the following in /etc/apache2/httpd.conf:
    \\# Copied from http://tomcat.apache.org/connectors-doc/generic_howto/quick.html
    \# Load mod_jk module
    LoadModule jk_module libexec/apache2/mod_jk.so
    \# Where to find workers.properties
    JkWorkersFile /etc/apache2/workers.properties
    \# Where to put jk shared memory
    JkShmFile /private/var/log/apache2/mod_jk.shm
    \# Where to put jk logs
    JkLogFile /private/var/log/apache2/mod_jk.log
    \# Set the jk log level [debug/error/info]
    JkLogLevel debug
    \# Select the timestamp log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    \# Send everything for context /orgcharts to worker named worker1 (ajp13)
    JkMount /orgcharts/* worker1
    And my workers.properties file contains:
    \# Define 1 real worker using ajp13
    worker.list=worker1
    \# Set properties for worker1 (ajp13)
    worker.worker1.type=ajp13
    worker.worker1.host=localhost
    worker.worker1.port=8009
    Now, when I attempt to start the web server, it doesn't come up, and it doesn't log anything, so I have no clue what's going on.
    Message was edited by: Thom Brando

  • I can't connect with using connector

    Hi,
    I want to create a system(Solman 4.0) in Portal.I have created a SAP system using dedicated application server and then I filled all necessary fields.I tested with using system connection test.There are two test nameS(SAP Web AS Connection and Connection test for Connectors)Firstly, I checked WAS Connection and everything was ok but when I tested "Connection Test for Connectors" it didn't work.When I clicked test button, it said "Connection failed. Make sure user mapping is set correctly and all connection properties are correct" but I didn't use UIDPW.I used the Logon Ticket method and system_type is SAP_CRM but when I checked log file, it said this message "(R3/BW) Failed to get connection. Please contact your admin".I didin't understand because I have already used SAP_CRM syte sytem type.Why do I get this message. In addition, The ume.usermapping.unsecure is already on TRUE.In short, I can't connect with using connector.What's the problem?

    Hi Vijith,
    I perform your suggestion and I got an error message.This error message is written below.
    Exception in SAP Application Integrator occured: Unable to parse template '<System.ConnectionString>'; the problem occured at position 0. Cannot process expression <System.ConnectionString> because Invalid System Attribute: System: &#39;SAP_LocalSystem&#39;, Attribute: &#39;ConnectionString&#39;. .
    There is a connection string error but I didn't use by using connection string method.I have used by using dedicated application server. At the same time, I have another error message in the dev_jrfc.trc.This error message is as fallows
    Error> occured  >Mon May 07 09:18:37,334<    >RfcGetException rc (7) message: The system is unable to interpret the SSO ticket received
    <RfcGetException
    What's your comment?

  • If you buy a itunes gift card, can you use it to make in game/app purchases?

    if you buy a itunes gift card, can you use it to make in game/app purchases?

    Thank you

  • I am trying to use songs I purchased from iTunes in my video using Windows Movie Maker.   Can anyone tell me how to do that?

    I am trying to use songs I purchased from iTunes, from my library if you will, in my video (slideshow) using Windows Movie Maker.
    Does anyone know if that is possible to do?   If so, would you please tell me how to do that? 

    Hello, a1p2r3. 
    Thank you for visiting Apple Support Communities. 
    There are a couple options available to you to transfer purchased media to your computer.  Below, I have included a couple articles that outline this process.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    Please note that this feature works only for items that were purchased on the iTunes Store. Any items imported from audio CDs or acquired from other sources will not copy from your iPod to the iTunes library.
    Download past purchases
    http://support.apple.com/kb/ht2519
    Cheers,
    Jason H.

  • HT201372 used this to make a bootable copy for a new hard drive installation. copied the install find but gave error code 110 when making the disk bootable.. Any help in what this code is

    Used createinstallmedis to make a copy of the Mavericks app for use in a new hard drive install.. Copied find but gave error code 110 and failed to make the flash drive bootable.. Any help in what errror code means?

    Did you partition and format the flash drive first? See the following:
    Make Your Own Mavericks, Mountain/Lion Installer
    After downloading the installer you must first save the Install Mac OS X application. After the installer downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
       2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the leftside list. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list.
    Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    Make your own Mavericks flash drive installer using the Mavericks tool:
    Mavericks has its own built-in installer maker you use via the Terminal:
    You will need a freshly partitioned and formatted USB flash drive with at least 8GBs. Leave the name of the flash drive at the system default, "Untitled." Do not change this name. Open the Terminal in the Utilities folder. Copy this command line after the prompt in the Terminal's window:
    sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
    Press RETURN. Enter your admin password when prompted. It will not be echoed to the screen so be careful to enter it correctly. Press RETURN, again.
    Wait for the process to complete which will take quite some time.

  • Hi. I am trying to use Bridge to make web galleries. There used to be something on PS for that but now I cant find it in PS so I was advised to use Bridge.  However, there is something called Output Module (AOM) that is missing from my Bridge.  I download

    Hi. I am trying to use Bridge to make web galleries. There used to be something on PS for that but now I cant find it in PS so I was advised to use Bridge.  However, there is something called Output Module (AOM) that is missing from my Bridge.  I downloaded this.  The instructions say :Copy the Adobe Output Module folder (not the AOM_Package_[OS] folder) into the Bridge CC Extensions folder in the appropriate location: 
    Windows: C:\Program Files\Common Files\Adobe\Bridge CC Extensions
    Mac OS: /Library/Application Support/Adobe/Bridge CC Extensions.  However there is noplace on my Macbook Air running Yosemetie that has this /Library/Applications SUpport/Bridge CC Extensions. Can anyone advise?

    That file could be set as a Launch Agent or Daemon in your ~/Library or /Library, You could try to look for it or Safeboot your computer and then empty the trash. Safebooting disables Launch Agents/Daemon and Third Party Kernal extensions. Here's the article to Safeboot OS X: What is Safe Boot, Safe Mode? - Apple Support

  • I am using Aperture to make a photo book.  I have about 400 photos in the project.  I am able to select the photos I want for 20 pages, then when I try to add a page, all the pictures are selected.  How do I add additional pages and still control the pix

    I am using Aperture to make a photo book.  I have about 400 photos in the project that I am selecting from.  I want to use about 70 for the book.  I am allowed to pick and choose photos until I fill 20 pages.  Then when I select add page, I am allowed to select all the pictures in the project.  I am not allowed to select.  I think I hve to change a setting, bt what?  Thanks for the help.

    .  I am not allowed to select.  I think I hve to change a setting, bt what?
    David, have you enabled the "Autoflow" options? There are settings behind the cogwheel, that will automatically place unused images onto new pages. If you only want to select a few images from a large project, disable these two options:
    Or start your book froman album, that only contains a selection of your images, rather than from the whole project.
    Reagrds
    Léonie

  • How to insert a simple page break in an eBook while using pages to make the ePub?

    Hello,
    I am using pages to make ePubs.
    I have a problem: if I insert a page break in pages, it is deleted when I convert the file to ePub.
    So I do not know how to start on a new page without adding a new chapter....
    Do you have a solution?
    best regards
    MD

    You are taking about Pages '09? because this has been removed from Pages 5.
    Clunky as it may be it does have some very powerful features.
    You can capture as many pages into a Section as you want, which automatically sets up a document in depth. Once you have done the work, it is super fast to compose a new document from all the parts.
    It is a shame that Apple didn't simply fix what needed fixing with this model, instead of ditching it, because I am really stumped how to set up documents in the current version.
    Peter

  • How to use Dashcode to make HTML Widgets in iBooks Author?

    I'm writing books on iBooks Author, and I got a problem:
    I wanna add some HTML Widgets to my books, and I was told I should use Dashcode to make them. So I downloaded the Xcode, but I don't know how to open the Dashcode on my Mac. I really hope someone could give me some lessons, I would be very grateful!

    Start here: iBooks Author: About HTML widget creation

  • I DEVELOPED A WEB SITE USING WEB PAGE MAKER WITH A MOUSE OVER TO PLAY A WAVE. WORKS IN IE BUT FF WILL NOT LOAD THE FILE IN HE BACKGROUND. WHEN I FIRST OPEN THE PAGE TO TEST IT WONT PLAY THE .WAV ANY SUGGESTIONS ADD ONS ETC NEEDED THANKS

    I've developed a site using "web Page Make" I put a graphic on a page with a mouse over that morphs the graphic and plays a brief wave. I works with I.E but no go in FF 3.63.I am previewing this off a local networked drive. No problems with other net site with embedded audio do I need a certain add on etc. Can anyone offer some advice. Thanks
    == This happened ==
    Every time Firefox opened
    == I preveiwed the site and try the mouse over feature to excute the wave

    Make sure that you do not use bgsound to pay that music.
    See http://kb.mozillazine.org/Background_music_does_not_play

Maybe you are looking for

  • RFC_ERROR_SYSTEM_FAILURE error while  updating the sick leave in MSS

    Hi Guru , We are  getting  RFC_ERROR_SYSTEM_FAILURE error while updating the Sick leave for team member from portal . Please tell how to resolve this . Dump part : Runtime Errors         MESSAGE_TYPE_X Error analysis     Short text of error message:

  • Fiscal Year till date

    Hello BW Experts, I need your help. There is a KF that I want to restrict by an interval from the first day of the current fiscal year to current day. If anyone can help me on this, it would be great. My problem is similar to if I want to restrict by

  • Service entry sheet_exchange rate

    Hi We have posted a service entry sheet in foreign currency USD-100  on 13th Feb 2010.The exchange rate being 100,local currency amount was Rs10000. then the service entry had to be reversed on 14th feb then the exchange rate is rs 110.Then the rever

  • PDF Slideshows losing functionality when posted online

    PLEASE HELP ME!!!! I HAVE NO PROBLEM MAKING SLIDESHOWS WITH TIFF AND EMAILING THE PDF SLIDESHOWS TO CLIENTS. BUT ONCE I POST THE SLIDESHOW ON MY WEBSITE, THE PDF SLIDESHOW STOPS SCROLLING AUTOMATICALLY AND YOU CAN NOW ONLY MANUALLY SCROLL DOWN THE PA

  • Getting started with 3850 as WLC - Wireless GUI fails

    I have started to look into configuring our 3850 as a WLC I enabled the command wireless mobility controller Then I tried to connect to <switch ip>/wireless I just get a dead page. I configured the wireless management vlan but still no joy What basic