I created the symlink and then ran it (was always running as root) and then got a different error which turned out to be a tomcat 5.5 bug
Check this out http://www.nabble.com/DO-NOT-REPLY--Bug-41504---New%3A----Illegal-access%3 A-this-web-application-instance-has-been-stopped-already-tf3147591.html#a8 725641 So I removed tomcat 5.5 from my machine and installed tomcat 6.0 and it works perfect. Did anyone else experiece this problem or did they have a diff v. of tomcat? Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 ====================================== IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is privileged and confidential, the disclosure of which is governed by applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately and arrange for the return or destruction of these documents. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: Monday, October 08, 2007 7:58 PM To: [email protected] Subject: Re: [appfuse-user] deploying an appfuse 1.9.x project Are you sure there's not a symlink somewhere? What happens if you run it as root? Matt On 10/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I'm trying to deploy a 1.9.x project. I've followed all steps from the > tutorial @ > http://raibledesigns.com/wiki/Wiki.jsp?page=CreateDAO > > > > I ran "ant db-load deploy" and now I'm trying to test my application using > tomcat. I couldn't test my application since I get the 404 error. When I go > to Tomcat manager, it's not started. When I tried starting it, this is the > message I get > > > > FAIL - Application at context path /myapp could not be started. > > > > I checked the tomcat logs (some catalina log) and this is the exception I > get. > > > > I don't understand why it's pointing the document base to /var/lib..I have > tomcat in /usr/share and my webapps folder is not linked to /var/lib.. > Please help > > > > SEVERE: Error starting static Resources > > java.lang.IllegalArgumentException: Document base > > /var/lib/tomcat5.5/webapps/myapp does not exist or is not a > readable > > directory > > at > org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java: 140) > > at > org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.ja va:3848) > > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4019) > > at > org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175) > > at > org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.ja va:527) > > at > org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.ja va:104) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) > > at > java.security.AccessController.doPrivileged(Native Method) > > at > javax.security.auth.Subject.doAsPrivileged(Subject.java:517) > > at > org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) > > at > org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 161) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati onFilterChain.java:245) > > at > org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilter Chain.java:177) > > at > org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterCha in.java:156) > > at > java.security.AccessController.doPrivileged(Native Method) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter Chain.java:152) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve. java:213) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve. java:178) > > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBa se.java:524) > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1 26) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1 05) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja va:107) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148 ) > > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proces sConnection(Http11BaseProtocol.java:664) > > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.j ava:527) > > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollower WorkerThread.java:80) > > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.j ava:684) > > at java.lang.Thread.run(Thread.java:595) > > Oct 8, 2007 3:41:34 PM > org.apache.catalina.core.StandardContext start > > SEVERE: Error in resourceStart() > > Oct 8, 2007 3:41:34 PM > org.apache.catalina.core.StandardContext start > > SEVERE: Error getConfigured > > Oct 8, 2007 3:41:34 PM > org.apache.catalina.core.StandardContext start > > SEVERE: Context [/myapp] startup failed due to previous errors > > Oct 8, 2007 3:41:34 PM > org.apache.catalina.core.StandardContext stop > > INFO: Container > > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/myapp] > > has not been started > > > > Vanessa Pacheco > > Programmer > > Bowman Systems L.L.C > > 318.213.8780x307 > > > > ====================================== > > IMPORTANT WARNING: This message is intended for the use of the person or > entity to which it is addressed and may contain information that is > privileged and confidential, the disclosure of which is governed by > applicable law. If the reader of this message is not the intended recipient, > or the employee or agent responsible to deliver it to the intended > recipient, you are hereby notified that any dissemination, distribution or > copying of this information is strictly prohibited. If you have received > this message in error, please notify the sender immediately and arrange for > the return or destruction of these documents. > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
