Apache webserver can't find tomcat - mod_jk problem?

Hi
I have recently upgraded HP-UX apache software
FROM
Apache webserver: 2.0.55
Apache tomcat : 5.5.9
TO
Apache webserver: 2.0.55
Apache tomcat : 5.5.9
I have 2 tomcats running, one JVM for a daytime service and another for a nighttime service.
So while 1 tomcat is down, the other is up, apache always running.
However, since I have upgraded, I see the following error messages in jk.log:
[Mon Nov 20 07:00:41 2006] [error] ajp_connection_tcp_get_message::jk_ajp_common
.c (949): ERROR: can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:8059), err=-232
The tomcat in question is up - and the messages returned are 500 responses - server configuration issue.
Get several a day.
Basically using mod_jk to bind the tomcat installations to apache webserver.
What is new though in mod_jk 1.2.10 is that a shared memory file is specified. I am wondering what happens to this memory that is used to load balance the workers when tomcats are bounced.
Issues go away after a bounce of apache - but after each tomcat has been stopped once - messages start to fail intermittently after that.
Done some googling but do not see any solutions - so here's hoping!
Thanks.

Noticed my deliberate mistake!
From
Apache 2.0.32
Tomcat 3
Still no joy with with this in terms of finding a solution to why the newer version of apache cannot find tomcat after it has been bounced.
mod_jk.so version 1.2.9 introduced the shared memory for the workers, which as far as I can is the main config change in the 2 versions of apache that came from HP.
So rolled back to the old version of apache with the new version of tomcat - and everything works fine!

