Tomcat7 fails can not load virtual host directory [solved]

I have a new installation of timcat7 setup. The default apps work fine.
I have a virtual host setup in my home directory but tomcat gies the following erro and it does nto work:
"SEVERE: Application base [/home/doug/Sites/localcity] for host [localcity] does not exist or is not a directory. deployOnStartUp and autoDeploy have been set to false to prevent deployment errors. Other errors may still occur."
This is an extract of ls -la of ~/Sites
drwxrwxr-x  2 tomcat tomcat 4096 Apr 25 12:05 localcity
I have the exact same setup on a different machine and can not see any differences. Any clue as to what I can do get get this host working?
I am in the group 'tomcat'.
Last edited by hypoglycemic (2012-06-05 12:41:54)

I changed back to the dafault host location of webapps with the examples in it to test if it some larger problem than hosts. It looks liek it is becasue thsi is the log output on start up:
May 26, 2012 3:07:33 PM org.apache.catalina.core.StandardContext postWorkDirectory
WARNING: Failed to create work directory [/usr/share/tomcat7/work/Catalina/localcity/manager] for context [/manager]
May 26, 2012 3:07:34 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [741] milliseconds.
May 26, 2012 3:07:34 PM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /usr/share/tomcat7/work/Catalina/localcity/manager is unusable.
May 26, 2012 3:07:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/docs
May 26, 2012 3:07:34 PM org.apache.catalina.core.StandardContext postWorkDirectory
WARNING: Failed to create work directory [/usr/share/tomcat7/work/Catalina/localcity/docs] for context [/docs]
May 26, 2012 3:07:34 PM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /usr/share/tomcat7/work/Catalina/localcity/docs is unusable.
May 26, 2012 3:07:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/host-manager
May 26, 2012 3:07:34 PM org.apache.catalina.core.StandardContext postWorkDirectory
WARNING: Failed to create work directory [/usr/share/tomcat7/work/Catalina/localcity/host-manager] for context [/host-manager]
May 26, 2012 3:07:34 PM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /usr/share/tomcat7/work/Catalina/localcity/host-manager is unusable.
May 26, 2012 3:07:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
May 26, 2012 3:07:34 PM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /usr/share/tomcat7/work/Catalina/localcity/_ is unusable.
May 26, 2012 3:07:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/examples
May 26, 2012 3:07:34 PM org.apache.catalina.core.StandardContext postWorkDirectory
WARNING: Failed to create work directory [/usr/share/tomcat7/work/Catalina/localcity/examples] for context [/examples]
May 26, 2012 3:07:35 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
May 26, 2012 3:07:35 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
May 26, 2012 3:07:35 PM org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /usr/share/tomcat7/work/Catalina/localcity/examples is unusable.
May 26, 2012 3:07:35 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@6098f192')
May 26, 2012 3:07:35 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
May 26, 2012 3:07:35 PM org.apache.catalina.startup.Catalina start
So there is something wrong with the installation itself. I have pacman -R it followed by a -S but the problem remains.
Is there someway to really super duperly remove the everythign related to tomcat to really truely remove ever trace so that it should rever to normal behaviour?

