  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Can I use symbolic links to define contexts | Can I use symbolic links to define contexts 2004-01-23 - By Glanville, Jay
Back Hello all
Can I use a symbolic links to help me define a web application / context?
For example, if this is my webapps directory: admin -> admin.0.19.0 admin.0.19.0
The reason that I'm asking is in Tomcat 5, I'm getting the following exception being reported in my logs/catalina.out log:
SEVERE: Error deploying web application directory admin java.lang.IllegalArgumentException : Context path /admin must match the directory or WAR file name: admin.0.19.0 at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:293) at org.apache.catalina.core.StandardHost (StandardHost.java:859) at org.apache.catalina.startup.HostConfig (HostConfig.java :723) <deleted>
Our company likes this usage of links as it allows us to quickly switch between versions of our application.
Why would I be getting this exception? What can I do to enable this behaviour?
Thanks
JDG
-- Jay Glanville
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |