Brian Kalbfus created SYNAPSE-1110:
--------------------------------------

             Summary: sample axis2Server.sh calls java in PATH instead of 
$JAVA_HOME/bin
                 Key: SYNAPSE-1110
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1110
             Project: Synapse
          Issue Type: Bug
          Components: Deployment
    Affects Versions: 3.0.1
         Environment: Linux  4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5 
(2019-08-11) x86_64 GNU/Linux
            Reporter: Brian Kalbfus
            Assignee: Isuru Udana Loku Narangoda


I have openJDK11 installed on my PATH in linux.  Setting JAVA_HOME to my 
openJDK8 directory, I run samples/axis2Server/axis2Server.sh and it complains 
that -Djava.endorsedDirs is invalid and I need to use modules.  It is actually 
running java from the openJDK11 installation that it found on the PATH.

 

The last line of axis2Server.sh is calling java without any directory 
qualifying it.  I see that this is fixed in bin/synapse.sh.   When I changed 
this in the sample axis2Server.sh, it ran fine.

 

The last command in the script was like:

java .....

It should be:

$JAVA_HOME/bin/java ....



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to