[gatein-dev] An exception while starting Tomcat

Thomas Heute theute at redhat.com
Tue Mar 2 12:01:39 EST 2010


I plead guilty :-/

I commited that way when merging from my branch, not sure what happened...

I've committed the 'fix'.

Sorry...

On 03/02/2010 03:10 PM, Nicolas Filotto wrote:
>
>
> On Tue, Mar 2, 2010 at 2:58 PM, Marek Posolda <mposolda at redhat.com 
> <mailto:mposolda at redhat.com>> wrote:
>
>     Nicolas Filotto wrote:
>>
>>
>>     On Tue, Mar 2, 2010 at 11:46 AM, Marek Posolda
>>     <mposolda at redhat.com <mailto:mposolda at redhat.com>> wrote:
>>
>>         I tried to look at this since I need to test performance and
>>         failover with JBoss Cache and I need to have
>>         org.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl
>>         to be used as implementation of ExoCacheFactory.
>>
>>         It seems that it's really curious but fix can be donne in
>>         file
>>         portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml
>>         by
>>
>>         -		<type>org.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl
>>         -		</type>
>>         +<type>org.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl</type>
>>
>>              
>>
>>         Note: Maybe it will be good to fix it in eXo kernel so that
>>         it will call "trim" on Strings with class names?
>>
>>     FYI: a JIRA has been created for that
>>     https://jira.jboss.org/jira/browse/EXOJCR-556
>     Thanks. I added myself as a watcher ;-) Can anyone fix
>     portal-configuration.xml in GateIn trunk? I am not commiter.
>
> You should also check the rest of the file, you have many issues of 
> the same type such as:
> 		<target-component>org.exoplatform.services.cache.ExoCacheFactory
> 		</target-component>
> ..
> 			<type>org.exoplatform.services.cache.impl.jboss.ExoCacheCreatorPlugin
> 			</type>
> ..
> 		<target-component>org.exoplatform.services.cache.CacheService
> 		</target-component>
> It looks like someone re-formated the code with his IDE

>>
>>
>>
>>         Matthew Wringe wrote:
>>>         FYI, I get the same error in the JBoss version of GateIn, its not just a
>>>         Tomcat problem.
>>>
>>>         On Sat, 2010-02-27 at 20:22 +0700, Trong Tran wrote:
>>>            
>>>>         Hi,
>>>>
>>>>         In the last code of trunk, i have got the following exception while
>>>>         starting Tomcat but it does not prevent at runtime :
>>>>
>>>>         java.lang.ClassNotFoundException:
>>>>         org.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl
>>>>
>>>>              at java.lang.ClassLoader.findClass(ClassLoader.java:437)
>>>>              at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
>>>>              at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
>>>>              at
>>>>         org.exoplatform.container.util.ContainerUtil.addComponents(ContainerUtil.java:153)
>>>>              at
>>>>         org.exoplatform.container.ExoContainer.initContainer(ExoContainer.java:125)
>>>>              at
>>>>         org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:331)
>>>>              at
>>>>         org.exoplatform.container.RootContainer.registerPortalContainer(RootContainer.java:206)
>>>>
>>>>
>>>>         the question is that the
>>>>         org.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl is
>>>>         purpose of using for Tomcat ? If not, i guess we could specify jboss
>>>>         profile for it
>>>>
>>>>
>>>>         -- 
>>>>         Tran The Trong
>>>>         eXo Platform SAS
>>>>         _______________________________________________
>>>>         gatein-dev mailing list
>>>>         gatein-dev at lists.jboss.org  <mailto:gatein-dev at lists.jboss.org>
>>>>         https://lists.jboss.org/mailman/listinfo/gatein-dev
>>>>              
>>>         _______________________________________________
>>>         gatein-dev mailing list
>>>         gatein-dev at lists.jboss.org  <mailto:gatein-dev at lists.jboss.org>
>>>         https://lists.jboss.org/mailman/listinfo/gatein-dev
>>>
>>>            
>>
>>
>>         _______________________________________________
>>         gatein-dev mailing list
>>         gatein-dev at lists.jboss.org <mailto:gatein-dev at lists.jboss.org>
>>         https://lists.jboss.org/mailman/listinfo/gatein-dev
>>
>>
>>
>>
>>     -- 
>>     Nicolas Filotto
>>     JCR Product Manager
>>     Project Manager
>>     eXo Platform SAS
>>     nicolas.filotto at exoplatform.com
>>     <mailto:nicolas.filotto at exoplatform.com>
>>     +33 (0)6 31 32 92 19
>
>
>
>
> -- 
> Nicolas Filotto
> JCR Product Manager
> Project Manager
> eXo Platform SAS
> nicolas.filotto at exoplatform.com <mailto:nicolas.filotto at exoplatform.com>
> +33 (0)6 31 32 92 19
>
>
> _______________________________________________
> gatein-dev mailing list
> gatein-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/gatein-dev
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/gatein-dev/attachments/20100302/98ed7d9d/attachment.html 


More information about the gatein-dev mailing list