Hi all!
I installed Infoglue 2.3.5 with Apache Tomcat 5.5 and MySQL 4.1. I created my repository and everything was going good. But when I tried to create a new language I get the stack trace I’ve attached at the end (1). After the exception has been thrown all links in InfoGlue will present the same exception. If I sign out and sign in again the system worked normal and the new language appear. I can work with this language in the content tool as normal, but when i try to work with it in the structure tool I got a new exception (2).
Is this a bug or did something go wrong when I installed?
Thanks
(1)
javax.servlet.ServletException: Servlet execution threw an exception
webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:222)
org.infoglue.deliver.portal.dispatcher.DeliveryServletDispatcher.service(DeliveryServletDispatcher.java:66)
org.infoglue.deliver.portal.dispatcher.PortalServletDispatcher.service(PortalServletDispatcher.java:176)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.infoglue.cms.security.InfoGlueAuthenticationFilter.doFilter(InfoGlueAuthenticationFilter.java:155)
org.infoglue.cms.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
org.infoglue.deliver.applications.filters.CacheEvictionFilter.doFilter(CacheEvictionFilter.java:85)
root cause
org.infoglue.cms.exception.ConfigurationError: Unable to find resource bundle: Can't find bundle for base name org.infoglue.cms.applications.PresentationStrings, locale es
org.infoglue.cms.util.SimpleStringManager.<init>(SimpleStringManager.java:62)
org.infoglue.cms.util.StringManagerFactory.getStringManager(StringManagerFactory.java:103)
org.infoglue.cms.util.StringManagerFactory.getPresentationStringManager(StringManagerFactory.java:70)
org.infoglue.cms.util.StringManagerFactory.getPresentationStringManager(StringManagerFactory.java:81)
org.infoglue.cms.applications.common.actions.VelocityServlet.getStringManagerChain(VelocityServlet.java:104)
org.infoglue.cms.applications.common.actions.VelocityServlet.handleRequest(VelocityServlet.java:123)
org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:358)
org.apache.velocity.servlet.VelocityServlet.doPost(VelocityServlet.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
webwork.view.velocity.WebWorkVelocityServlet.service(WebWorkVelocityServlet.java:55)
webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:222)
org.infoglue.deliver.portal.dispatcher.DeliveryServletDispatcher.service(DeliveryServletDispatcher.java:66)
org.infoglue.deliver.portal.dispatcher.PortalServletDispatcher.service(PortalServletDispatcher.java:176)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.infoglue.cms.security.InfoGlueAuthenticationFilter.doFilter(InfoGlueAuthenticationFilter.java:155)
org.infoglue.cms.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
org.infoglue.deliver.applications.filters.CacheEvictionFilter.doFilter(CacheEvictionFilter.java:85)
(2)
Unable to find resource bundle: Can't find bundle for base name org.infoglue.cms.applications.PresentationStrings, locale de
org.infoglue.cms.exception.ConfigurationError: Unable to find resource bundle: Can't find bundle for base name org.infoglue.cms.applications.PresentationStrings, locale de
at org.infoglue.cms.util.SimpleStringManager.(SimpleStringManager.java:62)
at org.infoglue.cms.util.StringManagerFactory.getStringManager(StringManagerFactory.java:103)
at org.infoglue.cms.util.StringManagerFactory.getPresentationStringManager(StringManagerFactory.java:70)
at org.infoglue.deliver.invokers.DecoratedComponentBasedHTMLPageInvoker.getLocalizedString(DecoratedComponentBasedHTMLPageInvoker.java:1996)
at org.infoglue.deliver.invokers.DecoratedComponentBasedHTMLPageInvoker.getComponentTasksDiv(DecoratedComponentBasedHTMLPageInvoker.java:986)
at org.infoglue.deliver.invokers.DecoratedComponentBasedHTMLPageInvoker.decorateComponent(DecoratedComponentBasedHTMLPageInvoker.java:421)
at org.infoglue.deliver.invokers.DecoratedComponentBasedHTMLPageInvoker.invokePage(DecoratedComponentBasedHTMLPageInvoker.java:152)
at org.infoglue.deliver.invokers.PageInvoker.deliverPage(PageInvoker.java:179)
at org.infoglue.deliver.applications.actions.ViewPageAction.doRenderDecoratedPage(ViewPageAction.java:441)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.infoglue.cms.applications.common.actions.WebworkAbstractAction.invokeCommand(WebworkAbstractAction.java:279)
at org.infoglue.cms.applications.common.actions.WebworkAbstractAction.execute(WebworkAbstractAction.java:109)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131)
at org.infoglue.deliver.portal.dispatcher.DeliveryServletDispatcher.service(DeliveryServletDispatcher.java:92)
at org.infoglue.deliver.portal.dispatcher.PortalServletDispatcher.service(PortalServletDispatcher.java:176)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.deliver.applications.filters.RedirectFilter.doFilter(RedirectFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.deliver.applications.filters.ViewPageFilter.doFilter(ViewPageFilter.java:254)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.deliver.applications.filters.PortalParameterFilter.doFilter(PortalParameterFilter.java:90)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.cms.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.deliver.applications.filters.CacheEvictionFilter.doFilter(CacheEvictionFilter.java:85)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.infoglue.cms.applications.PresentationStrings, locale de
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at org.infoglue.cms.util.SimpleStringManager.(SimpleStringManager.java:58)
... 47 more
Can't find bundle for base name org.infoglue.cms.applications.PresentationStrings, locale de
java.util.MissingResourceException: Can't find bundle for base name org.infoglue.cms.applications.PresentationStrings, locale de
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at org.infoglue.cms.util.SimpleStringManager.(SimpleStringManager.java:58)
at org.infoglue.cms.util.StringManagerFactory.getStringManager(StringManagerFactory.java:103)
at org.infoglue.cms.util.StringManagerFactory.getPresentationStringManager(StringManagerFactory.java:70)
at org.infoglue.deliver.invokers.DecoratedComponentBasedHTMLPageInvoker.getLocalizedString(DecoratedComponentBasedHTMLPageInvoker.java:1996)
at org.infoglue.deliver.invokers.DecoratedComponentBasedHTMLPageInvoker.getComponentTasksDiv(DecoratedComponentBasedHTMLPageInvoker.java:986)
at org.infoglue.deliver.invokers.DecoratedComponentBasedHTMLPageInvoker.decorateComponent(DecoratedComponentBasedHTMLPageInvoker.java:421)
at org.infoglue.deliver.invokers.DecoratedComponentBasedHTMLPageInvoker.invokePage(DecoratedComponentBasedHTMLPageInvoker.java:152)
at org.infoglue.deliver.invokers.PageInvoker.deliverPage(PageInvoker.java:179)
at org.infoglue.deliver.applications.actions.ViewPageAction.doRenderDecoratedPage(ViewPageAction.java:441)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.infoglue.cms.applications.common.actions.WebworkAbstractAction.invokeCommand(WebworkAbstractAction.java:279)
at org.infoglue.cms.applications.common.actions.WebworkAbstractAction.execute(WebworkAbstractAction.java:109)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131)
at org.infoglue.deliver.portal.dispatcher.DeliveryServletDispatcher.service(DeliveryServletDispatcher.java:92)
at org.infoglue.deliver.portal.dispatcher.PortalServletDispatcher.service(PortalServletDispatcher.java:176)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.deliver.applications.filters.RedirectFilter.doFilter(RedirectFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.deliver.applications.filters.ViewPageFilter.doFilter(ViewPageFilter.java:254)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.deliver.applications.filters.PortalParameterFilter.doFilter(PortalParameterFilter.java:90)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.cms.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.infoglue.deliver.applications.filters.CacheEvictionFilter.doFilter(CacheEvictionFilter.java:85)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Logged In: NO
Infoglue reacts very badly when you try to add a "language" that isn't supported. What's actually happening is that Infoglue mistakenly uses the country code as being synonymous with the language spoken, and if you don't enter a valid 2-digit country code, it throws these exceptions. The only recourse is to find the entry in the database and delete it by hand.