2 Replies Latest reply on Oct 30, 2008 12:52 AM by jonniezg

    Problems with example Wiki on 2.1.0.GA

    jonniezg

      Am I the only one here having problems with running the Wiki example on 2.1.0.GA???


      I am running:



      • JBoss 4.2.3.GA

      • Java 1.5.0-16

      • Seam 2.1.0.GA

      • MySQL 5.0.67

      • Windows XP 5.1,x86



      I just cannot run the Wiki example even though I did everything exactly as described in the readme: did the ant upgradehibernate, did the ant deploy, but after running the JBoss, I get the following (the full stack-trace is available here):


      23:44:32,968 ERROR [[/wiki]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      org.jboss.seam.InstantiationException: Could not instantiate Seam component: pluginRegistry
           at org.jboss.seam.Component.newInstance(Component.java:2066)
           at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
           at org.jboss.seam.contexts.Contexts.startup(Contexts.java:296)
           at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
           at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:112)
           at org.jboss.seam.init.Initialization.init(Initialization.java:727)
           at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
           at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
           at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
      ...
      Caused by: org.jboss.seam.wiki.core.exception.InvalidWikiConfigurationException: Could not find message key for label/description: blog.label
           at org.jboss.seam.wiki.core.plugin.binding.lacewiki.PluginBinder.getMessage(PluginBinder.java:285)
           at org.jboss.seam.wiki.core.plugin.binding.lacewiki.PluginBinder.bindPlugins(PluginBinder.java:67)
           at org.jboss.seam.wiki.core.plugin.binding.PluginBinder.installPlugins(PluginBinder.java:27)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      


      BTW, the Wiki example from 2.0.2.SP1 works fine...


      Please, help.

        • 1. Re: Problems with example Wiki on 2.1.0.GA
          jonniezg
          Never mind, solved it!

          Since my default locale is not English, I had to make an extra copy of all the messages_*_en.properties files and rename them to messages_*.properties.

          I hope this helps someone else...
          • 2. Re: Problems with example Wiki on 2.1.0.GA
            jonniezg

            Also the example misses a /themes/openremote directory with themes, so you either have to make a copy of another existing themes directory (e.g. default) and rename it to openremote, or change the value of PREFERENCE.PROPERTY_NAME themeName property from openremote to default.