Problem with Log4j

Discussions

General J2EE: Problem with Log4j

  1. Problem with Log4j (1 messages)

    Hi,
     I am trying to deploy a JCA adapter in websphere 5.0. The adapter uses log4j for logging. The properties file for log4j is in the form of XML. When the server tries to create a connection, it gives the following error.
    Root exception is
    javax.resource.ResourceException: The prefix "log4j" for element "log4j:configuration" is not bound.

    Can anybody help in resolving this problem.

    Regards.
    Manish.

    Threaded Messages (1)

  2. Problem with Log4j[ Go to top ]

    does you file start with:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

    and do you have the dtd in the same dir as the config xml file?