additionaly, an application deployed using the manager app currently returns null if you use servletcontext.getRealPath(); so it's context seems to be quite obfuscated...
Does anybody else have the same phenomenon? thx Johannes ----- Forwarded by Johannes Fiala/Johannes Fiala on 28.03.2003 19:53 ----- Johannes Fiala/Johannes Fiala 28.03.2003 19:46 To "'Tomcat Users List'" <[EMAIL PROTECTED]> cc Subject Living without a Context - deploying an application using manager app hi there, here are my findings after some experimentation with the ant deploy task of the manager app. *) a complete application can be easily built into a WAR file using ant *) this WAR file can be easily deployed using ant deploy task *) once deployed onto the server, the application is running with the docbase located somewhere under the manager directory: ant list -> produces: "/dbadmin:running:1:F:\tomcat-4.1.18\work\Standalone\localhost\manager\dbadmin.war" *) there the application is living - without a context - thus, also without any JNDI resources etc. defined in server.xml for a context dbadmin with docbase dbadmin. Would renaming the docbase to " F:\tomcat-4.1.18\work\Standalone\localhost\manager\dbadmin.war" resolve the problem of not having any context? What else could be done to get a context for the webapplication "dbadmin"? thx Johannes
