RE: Problem running OpenJMS as a non-root user on Linux [SOLVED]

"Johan Hallgren" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <3834E2B49C8B5342837E7D6F68E8D21922B0A6@apiexchsrv19.APIMEM.apiparts.com>
Rebuilding that jar with your suggested log4j.properties change did indeed fix the issue.

Thanks,
Johan H

-----Original Message-----
From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org on behalf of Tim Anderson
Sent: Sun 12/4/2005 6:12 AM
To: [email protected]
Subject: RE: [openjms-user] Problem running OpenJMS as a non-root user on Linux
 
The log4j.properties file in the openjms-0.7.7-alpha-1.jar is incorrect.
There are two lines in it:
  log4j.appender.STDOUT=org.apache.log4j.FileAppender
  log4j.appender.STDOUT.File=System.out

These should be:
    log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender

-Tim 
 
  _____  

From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Johan
Hallgren
Sent: Friday, 2 December 2005 12:46 PM
To: [email protected]
Subject: [openjms-user] Problem running OpenJMS as a non-root user on Linux



Hi list,

I am running OpenJMS 0.7.7-alpha-1 on Debian Sarge. So far, I've been
running it as root, but thought it would be a good idea to change to run as
a non-privileged user before deploying it in production. So, I went ahead
and changed ownership of the OpenJMS directory and all its files to a
regular user and launched $OPENJMS_HOME/bin/startup.sh as that user.
However, when doing that, I get this error:

[snip]
winmail.dat (application/ms-tnef, 3.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.