Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tomcat: External Log Configuration
Tomcat: External Log Configuration [message #1383930] Tue, 27 May 2014 09:14 Go to next message
Tobias P. is currently offline Tobias P.Friend
Messages: 43
Registered: April 2012
Member
Hello guys,

I dont know if you can help me, but lets try it anyways. We are deploying our RAP Application as a WAR and deploy it into tomcat.

Inside the Application we are using SLF4j and Logback and are contributing or Logback configuration via a Bundle Fragment, which works fine.

No one Requirement from the hoster is the following (Translated from German):

"In order to ensure effective operation even in case of failure it is necessary to change that logging outside the archive.
This means that the configuration file must also lie outside the war-archives."

As far as I unterstand this is not possible due to the nature of OSGi and its Classpath handling.

Anyone has experienced an familiar setup?

Regards,
Tobias Placht
Re: Tomcat: External Log Conf iguration [message #1384024 is a reply to message #1383930] Tue, 27 May 2014 21:56 Go to previous messageGo to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
Tobias P. <forums-noreply@xxxxxxxx> wrote:
> Hello guys,
> I dont know if you can help me, but lets try it anyways. We are deploying
> our RAP Application as a WAR and deploy it into tomcat.
> Inside the Application we are using SLF4j and Logback and are
> contributing or Logback configuration via a Bundle Fragment, which works fine.
> No one Requirement from the hoster is the following (Translated from German):
>
> "In order to ensure effective operation even in case of failure it is
> necessary to change that logging outside the archive. This means that the
> configuration file must also lie outside the war-archives."
>
> As far as I unterstand this is not possible due to the nature of OSGi and
> its Classpath handling.
> Anyone has experienced an familiar setup?
>
> Regards,
> Tobias Placht

Maybe you can include apache file install as bundle in your war. Then
configure the path to load bundles from and place your fragment there
(should also work if the fragment is a directory). Hot deployment does not
always work correctly, but for your requirement you can give it a try.

http://felix.apache.org/site/apache-felix-file-install.html
Re: Tomcat: External Log Conf iguration [message #1444628 is a reply to message #1384024] Tue, 14 October 2014 10:32 Go to previous message
Aleksander   is currently offline Aleksander Friend
Messages: 44
Registered: May 2014
Location: France
Member
No Message Body

[Updated on: Wed, 15 October 2014 14:48]

Report message to a moderator

Previous Topic:how to add a login form to the e4 application on rap
Next Topic:RAP 2.3 RC1 Calendar widget inconsistent presentment via Links
Goto Forum:
  


Current Time: Thu Apr 25 22:19:58 GMT 2024

Powered by FUDForum. Page generated in 0.02923 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top