Error In Resourcestart
Contents |
here for a quick overview of the site Help Center Detailed answers
Java.lang.illegalargumentexception Document Base Is Not A Readable Directory
to any questions you might have Meta Discuss the workings wtpwebapps does not exist and policies of this site About Us Learn more about Stack Overflow the company Business severe: error listenerstart Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up tomcat is failing to start: SEVERE: Error starting static Resources up vote 0 down vote favorite I've been reading through all the existing answers and still cannot fix my problem. I have an embedded tomcat instance it used to work just fine. I even created a completely new install and it still breaks in the same way I restarted my machine; in the vague hope that that would help. it did not. I am not skilled in configuration (I am getting better, though....) how I start the server: alias run-server='cd /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery/; java -Dgcs.log.dir=/Users/usingji/mediaServer/log -Dgcs.home.dir=/Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery -jar GCS-v0.9.jar' my error: 0:36:45,083 INFO [PropertyUtil] Loading Property file 10:36:45,084 INFO [PropertyUtil] Loading Property file 10:36:45,085 INFO [ServerLauncher] webPort is 8080 10:36:45,085 INFO [ServerLauncher] web root is webapp 10:36:45,091 INFO [ServerLauncher] base path: /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery 10:36:45,092 INFO [ServerLauncher] just set the port 10:36:45,092 INFO [ServerLauncher] config name: webapp 10:36:45,092 INFO [ServerLauncher] file: ackack: /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery/webapp 10:36:45,092 INFO [ServerLauncher] absolute path: /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery/webapp 10:36:45,175 INFO [ServerLauncher] configuring app with basedir: /Users/usingji/Code/sandbox/gcs/target/GlobalContentDelivery-Package/GlobalContentDelivery/webapp Jan 22, 2014 10:36:45 AM org.apache.coyote.AbstractProtocol init INFO: Initi
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us http://stackoverflow.com/questions/21287440/tomcat-is-failing-to-start-severe-error-starting-static-resources Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Tomcat - http://stackoverflow.com/questions/8756097/tomcat-severe-error-during-starting-static-resources-a-war-which-has-been-de SEVERE Error during starting static Resources ( A war which has been deleted purposefully ) up vote 4 down vote favorite 2 Yesterday i have downloaded a sample DWR War file net and deployed it inside Tomcat to test . And today after deleting it inside the Tomcat - Webapps and also inside work\Catalina\localhost directroy . I am getting the floowing error under Server Console , during Server Start up . Jan 6, 2012 3:20:54 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Softwares\apache-tomcat-6.0.33\webapps\DWRExample does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4320) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4489) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.cata
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta http://stackoverflow.com/questions/10935334/java-lang-illegalargumentexception-document-base-tomcat-webapps-appdata-does-no Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us http://www.codeproject.com/Questions/620043/Error-in-tomcat-or-eclipse Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like error in you, helping each other. Join them; it only takes a minute: Sign up java.lang.IllegalArgumentException: Document base tomcat\webapps\appdata does not exist or is not a readable directory up vote 3 down vote favorite I had a WAR previously deployed on my local Tomcat (6.0.35) instance called appdata.war, and so the webapps directory looked like: webapps/ docs/ examples/ host-manager/ error in resourcestart manager/ appdata/ (exploded WAR) ROOT/ appdata.war I deleted appdata/ and appdata.war (so that Tomcat wouldn't try to redeploy it) and then added a new war (appmon-qa.war) to this directory. I then ran the Tomcat startup script and saw deployment errors referencing the "old" appdata WAR. I poked around and saw a folder with that name located at ${TOMCAT.HOME}/work/Catalina/localhost/appdata and I deleted it (again, just to prevent Tomcat from re-deploying it). I then re-ran the startup scripts and am seeing this in the catalina log: SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Program Files\Apache\apache-tomcat-6.0.35\webapps\appdata does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java: at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4320) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4489) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) ...rest of stacktrace omitted for brevity Jun 7, 2012 11:35:27 AM org.apache.catalina.core.StandardContext start SEVERE: Error in resourceStart() Jun 7, 2012 11:35:27 AM org.apache.catalina.core.StandardContext start SEVERE: Error getConfigured Jun 7, 2012 11:35:27 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/appdata] startup failed due to previous errors Jun 7, 2012 11:35:27 AM org.apache.catalina.core.StandardContext stop INFO: Container org.apache.catalina.core.ContainerB
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Error in tomcat or eclipse? Rate this: Please Sign up or sign in to vote. See more: Java Can Anyone guess this error? im using java web tomcat for a web development... Jul 12, 2013 4:22:44 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations MP4\;C:\Program Files\Java\jdk1.6.0_07/bin;C:\Program Files\MySQL\MySQL Server 5.2\bin;D:\common libs\com.mysql.jdbc_5.1.5.jar;;D:\eclipse; Jul 12, 2013 4:22:44 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING