Reputation: 16795
I need to create my own JBoss configuration. It will be a little changed "web" configuration. Is there any documentation or tutorials - how to do it?
What I need in new configuration:
1. Remove JSF implementation included in the JBoss Application Server
How to do it - http://community.jboss.org/wiki/RemoveJSF
2. Add possibility to use twiddle in customized "web" configuration.
How to do it - modify jboss-service.xml.
Replace attribute
<attribute name="Port">-1</attribute>
with following attribute
<attribute name="Port">
<value-factory bean="ServiceBindingManager" method="getIntBinding">
<parameter>jboss:service=Naming</parameter>
<parameter>Port</parameter>
</value-factory>
</attribute>
for mbean
<mbean code="org.jboss.naming.NamingService"
name="jboss:service=Naming"
xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
3. Remove server/web/deploy/hsqldb-ds.xml
4. ...in process...
PS.
Does anyone know - why supoort of twiddle was disabled for web configuration?
Upvotes: 2
Views: 2909
Reputation: 1381
You can find information related to removing unused services in JBoss 5 in the JBoss 5.x Tunning/Slimming guide.
On the other hand, twiddle can be used with the web profile, what do you mean when you say it's not supported? But it cannot be used with the minimal configuration since the services twiddle relies on are disabled in this configuration.
Upvotes: 0
Reputation: 2600
To customize your own JBoss configuration that is based on the web configuration:
copy $JBOSS_HOME/server/web to $JBOSS_HOME/server/my_config
customize the configuration by editing the configuration files in my_config
start you new configuration by running
$JBOSS_HOME/bin/run.sh -c my_config
or
%JBOSS_HOME%/bin/run.sh -c my_config
Upvotes: 1
Reputation: 3844
Does this help - http://www.murraywilliams.com/computers/buildjboss/jboss3.html ?
Upvotes: 1