This is not a problem, but a well known fact amongst Unix/Linux like
operating systems that a service that requires access to ports below 1024
require the service be run as user "root".

If you want to test JAMES running under a regular user account change all
the service port numbers to something above 1024.



-----Original Message-----
From: Gautam Borah [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 16, 2004 6:49 AM
To: James Users List
Subject: Start up failure


Hi,

I am trying to start james in Linux as a normal user and it could not 
start. I am able to start from the root user. I get the floowing error 
while I start it,

Phoenix 4.0.1
 


James 2.2.0
Remote Manager Service started plain:4555
org.apache.excalibur.containerkit.lifecycle.LifecycleException: 
Component named "pop3server" failed to pass through the Initialization 
stage. (Reason: java.net.BindException: Permission denied).
        at 
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHe
lper.java:289)
        at 
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
eHelper.java:159)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
se(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.r

I have also tried by setting the java policy file by modifying the 
phoenix.sh file as,
RUN_CMD="$JAVA_HOME/bin/java $JVM_OPTS \
    $JVM_OPTS \
    $DEBUG \
*    
-Djava.security.policy=/home/gautam/temm/james/james-2.2.0/bin/p-loader/META
-INF/java.policy 
\*
    $PHOENIX_JVM_OPTS \
    -Dphoenix.home="$PHOENIX_HOME" \
    -Djava.io.tmpdir="$PHOENIX_TMPDIR" \
    -jar "$PHOENIX_HOME/bin/phoenix-loader.jar" $*"

After setting the policy file to grant all permissions, it still failed. I
am using james-2.2.0.

Could you please help me solve this problem.

Thanks and regards,
Gautam



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to