Running apacheds as a standalone
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > Running apacheds as a standalone




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Running apacheds as a standalone  
Nick Faiz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 07:45 AM

Hi,

There's now a maven goal in the main module called 'standalone'.

Thus, 'maven standalone' will produce an apacheds-standalone.zip, holding

- all required dependencies in a /lib dir.
- apacheds-server.sh and apacheds-server.bat scripts, which set up the
server using a default spring config. file (apacheds-server.xml). They
also create a logs dir, holding an apacheds.log file. They use memory
arg.s also - the min heapsize is 128M and the max is 256M.
- you can override the default spring default file by including an
argument after the call to apacheds-server

thus 'apacheds-server.sh foo.xml' would use the foo.xml Spring config. file.

Please note that the apacheds-server.bat file might need work. I dont
have time to access a Windows machine running subversion to test it, but
it looks okay. If someone is using Windows and feels like duplicating
what they see in apacheds-server.sh (or improving both), then please do
so.  Please feel free to improve them, this is only a first step but
it seems to cover basic standalone needs.

Best of all, newcomers need only build the standalone and execute the
standalone script without having to think about configuring the server
or editing a Spring config. file.

Lastly, the log4j.properties file is now excluded from the typical jar
of ApacheDS, to prevent it from conflicting with parent applications in
an embedded situation. The standalone build includes a log4j.properties.

I think that's it. If anyone has any questions, feedback, or
suggestions, please let me know.

Cheers,
Nick

--
ATLASSIAN - http://www.atlassian.com/

Confluence - the enterprise wiki - tried it yet?
http://www.atlassian.com/confluence/
--






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:35 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register