Issue Details (XML | Word | Printable)

Key: DIRSERVER-285
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Alex Karasulu
Reporter: Simon Temple
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

JBoss 3.2 ApacheDS MBean - contribution from SAA Consultants Ltd (UK)

Created: 22/Nov/05 11:09 PM   Updated: 08/Aug/06 03:41 AM
Return to search
Component/s: sar
Affects Version/s: 1.0-RC1
Fix Version/s: 1.0-RC3, 1.0-RC2, 1.0-RC1

Time Tracking:
Not Specified

File Attachments:
  Size
Zip Archive Licensed for inclusion in ASF works apache-server-sar.zip 2006-03-10 07:25 PM Simon Temple 13 kB
Environment: JBoss 3.2

Resolution Date: 08/Aug/06 03:41 AM


 Description  « Hide
This small contribution to the project is an MBean implementation of an embedded server with optional wire protocol support for JBoss 3.2

I've tested this with JBoss 3.2.2RC2 and JDK 1.4.1_03 and 1.4.2_07 so far running with 0.9.4 SNAPSHOTs

To install simply copy the directory.sar folder into the JBoss deploy folder.

There are a few simple methods on the MBean:

    changedEmbeddedAdminPassword() - used to stop the log4j warning about using the default admin password
    flushEmbeddedServerData()
    DirContext openDirContext() - becuase the Mbean can be configured to hold context information of embedded and none-embedded servers, this method can be called to always return a valid DirContext without the user having to know the connection details


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #374226 Thu Feb 02 02:41:00 UTC 2006 akarasulu Inital commit of Simon Temple's jboss sar contribution with some cleanup. I
have not tried this yet - too busy patching the sar plugin for m2 to make it
not include every dependency imaginable. Now it works though and has been
deployed to the mojo repo. This was given as an attachment in DIREVE-309:

http://issues.apache.org/jira/browse/DIREVE-309

TODO:
 o the code in mbeans needs some cleanup and checks
 o this needs to be tested to make sure the generated sar actually works
Files Changed
ADD /directory/trunks/apacheds/simple/sar/src/main/java/org/apache/directory/server/jmx/DirectoryServiceMBean.java
ADD /directory/trunks/apacheds/simple/sar/pom.xml
ADD /directory/trunks/apacheds/simple/sar/src/main/java/org/apache/directory/server/jmx/DirectoryService.java
ADD /directory/trunks/apacheds/simple/sar/src/main/java/org/apache/directory/server
ADD /directory/trunks/apacheds/simple/sar/src/main/java/org/apache/directory/server/jmx
ADD /directory/trunks/apacheds/simple/sar/src/main/java/org
MODIFY /directory/trunks/apacheds/simple/pom.xml
ADD /directory/trunks/apacheds/simple/sar/src/main/java/org/apache/directory
ADD /directory/trunks/apacheds/simple/sar/src/main/resources
ADD /directory/trunks/apacheds/simple/sar/src
ADD /directory/trunks/apacheds/simple/sar/src/main/java/org/apache
ADD /directory/trunks/apacheds/simple/sar/src/main/resources/META-INF/jboss-service.xml
ADD /directory/trunks/apacheds/simple/sar/src/main/java
ADD /directory/trunks/apacheds/simple/sar/src/main/resources/META-INF
ADD /directory/trunks/apacheds/simple/sar/src/main
ADD /directory/trunks/apacheds/simple/sar