You can create as many custom configurations as you like in
${JBOSS_HOME}/conf. Don't mess with conf/default. Just copy its
contents to a new directory, say conf/custom. Then remove the services
you don't need from conf/custom/jboss.jcml.
Pass the name of your configuration to the startup script. On Unix...
$ cd ${JBOSS_HOME}/bin
$ sh run.sh custom
Watch the output for any errors due to missing "things that jboss
needs". Actually, most of the "things that jboss needs" are in
jboss.conf, which you shouldn't have to touch. The errors you might see
at startup are due to dependencies between the things *you* need listed
in jboss.jcml. For example, an XADataSourceLoader will complain if you
don't have a TransactionManagerService listed before it in jboss.jcml.
David Ward wrote:
>
> True, but people (including me) are afraid of commenting things out that
> jboss needs. It would be nice if there was a copy of the most trimmed
> down jboss.jcml possible for download off the jboss site. Does anyone
> have one of these?
>
> --
>
> Per Lewau wrote:
>
> > On Wed, 23 May 2001, Saint-Martin Cecile wrote:
> >
> >
> >> Hi,
> >>
> >> I wonder is there a way to configure JBoss not to start all services
> >> when it starts (InstantDB, XADataSource, etc...) ? We can stop them by
> >> Agent View on port 8082, but we want JBoss to start with a minimal
> >> number of services.
> >
> >
> > Just comment out the things you don't want in conf/default/jboss.jcml.
> >
> >
> > -----------------------------------------------------------------------
> > Per Lewau ([EMAIL PROTECTED])
> >
> > "Why waste time learning, when ignorance is instantaneous?"
> > - Hobbes
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
> --
>
> -----------------------------------------------------------------------
> David Ward [EMAIL PROTECTED]
> Senior Software Engineer http://www.dotech.com
> Distributed Object Technologies, Inc. 716-381-8320 (phone)
> 500 Linden Oaks, Rochester, NY 14625 716-381-0598 (fax)
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user