cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph <>
Subject re. Tomcat 64 bit
Date Thu, 13 Oct 2011 19:20:32 GMT
Ah, this is a good tip, will try it out!


Click to flag this post <javascript: void Nabble.setFlag(32634090);>

by Fawzib Rojas <> 
Oct 11, 2011; 03:23pm :: Rate this Message: 

<> - Use ratings to 
moderate (? <>)

Reply <> | Print 
<> | View 
Threaded <javascript: void Nabble.setView('newthreaded',32634090);> | 
Show Only this Message 

If you run *Tomcat* from said folder (C:\Program Files\Apache Software
Foundation\apache-*tomcat*-7.0.22\) all u need is to find the current
working directory.

I think System.out.println(new File(".").getAbsolutePath()) will print
the working directory. It will have the "." at the end (at least in
windows), remember to remove it.

On 10/11/2011 1:28 PM, Paul Joseph wrote:
>  Hi Andy,
>  Thank you very much for your crystal clear explanation, I get it now.
>  Following your suggestion, I traced back the code and find that the
>  function below is the culprit.  I wrote it in an attempt to return the
>  "root directory" of the *Tomcat* application, and it has somehow managed
>  to work in 32 bit *Tomcat* over numerous installations.

View raw message