Mar 5th, 2009, 09:24 AM
Log 4j errror in Dm 1.0.2
i am getting the following error
i have included the following jars in all combinations(both in ext and in usr) and still no luck
my application has has import to package org.apache.log4j.xml and i also c the export for the same package in the above jar.
This worked in the previous version of spring dm .
Mar 5th, 2009, 11:10 AM
Strange . . .
Where did you get commons-logging-1.0.4.jar bundle?
Mar 5th, 2009, 11:14 AM
i converted the commons logging jar which my application earlier used using Bnd tool
Mar 5th, 2009, 05:07 PM
I was trying to replicate your error and so far unsuccessfully. . .
Is there a reason why you have to use your version of commons logging?
DM Server comes pre-bundled with commons logging. It is also available from S2 Bundle repository http://www.springsource.com/reposito...ommons+logging
In any event, could you post your bundle so I can try to reproduce your error with your bundle?
Mar 6th, 2009, 12:21 AM
The only way i got it working is
now by deleting this jar from the repository/ext
i think this nature is because of similar package structure in both the jars , the above one and log4j
Mar 6th, 2009, 12:36 AM
To add little bit more on the above packages share org.apache.log4j .
Hence since the one from repository if first resolved.
whenever there is request for any class in org.apache.log4j package
it only looks for com.springsource.slf4j.org.apache.log4j-1.5.6.jar
and classes in the log4j.jar are ignored , giving a class not found error.
Apr 3rd, 2009, 06:49 AM
Does this solve problem
Is file deleting only solution to this problem ?
Apr 4th, 2009, 12:33 AM
i could not figure out any other solution .. if u find any please let m eknoe ..