portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woonsan Ko <woon_...@yahoo.com>
Subject Re: Repost Jetspeed2 error
Date Fri, 11 Dec 2009 17:31:57 GMT
Did you keep only one portlet-api jar in the shared lib folder of your Tomcat?
Every web application should not have that jar in its own lib folder.

Woonsan



----- Original Message ----
> From: "Smith, Nathan" <nsmith@ahbelo.com>
> To: Jetspeed Developers List <jetspeed-dev@portals.apache.org>
> Sent: Fri, December 11, 2009 5:23:20 PM
> Subject: Re: Repost Jetspeed2 error
> 
> The portlet jar was in the WEB-INF/lib directory of the pa project.  
> Unfortunately, upon removal the error(s) still persist.
> 
> 
> On Dec 10, 2009, at 5:10 PM, David Sean Taylor wrote:
> 
> > 
> > 
> > On Dec 7, 2009, at 12:46 PM, Smith, Nathan wrote:
> > 
> >> I'm trying to run my portal-app on Jetspeed 2.2.0.  It is configured  
> >> similar to the Jetexpress example with the exception that I'm using  
> >> Spring 3 to create my portlet(s) and control the dispatching.  Could  
> >> this create problems for Jetspeed?  I'm at a loss as to what else I  
> >> might need to configure within Jetspeed to get this running.  
> >> Responses would be greatly appreciated.
> >> 
> >> I receive the following error(s):
> >> 
> >> nested exception is  
> >> org.springframework.beans.factory.BeanCreationException: Error  
> >> creating bean with name 'portletFactory' defined in ServletContext  
> >> resource [/WEB-INF/assembly/registry.xml]: Initialization of bean  
> >> failed;
> >> 
> >> nested exception is java.lang.LinkageError: loader constraint  
> >> violation: loader (instance of org/apache/catalina/loader/ 
> >> StandardClassLoader) previously initiated loading for a different  
> >> type with name "javax/portlet/PreferencesValidator"
> > 
> > 
> > Is it possible that you linked in the Java Portlet API jar in your  
> > portlet application? Its already provided and should not be  
> > distributed in your WEB-INF/lib directory of your webapp
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org



      

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message