Right you are, Andrea; I had this running in Tomcat, which is indeed installed 
as a service.

Just tried again running as "me" (had to get over the mental block of doing it 
this way, which always involves debugging for me).  And the home directory 
works as advertised.  The only thing I notice that's a bit odd is the displayed 
directories.  The home directory is displayed for me only as "Mike/".  It would 
be nice if the full path were displayed there, and not just that one directory. 
 Ditto with the Data directory, which only shows "data_dir/".  That may be a 
matter of prompt taste (my prompt has the full path at all times), but since 
the folder chooser drills down and displays multiple directories as it goes 
("data_dir/ data/"), it would be nice to be consistent.

As for the service situation, if you could remove duplicates from the list, 
that would be a bonus.  Home directory doesn't have much meaning in a service 
context.

Hope this feedback helps.

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org


On 11/5/2010 5:46 PM, Andrea Aime wrote:
> On Fri, Nov 5, 2010 at 10:27 PM, Mike Pumphrey<m...@opengeo.org>  wrote:
>>  I just fired this thing up, and it works well, with one hitch.  I see four
>>  entries in the drop down:
>>
>>    Data directory
>>    Home directory
>>    C:
>>    D:
>>
>>  (It even included the volume names of each drive, nice).  The hitch is that
>>  the Home directory displays the root of C:, not my home directory (defined
>>  in %USERPROFILE%) like I would expect.
>
> Interesting. What is the user running GeoServer? Is it running as a service?
> The "home" of the user that's administering the server makes no sense,
> as that user might be on another machine and its OS level user name
> is not known anyways. What you get should be the home of the user
> that is running geoserver instead. If it's running as a service it might be
> that the home in that case is C:/ (I guess I should compare the home
> directory with the various file system roots, and if it's equal to one of
> them, remove the home from the list)
>
> Cheers
> Andrea
>
> -----------------------------------------------------
> Ing. Andrea Aime
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax:     +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to