Hey, that's a familiar error.

Fred, make sure that you restart Tomcat after disabling RIFE classloader.

Eddy
--
http://priscimon.com/blog
http://coding.mu



Quoting Geert Bevin <[EMAIL PROTECTED]>:

Hi Fred,

if you're getting that with the RIFE classloader disabled, the culprit
must be something else. I would try putting Log4J and similar general
purpose libraries in the common/endorsed Tomcat directory and see if
that changes something. Also, make sure you have no other jars in your
system-wide classpath or Tomcat classpath that could cause conflicts
(same lib, other version for instance).

Hope this helps,

Geert

On 28 Sep 2006, at 23:20, Fred Baube wrote:

Are you sure you have a site that is setup through your participants?

Do you mean, the site is configured in XML and not on-the-fly ?
Yes, that is the case.

I tried a new Tomcat installation, and now I'm getting a new
weird exception, with Rife's classloader disabled.  This is
one example of the weird things that I have been getting.

fred


Sep 29, 2006 12:09:27 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter RIFE
java.lang.RuntimeException: java.lang.LinkageError: Class org/apache/log4j/spi/LoggerRepository violates loader constraints at com.uwyn.rife.rep.BlockingRepository.detectParticipantException(BlockingRepository.java:703) at com.uwyn.rife.rep.BlockingRepository.runParticipants(BlockingRepository.java:679) at com.uwyn.rife.rep.BlockingRepository.initialize(BlockingRepository.java:793)
at com.uwyn.rife.servlet.RifeLifecycle.init(RifeLifecycle.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.uwyn.rife.servlet.RifeFilter.init(RifeFilter.java:71)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
[..]

Caused by: java.lang.LinkageError: Class org/apache/log4j/spi/LoggerRepository violates loader constraints
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.apache.log4j.Category.addAppender(Category.java:152)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:605) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:524) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:408) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:94)
at org.apache.jackrabbit.core.TransientRepository.<clinit>(TransientRepository.java:55)
at wa.rep.MdcJcrTester.initialize(MdcJcrTester.java:97)
at com.uwyn.rife.rep.BlockingParticipant.run(BlockingParticipant.java:252)
       ... 1 more


--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to