Classloader problem

View: New views
2 Messages — Rating Filter:   Alert me  

Classloader problem

by DarkIT :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I asked this question when there's 1.5.x version of rife.
is it possible to solve classlaoder problem - i have rife application
and for example spring configuration which i load from spring
ContextLister.
And when i work from spring beans from rife , i get classloader
errors, for example :

java.lang.LinkageError: loader constraint violation: loader (instance
of org/apache/catalina/loader/WebappClassLoader) previously initiated
loading for a different type with name "org/apache/xerces/util/
SymbolHash"

Is there a way ?

Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Classloader problem

by Geert Bevin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


This problems sounds like you have different and/or different versions  
of Xerces on your classpath. Check if the jar in not present several  
times, for instance once for the servlet container and maybe also in  
your app?

On 12 Dec 2007, at 20:19, DarkIT wrote:

>
> Hi,
>
> I asked this question when there's 1.5.x version of rife.
> is it possible to solve classlaoder problem - i have rife application
> and for example spring configuration which i load from spring
> ContextLister.
> And when i work from spring beans from rife , i get classloader
> errors, for example :
>
> java.lang.LinkageError: loader constraint violation: loader (instance
> of org/apache/catalina/loader/WebappClassLoader) previously initiated
> loading for a different type with name "org/apache/xerces/util/
> SymbolHash"
>
> Is there a way ?
>
> Thank you.

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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 
 
 
Google
rifers.org web