Re: Problem with DirectProject JRI
Benoit TELLIER <[email protected]>
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Michael, I'm glad to discover DirectProject JRI packages James 3.2.0. This is a long outdated release. Please see if you can upgrade to James 3.7.4 the latest release. By the way https://github.com/DirectProjectJavaRI/direct-project-stock/blob/master/src/scripts/james3/james-cli.sh seems to carry over only the first 5 arguments in your case stopping at AddUser... Try calling Java directly: java -classpath "james-server-cli.jar:james-server-cli.lib" -Dlogback.configurationFile=conf/logback.xml -Dworking.directory=. org.apache.james.cli.ServerCmd -h localhost -p 9999 AddUser user@domain password Best regards, Benoit TELLIER On 28/04/2023 08:04, Michael Mall wrote: > I recently installed the DirectProject JRI (Java Reference Implementation), > HISP Only Bare Metal implementation following the directions at > https://directprojectjavari.github.io/direct-project-stock/DepHispOnly > > Note that it includes the instruction to add a user using the command > “./james-cli.sh -h localhost adduser username password” from the > “$DIRECT_HOME/apache-james-3.0-beta4/bin” directory. However, I think this > line of instruction just didn’t get updated from the previous JRI > implementation. > > In any case, I tried to add a user using the following command. > > ./james-cli.sh -h localhost -p 9999 AddUser user@domain password > > But, upon doing so, I get the following error saying I didn’t execute the > command correctly, > > AddUser should be used with 3 arguments but only 1 were provided > > AddUser <username> <password> > > Followed by the help menu. I don’t know where to find any additional info > in log files. I’m not sure how to troubleshoot from here. > > > Any assistance will be greatly appreciated. > > > Sincerely, > > > Michael E. Mall > > > > iShare Medical > 6320 Brookside Plaza, Suite 248 > Kansas City, Missouri 64113 > 816-249-2555, Ext. 104 > [email protected] >