cocoon-users mailing list archives

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

thanks
Paul


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

by Fawzib Rojas <http://old.nabble.com/user/UserProfile.jtp?user=140073> 
Oct 11, 2011; 03:23pm :: Rate this Message: 
<http://old.nabble.com/Tomcat-64-bit-td32632389.html#> 
<http://old.nabble.com/Tomcat-64-bit-td32632389.html#><http://old.nabble.com/Tomcat-64-bit-td32632389.html#><http://old.nabble.com/Tomcat-64-bit-td32632389.html#><http://old.nabble.com/Tomcat-64-bit-td32632389.html#><http://old.nabble.com/Tomcat-64-bit-td32632389.html#>

<http://old.nabble.com/Tomcat-64-bit-td32632389.html#> - Use ratings to 
moderate (? <http://old.nabble.com/help/Answer.jtp?id=16>)

Reply <http://old.nabble.com/forum/Reply.jtp?post=32634090> | Print 
<http://old.nabble.com/forum/PrintPost.jtp?post=32634090> | View 
Threaded <javascript: void Nabble.setView('newthreaded',32634090);> | 
Show Only this Message 
<http://old.nabble.com/Re%3A-Tomcat-64-bit-p32634090.html>

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.
>

Mime
View raw message