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

Similar Messages

  • Adobe Phoshop Elements 11 installed, restarted computer after install complete.  When launch, Elements Organizer licensing agreement pops up.  Accept and it continues to pop up..over and over.  Will not launch program.  Help?

    Adobe Phoshop Elements 11 installed, restarted computer after install complete.  When launch, Elements Organizer licensing agreement pops up.  Accept and it continues to pop up..over and over.  Will not launch program.  Help?

    Try launching the editor and entering your serial number there if asked.

  • Can't run apache after setting mod_jk.conf-auto

    Can anybody help me?
    In the beginning when jdk1.3.1 & tomcat3.2.2 are just set, they both can work porperly, but after setting mod_jk.conf-auto (for running jsp), Apache can't start and give out the following error msg:
    Starting httpd: Syntax error on line 60 of /usr/local/jakarta-tomcat-3.2.2/conf/mod_jk.conf-auto:
    Invalid command 'Alias', perhaps mis-spelled or defined by a module not included in the server configuration
    [60G[[1;31mFAILED[0;39m]
    Thank you for your attention!
    RoRo

    always start Tomcat first
    then Apache

  • How to switch to apache after install

    I have successfully installed Apache 2.2.4 and CFMX7 with
    internal Web server.
    I now want to switch to use apache instead of the internal
    web server.
    Does anyone have the instructions for doing so? I can't seem
    to find them.
    Thanks.

    This all works on Windows, there are just spme *nix-specific
    instructions there.
    1. Where did you install Coldfusion? If it's C:\cfusionmx7,
    then search in there for your existing copy of wsconfig.jar
    2. Rename it to wsconfig.jar.bak (you'll have to stop CF to
    do this.)
    3. Download the new version (link's in the TechNote).
    4. Place the new wsconfig.jar in that folder.
    5. Start CF
    6. Run the Web Server Configuration Tool
    a. Click Add
    b. Choose Web Server: "Apache"
    c. Under Configuration Directory, browse to the /conf folder
    where you installed Apache (i.e. C:\Program Files\Apache Software
    Foundation\Apache2.2\conf )
    d. Check the box labeled "Configure web server for Coldfusion
    MX applicaitons"
    e. DO NOT click the Advanced button, those settings should
    all be empty.
    f. Click "OK".
    Restart Apache and you should be up and running.

  • My system preference, powner off, restart disappeared after installing lion twice! Anybody can help?

    After installing Lion on my Imac, the System Preference option in the apple menu (Apple sign on top left side of desktop) has disappeared. In addition, the power off, restart options are gone too. I have reinstalled the Lion twice but the problem hasn't been resolved yet. This is happening when I am logged into adm. user. In other users account, the menu seems to be ok. Any suggestions or recommendation to help me fix this issue?

    Let me clarify the issue again:
    A number of items have gone missing from my apple menu: Software Update, System Preference, Dock, Recent, Restart, and Shut Down are gone.
    All that's left are About, Location, Force Quit, Sleep, and Log Out. Can anybody help?

  • Windows Vista Installation Failed. Error Restart Loop After Install.

    I made it as far as the end of Step 2: Partition for Windows Vista -> Format -> Install -> Restart
    Note: Partition size = 45 GB. Apple USB keyboard and mouse worked fine.
    The install process was stuck in a loop at this point. After restart the screen was black for about 5 minutes. Disc made noise off and on but no screen input. Then it finally restarted. Next screen had error info and a choice to continue. After that a "Install Windows" error msg appeared;
    +"The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed. To install Windows, click "OK" to restart the computer and then restart the installation."+
    Clicking "OK" resulted in the same error msg. along with +"Press any key to boot from disc"+. No success attempting to start up from Windows partition. or disc. Restarted to Mac HD. There is a "Untitled" drive on the Desktop. It contains multiple folders (11 GB). I tried to restart from this drive w/o Windows disc and it returned to the previous error msg.
    Next I tried restarting w/ Option key, inserting Windows disc, clicking on arrow under disc icon and quickly pressing any key. This brought up +"Windows Boot Manager Window"+. The only choice was; +"Windows set up [EMS Enabled]. To specify an advanced option for this choice, press F8. Tools: Windows memory diagnostic.+" None of the key choices (Enter, Tab, Esc) responded. Disc would not eject.
    Booted to Mac HD. Ejected disc w/ mouse. Used Boot Camp to restore partition. After restart screen is black with; +"No bootable device -- insert boot disc and press any key".+ Then I power down/on with Option key. Only Mac HD is displayed. Log into Admin. Mac HD looks fine. Run Disk Utility to verify disk/volume. OK. Also ran TechTool Deluxe. Passed. Open System Preferences, check that Mac HD Startup Disk is highlighted. Restart. OK now.
    What is going on? I was quite confident this would install without any problem since I was using the latest OS X 10.5.6 and Windows Vista Business (early version). Could that be the cause? I had no problem installing it under VMware Fusion 2 (downloaded updates), worked flawlessly. If I can't get this to work then I have to go back to a PC for ACAD. HELP!!
    Can I get Apple Support for this issue (Phone only, or Genius Bar)? I have AppleCare.
    Message was edited by: Sakahara
    Message was edited by: Sakahara

    Your problem sounds somewhat like mine, although not exactly. In my case it seems as if my CD/DVD drive didn't like the hologram on my Windows XP install CD. I solved this by using Disk Utility to make a disk image of the Windows DVD and then burning the disk image onto a new DVD with an opaque "label". That solved that problem.
    A further problem occurred after that. When I got to the screen that told me to hit "Enter" to start the installation process my keyboard was unresponsive. I solved this by buying a cheap Windows keyboard. That solved that problem and I now have Windows XP running just fine.
    I think that you'll find that Apple tech support isn't very responsive to these sort of problems. I don't have Apple Care but was willing to pay my $49 for tech support. I ended up talking to a "Boot Camp specialist". He was polite but told me that it was "a windows problem" and that Apple didn't support Windows. I agree that Apple can't support windows but it seemed like my two problems were "Mac problems". Anyway, after tearing my hair out for 4 days I finally got it done. I have to admit that I'm not happy with apple tech support.

  • My Mac book is restarting frequently after installing few updates.It has started to bother me that why the system asked me to restart 4 times after the installation was done . PLease HELP

    Hi please help ,
    Certain updates were been installed  and then a restart was done to install the updates successfully in my MAc Book PRO .After restarting the sytem,  the system displayed a message for a restart  and it happened three times.Every time i Login in back , the message displayed on the  screen says " Your computer was restarted beacuse of a problem". I'm new to Mac and therefore could not understand the problem. It would be much appreciated if some one can answer or explain this activity to me .

    Take it to your local Apple Store or AASP, it's covered by a 1 year hardware warranty. If you have AppleCare then give them a call but I'm pretty sure they will advise the same. If you have not purchased AppleCare yet please do, this will extend the warranty to 3 years however it MUST be purchased within the first  year of ownership. Let it go 366 days and you are out of luck. AppleCare will also include telephone support too.
    Good luck.

  • GX Error - after - Install Web Connector Plugin for iWS

    After custom installation from web connector plugin in iWS, the
    browser shows
    GX Error
    socket result code missing !!!
    Is seems the plugin can't call the remote web application.
    I see a establised connection between the web server and die application
    server port 10818 (Exec Proc)
    and to the LDAP server port 50505.
    If I connect directly the web server installed lokaly the appilkation runs
    (fortune).
    Any idee ?
    Sven Kirsten

    Okay, lets say more about the scenario:
    server1 server2
    |---------------- ---------------------------
    | iWeb Server | | iApplication Server (Exec
    Port 10818) |
    | with plugin |---------------------|LDAP Server (Port 50505)
    |
    |---------------| | iWeb Server with Plugin
    |
    If I go to server 2:
    http://server2/NASApp/fortune/fortune
    fortune runs
    If I go to server1
    http://server1/NASApp/fortune/fortune
    I got the message on the browser
    GX Error
    socket result code missing !!!
    Thats meens, the application servers runs fine.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    If I run from server 1:
    In the kxs_0_CCS0 log on the server2 I find the following:
    [04/Okt/2001 10:57:25:7] info: NSAPICLI-012: plugin reqstart, tickct:
    1002185845s 794005us
    [04/Okt/2001 10:57:25:7] warning: UTIL-013: GXGUID: NameTrans lookup failed
    (Applogic Servlet fortune_fortune)
    [04/Okt/2001 10:57:25:7] warning: NSAPICLI-011: socket result code
    missing!!!
    [04/Okt/2001 10:57:25:7] info: NSAPICLI-009: plugin reqexit: 0s 1828us
    In the kjs_1_CCS0 log on server 2 I find the following.
    [02/Okt/2001 17:30:18:1] error: Exception: SERVLET-execution_failed: Error
    in executing servlet JSPRunner: java.lang.NullPointer
    Exception
    Exception Stack Trace:
    java.lang.NullPointerException
    at com.netscape.server.servlet.jsp.JSPRunner.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Compiled Code)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Compiled
    Code)
    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    If I run from server 2:
    In the kxs_0_CCS0 log on the server2 I find the following:
    [04/Okt/2001 11:08:58:1] info: NSAPICLI-012: plugin reqstart, tickct:
    1002186538s 187717us
    [04/Okt/2001 11:08:58:3] info: NSAPICLI-009: plugin reqexit: 0s 113269us
    In the kjs_1_CCS0 log on server 2 I find the following.
    [04/Okt/2001 11:05:55:8] info: --------------------------------------
    [04/Okt/2001 11:05:55:8] info: FortuneServlet: init
    [04/Okt/2001 11:05:55:8] info: --------------------------------------
    [04/Okt/2001 11:05:56:0] info: --------------------------------------
    [04/Okt/2001 11:05:56:0] info: jsp.APPS.fortune.fortune: init
    [04/Okt/2001 11:05:56:0] info: --------------------------------------
    ++++++++++++++++++
    In the error case there is a NameTrans Lookup failure for the web
    application.
    The naming service from the application server can't locate the fortune
    application.
    I hope it helps you the locate more detailed the problem.
    Thanks,
    Sven K
    "Sven Kirsten" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]...
    After custom installation from web connector plugin in iWS, the
    browser shows
    GX Error
    socket result code missing !!!
    Is seems the plugin can't call the remote web application.
    I see a establised connection between the web server and die application
    server port 10818 (Exec Proc)
    and to the LDAP server port 50505.
    If I connect directly the web server installed lokaly the appilkation runs
    (fortune).
    Any idee ?
    Sven Kirsten

  • MacBook Pro restarts randomly after installing OS X Mavericks

    I just installed the OS X Mavericks and after it was done installing, obviously it had to restart like any other update. It restarted regularly the first time until I signed into my user and it just shut off and restarted randomly. This time when it was turning back on, an error message came up that said "an error has occurred press any key" then i logged into my user and another error message came up and then after like 15 seconds it restarted again    I did this again about 8 more times and shut my laptop off twice. Anyone know what is going on and how I can fix it??? I live 2 hours away from the nearest apple store and have no idea what to do!

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the
         computer and after the chime press and hold down the OPTION key until the boot manager
         screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • Having trouble restarting computer after installing iTunes

    So I just finished buying my iPod Classic not too long ago. I use a Windows Vista computer (Gateway) and have attempted to install iTunes several times. Whenever I do and go to restart my computer, it stays stuck on the start-up screen. It refuses to boot up Windows. The same happens when I shut it down and try to start it back up manually. Eventually it'll give me an error saying that Windows could not start, so I go ahead and choose to let it check for problems, then it essentially forces me to do a System Restore on my computer to the point before I installed iTunes, with no iTunes installed at all. Is there anyway to fix this? o.O

    Is your iPod still plugged in during this time? If so, take it out and try again. Something similar happened to me and this ended up the culprit.

  • Cannot restart iMac after installing desktop software

    Hello.
    I installed Mac Desktop software into my iMac (intel), and restarted it.
    As you know, you see gray Apple logo with white background, however, the usual desktop never comes up.
    How should I do?
    If someone has any solution, please let me know!!
    Thank you in advance.

    Hello cmaisano,
    Welcome to the BlackBerry Support Community Forums.
    It sounds like the BlackBerry Desktop Manager updated the software on the BlackBerry smartphone.
    Thank you
    -DrP
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Solution to Restart issues after installing MS10-015

    Any  users who installed the above mentioned security update and are facing the restart issues as mentioned by Microsoft can use this automated solution to resolve the restart issue 
    http://support.microsoft.com/kb/979682
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

    Hi again, I found a solution to the nested folders problem. Apparently this was not due to Java... It was just a folder replicating itself over and over again. Still don't know the cause, but searching with Google I found this:http://forums.macnn.com/54/unix/156870/nesting-of-folders-problem/
    The command allowed me to find the folder and subsequently trash it. Everything seems to be fine right now. The disc utility does not report the "exceeded the recommended limit of 100 " error.

  • Can't open Premiere Pro after installing from CC

    Says there is an error and the program has stopped working... even before it starts working. Uninstalled and reinstalled, same problem. Restarted computer after install, same problem.
    Any ideas?

    If you have a Mac with AMD graphics hardware, it may be a problem caused by the CUDA framework, which AMD hardware does not need. I just fixed a problem with PPro CC not launching on my iMac (with AMD Radeon graphics) because of this.
    If you don't have an NVIDIA graphics card, go to your main HD, then Library>Frameworks, and delete "CUDA.framework". Reboot and try launching PPro again.
    If you do have an NVIDIA graphics card... the problem is elsewhere, sorry
    BTW I have no idea if the same CUDA problem applies to Windows machines with non-NVIDIA graphics hardware.

  • Hp 2000 fails to bring up windows after installing SEP64 antivirus.

    After restarting just after installing SEP64 Antivirus, computer comes up with failed to launch Windows. Options were cancel or go back to a good starting point. But, nothing seems to work...it just ends up showing HP in a circle with no "Thinking" indication. How can I get this HP 2000 laptop to get  back to normal?

    I spent 2.5 hours on the phone with HP tech support last .  Starting with changing the Bios date to 6/1/2006 and then started the recovery (3rd) time.  All look great unitl midnight when i went to bed .  It had loaded and ejected all 4 disks.  THE software installation was running.  This mornig I had a Recovery failed message.  Waiting fo rTech support to call me back (They are late). I can't do a refresh of windows 8 because the recovery has formatted the hard drive and you cannot get to an options screen. We havent reloaded any BIOS settings yet.  I am still waiting for tech support to call Case # 3017584806

  • Freemind won't run after install, can't find Java

    Hi,
    I attempted to install freemind using the following command:
    pacman -S freemind
    It installed along with the relevant Java dependency.
    When I try to run freemind I get the following error:
    which: no java in (/bin:/usr/bin:/sbin:/usr/sbin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin)
    ERROR: Couldn't find a java virtual machine,
    define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH.
    When I attempt to run 'freemind.jar' via java itself using the following command:
    /opt/java/jre/bin/java freemind.jar
    I get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: freemind/jar
    Caused by: java.lang.ClassNotFoundException: freemind.jar
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: freemind.jar. Program will exit.
    Any help would be much appreciated

    I can run Freemind - no problem. I have (previously) installed Java using jdk package
    There are two possible problems:
    1) Program's execute file is /usr/share/freemind/freemind.sh - it's shell script, so you will have to run it from terminal using command
    bash /usr/share/freemind/freemind.sh (it's how I ran it)
    Remember - you can't (usually) run Java programs from *.jar files, because Java has to have declared some variables first (that's what that shell script  is for - Windows are using their typical exe files for running Java programs )
    2) You don't have correct Java. There are two types of Java: opensource (openjdk) and "original" Java from Sun. openjdk is (fully) opensource, but lacks some of Sun's Java features, but because it's opensource, it's generally favourized (hope that it's the correct word) in Linux and Java-dependent packages in Arch usually installs that.
    Try uninstall both Freemind and whatever Java you are using now and install first java from Sun (packages jre and jdk, jdk is mostly for Java developers and should not be needed to run programs) and then install Freemind.
    Edit: It's possible that you will need to restart computer after installing Java (but probably not)
    Last edited by cybermage (2008-11-21 21:04:47)

Maybe you are looking for

  • Can't print to PDF anything over 89" x 34" ???

    Hey all- I have a problem that is proving to be elusive.  I'm working with Illustrator CS5 & Acrobat Pro 9.4.2 on a Win 7x64 system.  I am trying to print a 96" x 36" vertical banner to PDf to send to my large format print house.  The file contains 2

  • How to mail to users when a report fail when scheduled in Infoview-BO XIR2

    Hi, We need to send a mail notification to the mail recipients when a report fail. Is this possible in Infoview. Please suggest. Thanks in advance.

  • Safari Rendering Site Text Poorly

    Hello- Thanks in advance for your thoughts. I've created a site (in RapidWeaver) and lately, Safari is rending the text pretty poorly. I don't know if its the font I'm using or if its Safari. Looks nicer in Windows 7 and Firefox (can't believe I'm sa

  • Can't upgrade 10.2 or re-install...

    Hello; I'm helping a friend and we are now stuck in a very bad situation. For some reasons, we had to move from OS9 to OS X (new mac, new printer, both can't run os9 applications / no drivers for os9 (PostScript 3 ethernet color printer from Dell...

  • Tools of Backup and Recovery

    can any one tell me what are the tools of backup and recovery in the Oracle database?