Hello �yvind,
I'm not aggravated, I was just pointing out the misconception.
Jake
Monday, January 06, 2003, 9:30:26 AM, you wrote:
�H> On Mon, 2003-01-06 at 16:31, Jacob Kjome wrote:
>> Assuming the .war file is in CATALINA_HOME/webapps
>> <Context path="/mypath" docBase="myWarArchive.war"/>
>>
>> Make sure to stop tomcat before you put the .war file into webapps. Add
>> the above to your server.xml or a context configuration file (like
>> admin.xml or manager.xml are set up). Then put the .war file into
>> webapps. Now start Tomcat. Then, try to access a servlet which uses
>> getRealPath("/"). Check the value. I guarantee it is null.
>>
�H> I am using the ant installTask, I was somehow confused to believe that
�H> it used .war, but that was a mistake. No need to be agrevated.
�H> <snip from="build.xml">
�H> <target name="install"
�H> depends="dist"
�H> description="Install application to servlet container">
�H> <install url="${manager.url}"
�H> username="${manager.username}"
�H> password="${manager.password}"
�H> path="${app.path}"
�H> <!-- THIS PROBABLY THREW ME OFF -->
�H> war="file://${build.home}"/>
�H> </target>
�H> </snip>
>> Jake
�H> Thanks
�H> �yvind
�H> --
�H> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
�H> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
Best regards,
Jacob mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>