A different approach would be to configure Jboss's log4j to log to a file
somewhere that you know the path of.

/Anders

On Fri, Oct 9, 2009 at 09:23, <[email protected]> wrote:

> Hi,
>
> in our Continuous Build System we have some integration / regression
> tests, running against a deployed (JBoss) application.
> All I know of this application is the JNP Url, which is always the same.
>
> The directory, where this system is deployed is "dynamically" and created
> by concatenation of buildversion, port, database system and so  on,
> for examle: OurProduct_2.8.1.xxx_Oracle_Port_57080 - the deployment is
> done by an external tool so I couldnt change this.
>
> Is there any way, to come from this JNP Url to the directory (path) where
> this system is running? ("jboss.home.dir")
> I need this information to copy the server.log files from there via scp
> for example back to the client, where the tests are running.
>
> I know that I can get a lot of data from JBoss via the JMX Console - but
> how can I do this call(s) from within Maven?
> Do i have to write my own plugin os is there any available?
>
> Thanx,

Reply via email to