I kept run into ClassNotFoundException of org.apache.log4j,

When developing BC and running the test through spring.xml (like
servicemix.xml),
it's a BUILD SUCCESS. But after setup SU, zipped in SA, deployed, still got
ClassNotFoundException.

Test 1: put log4j.jar into the [smx]/lib/ and restart servicemix doesn't
help.
Test 2: try to manually load class("org.apache.log4j") first in my Binding
Component. The same exception showed.

I wonder if the classloading mechanism is different between lwcontainer and
the container of smx?

-----
Industrial Technology Research Institute
Rm. 226 Bldg. 14, 2F, 195, Sec. 4, Chung Hsing Rd.,
Chutung, Hsinchu, Taiwan 31040, R.O.C.
--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Diff-in-classloading-of-lwcontainer-and-the-container-of-smx-4-3-tp4615171p4615171.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to