-
1. Re: Minimal JBoss 5.1.0.GA with Tomcat?
peterj May 21, 2010 10:42 AM (in response to joffer)1 of 1 people found this helpfulInstead, start with the 'web' configuration - that is JSP/servlet support plus JCA. Then if you do not need database access, try removing JCA (all files with 'jca' or 'jdbc' in their names.)
-
2. Re: Minimal JBoss 5.1.0.GA with Tomcat?
joffer May 21, 2010 10:53 AM (in response to peterj)I teamed up with one of the developers at work and we started to strip the 'web' profile and got a decent minimal profile.
This is what we've done:
diff -r web-minimal\conf\jboss-service.xml web\conf\jboss-service.xml
37a38,59
> <!-- JSR-77 Single JBoss Server Management Domain -->
> <!-- ==================================================================== -->
> <mbean code="org.jboss.management.j2ee.LocalJBossServerDomain"
> name="jboss.management.local:j2eeType=J2EEDomain,name=Manager">
> <attribute name="MainDeployer">jboss.system:service=MainDeployer</attribute>
> <attribute name="SARDeployer">jboss.system:service=ServiceDeployer</attribute>
> <attribute name="EARDeployer">jboss.j2ee:service=EARDeployer</attribute>
> <attribute name="EJBDeployer">jboss.ejb:service=EJBDeployer</attribute>
> <attribute name="RARDeployer">jboss.jca:service=RARDeployer</attribute>
> <attribute name="CMDeployer">jboss.jca:service=ConnectionFactoryDeployer</attribute>
> <attribute name="WARDeployer">jboss.web:service=WebServer</attribute>
> <attribute name="CARDeployer">jboss.j2ee:service=ClientDeployer</attribute>
> <attribute name="MailService">jboss:service=Mail</attribute>
> <attribute name="JMSService">jboss.mq:service=DestinationManager</attribute>
> <attribute name="JNDIService">jboss:service=Naming</attribute>
> <attribute name="JTAService">jboss:service=TransactionManager</attribute>
> <attribute name="UserTransactionService">jboss:service=DistributedTransactionManager</attribute>
> <attribute name="RMI_IIOPService">jboss:service=CorbaORB</attribute>
> <depends>jboss.system:service=MainDeployer</depends>
> </mbean>
>
> <!-- ==================================================================== -->
Only in web\deploy: ejb3-container-jboss-beans.xml
Only in web\deploy: hsqldb-ds.xml
Only in web\deploy: http-invoker.sar
Only in web\deploy: jboss-xa-jdbc.rar
Only in web\deploy: jmx-console.war
Only in web\deploy: jmx-invoker-service.xml
Only in web\deploy: ROOT.war
The above "Only in web\deploy:..." was deleted from my web-minimal profile, and the config snip was removed.