8 Replies Latest reply on Mar 11, 2010 5:40 PM by sandman

    documentation for wiki example

    d.croe

      Hi !
      is there any documentation for the wiki example?


      for example how-to switch the themes ?
      or anything about the plugin mechanism ?


      Thanks in advance
          David Croe

        • 1. Re: documentation for wiki example

          Oh, I have the same need on "Wiki Example", there is rare documents on that.
          The "wiki" cann't be running on my Jboss AS 4.2.3 by now. Very urgent!

          • 2. Re: documentation for wiki example
            d.croe

            Hi !
            i've got it to work.


            Missing ehcache libraries:
            ehcache-1.5.0.jar, backport-util-concurrent-3.0.jar und jsr170cache-1.0.jar
            copy those to server/default/lib


            If your default locale is not en than copy all property files from
            messages_*_en.properties to messages_*.properties


            Greetings
              



            • 3. Re: documentation for wiki example
              romu31

              hi,


              thanks for the tip .
              where do u find those missing jars ? ( or download it ) .


              thanks

              • 4. Re: documentation for wiki example
                d.croe

                I took them from the maven repository.
                   greetings

                • 5. Re: documentation for wiki example
                  sandman

                  Hi ,
                  I also was trying to deploy wiki but whithout luckand  I wanted to giveanother shoot  with the missing ehcache libraries, but I didn't found the last jar: jsr170cache-1.0.jar ,


                  Thanks

                  • 6. Re: documentation for wiki example
                    sandman

                    Hi,
                    I've got it, now I'm trying again,


                    Greetings

                    • 7. Re: documentation for wiki example
                      sandman

                      no luck at all,the wiki example still not works(it's a pain   because I make to work all the others examples which I was interessed in booking,blog,seam-bay etc, also put them in Eclipse and start to change, all succesfully,only with wiki I struggle a lot without results), I'm using :


                      jboss-5.1.0.GA
                      jboss-seam-2.1.2
                      MySQL 5.0.15


                      I follow the readme instructions and after this also what  I found on forum related to it, but nothing, I appreciate if some one can help me with this, or just put a smth like a tutorial or some docs on how it works,


                      Thank you and greetings

                      • 8. Re: documentation for wiki example
                        sandman
                        the last try I did it with this configuration:

                        jboss-4.2.3.GA jboss-seam-2.1.2 MySQL 5.0.15

                        the error that I'm allways getting:



                        7:23:48,875 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:2144)
                                at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
                                at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
                                at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:113)
                                at org.jboss.seam.init.Initialization.init(Initialization.java:740)
                                at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
                                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)
                                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
                                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
                                at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
                                at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
                                at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                                at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                                at org.jboss.web.WebModule.startModule(WebModule.java:83)
                                at org.jboss.web.WebModule.startService(WebModule.java:61)
                                at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                                at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                                at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                                at $Proxy0.start(Unknown Source)
                                at org.jboss.system.ServiceController.start(ServiceController.java:417)
                                at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy44.start(Unknown Source)
                                at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                                at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                                at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
                                at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                                at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy45.start(Unknown Source)
                                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                                at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy9.deploy(Unknown Source)
                                at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                                at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                                at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                                at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                                at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                                at $Proxy0.start(Unknown Source)
                                at org.jboss.system.ServiceController.start(ServiceController.java:417)
                                at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy4.start(Unknown Source)
                                at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
                                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy5.deploy(Unknown Source)
                                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                                at org.jboss.Main.boot(Main.java:200)
                                at org.jboss.Main$1.run(Main.java:508)
                                at java.lang.Thread.run(Thread.java:619)
                        Caused by: org.jboss.seam.wiki.core.exception.InvalidWikiConfigurationException: Could not find message key for label/description: basic.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)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
                                at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
                                at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                                at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
                                at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                                at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
                                at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                                at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
                                at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                                at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                                at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
                                at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
                                at org.jboss.seam.wiki.core.plugin.binding.lacewiki.PluginBinder_$$_javassist_seam_1.installPlugins(PluginBinder_$$_javassist_seam_1.java)
                                at org.jboss.seam.wiki.core.plugin.PluginRegistry.startup(PluginRegistry.java:106)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:597)
                                at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
                                at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
                                at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
                                at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
                                at org.jboss.seam.Component.newInstance(Component.java:2132)
                                ... 140 more
                        17:23:48,875 ERROR [StandardContext] Error listenerStart
                        17:23:48,875 ERROR [StandardContext] Context [/wiki] startup failed due to previous errors
                        17:23:49,781 INFO  [StaleObjectLogConfigurer] stale object exceptions will be hidden from logging
                        17:23:49,890 INFO  [Version] Hibernate Search 3.0.1.SNAPSHOT-20080202
                        17:23:50,000 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=wiki.war,id=-1679484498
                        org.jboss.deployment.DeploymentException: URL file:/D:/jboss-4.2.3.GA/server/default/deploy/wiki.war/ deployment failed


                        any idea?, or better, any hint? because I'm just not getting it...

                        Thanks a lot

                        Casian||