Similar Messages

  • Where can I find the "choose problem" drop down menu

    Where can I find the "choose problem" drop down menu to report an incorrect billing in my account?

    http://www.apple.com/support/itunes/contact/

  • Where can i find TOMCAT and a browser?

    I have been up and down this site and the apache site and i simply can not find the TOMCAT download or a browser that I can use to debugg my code. If someone could please tell me where to find it I need to find out fast. the code's written but I need to test it and my deadline's coming up fast!

    i simply can not find the TOMCAT downloadhttp://jakarta.apache.org
    a browser that I can use to debugg my code.A browser?
    a.

  • Basename,un name, expr dirname not found , can't find libjava.so. problem

    Hi, i am new in Java, i got a problem when i tried to execute a java program, it showed the message below:
    basename: not found
    uname: not found
    expr: not found
    dirname: not found
    can't find libjava.so.
    i was run in jdk1.3 base on linux, also, i had checked my PATH and CLASSPATH and LD_LIBRARY_PATH,
    i found libjava.so in jdk1.3/jre/lib/i386 too
    Was anyone known what those message mean?
    Any suggession would be appreciative!

    basename: not found
    uname: not found
    expr: not found
    dirname: not foundLooks like your environment is damaged, PATH is set erroneously or something.
    java is a symlink to a wrapper script:
    $ java -version
    java version "1.3.1_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_09-b03)
    Java HotSpot(TM) Client VM (build 1.3.1_09-b03, mixed mode)
    $ type java
    java is hashed (/usr/lib/jdk1.3.1/bin/java)
    $ file /usr/lib/jdk1.3.1/bin/java
    /usr/lib/jdk1.3.1/bin/java: symbolic link to .java_wrapper
    And the script needs basename, dirname ...
    $ egrep 'basename|dirname' /usr/lib/jdk1.3.1/bin/java
    progname=`basename $0`
    PRG="`dirname $PRG`/$link"
    APPHOME=`dirname "$PRG"`/..
    They can be found in /usr/bin.

  • Basename, uname, expr, dirname not found, can't find libjava.so. problem

    Hi, i am new in Java, i got a problem when i tried to execute a java program, it showed the message below:
    basename: not found
    uname: not found
    expr: not found
    dirname: not found
    can't find libjava.so.
    i was run in jdk1.3 base on linux, also, i had checked my PATH and CLASSPATH and LD_LIBRARY_PATH,
    i found libjava.so in jdk1.3/jre/lib/i386 too
    Was anyone known what those message mean?
    Any suggession would be appreciative!

    I think, I can help you. Show your programme code first.
    I guess, your programme is printing something on the standard output and the linux shell is again trying to execute it.
    (Dhananjay Singh)
    "Cut Me And I'll Bleed Java"

  • I can't access iCloud. Tells me to check settings but when I do I can't find the the problem. Any thoughts please?

    I import photos to iCloud. Tells me to check settings but when I do I can't find the problem.

    I've not experienced this, but a few other people have reported the same.
    I don't know what the issue is, but try changing your DNS server settings to use Google's DNS 8.8.8.8 and 8.8.4.4 in either your router settings or your computers internet settings.
    (Incidentally, you can't access iCloud.com from an iOS device).

  • Can not find dom4j jar problem

    i create an application which use dom4j. This application works well with no problem. But when i try to call this application from my plugin ( a menu from workbench) an exception appears
    java.lang.NoClassDefFoundError: org/dom4j/io/SAXReader
    I already import dom4j to my plugin classpath.
    Any suggestion will be highly appreciated.

    anyone who have any idea bout it please help me. i got stuck with it for weeks. I still can not find a runable solution

  • Where can i find tomcat's conf folder

    i am having probliems in installing tomcats server
    to run JSP .
    errorr comming out is
    cannot find tomcat's\....conf direcotry
    plz tell me whats wrong in it

    if installed dir is x
    then x/conf

  • Help! -why can't start Tomcat --Installation problem??

    I downloaded Tomcat 5.0.30.exe and installed Tomcat 5 and JDK 5 on my local computer (I also have IIS installed, and Java App Server (from J2EE); yes I have plenty of space lol);
    I did this in the command line:
    Set JAVA_HOME=C:\jdk1.5_03; and I also added this env variable to my user & system Path variables in System Properties dialogue (just to exclude this problem).
    and I remember during the Tomcat.exe installation, the JVM was already correctly set to C:\Program Files\Java\jre1.5_03\bin\client\jvm.dll (I also tried set JVM to C:\jdk1.5_03\jre\bin\server\jvm.dll and it did not seem to make any difference)
    I am still not able to startup the service (don't see my admin page even though the system tray says the Tomcat is running).
    Does any of the above setup seem wrong? I'm a novice in Java/JSP and just want to try developing some web service in Java/JSP instead of ASP or .NET.
    I'd appreciate all your advice and help!!
    Thanks in advance!!

    When I say "Startup" in the command, the original command window displays Using CATALINA_HOME: C:\apache\tomcat5, so I guess it was correctly set already ...?
    By default, it is using 8080 port... If I have my IIS running, would that have conflict? IIS runs on 80. I don't think I've anything running on 8080.
    localhost_admin_log has the following everytime I try to see admin page in my web browser:--------------------------------------------------------------
    2005-05-05 10:06:06 ApplicationDispatcher[admin] Servlet.service() for servlet admin.login_jsp threw exception
    javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
         at org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1233)
         at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1082)
         at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:226)
         at admin.login_jsp._jspx_meth_bean_message_0(login_jsp.java:131)
         at admin.login_jsp._jspService(login_jsp.java:78)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:220)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    The above also appears in the Tomcat cmd prompt window if I use startup in the cmd window.
    The stdout and stderr logs has nothing.
    The jakarta_service log has the following:-----------------------------------------------------------
    [2005-05-05 10:03:46] [info] Service Tomcat5 name Apache Tomcat
    [2005-05-05 10:03:46] [420 service.c] [error] The specified service already exists.
    [2005-05-05 10:03:46] [538 prunsrv.c] [error] Failed installing Tomcat5 service
    [2005-05-05 10:03:47] [info] Procrun finished.
    [2005-05-05 10:04:48] [info] Updating service...
    [2005-05-05 10:04:48] [info] Service Tomcat5 updated
    [2005-05-05 10:04:48] [info] Update service finished.
    [2005-05-05 10:04:48] [info] Procrun finished.
    [2005-05-05 10:04:49] [info] Updating service...
    [2005-05-05 10:04:49] [info] Service Tomcat5 updated
    [2005-05-05 10:04:49] [info] Update service finished.
    [2005-05-05 10:04:49] [info] Procrun finished.
    Thanks a lot for your advice and help!!!

  • MBP 2011 can't find harddrive (not problem with drive or cable)

    My early 2011 MBP 13" was running fine, then froze up. On restart I got the image of the folder with a question mark on it (the Mystery Folder) - the system couldn't find a drive to boot from.
    I took it to a genius bar and the, ahem, "genius" said the system couldn't find the drive because of a problem with the drive. "The drive's dead" he said. I hadn't backed it up, and was freaking out that I'd lose all my data. The only option he said Apple could do would be to take it away (for a week) and put a new hard drive in for £80. They'd take the old drive out, and I wouldn't get it back to try and recover the data.
    I asked about replacing the drive myself, as I've done that on PCs, and he said I could try it.
    I bought a new hard drive, and an external enclosure. I put the new hard drive in the MBP - Mystery Folder. I put the old drive in the external enclosure - it starts up! Everything still there, exactly as I left it when it froze. I clone the old hard drive onto the new one, try booting from the new drive in the MBP. Mystery Folder. I connect the new drive with an external enclosure - it starts up! And everything running fine.
    It's the cable, I hear you cry. So I ordered a new internal cable. Replaced it. Started it up. Mystery Folder.
    So, it's not the hard drive, it's not the cable. What is it?!

    Hi Ogelthorpe.
    That's right - I now have 2 hard drives, clones of each other.
    Both will boot when in an enclosure and connected with a USB.
    Neither will boot when inside the MBP.
    So it's not the drives that are the problem. Therefore it's an internal cable problem?
    I replaced the cable.
    Neither drive works when connected internally with the new cable.
    What else could it be that means the system can't see the hard drive when connected internally?

  • Can't find out the problem in the query.

    emp Table->
    (name varchar2(10),
    shot_seq varchar2(1)
    The emp table contains around 2 million records.
    When I run the following query the output comes within 20 seconds.
    select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = 1
    group by name;
    But when i made the change in the query by putting ' shot_seq = '1' ', so that query is now:
    select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = '1'
    group by name;
    The output doesn't comes, sqlplus just hangs up.
    Please explain what is the reason behind this.
    Thanks for ur time,
    skala.

    1.
    I think the problem is with sum and decode part:
    ..sum(decode(shot_seq,1,1,0)) as ...
    If <shot_seq> is character then you need to convert it to_number before using any group functions....
    2.
    Check your decode:
    ......(shot_seq,1,1,0)) as pd2 from emp where shot_seq = '1'
    I think it should be something like that(after you convert chars to nums)....
    null

  • Can't find out the problem in this query

    emp Table->
    (name varchar2(10),
    shot_seq varchar2(1)
    The emp table contains around 2 million records.
    When I run the following query the output comes within 20 seconds.
    select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = 1
    group by name;
    But when i made the change in the query by putting ' shot_seq = '1' ', so that query is now:
    select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = '1'
    group by name;
    The output doesn't comes, sqlplus just hangs up.
    Please explain what is the reason behind this.
    Thanks for ur time,
    skala.

    Don't you think your query should be like this as seq_shot is a varchar2(1) field ?
    select name,sum(decode(shot_seq,'1',1,0)) as pd2 from emp where shot_seq = '1'
    group by name;
    null

  • Can anyone find where the problem is.... in this small plsql code(apps)

    hi... plz try to execute the following code...
    i'm getting 'no data found' error where infact there are thousands of rows
    DECLARE
    CURSOR C1 IS SELECT REPORT_HEADER_ID
    FROM AP_EXPENSE_REPORT_LINES_ALL;
    INV_NUM VARCHAR2(50);
    BEGIN
    FOR I IN C1 LOOP
    SELECT INVOICE_NUM INTO INV_NUM
    FROM AP_EXPENSE_REPORT_HEADERS_ALL AH
    WHERE AH.REPORT_HEADER_ID=I.REPORT_HEADER_ID;
    DBMS_OUTPUT.PUT_LINE(INV_NUM);
    EXIT WHEN C1%NOTFOUND;
    END LOOP;
    END;
    i dont bother about duplicate invoice numbers

    Hi Vinnie,
    I didnt get the solution.
    Data is there but still why is it showing 'No data found'?
    could please share the solution for this.

  • Can't find the software for MSN Premium with Windows 7 64-bit

    Got a new PC, using Windows 7 64-bit. Tried to download the MSN Premium software like I had on my previous PC.  It tells me my system does not meet the minimum requirements for MSN Premium.  I searched diligently but can't find where this problem has been addressed.  Thought I could download from the MSN site but it redirects my right back to the Verizon site.
    Any help appreciated.

    mab57 wrote:
    You may want to call Verizon tech support. After I upgraded my computer to Windows 7, I called them & they gave me aURL for a web site where I downloaded & installed the MSN Premium software. I don't remember the URL for that website, but I had no problem installing and using the software. I have Windows 7 Home Premium 64-bit & it works fine. 
    Wont do you any good anymore. Verizon has pulled down the link. MSN premium has been discontinued by Microsoft. They discontinuted it when they started windows live. MSN premium is no longer supported by Verizon or Microsoft. Its a use at your own risk program and if it doesnt work, you are on your own. But all "official" download links have been discontinued.
    ====================================================================================
    Error exists between keyboard and chair.

  • Can't find the custom mail stationery folder since upgrade to Lion

    I have some custom mail stationery items I created in Leopard and have since upgraded to Lion when it was released.  Today I went to edit one of my custom ones and the folder was no longer present in the old location at
    User folder/Library/Application Support/Mail/Stationery/Apple/Contents/Resources/Custom
    I have searched everywhere looking for the 'custom' folder but can't find it.
    Problem is that mail still is showing them as if they still exist (and can use them) but I can't find where they are.   I decided to try creating a new template to see where it stored it but I can't find it anywhere and definitely not in the usual place.
    Can someone please point me in the right direction .. I'm pulling my hair out!!!!

    Binaut's answer is great.  However, how I was able to successfully move and place my custom stationery packages so they would show up in the "CUSTOM" category in a new mail using stationery took a different path. I had to place it in the SYSTEM Library FIRST. Of course I made the changes to the Table of Contents.plist and all that. AFTER I placed the package in the System/Library/Application Support etc. (the traditional place for templates) Mavericks Magically created the CUSTOM folder automatically and everything worked.
    If I'm off on this, please let me know.
    Below is a link to a new discussion I've started.
    Hope this works for you!  There's also a link to a good tutorial on creating your custom stationery in the first place.
    Best to you!
    Daniel
    https://discussions.apple.com/message/25301582#25301582

Maybe you are looking for

  • Creating a Gnutella downloading application in Java

    Hi I am trying to create an application in Java that is able to simplly download a file from a remote host using the Gnutella (peer-2-peer) protocol. The application accepts 3 arguments: 1 host (IP address or hostname) 2 port (the remote gnutella app

  • How do I erase a CD read/write disc on my macbook so I can add new data

    help! How do I erase a CD read/write disc on my macbook so I can add new data. If a disc is a RW, I shouldn't i be able to write to it after it already has some data on it? I get a screen note saying I can't add anything because something is already

  • Table COMM_IL_PRBDP not getting updated

    Hi Experts, We are trying to identify account by Object ID in Web UI. Once we hit search and confirm the object id the system should display account details also, but it is througing message as "no account information found" since COMM_IL_PRDBP table

  • Not display billing document in R3, only display Sales Document

    Hello, We need to make a change on CRM. On CRM environment we have the document flow in the sales document. If we replicate the document to R3, in R3 we can see the sales document replicated and the document flow, for example, the billing document. W

  • SNC between SAP BO and SAP BW

    Hy esperts, i have configured the SNC between SAP BO and SAP BW but for any user i have this issue:  when the user launch a Bex Query by MS Advanced Analysis,  this error message occurs: No applicable data found. On the SAP BW system, on ST22 there i