[Anthill] problems

Eric Minick eric at urbancode.com
Thu Mar 4 10:17:49 CST 2004


Mark,

    I noticed that I neglected to mention that I did commit the fix to CVS.
If you're feeling enterprising you can try the fix before the next official
release.

Eric

-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Eric Minick
Sent: Thursday, March 04, 2004 10:43 AM
To: Anthill user list; mark at talios.com
Subject: RE: [Anthill] problems


Mark,

    Sorry about your difficulties with this. I appreciate your effort in
tracking down the problem. I've made the changes that should correct it.
Essentially if you deploy to the root, you'll get the properties file
.anthill.ROOT.properties. We're planning on doing a 1.7.1 release in the
next week or so with fixes for this issue and any others which pop up.

Eric


-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Mark Derricutt
Sent: Thursday, March 04, 2004 12:01 AM
To: anthill at lists.urbancode.com
Subject: [Anthill] problems


Just installed 1.7 and hit a few bugs...

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1480)
        at java.lang.String.substring(String.java:1447)
        at
com.urbancode.anthill.web.admin.AnthillPropertiesUpdateServlet.processReque
st(AnthillPropertiesUpdateServlet.java:114)

Code is:

  File anthillPropFile = new File(userHomeName,
    "."+req.getContextPath().substring(1)+".properties");

This assumes that Anthill is running with some context such as /anthill -
we're running it as a root module from anthill.intranet - so this fails.

I also noticed when I first ran the new version it didn't find the
configuration, upon closer inspection it created .anthill..properties in my
home directory.

Mark

_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 2/26/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 2/26/2004

_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 2/26/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 2/26/2004




More information about the Anthill mailing list