Ah.<br><br>I think I know why this is happening. I believe that the commons-config module is not available to &quot;external&quot; plugins. This should be easy to fix. Sorry! <br><br>I&#39;ve created the following JIRA to track the issue:<br>
<a href="https://issues.jboss.org/browse/FORGE-413">https://issues.jboss.org/browse/FORGE-413</a><br><br>~Lincoln<br><br><div class="gmail_quote">On Tue, Dec 20, 2011 at 5:41 AM, Pablo Palazon <span dir="ltr">&lt;<a href="mailto:pablo.palazon@gmail.com">pablo.palazon@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody!!,<br><br>My name is Pablo Palazón, and I want to contribute with you in forge project. For me it&#39;s fantastic, and you&#39;re doing a excellent work. At the moment, I&#39;m working on #FORGE-198 (<a href="https://issues.jboss.org/browse/FORGE-198" target="_blank">https://issues.jboss.org/browse/FORGE-198</a>).<br>


<br>I&#39;m having problems with forge dist execution. When I run test unit, I haven&#39;t this problem about LinkageError. I&#39;m programming in Linux workstation<br><br>I try to get User configuration with <br><br>@Inject Configuration config;<br>


config.getScopedConfiguration(ConfigurationScope.USER); (in @PostConstruct method)<br><br>and this is the error:<br><br>***ERROR*** [mark add] WELD-000049 Unable to invoke [method] @PostConstruct public org.jboss.forge.shell.resources.cache.GlobalBookmarksCache.initialization() on org.jboss.forge.shell.resources.cache.GlobalBookmarksCache@2dffb<br>


org.jboss.forge.shell.exceptions.CommandExecutionException: WELD-000049 Unable to invoke [method] @PostConstruct public org.jboss.forge.shell.resources.cache.GlobalBookmarksCache.initialization() on org.jboss.forge.shell.resources.cache.GlobalBookmarksCache@2dffb<br>


    at org.jboss.forge.shell.command.Execution.perform(Execution.java:153)<br>    at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:125)<br>    at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:63)<br>


    at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:811)<br>    at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:834)<br>    at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:624)<br>


    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>


    at java.lang.reflect.Method.invoke(Method.java:597)<br>    at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)<br>    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)<br>


    at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>


    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>    at java.lang.reflect.Method.invoke(Method.java:597)<br>    at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)<br>


    at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)<br>    at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)<br>    at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)<br>


    at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)<br>    at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)<br>    at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)<br>


    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)<br>    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)<br>    at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)<br>


    at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)<br>    at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)<br>    at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)<br>


    at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:107)<br>    at java.lang.Thread.run(Thread.java:662)<br>Caused by: java.lang.reflect.InvocationTargetException<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>


    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>    at java.lang.reflect.Method.invoke(Method.java:597)<br>


    at org.jboss.forge.shell.command.Execution.perform(Execution.java:149)<br>    ... 31 more<br>Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.jboss.forge.shell.resources.cache.GlobalBookmarksCache.initialization() on org.jboss.forge.shell.resources.cache.GlobalBookmarksCache@2dffb<br>


    at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:595)<br>    at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200)<br>    at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340)<br>


    at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:122)<br>    at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)<br>    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)<br>


    at org.jboss.forge.shell.resources.cache.GlobalBookmarksCache$Proxy$_$$_WeldClientProxy.addBookmark(GlobalBookmarksCache$Proxy$_$$_WeldClientProxy.java)<br>    at org.jboss.forge.shell.plugins.builtin.MarkPlugin.addMark(MarkPlugin.java:52)<br>


    ... 36 more<br>Caused by: java.lang.reflect.InvocationTargetException<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>


    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>    at java.lang.reflect.Method.invoke(Method.java:597)<br>    at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)<br>


    at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)<br>    at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)<br>    at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)<br>


    at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193)<br>    at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591)<br>    ... 43 more<br>Caused by: java.lang.reflect.InvocationTargetException<br>


    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>


    at java.lang.reflect.Method.invoke(Method.java:597)<br>    at org.jboss.solder.unwraps.UnwrapsInvocationHandler.invoke(UnwrapsInvocationHandler.java:81)<br>    at org.javassist.tmp.java.lang.Object_$$_javassist_0.getScopedConfiguration(Object_$$_javassist_0.java)<br>


    at org.jboss.forge.shell.resources.cache.GlobalBookmarksCache.initialization(GlobalBookmarksCache.java:25)<br>    ... 53 more<br>Caused by: java.lang.LinkageError: org/apache/commons/configuration/XMLConfiguration<br>


    at org.jboss.forge.shell.env.ConfigurationImpl.getUserConfig(ConfigurationImpl.java:96)<br>    at org.jboss.forge.shell.env.ConfigurationImpl.getConfiguration(ConfigurationImpl.java:87)<br>    at org.jboss.forge.shell.env.ConfigurationImpl$Proxy$_$$_WeldClientProxy.getConfiguration(ConfigurationImpl$Proxy$_$$_WeldClientProxy.java)<br>


    ... 60 more<br><br>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>