-
1. Re: JBoss temporary directories
jhart-ppcn Aug 2, 2005 2:26 PM (in response to jhart-ppcn)I've banged my head on this quite a bit more and have yet to find a solution. Well, I've found a few possible solutions but none of them are without bringing on more problems.
It turns out this is an Ant problem, as shown by this bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=29391
I thought to myself "I have Ant 1.6.5 installed. Why is this a problem?" In talking this over with others here, having Ant installed locally means nothing in the context of jboss because JBoss bundles its own ant.jar anyway. So, unless the particular JBoss I have installed (3.2.3) has an ant.jar that contains this fix, I'm out of luck.
One solution that was proposed and I'm testing now is setting the sticky bit on $JBOSS_HOME and ensure that it is owned by root:jboss (chown root:jboss $JBOSS_HOME; chmod 1770 $JBOSS_HOME). This seems to work in that the pesky file gets created properly and the jboss user does not have full control over everything in $JBOSS_HOME.
Another solution was to copy the new ant.jar to the appropriate place in the JBoss install. This also seems to work though we are unsure what other bugs this may introduce.
We are eventually going to migrate to the latest JBoss but that will require more testing. -
2. Re: JBoss temporary directories
starksm64 Aug 3, 2005 12:04 PM (in response to jhart-ppcn)The only thing that uses ant is the jsp compiler so if upgrading works for your pages it works.
Latter jboss/tomcat bundles do not use ant by default to compile jsp pages. It uses the ecplise jdt compiler in memory.