Similar Messages

  • I can not load the Oracle Applications Home Page E-Business Suite

    I install ebs 12.1.1 on windows server 2003 and I can not load the Oracle Applications Home Page (http://ebsoracle.workshop.cl:8000)
    What could be the cause?
    Is there a log with information about this failure?
    I check the host file and this is correct
    Help me please.
    Thanks.

    I install ebs 12.1.1 on windows server 2003 and I can not load the Oracle Applications Home Page (http://ebsoracle.workshop.cl:8000)
    What could be the cause?What is the error?
    Is there a log with information about this failure?
    I check the host file and this is correctCheck Apache log files (error_log* and access_log* under $LOG_HOME/ora/10.1.3/Apache directory).
    Also, run AutoConfig and make sure it completes successfully.
    Thanks,
    Hussein

  • I can not create virtual machines   =(

    hi, I again
    I can not create virtual machines using the oracle manager, andalusia creandolas time this occurs, an error which generates two logs. These are:
    1.Get VNC Port: (XMachineX):
    failed:<Exception: failed:<Exception: xm list 98_XP_es=>Error: Domain '98_XP_es' does not exist. > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 196, in xen_get_vnc_port vm_id = xen_get_vm_id(vm_path) File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 35, in xen_get_vm_id stdout = run_cmd("xm list %s" % vm_name) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteXenStore.py", line 45, in get_vm_vnc_conn raise Exception(rs)
    2. ParaInstallation: (XMachineX):
    failed:<Exception: failed:<Exception: virt-install paravirt name=98_XP_es ram=512 vcpus=1 mac=00:16:3E:73:7D:45 bridge=xenbr0 file /OVS/running_pool/98_XP_es/System.img file-size=12 vnc vnclisten=0.0.0.0 vncpasswd=/tmp/tmpzYrJVG noautoconsole location=nfs:linuxvm:/el/EL5-x86 keymap=en-us=>ERROR: Invalid NFS location given: [Errno 2] No such file or directory: '/var/lib/xen/xennfs.ZceAYm/images/xen/vmlinuz' > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenVMInstall.py", line 306, in xen_install_vm_para run_cmd(cmd) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVMInstall.py", line 184, in install_vm_para else: raise Exception(rs)
    thanks for any help; as I am new in this

    hi,
    i use vm 2.1.5, this upgrade from 2.1.2
    but i can't create vm
    err:
    failed:<KeyError: 'vcaps'> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVMInstall.py", line 77, in install_vm_hvm l = [ h for h, srv in cds.db_srv.items() if not "hvm" in srv["vcaps"] ]
    help me plz...

  • I can no longer print .pdf docs, I get: lxbzgf.DLL was not found & can not load library LXBZPRP.DLL

    When trying to print a .pdf doc, it now fails and I get the following dialog box: "lxbzgf.DLL" was not found" and then after closing the session, pops the following dialog box which says: "can not load library "LXBZPRP.DLL"
    I think it is related to laptop operating syst. (Windows XP Nedia Center Edition) and latest Adobe Readed XI. Can you help with the proper diagnostic and what should I do, please?
    Thanks,
    Daer Rotciv

    I really don't know what SP3 is but my Gateway laptop operating system is Windows XP Media Center Versión 2005 with Update Rollup 2.
    The only additional information I see on this system is MS WIN MCE GTW US V1.5 07/06. 7515344
    Thanks
    Enviado desde mi sistema móvil personal de telecomunicaciones

  • Can not load the Sonivox 250 Meg GM Wave table into soundfonts manag

    I have an Creative Xi-FI platnium and no matter what I try I can NOT load this sound font.. I can load it into Vienna soundfont manager.. I have tried adjusting the cache level (I have 2 GB of RAM BTW in my system), I keep getting an error can not load. Please HELP!!! I even tried the registry edit.. It did not help one bit.. appears its an issue with the program! What should I do?

    hmmm for some reason when you call your EJB and it throws an exception, the JTA transaction is marked as rollbakc so the BPEL EM engine fails to save the instance.
    Could you please provide us some additional pieces of information:
    obversion.bat.
    The exact exception that your EJB throws.
    JTA configuration of your bean
    Have you looked at the BankTransfer demo?
    Edwin

  • "CAN NOT LOAD DOS. RESS AN KEY TO RETRY1"

    I am trying to install linux version5 using Oracle VM Virtual Box. I am getting a message like "CAN NOT LOAD DOS. RESS AN KEY TO RETRY" at the begining of the installation. If anybody is familiar with this kind of message, please help.

    What exactly are you trying to install and how? Do you use CD/DVD media or an .iso disk image file? Do you have the right OS selected in the new virtual machine wizard? Please provide more info.

  • Can not load modules during boot with kernel 2.6.31

    Every time i install kernel 2.6.31 (ever since it got into core), after reboot i receive message
    FATAL: module ... not found
    with every module in my rc.conf, or sometimes with this message:
    FATAL: could not load /lib/modules/2.6.30-ARCH/modules.dep no such file or directory
    Before those errors the boot script complaisn about hardware clock (right after the Arch Linux line):
    Could not access the hardware clock via any known method.
    After that I can still start X but my keyboard and mouse are completely dead. The console works fine, i just can not load any module per hand, some daemon can not be started - obviously.
    Latest kernel 2.6.30 works fine. Is this a problem of 2.6.31 ?

    /lib/modules/2.6.30-ARCH/
    That is very strange... it's not booting into .31
    It's an install problem because that dir shouldn't be there after updating kernel26.
    I know you said you installed from core, but was it a custom install? Did you change the PKGBUILD in anyway?
    After installing .31, before rebooting do depmod 2.6.31-ARCH
    Then do mkinitcpio -p kernel26
    Post the output of the second one.
    Last edited by gog (2009-10-26 00:32:06)

  • Can not load help information, so I can not save my work?

    I have been working on this vi for about an hour.
    When I try to save I ge an error that says "Can not load help information of find_resources.vi"
    So it will not let me save it.
    Solved!
    Go to Solution.

    Hi James,
    That error is usually indicative that the VI is unfortunately corrupt. I'm sorry that you had to spend some time rewriting your code. I wanted to provide some information that I found in case you ran into anything like this again in the future.
    If "Select All" then copying to a VI does not work, that is usually a good sign that the VI is corrupt. At that point, there is not much you can do except possibly look at the recovery VIs that LabVIEW saves. If the VI is there, you can try moving it out of the recovery directory and opening it. The location for the autosave directory varies depending on how your system is set up, but it is typically located in your Documents folder > LabVIEW Data > LVAutoSave. For more information on how LabVIEW autosave works, take a look at this KnowledgeBase article.
    Regards,
    Matthew B.
    Applications Engineer
    National Instruments

  • Can not load sqresus.dll

    Hi,
    after a new ODBC-driver installation I tryed to add a file-DSN but the result is an error:
    "Can not load sqresus.dll".
    This file is located in the same directory as 'sqora32.dll' and 'sqoras32.dll'.
    Has anybody an idea.

    it was the wrong mfc42.dll version

  • Can not load WSDL.

    It seemed so strange,got me frustrated.
    I create a new data connection and I input the wsdl file url:http://192.168.2.58/FormService/service1.asmx?wsdl, LiveCycle prompt that "can not load .....",i also tried the url http://192.168.2.58/FormService/service1.wsdl.
    The two url can be visited in IE browser and if i select the same wsdl from local file system it's OK,why?
    Give me a hand,please.
    Jasper.

    Paul Guerette:
    It's been fixed.I can add the WSDL connection on annother computer.
    I'm not sure that it's Livecycle'r problem or you can not set the current computer IP as the WSDL host.

  • How do I find the bookmarks file when I can not load the application? I.e., I can not get to the library.

    My laptop died. The hard drive is in a case and accessible. It is connected to a 10 year old Pentium. How can I retrieve the bookmarks file from the Laptops drive when I can not load Firefox from that drive? I.e., I can not get to the library on the Laptop drive. I do have full access to it.

    You can locate main bookmarks file, '''places.sqlite''', for restoration in another Firefox install, in your profile directory.
    Since you profile is on another hard drive, the normal shortcuts to find it won't work.
    On Windows XP, you can find the profile here:
    ''C:''\Documents and Settings\''Windows login/user name''\Application Data\Mozilla\Firefox\Profiles\''xxxxxxxx.default''
    Where:
    * C:\ is replaced by the drive letter you mounted the laptop drive on.
    * Windows login/username is replaced with your windows user name you used on that hard drive.
    * xxxxxxxx.default is replaced with 8 random characters followed by .default, and should be the only folder in Profiles.
    Once you've found the old profile, you can copy files over to a new profile. See https://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile and [[Recovering important data from an old profile]] for other files you may want to restore.

  • In application purchased failed can not connect to itunes, In application purchased failed can not connect to itunes

    Why can not purchased item from application meanwhile my credit card already verified, the statement from application " in application purchased failed can not connect to I tunes please go to ITunes support"

    This what Apple's iTunes specific error codes support article says about that particular error.
    Errors 3000-3999 (3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.
    Update to the latest version of iTunes.
    Verify the computer's date and time are accurate.
    Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
    Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
    Test restoring while connected to a known-good network.

  • Since loading the latest version of firefox i can no longer print. instead a message comes up "can not load library 'DLBAPRP.DLL' using defaults, error 126. what happened?

    error 126 can not load library "DLBAPRP.DLL" using defaults. this message appears when we try to print from our web bookmarks or any acrobat or pdf files

    That error seems to be new with Firefox 4 - never heard of it with earlier versions of Firefox, but it goes back many years in various Windows programs.
    See this [http://www.google.com/search?client=ubuntu&channel=fs&q=DLBAPRP.Dll&ie=utf-8&oe=utf-8 search].

  • Can not load adobe flash and now none of my video will work. may go back to internet ex.

    can not load adobe flash player. tried plug in- and adobe site. nothing works and now I can not view any of my video. OH ye, you are not listed under any of the plug ins. are you windows? Mac? 64? what?

    Dan,
    The only safe way is to erase the volume and reinstall SL.  Then use setup assistant to migrate your data from a Snow Leopard Time machine or clone backup.
    Regards,
    Captfred

  • I have a problem that I can not load or even close the download in iTunes, it turns out I have hanging in the mode, and because of that I can't download from AppStore, because it turns out that the other programs I have on standby. What do I do? Thank you

    I have a problem that I can not load or even close the download in iTunes, it turns out I have hanging in the mode, and because of that I can't download from AppStore, because it turns out that the other programs I have on standby. What do I do? Thank you.

    If there are multiple apps trying to download at once, only one can download at a time and the rest say "Waiting" until it is then their turn. Try this. Double tap the icon of the Waiting app, and it should resume the download.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

Maybe you are looking for

  • Addition of new line line items in delivery while creating

    HI All, i have the requirement of adding a new line item in delivery items while creating it referencing a sales order. i have to add new line item based on the existing line items. i have done coding in badi save_doc_prepare. now new line items are

  • How to create Business partner from uploaded file by Function module?

    Hi Experts, I have uploaded Business partner data from a file to server now from individual records I have to create Business partner and have to update the records in the tables. Means from on record i have to create one business partner in sap syst

  • Video input/ iMac display as monitor

    Hello everybody, I have got a feature request for future releases of the iMac series. I think I would not be the only one appreciating a solution to use an iMac's display as monitor for other computing devices such as the Mac mini or older PC-hardwar

  • Unable to uninstall Quicktime

    I get the following error when I try to access the QuickTime settings in the control panel: An exception occurred while trying to run "C:\Windows\system32\shell32.dll, Control_RunDLL "C:\Windows\system\QuickTime.cpl", QuickTime" When I try to open iT

  • Toplink Optimistic Locking not working with Session Bean facade.

    I am working on Oracle JDeveloper v 10.1.2 and connecting to an Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit The application is based on J2EE architecture and the technology stack uses Struts for presentation/controller framework