Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tomcat: External Log Configuration
Tomcat: External Log Configuration [message #1383930] Tue, 27 May 2014 05:14 Go to next message
Eclipse UserFriend
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 17:56 Go to previous messageGo to next message
Eclipse UserFriend
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 06:32 Go to previous message
Eclipse UserFriend
No Message Body

[Updated on: Wed, 15 October 2014 10:48] by 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: Sat Aug 30 14:02:29 EDT 2025

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

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

Back to the top