Standalone servlet helma.home

View: New views
2 Messages — Rating Filter:   Alert me  

Standalone servlet helma.home

by Patrick Lee-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm trying to set helma.home for helma running under tomcat. On
windows helma.home seems to be the System32 directory.

I've tried setting helma.home via -Dhelma.home passed in to tomcat but
Helma is not using that.

Any hints?
_______________________________________________
Helma-user mailing list
Helma-user@...
http://helma.org/mailman/listinfo/helma-user

Parent Message unknown Re: Standalone servlet helma.home

by Maksim Lin for technical support mailling lists :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Patrick,

Having a quick look through the 1.6.2 src it looks like the helma.home
property is set, but not read by getInstallDir() in Main.java.
Looking at its code, looks like there are a number of places where the
location can come from:

- "-i" on the cmd line
- the jar url that the Main class is loaded from
- System.getProperty("user.dir")

https://dev.helma.org/trac/helma/browser/helma/helma/tags/helma_1_6_2/sr
c/helma/main/launcher/Main.java#L148

Maks.

> -----Original Message-----
> From: helma-user-bounces@...
> [mailto:helma-user-bounces@...] On Behalf Of Patrick Lee
> Sent: Tuesday, 14 October 2008 09:25
> To: Helma User Mailing List
> Subject: [Helma-user] Standalone servlet helma.home
>
> Hi,
>
> I'm trying to set helma.home for helma running under tomcat.
> On windows helma.home seems to be the System32 directory.
>
> I've tried setting helma.home via -Dhelma.home passed in to
> tomcat but Helma is not using that.
>
> Any hints?
> _______________________________________________
> Helma-user mailing list
> Helma-user@...
> http://helma.org/mailman/listinfo/helma-user
>
_______________________________________________
Helma-user mailing list
Helma-user@...
http://helma.org/mailman/listinfo/helma-user