JBoss Community

LocalizationFilter exception

created by Needa Peshimam in Beginner's Corner - View the full discussion

Hi All,

I have downloaded and extracted the JBoss epp version 5.2. My OS is windows 7. after doing certain configuration I started the JBoss at local host and types "localhost:8080/portal" to start the portal. but unfortunately encountered with the following error.

 

java.lang.RuntimeException: LocalizationFilter exception:

org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:183)

org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)

org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)

org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

 

 

 

root cause

java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.organization.OrganizationService type=org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl found at jndi:/localhost/portal/WEB-INF/conf/organization/idm-configuration.xml
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:134)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.portal.application.localization.LocalizationFilter.getUserProfileLocale(LocalizationFilter.java:215)
     org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:159)
     org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

 

 

 

root cause

java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.organization.idm.PicketLinkIDMService type=org.exoplatform.services.organization.idm.PicketLinkIDMServiceImpl found at jndi:/localhost/portal/WEB-INF/conf/organization/idm-configuration.xml
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:134)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.portal.application.localization.LocalizationFilter.getUserProfileLocale(LocalizationFilter.java:215)
     org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:159)
     org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

 

 

 

root cause

java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.database.HibernateService type=org.exoplatform.services.database.impl.HibernateServiceImpl found at jndi:/localhost/portal/WEB-INF/conf/organization/idm-configuration.xml
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:134)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.portal.application.localization.LocalizationFilter.getUserProfileLocale(LocalizationFilter.java:215)
     org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:159)
     org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

 

 

 

root cause

java.lang.reflect.InvocationTargetException
     sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:417)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.portal.application.localization.LocalizationFilter.getUserProfileLocale(LocalizationFilter.java:215)
     org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:159)
     org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

 

 

 

root cause

java.lang.ClassCastException: org.jnp.interfaces.NamingContext cannot be cast to javax.sql.DataSource
     org.exoplatform.services.database.impl.HibernateServiceImpl.<init>(HibernateServiceImpl.java:149)
     sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:417)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
     org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
     org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
     org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
     org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
     org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
     org.exoplatform.portal.application.localization.LocalizationFilter.getUserProfileLocale(LocalizationFilter.java:215)
     org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:159)
     org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

Can anyone help me to understnd what has gone wrong? The similar steps are been followed at Windows XP SP2 and portal is running fine but its not running on my machine i.e. Windows 7.Any help will be appreciated

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community