users@glassfish.java.net

Defaulf App Path changes when running on port 80

From: <forums_at_java.net>
Date: Fri, 21 Oct 2011 08:20:34 -0500 (CDT)

Hi all,

I have been having problem with selecting the deployed application path like:

String appPath = new java.io.File("").getAbsolutePath();

I found this problem when I deploy the same application on my development PC
(on port 8080) and server (on port 80).

On development PC appPath is /opt/glassfish3.1/glassfish/domains and on
server is  /opt/glassfish3.1/glassfish/domains/domain1

This is normal?, There is other way to get that path without problems like
this?.

 

Reagrds

Yosvany


--
[Message sent by forum member 'yosvanyllr']
View Post: http://forums.java.net/node/855548