-
1. Re: How do I run JBoss 3.2.1 as a non-root user on Linux?
jonlee Jun 5, 2003 5:01 AM (in response to bigdaddy)It is probably still a permissions problem. Tomcat needs to compile your JSPs and it will do this in a temporary directory. In a standalone Tomcat, it will be in a work directory under the Tomcat distribution. But in an embedded instance, I think it will use the /tmp directory. Someone can correct me here as I don't have a captive JBoss-Tomcat Linux install.
In any case, look for JSP files that have been transformed into Java source code and the related classes and that will be where your compilations are going.
For example, if you have a JSP called allocatecosts.jsp, Tomcat/Jasper will be looking to translate it into allocatecosts_jsp.java and compile it into allocatecosts_jsp.class. Jasper is probably complaining that it couldn't write the Java source because it can't overwrite the root-owned instance. -
2. Re: How do I run JBoss 3.2.1 as a non-root user on Linux?
bigdaddy Jun 8, 2003 12:00 PM (in response to bigdaddy)Thanks. Turns out that the RPM I built for installation had two problems and one of them was not setting the ownership on the $JBOSS_HOME/bin directory to "jboss".
Thanks for the assistance. -
3. Re: How do I run JBoss 3.2.1 as a non-root user on Linux?
binary_runner Aug 7, 2003 6:16 AM (in response to bigdaddy)I had some difficulties with JBoss as non-root user too. It did not run and produced strange error msg and core dump. Using strace I've found VM tries to look at /etc/proc. Adding user "jboss" to group "proc" solved the problem. Hope it helps somebody.