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.
-
Problem with Log4j (1 messages)
- Posted by: Manish Gupta
- Posted on: August 17 2002 09:34 EDT
Threaded Messages (1)
- Problem with Log4j by Matthew Cox on August 20 2002 11:21 EDT
-
Problem with Log4j[ Go to top ]
- Posted by: Matthew Cox
- Posted on: August 20 2002 11:21 EDT
- in response to Manish Gupta
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?