Below are the steps to create a Custom Profile which Doesn't use Default DS. This profile supports -- web apps & ejb apps as well
Below Services are trimmed down in this profile
1. EJBTimerService - using persistencePolicy=noop
2. JUDDI
3. Key Generator
4. JBoss Messaging
5. JBoss Mail
6. Scheduling
7. Hypersonic DB
8. Turn off hot deployment
Steps to Do
1. In server/node/deploy/ejb2-timer-service.xml
Comment the mbean name="jboss.ejb:service=EJBTimerService (comment the complete mbean )
Comment the depends optional-attribute-name="PersistencePolicy">jboss.ejb:service=EJBTimerService,persistencePolicy=databasedepends
Uncomment the mbean code="org.jboss.ejb.txtimer.NoopPersistencePolicy" name="jboss.ejb:service=EJBTimerService,persistencePolicy=noop"
2 Remove JUDDI
Remove , In server/node/deploy
- juddi-service.sar
In server/
- uuid-key-generator.sar
In server/
- messaging
- jms-ra.rar
In server/
- messaging-definitions-jboss-beans.xml
5. Remove JBoss Mail
In server/
- mail-service.xml
- mail-ra.rar
In server/
- scheduler-manager-service.xml
- scheduler-service.xml
- quartz-ra.rar
Performed these steps
- Remove the libraries hsqldb.jar and hsqldb-plugin.jar from jboss/common/lib/.
- Remove the descriptor for the HSQLDB datasource DefaultDS by deleting deploy/hsqldb-ds.xml;
- In conf/login-config.xml, comment out the
declaration with the name "HsqlDbRealm";
8. Turn off hot deployment
In server/
- hdscanner-jboss-beans.xml