QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I configure Jakarta Commons Logging to natively use x4juli ?

x4juli - Extensions for the java.util.logging implementation
Second part: You have to make Jakarta Commons Logging use the x4juli JCLFactory. There are two possibilities: Specify a system property on your jvm startup (script): -Dorg.apache.commons.logging.LogFactory=org.x4juli.JCLFactory or put in an commons-logging.properties file in your classpath with org.apache.commons.logging.LogFactory=org.x4juli.JCLFactory property line in the file.

How do I configure Simple Logging Facade for Java (slf4j) to natively use x4juli ?

x4juli - Extensions for the java.util.logging implementation
x4juli delivers all necessary classes as specified on http://slf4j.org/faq.html section "Implementing the SLF4J API". You simply have to remove all sl4fj-xxxxx.jar from the classpath.

How do I use Jakarta Commons Logging and Simple Logging Facade for Java API?

x4juli - Extensions for the java.util.logging implementation
This is an x4juli FAQ. Please have a look at the project pages for their documentation regarding usage in user code.

How do I configure Jakarta Tomcat to work with x4juli ?

x4juli - Extensions for the java.util.logging implementation
This description is based on Tomcat 5.5.12. First rename x4juli-x.x.jar to tomcat-juli.jar and put it in {tomcat_installation_directory}/bin (you have to overwrite the existing file).

I am familiar with Jakarta Commons Logging and/or slf4j. How is the relationship?

x4juli - Extensions for the java.util.logging implementation
x4juli provides a native implementation for org.apache.commons.logging.Log interface and for the org.slf4j.Logger interface. x4juli uses the standard way of each facade to implement the corresponding factory. In case of Jakarta Commons Logging you still have to use the originally provided jar and put an config entry in the right place (System property or config.file). In case of slf4j you have to do nothing but remove all other sl4fj-xxxxx.jar files from the classpath.

How do I configure x4juli?

x4juli - Extensions for the java.util.logging implementation
This is one part different to all other logging frameworks and the one which has to be improved most. Currently there is one sample (x4juli-standalone) delivered with x4juli. Please have a look at it for commented configuration. first you have to put the x4juli-x.x.jar on the system classpath. It is not enough(!) to have it on a depending classpath, i.E. in WEB-INF/lib in an webapplication. (This construction was invented by SUN for the java.util.

Can I use Coverlipse on a project that uses Java Commons Logging?

Coverlipse FAQ
Long answer: Java Commons Logging introduces a classloader hell that is discussed to some extend by the author of Log4J here and here. Thus, Coverlipse adds the Java Commons Logging package to those handled by the system classloader. This way, projects that use Java Commons Logging can be tested with Coverlipse. However, it is not possible to test the Java Commons Logging itself with coverage by Coverlipse. Again, this is a problem occurring only with Eclipse 3.0.

Can Jakarta use Microsoft's JVM?

jGuru: Tomcat FAQ
Out of the box -- probably not unless MS started shipping the RMI classes. There's a little bit of RMI used in the admin of Tomcat. Other than that, it should run just fine. IBM has apparently packaged up the RMI classes missing from the Microsoft JVM and is distributing them at http://www.alphaworks.ibm.com/formula/RMI.

What is x4juli?

x4juli - Extensions for the java.util.logging implementation
The Extensions for the java.util.logging implementation (x4juli) provide more handlers, formatters and filters behind java.util.logging. x4juli provides a native implementation for a widely used logging facade, Jakarta Commons Logging and also for the new Simple Logging Facade for Java.

How can I get to Jakarta?

Frequently Asked Questions — UNDP-APDIP International ...
There are many flight options for how to get to Jakarta. Please check with your local agent or on the internet to find a cheap and convenient route. We will meet you at the airport in Jakarta and bring you to the venue. But you will have to inform us of the exact date and time you will arrive and depart from the airport (including the flight number).

top] Should my library attempt to configure logging?

SLF4J FAQ
Embedded components such as libraries do not need and should not configure the logging system. They invoke SLF4J to log but should let the end-user configure the logging environment. When embedded components try to configure logging on their own, they often override the end-user's wishes. At the end of the day, it is the end-user who has to read the logs and process them. She should be the person to decide how she wants her logging configured.

edit] If I start my own commons wiki, how do I set it up, so that my other wikis can use its media?

MediaWiki FAQ - Meta
Have a look at mw:Help:Configuration settings#Shared_uploads or Help:Wiki family for detailed information --Produnis 09:50, 16 April 2006 (UTC)

How do I configure a client to use DHCP?

Environment settings set by a batch file are not working.
Start the Network Control Applet by clicking on Network from Control Panel (Start - Settings - Control Panel) or right click on Network Neighborhood and select Properties Select "Obtain an IP address from a DHCP Service". DHCP settings will only override IP address and subnet mask locally configured. If you have configured DNS, WINS etc locally then the DHCP configuration will not overwrite it.

How do I configure Eudora for use with SpamBayes?

SpamBayes FAQ
Note: The following instructions have been verified using Eudora 5.1 under Windows. If anyone is using Eudora under Mac OS X please let us know if the configuration is the same as Windows. Eudora does not allow configuring the server port through the normal options dialogue. However a large number of options are exposed in an initialization file (eudora.ini) read at startup. The contents of the initialization file are documented by clicking on Help->Topics and searching on EUDORA.

How do I configure cron for DenyHosts use?

DenyHosts Frequently Asked Questions
Presumably, you will need to run DenyHosts as root (in order for DenyHosts to update /etc/hosts.deny and read entries from /var/log), so you first must become root. Once you have either logged in as root (or used su - root, for instance) you can then run the following command: The above command will launch the crontab editor. To launch DenyHosts every 20 minutes you would then add the following line to the crontab: You will need to substitute your site-specific paths above.

How to configure Sandboxie for only an occasional use?

Sandboxie - Frequently Asked Questions
By default Sandboxie is configured to load and start automatically. To have Sandboxie load only when you need it, make the following changes. In Sandboxie Control, open the Configure -> Shell Integration window, and clear the checkbox When Windows starts to stop Sandboxie Control from starting. Open the Windows Services configuration window: Start menu -> Control Panel -> Administrative Tools -> Services. Then locate the Sandboxie Service.

Why use Log::Log4perl instead of any other logging module on CPAN?

Log::Log4perl::FAQ - Frequently Asked Questions on Log::Log4...
That's a good question. There's dozens of logging modules on CPAN. When it comes to logging, people typically think: ''Aha. Writing out debug and error messages. Debug is lower than error. Easy. I'm gonna write my own.'' Writing a logging module is like a rite of passage for every Perl programmer, just like writing your own templating system. Of course, after getting the basics right, features need to be added. You'd like to write a timestamp with every message.

How do I configure my email settings when I use VPN from off-campus?

VPN-FAQ
VPN allows you to use the same email configuration away that you use on campus. See Install and Configure Eudora.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact