Yeah, I think what is happening is run-time configs
are saved back to this file when the server is shut
down. If you create a new datasource entry, for
example, and only provide the URL, Username, and
Password, then start the server, then shut down, when
you look again at the file it will have the other
configs that the runtime was using...

Makes sense?

Vaughn

From: Robert Schulz <[EMAIL PROTECTED]>  | Block
address 
To: "'jBoss'" <[EMAIL PROTECTED]> 
Subject: RE: [jBoss-User] jboss.jcml gets
over-written. 
Date: Wed, 29 Nov 2000 19:12:48 +1100 
Reply-to: "jBoss" <[EMAIL PROTECTED]> 
        Add Addresses  

I noticed that too - rather annoying if you loose a
working config ;-(

The jboss.jcml file seems to contain attribute/value
pairs for stuff
setup in jboss.conf (eg. username passwd for a
datasource).

jboss.conf seems to be the master config - if, say,
you remove
the datasource from jboss, the relating entries in
jboss.jcml
get wiped. In turn, when you add a new datasource, you
get an empty
set of attributes for this datasource - this leads to
a rather 
annoying if you change the name of the datasouce in
jboss.conf
and you forget to set the name in jboss.jcml.

I now have the habit to backup all conf files before
making any 
change ...

R.

> -----Original Message-----
> From: Jason Dillon [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 29 November 2000 17:17
> To: [EMAIL PROTECTED]
> Subject: [jBoss-User] jboss.jcml gets over-written.
> 
> 
> Hello, I just started playing with jBoss v2.0 today
and found that
> sometimes jboss.jcml gets overwritten... and I was
wondering why this
> happens.
> 
> I was also curious what the differences between
jboss.conf 
> and jboss.jcml
> are.  They seem to contain similar entries, only
jboss.jcml 
> seems to be
> more well-formed xml with more descriptive entries
for mbean
> configuration.
> 
> I spent a few hours just trying to figure out how to
get an 
> oracle data
> source installed because of the confusion (and
rather inconsistent
> documentation).
> 
> I was finally able to deploy a few of the beans that
we are currently
> using with WebLogic under jBoss, which is good...
since WL is way to
> expensive for the quantity of servers which will be
running a
> container.  I am a little frustrated at the poor 
> documentation and lack of
> a GUI/web admin and configuration tool though.
> 
> Perhaps I will have better luck tomorrow =)
> 
> --jason
> 
> 
> 
> --
>
--------------------------------------------------------------
> To subscribe:       
[EMAIL PROTECTED]
> To unsubscribe:     
[EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 


--
--------------------------------------------------------------
To subscribe:       
[EMAIL PROTECTED]
To unsubscribe:     
[EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to