I've found an acceptable workaround. I found it as a solution to bug
20527 in the apache bug database:
http://issues.apache.org/bugzilla/show_bug.cgi?id=20527
Basically, if you set a system property user.dir, jasper will write to
that directory. So I simply added an <attribute> tag to
$JBOSS_HOME/server/default/deploy/properties-service.xml so it looks
something like:
.
.
.
<mbean code="org.jboss.varia.property.SystemPropertiesService"
name="jboss:type=Service,name=SystemProperties">
<attribute name="Properties">
user.dir=/usr/share/jboss/work/default
</attribute>
<mbean>
.
.
.
*Note* you may need to restart tomcat inside of jboss when you do this,
I did, and my jmx-console is now working.
-Eric
On Wed, 2004-03-10 at 21:28, Eric Klimas wrote:
> Hi all,
>
> I have a kinda annoying problem on JBoss 3.2.3 w/ Tomcat 4.1 on a Debian
> system when I go to start the jmx-console. It appears to be caused by
> Jasper trying to write a temporary file in whatever directory I started
> Jboss from. Keep in mind I have jboss running as a "jboss" userid.
>
> The simple solutions are start jboss from a directory where that user
> can write, or open that directory up to that user for write privleges.
> I'd rather have a better solution of how to direct JBoss/Tomcat/Jasper
> to write to a directory of my choosing to which I've given my "jboss"
> userid permission to write.
>
> I've tried editing
> $JBOSS_HOME/server/default/deploy/jbossweb-tomcat41.sar/web.xml to add a
> scratchdir parameter for Jasper, with no luck. I've also played around
> with $JBOSS_HOME/server/default/deploy/properties-service.xml to try and
> set the java.io.tmp property, which also didn't work.
>
> I've also tried searching all the jboss doco I have (3.2.1 admin devel
> book) and the forums and have come up empty, and its bugging me because
> I'm thinking this has to be simple. Any help would be appreciated.
>
> Thanks,
>
> Eric
>
> Attached is the snippet of the exception from server.log.
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user