Hello. I am failing to deploy a eclipse/spring project via smylink to my tomcat.
Apache Tomcat/7.0.26 1.6.0_24-b24 Sun Microsystems Inc. Linux 3.2.0-35-generic-pae i386 My plan is to use a symlink to the spring workspace: ######################################################################### root@machine:/var/lib/tomcat7/webapps# ls -la drwxrwxr-x 4 tomcat7 tomcat7 4096 Jan 21 09:27 . drwxr-xr-x 6 root root 4096 Jan 20 20:59 .. drwxr-xr-x 3 root root 4096 Jan 20 21:30 ROOT lrwxrwxrwx 1 root root 50 Jan 21 09:19 springapp -> /home/usr/Lab/SpringWorkspace/springapp/war/ drwxr-xr-x 3 root root 4096 Jan 21 09:27 springapp2 ######################################################################### The copied folder springapp2 works fine, the webapp is reachable in the browser via localhost:8080/springapp2/ The symlink springapp delivers a 404 in the browser trying to open localhost:8080/springapp/ The logfile output is: ######################################################################### 21.01.2013 09:29:33 org.apache.catalina.startup.HostConfig start SCHWERWIEGEND: Unable to create directory for deployment: /var/lib/tomcat7/webapps/springapp 21.01.2013 09:29:33 org.apache.catalina.startup.HostConfig start SCHWERWIEGEND: Application base [/var/lib/tomcat7/webapps/springapp] for host [sprigtestsymlink] 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. ######################################################################### /var/lib/tomcat7/conf/sever.xml: ######################################################################### <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> </Host> <Host name="sprigtestsymlink" appBase="webapps/springapp" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host> <Host name="springtestcopiedfolder" appBase="webapps/springapp2" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host> ######################################################################### I would appriciate any hint. Greetings from Berlin, Jan kessinger --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org